max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/NumberToWords/Internals/ConversionOptions.cs | Henka-Programmer/NumberToWords | 6 | 7067891 | using NumberToWords.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace NumberToWords.Internals {
internal class ConversionOptions : IConversionOptions {
public static readonly ConversionOptions Default = new ConversionOptions();
public ConversionOptions() {
Letter... |
PublicBrowse/obj/Debug/netcoreapp2.2/Razor/Pages/Solution.g.cshtml.cs | nhs-digital-gp-it-futures/SPIKE-public-browse-razor | 0 | 7067892 | #pragma checksum "C:\Dev\SPIKE-public-browse-razor\PublicBrowse\Pages\Solution.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8b6d475d4b50c0b883621ddbdc20471593efb990"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(PublicBr... |
Q101.NetCoreHttpRequestHelper/Extensions/ServiceCollectionExtensions.cs | Lanshir/q101-net-core-http-request-helper | 0 | 7067893 | using System.Net.Http;
using Microsoft.Extensions.DependencyInjection;
using Q101.NetCoreHttpRequestHelper.Abstract;
using Q101.NetCoreHttpRequestHelper.Concrete;
using Q101.NetCoreHttpRequestHelper.Converters.Abstract;
using Q101.NetCoreHttpRequestHelper.Converters.Concrete;
namespace Q101.NetCoreHttpRequestHelper.E... |
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/el/DateTimeFunctionMapper.cs | luizfbicalho/Camunda.NET | 6 | 7067894 | <filename>camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/el/DateTimeFunctionMapper.cs
using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* di... |
Twitch/V5/GetStreamResponse.cs | telmengedar/NightlyCode.Twitch | 0 | 7067895 | <reponame>telmengedar/NightlyCode.Twitch<gh_stars>0
namespace NightlyCode.Twitch.V5 {
public class GetStreamResponse {
public Stream Stream { get; set; }
public Channel Channel { get; set; }
}
} |
Assets/scripts/Player/PlayerMovement.cs | AlexAdvani/Ascender-GGJ-2014 | 0 | 7067896 | <filename>Assets/scripts/Player/PlayerMovement.cs
using UnityEngine;
using System.Collections;
public class PlayerMovement : MonoBehaviour
{
private Animator animator;
private Vector3 v3Velocity = Vector3.zero;
private Vector3 v3FlipScale = new Vector3(1, 1, 1);
public static string sDirection = "Right";
pub... |
Backend/Endpoint/Controllers/ApiBaseController.cs | Etchelon/gaiaproject | 0 | 7067897 | <gh_stars>0
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace GaiaProject.Endpoint.Controllers
{
[ApiController]
[Authorize]
[Route("api/[controller]/[action]")]
[Produces("application/json")]
public abstract class ApiBaseController : ApplicationBaseController
{
}
}
|
IndieGameProject/Assets/Scripts/General/SwitchLevels.cs | robin-weiland/IndieGameProject | 1 | 7067898 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SwitchLevels : MonoBehaviour
{
public int index;
public float playerEndPositionX;
private GameObject player;
void Start()
{
player = GameObject.Find("Run_01");
... |
Assets/Scripts/Basic/Net/Protocol/Command.cs | yl3495470/XluaFrame | 0 | 7067899 | using Basic.Managers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Basic.Net.Sockets;
namespace Basic.Net.Protocol
{
public delegate void PtAction(int errCode);
public delegate void PtAction<T>(int errCode, T down = default(T));
public delegate void CmdHandl... |
src/Framework.Core.TypeMemberReflection/MethodInfoExtensions.cs | Luxoft/BSSFramework | 18 | 7067900 | <reponame>Luxoft/BSSFramework
using System;
using System.Reflection;
namespace Framework.Core
{
public static class MethodInfoExtensions
{
public static bool IsGenericMethodImplementation(this MethodInfo methodInfo, MethodInfo genericMethod)
{
if (methodInfo == null) throw... |
src/AutoTest.Core/TestRunners/TestRunners/NUnitTestResponseParser.cs | uQr/AutoTest.Net | 34 | 7067901 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Core.Logging;
using AutoTest.Core.Messaging;
using System.Xml;
using AutoTest.Core.Messaging.MessageConsumers;
using AutoTest.Messages;
using System.IO;
using AutoTest.Core.DebugLog;
namespace AutoTest.Core.TestRunners.T... |
base_version/PuppetMaster/FormPuppetMaster.Designer.cs | BFreitas16/DIDA-GSTORE | 2 | 7067902 | namespace PuppetMaster
{
partial class FormPuppetMaster
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
QuickFont/ViewportHelper.cs | ShadowTeolog/QuickFont | 0 | 7067903 | using System;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.ES20;
namespace QuickFont
{
public struct Viewport
{
public float X, Y, Width, Height;
public Viewport(float X, float Y, float Width, float Height) { this.X = X; this.Y = Y; this.Width = Width; this.Height = Height; }
... |
TrayAlbumRandomizer.AlbumListUpdate/AlbumListUpdater.cs | Jeddix/TrayAlbumRandomizer | 1 | 7067904 | <reponame>Jeddix/TrayAlbumRandomizer
namespace TrayAlbumRandomizer.AlbumListUpdate
{
using Newtonsoft.Json;
using SpotifyAPI.Web;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Threading;
using S... |
UO Bulk Order Deeds Revisited/ViewModels/BulkOrderDeedDefinitionViewModel.cs | KevinAllenWiegand/UO-Bulk-Order-Deeds-Revisited | 0 | 7067905 | using Npe.UO.BulkOrderDeeds;
namespace UO_Bulk_Order_Deeds.ViewModels
{
public class BulkOrderDeedDefinitionViewModel : ViewModelBase
{
public BulkOrderDeedDefinition BulkOrderDeedDefinition { get; private set; }
public string Name
{
get
{
var r... |
pitachan/Views/Home/Index.cshtml | persamuel/pitachan | 0 | 7067906 | @using pitachan.ViewModels.Home;
@using pitachan.ViewModels.Boards;
@model IndexPageViewModel
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer Localizer
@{
Layout = "_Layout";
}
<div class="container w-50">
<div class="d-flex flex-wrap justify-content-between">
<div class="mt-5">
... |
WebSockets/WebSocketClient.cs | MickAlmighty/TUM | 0 | 7067907 | <gh_stars>0
using System;
using System.Diagnostics;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
namespace WebSockets
{
public static class WebSocketClient
{
public static async Task<WebSocketConnection> ConnectAsync(Uri peer)
{
ClientWebSocket... |
ASCOM.Com/ASCOM.Com.DriverAccess/BaseClass/ASCOMDevice.cs | ASCOMInitiative/ASCOMLibrary | 0 | 7067908 | using ASCOM.Common.DeviceInterfaces;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
namespace ASCOM.Com.DriverAccess
{
public abstract class ASCOMDevice : IAscomDevice, IDisposable
{
private ... |
Rocket.Eco/Commands/EcoCommands/CommandUnAdmin.cs | ChubbyQuokka/Rocket.Eco | 1 | 7067909 | using System.Threading.Tasks;
using Eco.Core.Plugins.Interfaces;
using Eco.Gameplay.Players;
using Rocket.API.Commands;
using Rocket.API.Player;
using Rocket.API.User;
using Rocket.Core.Commands;
using Rocket.Eco.API;
using Rocket.Eco.Player;
namespace Rocket.Eco.Commands.EcoCommands
{
/// <inheritdoc />
/// ... |
CSharpOsu/Module/OsuScore.cs | Z3RYX/CSharpOsu | 0 | 7067910 | <reponame>Z3RYX/CSharpOsu<filename>CSharpOsu/Module/OsuScore.cs
using CSharpOsu.Util.Converters;
using CSharpOsu.Util.Enums;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpOsu.Module
{
public class OsuScore... |
DALC/Documents/New Search/Base/AllAnyAttribute.cs | Kesco-m/Kesco.Lib.Win.Data | 0 | 7067911 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kesco.Lib.Win.Data.DALC.Documents.New_Search.Base
{
/// <summary>
/// атрибут для изменения типа поиска по спискам
/// </summary>
class AllAnyAttribute : Attribute
{
/// <summary>
/// атрибут для изменения типа по... |
business/MetadataDatabase/Services/PacsMirrorService.cs | bat3/Health-Barbecue | 3 | 7067912 | using MetadataDatabase.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MetadataDatabase.Controllers;
using MetadataDatabase.Data;
using MetadataDatabase.Convertor;
using Microsoft.Extensions.Logging;
namespace MetadataDatabase.Services
{
public clas... |
Glowstick Forest/Assets/BNG Framework/Scripts/Weapons/AmmoDispenser.cs | niksigouin/GlowFo | 1 | 7067913 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BNG {
/// <summary>
/// This is an example of how to spawn ammo depending on the weapon that is equipped in the opposite hand
/// </summary>
public class AmmoDispenser : MonoBehaviour {
/... |
src/Extensions/Enumerable/HasItems.cs | MaestriaNet/Extensions | 3 | 7067915 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Maestria.Extensions
{
public static partial class MaestriaExtensions
{
/// <summary>
/// Check if collection is not null and contains items
/// </summary>
/// <param name="values"></param>
... |
Assets/Scripts/Worker.cs | frietz58/IGDSS20 | 0 | 7067916 | using UnityEngine;
public class Worker : MonoBehaviour
{
#region Manager References
JobManager _jobManager; //Reference to the JobManager
GameManager _gameManager; //Reference to the GameManager
public Building _house; //Reference to house worker lives in
#endregion
public float _age; // The ... |
CodeWarsTests/7kyu/AdapterPatternGeeseToDucksTests.cs | a-kozhanov/codewars_csharp | 11 | 7067917 | <filename>CodeWarsTests/7kyu/AdapterPatternGeeseToDucksTests.cs
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class AdapterPatternGeeseToDucksTests
{
[Test]
public void Test1()
{
Goose goose = new Goose();
GooseToIDuck... |
tests/NHiLo.Example/Repository/PersonDbContext.cs | fabiogouw/NHilo | 12 | 7067918 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using NHiLo.Example.Model;
using System.ComponentModel.DataAnnotations.Schema;
namespace NHiLo.Example.Repository
{
public class PersonDbContext : DbContext
{
public PersonDbCont... |
Se7en/Windows/Api/ProcessorInfoUnion.cs | facebamm/Se7en | 3 | 7067919 | #if Windows
using System.Runtime.InteropServices;
namespace Se7en.Windows.Api
{
[StructLayout(LayoutKind.Explicit)]
public struct ProcessorInfoUnion
{
[FieldOffset(0)]
public uint dwOemId;
[FieldOffset(0)]
public ushort wProcessorArchitecture;
[FieldOffset(2)]
... |
Assets/Scripts/Garden/Systems/GameObjectAllocatorSystem.cs | adventuringrequired/ecs | 0 | 7067920 | <reponame>adventuringrequired/ecs
using System;
using System.Collections.Generic;
using UnityEngine;
using AdventuringRequired.ECS;
using System.Linq;
namespace Simulations.Garden
{
public class AllocateGameObjects : ECSSystem
{
private Dictionary<ECSEntity, GameObject> cache = new Dictionary<ECSEntit... |
Contracts/HyperVLauncher.Contracts/Models/Shortcut.cs | andrezammit/hypervlauncher | 0 | 7067921 | using HyperVLauncher.Contracts.Enums;
namespace HyperVLauncher.Contracts.Models
{
public class Shortcut
{
public bool RemoteTriggerEnabled { get; set; }
public int ListenPort { get; set; }
public int RemotePort { get; set; }
public string Id { get; init; }
public stri... |
Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/Path/SvgPathSegmentArc.cs | mntone/SvgForXaml | 107 | 7067922 | <reponame>mntone/SvgForXaml
namespace Mntone.SvgForXaml.Path
{
public abstract class SvgPathSegmentArcBase : SvgPathSegment
{
protected internal SvgPathSegmentArcBase(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
{
this.X = x;
this.Y = y;
this.RadiusX = r1;
thi... |
IsTo.Tests/To/ToOfGenericToEnum.cs | Kuick/IsTo | 0 | 7067923 | // Copyright (c) <EMAIL>. All rights reserved.
// Modified By YYYY-MM-DD
// kevinjong 2016-02-11 - Creation
using System;
using Xunit;
namespace IsTo.Tests
{
public class ToOfGenericToEnum
{
[Fact]
public void BySelf()
{
var value = Animal.Bird;
Assert.True(value.To<Animal>()... |
Assets/Scripts/Grenade.cs | Mollnitz/HelpdeskOrlando | 0 | 7067924 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Grenade : MonoBehaviour
{
[Range(2f, 100f)]
public float damage = 10f;
public float detonationTime = 5f;
public float range = 2f;
private Collider2D myCollider;
public GameObject explosio... |
APIProject/APIProject.Model/Models/BaseEntity.cs | KhoiNK/QTSCCRM | 0 | 7067925 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace APIProject.Model.Models
{
public abstract partial class BaseEntity
{
[Key]
... |
System.Extensions.Test/Ensure.That/EnsureDictionaryParamTests.cs | gncabrera/xside-extensions | 0 | 7067926 | <filename>System.Extensions.Test/Ensure.That/EnsureDictionaryParamTests.cs<gh_stars>0
/*
Copyright 2017 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/lic... |
Assets/Scripts/MouseControl.cs | nberr/starlord | 0 | 7067927 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseControl : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
//http://answers.unity3d.com/questions/566519/camerascreen... |
BytecodeApi.UI/Converters/BooleanMathConverterMethod.cs | bytecode77/bytecode-api | 41 | 7067928 | namespace BytecodeApi.UI.Converters
{
/// <summary>
/// Specifies the method that is used to perform boolean calculations on the value and parameter.
/// </summary>
public enum BooleanMathConverterMethod
{
/// <summary>
/// Performs a boolean and operation on the value and parameter:
/// <para>value &&a... |
Enterprise.Invoicing.Entities/Models/StockInDetail.cs | amzulin/dlerp | 1 | 7067929 | using System;
using System.Collections.Generic;
namespace Enterprise.Invoicing.Entities.Models
{
public partial class StockInDetail
{
public StockInDetail()
{
this.PurchaseReturnDetails = new List<PurchaseReturnDetail>();
}
public int detailSn { get; set; }
... |
Mafia2Libs/ResourceTypes/FileTypes/M3/XBin/Types/CarTrafficTuningTable.cs | quarkblitz/MafiaToolkit | 61 | 7067930 | <filename>Mafia2Libs/ResourceTypes/FileTypes/M3/XBin/Types/CarTrafficTuningTable.cs
using System.ComponentModel;
using System.IO;
using System.Windows.Forms;
using System.Xml.Linq;
using Utils.Extensions;
using Utils.Helpers.Reflection;
using Utils.Types;
namespace ResourceTypes.M3.XBin
{
public class CarTrafficT... |
src/dotnet/AuthMe.Identity/AuthMe.Identity.Application/Identities/Commands/AttachIdentityDocument/AttachIdentityDocumentCommand.cs | R46narok/AuthMe | 1 | 7067931 | using AuthMe.Domain.Common.Api;
using AuthMe.IdentityMsrv.Application.Common.Interfaces;
using MediatR;
using Microsoft.Extensions.Logging;
namespace AuthMe.IdentityMsrv.Application.Identities.Commands.AttachIdentityDocument;
public class AttachIdentityDocumentCommand : IRequest<ValidatableResponse>, IValidatable
{
... |
src/CognitiveServices.Explorer/CognitiveServices.Explorer.Application/HttpRequestService.cs | thinkgandhi/CognitiveServices.Explorer | 20 | 7067932 | <filename>src/CognitiveServices.Explorer/CognitiveServices.Explorer.Application/HttpRequestService.cs
using CognitiveServices.Explorer.Domain.Profiles;
using Flurl;
using Flurl.Http;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespac... |
src/Strinq.cs | staafl/dotnet-debug-utils | 3 | 7067933 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
public static class Strinq
{
public static object Prop(this object obj, string prop)
{
return obj.GetType().GetProperty(prop).GetValue(obj);
... |
unity_jsontest/Assets/ThirdParty/Open/Fee/Script/Network/Player.cs | bluebackblue/jsontest | 0 | 7067934 | <gh_stars>0
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief ネットワーク。プレイヤー。
*/
/** Fee.Network
*/
namespace Fee.Network
{
/** Player
*/
#if(USE_DEF_FEE_PUN)
public class Player_MonoBehaviour : Photon.Pun.MonoBehaviourPun
#el... |
src/FlaUI.Core.UnitTests/Logging/TestLogger.cs | dot4qu/FlaUI | 765 | 7067936 | <gh_stars>100-1000
using FlaUI.Core.Logging;
namespace FlaUI.Core.UnitTests.Logging
{
public class TestLogger : LoggerBase
{
protected override void GatedTrace(string message)
{
PublicTrace(message);
}
protected override void GatedDebug(string message)
{
... |
test/Microsoft.Azure.WebJobs.Extensions.Kafka.EndToEndTests/MultiItemTrigger.cs | brandonh-msft/azure-functions-kafka-extension | 0 | 7067937 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Text;
using Microsoft.Extensions.Logging;
namespace Microsoft.Azure.WebJobs.Extensions.Kafka.EndToEndTests
{
internal static class MultiItemTrigger
... |
Administrator/Commands/Checks/RequireUserPermissionsAttribute.cs | Quahu/Administrator | 0 | 7067938 | <filename>Administrator/Commands/Checks/RequireUserPermissionsAttribute.cs
using System;
using System.Threading.Tasks;
using Administrator.Common;
using Discord;
using Discord.WebSocket;
using Humanizer;
using Qmmands;
namespace Administrator.Commands
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.C... |
Assets/Scripts/BuyPistol.cs | Osybear/Project-ZombieMode | 0 | 7067939 | <filename>Assets/Scripts/BuyPistol.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuyPistol : MonoBehaviour {
public int m_GunCost;
public int m_AmmoCost;
}
|
Source/PlayerTrade/TradeServer/Commands/Caller.cs | mitchfizz05/RimLink | 0 | 7067940 | namespace TradeServer.Commands
{
public abstract class Caller
{
public abstract string Guid { get; }
public abstract bool IsAdmin { get; }
public abstract void Output(string output);
public abstract void Error(string error);
}
}
|
StarWRPG/StarWRPG/ViewModels/CriticalInjuries/CriticalInjuryViewModel.cs | Fmccline/SW-Character-Sheet-App | 2 | 7067941 | using StarWRPG.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StarWRPG.ViewModels
{
public class CriticalInjuryViewModel : ViewModelBase
{
public CriticalInjury CriticalInjury;
public string D100Roll
... |
Assets/C/MainSence/UserTab.cs | Cupham/BLEPersonalHealthGateway | 1 | 7067942 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UserTab : MonoBehaviour
{
public Text TEXT_USER;
public Transform TRANSFORM_NOT_LOGIN;
public Transform TRANSFORM_LOGIN;
public static UserTab I;
void Awake()
{
... |
SpacepuppyExtended/Collections/LiveSPComponentCollection.cs | lordofduct/spacepuppy-unity-framework | 372 | 7067943 | <filename>SpacepuppyExtended/Collections/LiveSPComponentCollection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using com.spacepuppy.Utils;
namespace com.spacepuppy.Collections
{
public class LiveSPComponentCollection<T> : ICollection<T> where T : SPComponent
{
#region Hook
... |
Hax/INode.cs | gabrizannoni/hax | 0 | 7067944 | <reponame>gabrizannoni/hax
using System.Collections.Generic;
namespace Hax
{
public interface INode
{
string Name { get; }
IReadOnlyCollection<IConnector> In { get; }
IReadOnlyCollection<IConnector> Out { get; }
void AddConnector(IConnector connector);
void RemoveCon... |
src/SolutionInspector.Api/ObjectModel/ProjectPropertyOccurrence.cs | chrischu/SolutionChecker | 5 | 7067945 | <filename>src/SolutionInspector.Api/ObjectModel/ProjectPropertyOccurrence.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using JetBrains.Annotations;
using Microsoft.Build.Construction;
namespace SolutionInspector.Api.ObjectModel
{
/// <summary>
/// Represents a <see cref="IProjectProperty" />'s occurr... |
MondoCore.Security/Passwords/Interfaces/IPasswordHasher.cs | jim-lightfoot/MondoCore | 2 | 7067946 | /***************************************************************************
*
* The MondoCore Libraries
*
* Namespace: MondoCor... |
DailySoccer2015/ApiApp/Models/Winner.cs | tlaothong/dailysoccer | 0 | 7067947 | using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiApp.Models
{
/// <summary>
/// ผู้โชคดี
/// </summary>
public class Winner
{
#region Properties
/// <summar... |
Kuyumcu otomasyonu/baglanti.cs | ebubekirbastama/Kuyumcu-Otomasyonu | 7 | 7067948 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Baglantim;
using System.Data.SqlClient;
using DevComponents.DotNetBar.Controls;
using System.Data;
using System.Windows.Forms;
namespace Kuyumcu_otomasyonu
{
class baglanti
{
Class1 bgl = new Class1();
public int sayac ... |
MoviesOnline/MoviesOnline.Services/Interfaces/IGenreService.cs | luchezar-d/Movies-Online-Asp.Net-Core-2.2 | 0 | 7067949 | <reponame>luchezar-d/Movies-Online-Asp.Net-Core-2.2<filename>MoviesOnline/MoviesOnline.Services/Interfaces/IGenreService.cs
using MoviesOnline.Data.Models;
using MoviesOnline.ViewModels.GenreViewModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace MoviesOnline.Services.Interfaces
{
... |
Source/ExcelDna.XFunctions/AddIn.cs | Excel-DNA/XFunctions | 20 | 7067950 | <filename>Source/ExcelDna.XFunctions/AddIn.cs
using System.Diagnostics;
using System.Linq;
using ExcelDna.Integration;
using ExcelDna.IntelliSense;
using ExcelDna.Registration;
namespace ExcelDna.XFunctions
{
public class AddIn : IExcelAddIn
{
public void AutoOpen()
{
var functions... |
DirectN/DirectN/Generated/tagDVD_MUA_Coeff.cs | Steph55/DirectN | 124 | 7067951 | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\strmif.h(22265,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct tagDVD_MUA_Coeff
{
public double log2_alpha;
... |
InterfaceEvents/SubscribeStratergies/DefualtSubscribeStratergy.cs | thedudxo/InterfaceEvents | 0 | 7067952 | namespace DudCo.Events
{
class DefualtSubscribeStratergy<T> : ISubscribeStratergy<T>
{
readonly SubscriptionQueue<T> subscriptionQueue;
public DefualtSubscribeStratergy(SubscriptionQueue<T> subscriptionQueue)
{
this.subscriptionQueue = subscriptionQueue;
}
... |
DeribitDotNet/Responses/AccountSummaryResponse.cs | tekr/DeribitDotNet | 1 | 7067953 | <gh_stars>1-10
using DeribitDotNet.Requests;
using Newtonsoft.Json;
namespace DeribitDotNet.Responses
{
public class AccountSummaryResponse : Response
{
[JsonProperty("result")]
public AccountSummary AccountSummary;
}
public class AccountSummary
{
[JsonProperty("options_ga... |
src/Cats.CertificateTransparency/Services/LogListZipService.cs | dmariogatto/certificate-transparency | 3 | 7067954 | using Cats.CertificateTransparency.Api;
using Cats.CertificateTransparency.Models;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Cats.CertificateTransparency.Services
{
public class LogListZipService : LogListService
{
private readonly SemaphoreSlim _logListSemaphore... |
SS14.Admin/AdminLogs/LogJsonTagHelper.cs | juliangiebel/SS14.Admin | 0 | 7067956 | <gh_stars>0
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Content.Server.Database;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace SS14.Admin.AdminLogs;
public class LogJson... |
RecipesWebApp/Views/Home/Statistics.cshtml | bilyanakarcheva/ASP.NET-Core-Project-Recipes-Web-App | 0 | 7067957 | <reponame>bilyanakarcheva/ASP.NET-Core-Project-Recipes-Web-App
@model StatisticsServiceModel
@{
ViewBag.Title = "Statistics";
}
<h1 class="mb-5 mt-4">@ViewBag.Title</h1>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h6 class="display-4">Recipes: @Model.TotalRecipes</h6>
</div>
</div>
... |
src/Datadog.Trace.ClrProfiler.Managed/AutoInstrumentation/Testing/MsTestV2/TestMethodAttributeExecuteIntegration.cs | anuragvajpayee/opentelemetry-dotnet-instrumentation | 0 | 7067958 | <reponame>anuragvajpayee/opentelemetry-dotnet-instrumentation
using System;
using Datadog.Trace.ClrProfiler.CallTarget;
using Datadog.Trace.Configuration;
using Datadog.Trace.DuckTyping;
namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Testing.MsTestV2
{
/// <summary>
/// Microsoft.VisualStudio.TestPlat... |
Better.RandomDataGenerator.Tests/EnumGeneratorTestsShould.cs | niklasloow/Better.RandomDataGenerator | 1 | 7067959 | using System;
using Better.RandomDataGenerator.Tests.DataServices;
using Xunit;
namespace Better.RandomDataGenerator.Tests
{
public class EnumGeneratorTestsShould
{
[Fact]
public void ReturnRandomValueOfEnum()
{
var values = RandomValuesService.GenerateRandomValues(RandomDa... |
Assets/Script/PathFinder.cs | JulianaGFAlmeida/AStarUnity | 0 | 7067960 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PathFinder : MonoBehaviour {
private float speed;
private Vector2 vector2;
public Transform[] transform;
void Start()
{
}
}
|
TCC.Lib/Helpers/FileExtensions.cs | LuccaSA/TarCompressCrypt | 4 | 7067961 | <reponame>LuccaSA/TarCompressCrypt
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace TCC.Lib.Helpers
{
public static class FileExtensions
{
public static Task Lock(this FileInfo lockFilePath, Func<Task> action)
{
if (lockFilePath == null) thr... |
OCISDK/OCISDK/Common/IJsonSerializer.cs | KoutaFurusawa/OracleCloudObjectStorageExplorer | 2 | 7067962 | using System;
using System.Collections.Generic;
using System.Text;
namespace OCISDK.Common
{
/// <summary>
/// JsonSerializer
/// </summary>
public interface IJsonSerializer
{
/// <summary>
/// Serialize
/// </summary>
/// <typeparam name="T"></typeparam>
//... |
TwitchLib/Events/Client/OnConnectedArgs.cs | NoStudioDude/TwitchLib-1 | 0 | 7067963 | <reponame>NoStudioDude/TwitchLib-1<gh_stars>0
namespace TwitchLib.Events.Client
{
#region using directives
using System;
#endregion
/// <summary>Args representing on connected event.</summary>
public class OnConnectedArgs : EventArgs
{
/// <summary>Property representing bot username.</s... |
Luckyu.V1/Luckyu.App.Organization/Authorize/AuthorizeBLL.cs | yezi34880/LuckyuWeb | 1 | 7067964 | <filename>Luckyu.V1/Luckyu.App.Organization/Authorize/AuthorizeBLL.cs
using Luckyu.Cache;
using Luckyu.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Luckyu.App.Organization
{
public class Author... |
PremiereSolutionProject/PremiereSolutionProject/PL/frmDashboard.cs | SlapPandas/PremierService-Solutions-FrontEnd | 0 | 7067965 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Windows.Forms;
using PremiereSolutionProject.BLL;
namespace PremiereSolutionProject... |
srpt/Assets/Scripts/Util/SerialVector3.cs | ktyldev/srpt | 0 | 7067966 | <reponame>ktyldev/srpt<filename>srpt/Assets/Scripts/Util/SerialVector3.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ktyl.Util
{
[CreateAssetMenu(menuName = "ktyl/Util/V3")]
public class SerialVector3 : SerialVar<Vector3>
{
}
} |
src/TTY.GMP.EventConsumer/ErpSavaRetailBackBillCheckConsumer.cs | chenjian8541/gmp | 5 | 7067967 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TTY.Event.GMP;
using TTY.GMP.IBusiness;
using TTY.GMP.IOC;
using TTY.GMP.LOG;
using System.Linq;
using TTY.GMP.EventConsumer.GovernmentBusiness;
namespace TTY.GMP.EventConsumer
{
/// <summ... |
Berry.Docx/Collections/StyleCollection.cs | theyangfan/Berry.Docx | 3 | 7067968 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Berry.Docx.Documents;
namespace Berry.Docx.Collections
{
/// <summary>
/// Represent a style collection.
/// </summary>
public class StyleCollection : IEnumerable
{
#region... |
Models/Report/ReportCategory.cs | GschwindSoftware/lighthouse-examples-net | 0 | 7067969 | using System;
using Gschwind.Lighthouse.Example.Models.Plans.Settings;
namespace Gschwind.Lighthouse.Example.Models.Reports {
/// <summary>
/// Beschreibt zusammenhängende Datenpunkte von Reihen innerhalb eines Berichtes
/// </summary>
public record ReportCategory {
/// <summary>
/// ... |
Syborg.Tests/UrlHelperTests.cs | breki/syborg | 0 | 7067970 | using NUnit.Framework;
using Syborg.Razor;
namespace Syborg.Tests
{
public class UrlHelperTests
{
[Test]
public void ApplicationWithinVirtualDir()
{
UrlHelper url = new UrlHelper ("http://localhost/wagahaga");
Assert.AreEqual("/wagahaga/", url.Base())... |
License Manager/Client.MDL/Client/FileCache.cs | DonaldAirey/dark-bond-main | 0 | 7067971 | // <copyright file="FileCache.cs" company="Dark Bond, Inc.">
// Copyright © 2016-2017 - Dark Bond, Inc. All Rights Reserved.
// </copyright>
// <author><NAME></author>
namespace DarkBond.LicenseManager
{
using System;
using Microsoft.Identity.Client;
using Windows.Security.Cryptography;
using Windo... |
src/Taxlab.ApiClientCli/Repositories/TaxYearWorkpapers/IncomingDistributionsRepository.cs | Ezrashaw/Taxlab.ApiClient | 0 | 7067972 | <reponame>Ezrashaw/Taxlab.ApiClient<filename>src/Taxlab.ApiClientCli/Repositories/TaxYearWorkpapers/IncomingDistributionsRepository.cs
using System;
using System.Threading.Tasks;
using NodaTime;
using TaxLab;
using Taxlab.ApiClientCli.Workpapers.Shared;
using Taxlab.ApiClientLibrary;
namespace Taxlab.ApiClientCli.Wor... |
src/EventTraceKit.EventTracing/Schema/Provider.cs | ljani/event-trace-kit | 10 | 7067973 | namespace EventTraceKit.EventTracing.Schema
{
using System;
using System.Collections.Generic;
using System.Linq;
using EventTraceKit.EventTracing.Schema.Base;
using EventTraceKit.EventTracing.Support;
public sealed class Provider : SourceItem
{
private readonly List<EnableBit> enabl... |
GUI/ErrorDisplayStack.cs | greeduomacro/Unity3D-Blood-Of-Evil-Source | 1 | 7067974 | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ErrorDisplayStack : AServiceInitializer
{
#region Data Attributes
private List<ErrorDisplay> errors;
#endregion
#region Data Properties
public List<ErrorDisplay> Errors
{
get { return errors; }
private... |
Source/DLL/SEA3D/SEA3D/Objects/Techniques/TechBase.cs | sunag/sea3d | 458 | 7067975 | using System;
using System.Collections.Generic;
using System.Text;
using Poonya.Utils;
namespace Poonya.SEA3D.Objects.Techniques
{
public class TechBase
{
public int type;
public TechBase(int type)
{
this.type = type;
}
virtual public ByteArray Write()
... |
Content/Items/Weapons/Ranged/VexMythoclast.cs | MikhailMCraft/DestinyMod | 0 | 7067976 | <gh_stars>0
using Microsoft.Xna.Framework;
using DestinyMod.Common.Items.ItemTypes;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.Audio;
using DestinyMod.Content.Projectiles.Weapons.Ranged;
using DestinyMod.Common.ModPlayers;
using Desti... |
MIDIModificationFramework/MIDIEvents/SMPTEOffsetEvent.cs | MrCHB1/UniMIDI | 0 | 7067978 | <reponame>MrCHB1/UniMIDI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MIDIModificationFramework.MIDIEvents
{
public class SMPTEOffsetEvent : MIDIEvent
{
public byte Hours { get; set; }
public byte Minutes { get; s... |
ExpressCraft/components/StyleBrush.cs | samuelGrahame/ExpressCraft | 31 | 7067979 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExpressCraft
{
public class StyleBrush : Brush
{
public string Style;
public StyleBrush(string style)
{
Style = style;
}
}
}
|
Assets/uMMORPG/Scripts/ScriptableSkills/AreaBuffSkill.cs | thoang126/RPG2D-10-6-18-Morning-Working-Saved | 0 | 7067980 | // Area heal that heals all entities of same type in cast range
// => player heals players in cast range
// => monster heals monsters in cast range
//
// Based on BuffSkillTemplate so it can be added to Buffs list.
using UnityEngine;
using Mirror;
[CreateAssetMenu(menuName="uMMORPG Skill/Area Buff", order=999)]
publi... |
src/AElf.Kernel/Miner/Application/ILogEventHandler.cs | IamWenboZhang/AElf | 1 | 7067981 | using System.Threading.Tasks;
using AElf.Types;
namespace AElf.Kernel.Miner.Application
{
public interface ILogEventHandler
{
LogEvent InterestedEvent { get; }
Task Handle(Block block, TransactionResult result, LogEvent log);
}
} |
3dSessionManagerSolution/3dSessionMonitorWebApp/Views/MessageLog/Details.cshtml | SubhasisDutta/3dSessionManager | 1 | 7067982 | @model _3dSessionMonitorWebApp.messagelog
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>messagelog</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.externalID)
</dt>
<dd>
@Html.DisplayFor(model => model.externa... |
src/Web/Bloggable.Web/Views/Shared/EditorTemplates/KendoEditor.cshtml | vladislav-karamfilov/Bloggable | 26 | 7067983 | @model string
@{
object width;
if (!ViewData.ModelMetadata.AdditionalValues.TryGetValue("Width", out width))
{
width = "100%";
}
object height;
if (!ViewData.ModelMetadata.AdditionalValues.TryGetValue("Height", out height))
{
height = "300px";
}
var htmlAttributes... |
MyStream/Controllers/IndexController.cs | psowinski/saga | 0 | 7067984 | <filename>MyStream/Controllers/IndexController.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MyStream;
namespace WebApp.Controllers
{
[ApiCo... |
APSCC2-3P34/Serializador.cs | hegemn0/ProjetoAPS | 0 | 7067985 | <reponame>hegemn0/ProjetoAPS<filename>APSCC2-3P34/Serializador.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ordenador
{
public static class Serializador
{
public static void Serializar<T>(st... |
LocationSuggestion/Controllers/SuggestionsController.cs | geoffrey-liu/city-suggestions | 0 | 7067986 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using LocationSuggestion.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Serialization;
namespace Loc... |
source/ifmIoTCore.NetAdapter.Mqtt/ProfileBuilders/Mqtt/ConnectionProfileBuilder.cs | ifm/iot-core | 5 | 7067987 | namespace ifmIoTCore.NetAdapter.Mqtt.ProfileBuilders.Mqtt
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net;
using Elements;
using MQTTnet.Protocol;
using RunControlState;
using Utilities;
public sealed class MqttConnectionProfileBuilde... |
NetLah.Extensions.Configuration/ProviderName.cs | NetLah/configuration | 0 | 7067988 | <gh_stars>0
namespace NetLah.Extensions.Configuration;
public class ProviderName
{
public ProviderName(string? custom) : this(DbProviders.Custom, custom) { }
public ProviderName(DbProviders provider, string? custom = null)
{
Provider = provider;
if (provider == DbProviders.Custom && !stri... |
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Billing/Models/AndroidInventory.cs | KingOfFawns/Special_Course | 0 | 7067990 | <reponame>KingOfFawns/Special_Course<filename>Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Billing/Models/AndroidInventory.cs
////////////////////////////////////////////////////////////////////////////////
//
// @module Android Native Plugin for Unity3D
// @author <NAME> (Stan's Assets)
... |
Zen.Base/Module/Log/Extensions.cs | bucknellu/zen | 6 | 7067991 | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
namespace Zen.Base.Module.Log
{
public static class Extensions
{
public static Clicker GetClicker<T>(this IEnumerable<T> source, string message, bool useClassName = true)
... |
Vulkan/Structs/VkImageMemoryBarrier.cs | trmcnealy/Vulkan | 0 | 7067992 | <reponame>trmcnealy/Vulkan
using System.Runtime.InteropServices;
namespace Vulkan
{
[StructLayout(LayoutKind.Sequential)]
public struct VkImageMemoryBarrier
{
public VkStructureType SType;
[NativeTypeName("const void *")] public nuint PNext;
[NativeTypeName("VkAccessFlags")] publi... |
OliDTP/Extensibility.Python/PythonDocumentAction.cs | oliversturm/make-parallel-demos | 1 | 7067993 | // Copyright 2010 <NAME> <<EMAIL>> All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Scripting.Hosting;
namespace Extensibility.Python {
public abstract class PythonDocumentAction : PythonAction, IDocumentAction {
bool ID... |
Assets/Scripts/Path Following/WaypointStop.cs | nathanpc/bloody-adventure | 0 | 7067994 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A class to be attached to a waypoint <see cref="GameObject"/> in order
/// for a character to stop for some seconds at that position.
/// </summary>
public class WaypointStop : WaypointBase {
public int stoppedTime = 2;
... |
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Account/ShopAccountUpdateInfoRequest.cs | OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat | 0 | 7067995 | <filename>src/SKIT.FlurlHttpClient.Wechat.Api/Models/Shop/Account/ShopAccountUpdateInfoRequest.cs
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /shop/account/update_info 接口的请求。</para>
/// </summary>
public class ShopAccountUpdate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.