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
HomeMadeFood/HomeMadeFood.Web/Areas/Admin/Models/DailyMenusViewModels/DailyMenuViewModel.cs
MilStancheva/HomemadeFood
0
7039503
<filename>HomeMadeFood/HomeMadeFood.Web/Areas/Admin/Models/DailyMenusViewModels/DailyMenuViewModel.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using HomeMadeFood.Models; using HomeMadeFood.Web.Common.Mapping; using HomeMadeFood.Web.App_GlobalResources; n...
src/CodeZeroTemplate.Infra/ICacheProvider.cs
nasraldin/codezero-template
0
7039504
using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; namespace CodeZeroTemplate.Infra { public interface ICacheProvider { Task<T> GetFromCache<T>(string key) where T : class; Task SetCache<T>(string key, T value, DistributedCacheEntryOptions options) where T : class; ...
src/Platformus.ECommerce.Data.Abstractions/IPhotoRepository.cs
5118234/Platformus
0
7039505
// Copyright © 2017 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using ExtCore.Data.Abstractions; using Platformus.ECommerce.Data.Entities; namespace Platformus.ECommerce.Data.Abstraction...
Sources/Sandbox.Game/Game/AI/MyAiTargetManager.cs
Legion2/PCSS
0
7039506
using Sandbox.Common; using Sandbox.Engine.Multiplayer; using Sandbox.Game.AI; using Sandbox.Game.Entities; using Sandbox.Game.Multiplayer; using Sandbox.Game.World; using SteamSDK; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using VRageMath; namespa...
test/EFCore.Sqlite.FunctionalTests/Query/FiltersInheritanceQuerySqliteTest.cs
leniency/efcore
4,158
7039507
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore.Query; public class FiltersInheritanceQuerySqliteTest : FiltersInheritanceQueryTestBase<FiltersInheritanceQuerySqliteFixture> { public Fi...
unity/Assets/Scripts/Client/GUI/ScoreBoardLogic.cs
w313062006/paddle-soccer
171
7039508
<reponame>w313062006/paddle-soccer<filename>unity/Assets/Scripts/Client/GUI/ScoreBoardLogic.cs using Game; using UnityEngine; using UnityEngine.UI; namespace Client.GUI { /// <summary> /// Logic delegate for ScoreBoard /// </summary> public class ScoreBoardLogic { private const string WinMe...
Web Services and Cloud/1. ASP.NET Web API/MusicStoreClient/MusicStoreClient.cs
razsilev/TelerikAcademy_Homework
0
7039509
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using MusicStoreModels; using MusicStoreServices.Models; public class MusicStoreClient { private static readonly HttpClient Client = new HttpClient { BaseAddress = new Uri("http://localhost:12392/") }; ...
TestInfrastructure/DataHelpers/DataHelper.cs
Sensarg22/OneSystems
0
7039510
using System; using Server.ViewModels.Account; namespace TestInfrastructure { public class DataHelper { public static RegisterViewModel GenerateUser() { return GenerateUser("+8"); } public static RegisterViewModel GenerateUser(string phoneCountryCode) { ...
Starflight/Assets/3rd Party/More PostProcessing Effects/Editor/MorePPEffects/SobelEditor.cs
Blakeley00/starflight
51
7039511
<gh_stars>10-100 /* * Author : <NAME> * Namespace : MorePPEffects * Project : More Post-Processing Effects Package * * If you have any suggestion or comment, you can write me at webmaster[at]hardgames3d.com * * File : SobelEditor.cs * * */ using UnityEngine; using System.Collections; using UnityEditor; us...
keyStroke_testJocys/TextToSpeech-master/TextToSpeech/Network/IpHeaderFlags.cs
auxsophia/Fall-2015-Blind-Warcraft
0
7039512
using System; namespace JocysCom.TextToSpeech.Monitor.Network { [Flags] public enum IpHeaderFlags: byte { None = 0, DF = 1, MF = 2, Reserved = 4, } }
TypingRealm.SignalR/SignalRConnectionResource.cs
ewancoder/typingrealm
1
7039513
using System; using System.Threading.Tasks; using TypingRealm.Messaging.Connections; namespace TypingRealm.SignalR { public sealed class SignalRConnectionResource { private readonly Func<Task> _cancel; public SignalRConnectionResource( Notificator notificator, Func<Tas...
TEST/RPC.Tests/Aspects/ParameterValidatorTests.cs
Sholtee/rpc
1
7039514
/******************************************************************************** * ParameterValidatorTests.cs * * * * Author: <NAME> ...
Replica.Core.Commands/Utils/EnumHelper.cs
Exeteres/Replica.Core
1
7039515
<filename>Replica.Core.Commands/Utils/EnumHelper.cs using System; using System.Linq; using System.Reflection; namespace Replica.Core.Commands.Utils { public static class EnumHelper { private static MethodInfo enumTryParse; static EnumHelper() { enumTryParse = typeof(Enum) ...
Sugar/Extensions/Float.extensions.cs
TylerKendrick/Sugar.Core
1
7039516
<reponame>TylerKendrick/Sugar.Core namespace System { /// <summary> /// Provides extensions to common operations with <see cref="float"/> numbers. /// </summary> public static class FloatExtensions { /// <summary> /// Checks to see if the value <paramref name="self"/> is gre...
System.Web/Compilation/PageBuildProvider.cs
cnork/referencesource
911
7039517
//------------------------------------------------------------------------------ // <copyright file="PageBuildProvider.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace ...
src/cloudscribe.Core.SimpleContent/MultiTenantPageRoutes.cs
programmino/cloudscribe.SimpleContent
0
7039518
<filename>src/cloudscribe.Core.SimpleContent/MultiTenantPageRoutes.cs // Copyright (c) Source Tree Solutions, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Author: <NAME> // Created: 2017-01-...
tests/MassTransit.Tests/SagaStateMachineTests/Dynamic Modify/Declarative_Specs.cs
kjrobrien/MassTransit
1
7039519
<reponame>kjrobrien/MassTransit namespace MassTransit.Tests.SagaStateMachineTests.Dynamic_Modify { using System; using NUnit.Framework; [TestFixture(Category = "Dynamic Modify")] public class When_an_instance_has_multiple_states { [Test] public void Should_handle_both_states() ...
Assets/Scripts/Car Scripts/CarEngine.cs
mvidaldp/wd_ride
0
7039520
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Regulates the movement of the cars in the city /// k'**' are kinematic forms of movement /// </summary> public class CarEngine : MonoBehaviour { [Header("Internals")] private string objID; public string objectI...
TestProgram/TestCustomers.cs
annytab/a-fortnox-client
1
7039521
using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Extensions.Logging; using Annytab.Fortnox.Client.V3; namespace TestProgram { [TestClass] public class TestCustomers { #region Variables private Config config { get; set; } #endregion ...
Sinais/obj/Release/net5.0/Razor/Views/Home/Cursos.cshtml.g.cs
Cklever-Cavalcante/Projeto-Entrega-2-Back
0
7039522
#pragma checksum "C:\Users\Remakker\Documents\Atividades Praticas de Modulos - RECODE\Projentrega teste\Projeto-Entrega-2-Back\AtividadeModulo\Views\Home\Cursos.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7f9abe0ef6521a3d12849c2968ec19539556b4b5" // <auto-generated/> #pragma warning disable 1591 [assembly: global...
Trunk/DarkRoom/Assets/Standard Assets/UnrealAbility/Effect/ActiveGameplayEffectsContainer.cs
yimogod/DarkRoom
0
7039523
<filename>Trunk/DarkRoom/Assets/Standard Assets/UnrealAbility/Effect/ActiveGameplayEffectsContainer.cs using System; using System.Collections.Generic; namespace DarkRoom.GamePlayAbility { public struct FActiveGameplayEffectsContainer { public UAbilitySystemComponent Owner; public Action<FAct...
OpenUtau/App.xaml.cs
rdimaio/OpenUtau
0
7039524
using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Threading; using System.Windows; using Serilog; namespace OpenUtau { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private App() { ...
BillingTool/DataModels/Pricing/PricingBranch.cs
StarkBotha/OrmLite-Billing-Tool
0
7039525
<reponame>StarkBotha/OrmLite-Billing-Tool using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BillingTool.DataModels.Pricing { public class PricingBranch : PricingBase { public Guid BranchId { get; set; } } }
Universal_Robots_Unity_App/Assets/Scripts/Helper/StaticCoroutine.cs
Grand-Garage/unity3d_universal_robot
0
7039526
<filename>Universal_Robots_Unity_App/Assets/Scripts/Helper/StaticCoroutine.cs<gh_stars>0 using System.Collections; using UnityEngine; public class StaticCoroutine : MonoBehaviour { private static StaticCoroutine m_instance; // OnDestroy is called when the MonoBehaviour will be destroyed. // Coroutines are...
sources/ClangSharp/TemplateArgumentLoc.cs
andrew-boyarshin/ClangSharp
1
7039527
// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information. using System; using ClangSharp.Interop; namespace ClangSharp { public sealed unsafe class TemplateArgumentLoc { ...
RoperoIvan/Introduction to Scripting Part 2 Starter/Assets/RW/Scripts/Title/StartButton.cs
RoperoIvan/NarrativaEnTempsReal
0
7039528
<reponame>RoperoIvan/NarrativaEnTempsReal using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.SceneManagement; public class StartButton : MonoBehaviour, IPointerClickHandler { public void OnPointerClick(PointerEventData eventData) // 1 ...
src/Shared/Configuration/Google/StaticMaps/Entities/StaticMapRequest.cs
gregor4005/grisu-noe-infoscreen
6
7039529
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StaticMapRequest.cs" company="<NAME>/Donau"> // <NAME>/Donau // Austraße 33 // A-3500 Krems/Donau // Austria // Tel.: +43 (0)2732 85522 // Fax.: ...
InverseKinematicsLibrary/BehaviorObjectiveFactory.cs
johnasharifi/KinematicsSolutions
0
7039530
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// A class for generating instances of BehaviorObjective from parameters /// </summary> public static class BehaviorObjectiveFactory { public static BehaviorObjective GetBehaviorObjective(BehaviorObjectiveType objectiveC...
src/Reader/IDCard.Reader/Handler/IDCardInteropReadHandler.cs
wanlitao/IDCard
1
7039531
<filename>src/Reader/IDCard.Reader/Handler/IDCardInteropReadHandler.cs using System; namespace IDCard.Reader { /// <summary> /// 身份证阅读交互处理程序 /// </summary> public abstract class IDCardInteropReadHandler : IDCardInteropHandler, IIDCardInteropReadHandler { #region 构造函数 public IDCardI...
Developist.Core.Persistence.Tests.Integration/Fixture/UnitOfWorkExtensions.cs
jimatas/Developist.Core.Persistence
0
7039532
// Copyright (c) 2021 <NAME>. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for details. namespace Developist.Core.Persistence.Tests.Integration.Fixture { public static class UnitOfWorkExtensions { public static IRepository<Person> People(this IUnitOfWork ...
SempredTranslation/ANTLRv4ParserFindActionListener.cs
studentmain/SempredTranslation
0
7039533
using System; using System.Collections.Generic; using Antlr4.Runtime.Misc; namespace SempredTranslation { internal class ANTLRv4ParserFindActionListener : ANTLRv4ParserBaseListener { public readonly List<(int start, int end, bool isLexer)> ActionFragments = new(); public string GrammarName; ...
ValidateTransformDerive.Framework/Derivation/ServiceCollectionExtensions.cs
resistr/SimpleValidateTransformExample
0
7039534
using Microsoft.Extensions.DependencyInjection; namespace ValidateTransformDerive.Framework.Derivation { /// <summary> /// Common extensions for <see cref="IServiceCollection"/>. /// </summary> public static class ServiceCollectionExtensions { /// <summary> /// Register derivation ...
ConWinTer.UnitTests/PathUtilsTest.cs
MArtytraM99/ConWinTer
0
7039535
using ConWinTer.Utils; using System; using System.Collections.Generic; using System.Text; using System.Drawing.Imaging; using Xunit; namespace ConWinTer.UnitTests { public class PathUtilsTest { public static IEnumerable<object[]> GetPathsToCombineUsingExtension() { yield return new object[] {...
UnitTests/Core/Extensions/IOExtensionsTests.cs
DigitalPlatform/Vanara
1,037
7039536
using NUnit.Framework; using System; using System.IO; using System.Runtime.InteropServices; using Vanara.PInvoke; namespace Vanara.Extensions.Tests { [TestFixture()] public class IOExtensionsTests { [Test()] public void WriteTest() { using (var ms = new MemoryStream()) { var bw = new BinaryWriter(m...
src/OpenTelemetry.Abstractions/Trace/Config/ITraceParams.cs
trwegner/opentelemetry-dotnet
0
7039537
// <copyright file="ITraceParams.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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...
src/Infrastructure/Maya.FormsConstructionKit.Api.Library/Services/DataSource/ApiDataSourceService.cs
mayaleh/Maya.FormsConstructionKit
1
7039538
using Maya.Ext; using Maya.Ext.Rop; using Maya.FormsConstructionKit.Api.Library.Mappers.Storage; namespace Maya.FormsConstructionKit.Api.Library.Services.DataSource { public class ApiDataSourceService : IDataSourceService { private readonly AppDataContext appDataContext; private ILogger? logge...
src/SKIT.FlurlHttpClient.Wechat.OpenAI/Extensions/WechatOpenAIThirdPartyClientExecuteBotExtensions.cs
ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat
419
7039539
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Flurl; using Flurl.Http; namespace SKIT.FlurlHttpClient.Wechat.OpenAI { public static class WechatOpenAIThirdPartyClientExecuteBotExtensions { /// <summ...
Dialogs/NewProjectDialog.Designer.cs
AdreilC/MinecraftDatapackStudio
1
7039541
<reponame>AdreilC/MinecraftDatapackStudio<gh_stars>1-10 namespace MinecraftDatapackStudio.Dialogs { partial class NewProjectDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ...
Source/Container/Machine.Container/Services/Impl/ActivatorStoreActivatorResolver.cs
abombss/machine
1
7039542
using System; using System.Collections.Generic; using Machine.Container.Model; namespace Machine.Container.Services.Impl { public class ActivatorStoreActivatorResolver : IActivatorResolver { #region Logging private static readonly log4net.ILog _log = log4net.LogManager.GetLogger(typeof(Activator...
src/SparkPostFun/Sending/Ip.cs
jmojiwat/SparkPostFun
0
7039544
<reponame>jmojiwat/SparkPostFun namespace SparkPostFun.Sending; public record Ip { public string ExternalIp { get; init; } public string Hostname { get; init; } public bool? AutoWarmupEnabled { get; init; } public int? AutoWarmupStage { get; init; } }
aliyun-sdk-feature-test/FeatureTestBase.cs
pengesoft/aliyun-openapi-net-sdk
0
7039545
<filename>aliyun-sdk-feature-test/FeatureTestBase.cs<gh_stars>0 using System; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Auth; using Aliyun.Acs.Core.Auth.Sts; using Aliyun.Acs.Core.Profile; namespace Aliyun.Acs.Feature.Test { public class FeatureTestBase { public string regionId = "cn-shanghai"; ...
assignment9/Assets/Scripts/MazeText.cs
IndiaWomble/Dread-Halls
0
7039546
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class MazeText : MonoBehaviour { static int maze = 1; Text mazeText; // Start is called before the first frame update void Start() { mazeText = GetComponent<Text>(); ...
src/sample/XXX.Plugin.Tdengine/Proxy/ITaosProxy.cs
KamenRiderKuuga/NetPro
0
7039547
<reponame>KamenRiderKuuga/NetPro<filename>src/sample/XXX.Plugin.Tdengine/Proxy/ITaosProxy.cs using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System.Net; using WebApiClientCore; using WebApiClientCore.Attributes; using HttpPostAttribute = WebApiClientCore.Attributes.HttpP...
Zongsoft.Web/src/Binders/ComplexModelBinderProvider.cs
Zongsoft/Zongsoft.Framework
1
7039548
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(<NAME>) <<EMAIL>> *...
src/Dotnettency.Tests/Identity/TestIdentityDbContext.cs
dazinator/Dotnettency
105
7039549
<reponame>dazinator/Dotnettency using Dotnettency.EFCore.Identity; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace Dotnettency.Tests { public class TestIdentityDbContext : Mult...
CommonAlgo/InterviewBit/Greedy/GasStations.cs
dampir/GoogleInterviewPreparation
0
7039550
using System.Collections.Generic; using NUnit.Framework; namespace CommonAlgo.InterviewBit.Greedy { /// <summary> /// https://www.interviewbit.com/problems/gas-station/ /// решил сам, n^2 /// </summary> public class GasStations { /// <summary> /// /// решил сам, n^2...
BcFactory/Factories/DigestBuilder.cs
lockejan/secure-text-editor
0
7039551
using System; using System.Text; using BcFactory.Resources; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Macs; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Security; namespace BcFactory.Factories { /// <summary> /// Factory...
WebApplication1/Models/CustomOrder.cs
MarkusBux/CustomDataTypeAPI
0
7039552
using WebApplication1.Models.ValueTypes; namespace WebApplication1.Models { /// <summary> /// Dummy Class for testing De-/Serialization /// </summary> public class CustomOrder { /// <summary> /// Custom ValueType /// </summary> public OrderNumber Order { get; set; }...
Tests/XeonComputers.Services.Tests/ShoppingCartsServiceTests.cs
stoyanovmiroslav/XeonComputers
17
7039553
<gh_stars>10-100 using Microsoft.EntityFrameworkCore; using Moq; using System; using System.Collections.Generic; using System.Linq; using XeonComputers.Data; using XeonComputers.Models; using XeonComputers.Services.Contracts; using Xunit; namespace XeonComputers.Services.Tests { public class ShoppingCartsServiceT...
ExperienceRewards.cs
DerSpeedMann/Death-Messages-Remasterd
1
7039554
<filename>ExperienceRewards.cs namespace Remastered.DeathMessages { public class ExperienceRewards { public uint Head; public uint Body; public uint Arm; public uint Leg; public uint Roadkill; public ExperienceRewards() { } public Experie...
Bandwidth.Standard/Voice/Models/ApiCallResponse.cs
hamermike/csharp-sdk
0
7039555
<gh_stars>0 /* * Bandwidth.Standard * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Js...
Assets/Scripts/Misc/DialogueLine.cs
garzaa/vaporvania
5
7039556
<reponame>garzaa/vaporvania<filename>Assets/Scripts/Misc/DialogueLine.cs using System.Collections; using System.Collections.Generic; using UnityEngine; //NPCs pass these individually to UIController when opening dialogue public class DialogueLine { public string text; //-1 for the player, otherwise an index in the...
Kucoin.Net/Objects/Models/Futures/Socket/KucoinContractAnnouncement.cs
kyumit/Kucoin.Net
0
7039557
using System; using CryptoExchange.Net.Converters; using Newtonsoft.Json; namespace Kucoin.Net.Objects.Models.Futures.Socket { /// <summary> /// Contract announcement /// </summary> public class KucoinContractAnnouncement { /// <summary> /// Event type /// </summary> ...
Packages/DialogueDesignerUnity-master/Runtime/Nodes/ConditionBranchNode.cs
SkyClerik/jRPG-NextGen
9
7039558
<filename>Packages/DialogueDesignerUnity-master/Runtime/Nodes/ConditionBranchNode.cs using SimpleJSON; using UnityEngine; namespace DD { /// <summary> /// Dialogue node that branches to one of two next nodes based on the result of a condition. /// </summary> public class ConditionBranchNode : BaseNode { /// <s...
src/Sportradar.OddsFeed.SDK.API/Internal/Replay/HttpDataRestful.cs
deuko/UnifiedOddsSdkNet
15
7039559
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using Dawn; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Common.Logging; using Sportradar.OddsFeed.SDK.Common; using Sportradar.OddsFeed.SDK.Common.Exceptions; using Sportradar.OddsFeed.S...
C#FundamentalsModule/4.Methods/MethodsMoreExercise/CenterPoint/Program.cs
IvanIvTodorov/SoftUniEducation
0
7039560
using System; namespace CenterPoint { class Program { static void Main(string[] args) { double xOne = double.Parse(Console.ReadLine()); double yOne = double.Parse(Console.ReadLine()); double xTwo = double.Parse(Console.ReadLine()); double yTwo = ...
Assets/Gameplay/Scripts/Bots/Actions/KeepDistance.cs
selmentdev/unity-twinstick-shooter
0
7039561
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TestGame.AI; using UnityEngine; namespace TestGame.Bots.Actions { /// <summary> /// Bot tries to keep distance to player. /// </summary> public class KeepDistance : AIAction { public int PathEvaluat...
Orm/Xtensive.Orm.Tests.Sql/PostgreSql/NpgsqlTypeConstructorTest.cs
commit-n-run/dataobjects-net
41
7039562
// Copyright (C) 2013 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2014.05.14 using System; using NUnit.Framework; using Xtensive.Orm.Providers.PostgreSql; using Xtensive.Sql; using Xtensive.Sql.Dml; namespace Xtensive.Orm.Tests.Sq...
src/RhinoCompute/Endpoints/IOsEndpoint.cs
BuroHappoldEngineering/RhinoComputeServer
0
7039563
using System; using System.Collections.Generic; using Nancy; using Grasshopper.Kernel; using Newtonsoft.Json; using Nancy.Extensions; using System.Linq; using BH.oM.RemoteCompute; using BH.Engine.RemoteCompute.RhinoCompute; using BH.oM.RemoteCompute.RhinoCompute; namespace compute.geometry { public partial class ...
src/persistence/Elsa.Persistence.EntityFrameworkCore/HostedServices/RunMigrations.cs
elsa-workflows/experimental
4
7039564
<gh_stars>1-10 using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Hosting; namespace Elsa.Persistence.EntityFrameworkCore.HostedServices { /// <summary> /// Executes EF Core migrations. /// </summary> public class RunMigrations : IHostedService { private readonly IDbContextFac...
Sources/TreeDim.StackBuilder.Desktop/FormNewHAnalysis.Designer.cs
metc/StackBuilder
93
7039565
namespace treeDiM.StackBuilder.Desktop { partial class FormNewHAnalysis { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
AllReadyApp/Web-App/AllReady/ViewModels/Manage/IndexViewModel.cs
digitaldrummerj-ionic/allReady
0
7039567
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using AllReady.Models; using Microsoft.AspNetCore.Identity; using System.Linq; namespace AllReady.ViewModels.Manage { public class IndexViewModel { public IndexViewModel() { ...
problems/cs/464.cs
tarunbatta/leetcodeScraper
1
7039568
<gh_stars>1-10 // Url:https://leetcode.com/problems/can-i-win /* 464. Can I Win Medium In the &quot;100 game,&quot; two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach or exceed 100 wins. What if we change the game so that players cannot ...
BattleStates/Assets/SnapToVertex/Scripts/SnapInfo.cs
mock-angel/BattleStates
0
7039569
<reponame>mock-angel/BattleStates using UnityEngine; using UnityEditor; using System.Collections.Generic; [ExecuteInEditMode] public class SnapInfo : MonoBehaviour { [Range(0,255)] public byte transparencyAmount; // Transparency value for the selected snap target internal...
src/DebugLog.cs
vkuhlmann/minecraft-proximity
0
7039570
<filename>src/DebugLog.cs using System; using System.Collections.Generic; using System.Text; using System.IO; using Serilog; namespace MinecraftProximity { static class DebugLog { public enum Operation { EMPTY = 0, CREATE_LOBBY, CREATED_LOBBY, G...
Assets/Libraries/InControl/Editor/VersionUpdater.cs
heyx3/Rammission
1
7039571
<reponame>heyx3/Rammission #if UNITY_EDITOR using System.IO; using System.Text.RegularExpressions; using UnityEditor; using UnityEngine; namespace InControl { [InitializeOnLoad] public class VersionUpdater { static VersionUpdater() { EditorApplication.playModeStateChanged += (ev => Update()); } static...
src/Phnx.Tests/Security/Algorithms/Sha256HashTests.cs
MarkSFrancis/marksfrancis
1
7039572
using NUnit.Framework; using Phnx.Security.Algorithms; using System; using System.Text; namespace Phnx.Security.Tests.Algorithms { public class Sha256HashTests { public Sha256HashTests() { Sha256Hash = new Sha256Hash(); } private Sha256Hash Sha256Hash { get; } ...
Source/Partner Center SDK Samples/CustomerProducts/GetCustomerAvailabilities.cs
carlosborges-microsoft/api
0
7039573
// ----------------------------------------------------------------------- // <copyright file="GetCustomerAvailabilities.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Micr...
Assets/Scripts/DamageHandler.cs
RevoluPowered/ChopperGame
0
7039574
using UnityEngine; using System.Collections; [System.Obsolete("No longer in use, Damage Base replaces this script!",true)] public class DamageHandler : MonoBehaviour { public AudioSource mExplosion; bool mDead = false; public ChopperRotor mRotor; void OnCollisionEnter(Collision col) { if (...
PegBoard/Assets/BallControl.cs
erikbuck/Unity3D_Examples
0
7039575
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BallControl : MonoBehaviour { public Transform ball; public Transform guideRail; public float impulseMagnitude = 80.0f; public int score; public ScoreDisplay scoreDisplay; public Transform[] binLeftEdges; public int de...
Imagin.Common.WPF/Controls/DockView/Controls/LayoutPinnedControl.cs
fritzmark/Imagin.NET
0
7039576
<filename>Imagin.Common.WPF/Controls/DockView/Controls/LayoutPinnedControl.cs using Imagin.Common.Linq; using Imagin.Common.Models; using System.Collections; using System.Windows.Controls; namespace Imagin.Common.Controls { public class LayoutPinnedControl : ToolBar, ILayoutPanelControl { PanelCollect...
Pokemon Unity/Assets/Scripts/InBattle/Battle/DamageState.cs
jackchristenson/PokemonUnity
1
7039577
using PokemonUnity; //using PokemonUnity.Pokemon; using PokemonUnity.Inventory; //using PokemonUnity.Attack; using PokemonUnity.Battle; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PokemonUnity.Battle { /// <summary> /// </summary> public partial class Battle { ...
Controller/Program.cs
yannikHoeflich/UdpLedController
0
7039578
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace C...
TypingRealm.Testing/TestException.cs
ewancoder/typingrealm
1
7039579
using System; namespace TypingRealm.Testing { /// <summary> /// Throw this exception when you need to test custom exception handling. /// </summary> public class TestException : Exception { public TestException() { } public TestException(string message) : base(message) { } } }
ORM Cookbook/Recipes.ServiceStack/Transactions/TransactionsScenario.cs
diev/DotNet-ORM-Cookbook
247
7039580
using System; using System.Data; using Recipes.ServiceStack.Entities; using Recipes.Transactions; using ServiceStack.Data; using ServiceStack.OrmLite; namespace Recipes.ServiceStack.Transactions { internal class TransactionsScenario : ITransactionsScenario<EmployeeClassification> { private IDbConnecti...
src/Neptuo/Converters/IConverter.cs
ScriptBox99/Money
148
7039581
<reponame>ScriptBox99/Money using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Neptuo.Converters { /// <summary> /// Contract for generic converter. /// Supports converting multi source and targe types. /// </summary> publi...
BasicCrud/Migrations/20190409105532_initial.cs
collenirwin/BasicCrudExample
0
7039582
<filename>BasicCrud/Migrations/20190409105532_initial.cs<gh_stars>0 using Microsoft.EntityFrameworkCore.Migrations; namespace BasicCrud.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTab...
GtkTest/Vector2.cs
R-N/BounceWannabe
0
7039583
<reponame>R-N/BounceWannabe using System; using System.Drawing; using Cairo; using System.Linq; using GtkTest; namespace GtkTest { public struct Vector2 { public float x; public float y; public static Vector2 zero = new Vector2(0, 0); public static Vector2 one = new Vector2(1,1); public static Vector2 u...
LogicAppsServices/LogicAppsClient.cs
MikaBerglund/hpr-2020-05
0
7039584
using HprAbstractions.Configuration; using Newtonsoft.Json; using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace LogicAppsServices { public class LogicAppsClient { public LogicAppsClient(LogicAppsConfigSection config, HttpClient httpClient) { ...
Sample/PhotonWire.Sample.ServerApp/Filters/TestFilter.cs
gomez-addams/PhotonWire
126
7039585
<filename>Sample/PhotonWire.Sample.ServerApp/Filters/TestFilter.cs using System; using System.Diagnostics; using System.Threading.Tasks; using PhotonWire.Server; namespace PhotonWire.Sample.ServerApp.Filters { public class TestFilter : PhotonWireFilterAttribute { public override async Task<object> Inv...
ToothAndTailReplayHelper/Model/FilenameTokenParser.cs
mwinckler/ToothAndTailReplayHelper
0
7039586
<gh_stars>0 using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace ToothAndTailReplayHelper.Model { internal sealed class FilenameTokenParser : IFilenameTokenParser { private const string PlayerTokenIdentifier = "Players"; private const string DateTok...
SATREMI.Model/FilterReport.cs
eiq21/SysSATREMI
0
7039587
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SATREMI.Model { public class FilterReport { public string Id { get; set; } public string strNumberDocument { get; set; } public string startDate { ...
rds-20140815/csharp/core/Models/DescribeDBInstancesForCloneResponse.cs
atptro/alibabacloud-sdk
0
7039588
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Rds20140815.Models { public class DescribeDBInstancesForCloneResponse : TeaModel { [NameInMap("RequestId")] [Validation(Required=true)] ...
Advanced/Generics/GenericSwapMethodStrings/Swap.cs
hidden16/Softuni-Advanced
0
7039589
using System; using System.Collections.Generic; using System.Text; namespace GenericSwapMethodStrings { public class Swap<T> { List<T> names = new List<T>(); public List<T> Names { get { return names; } set { this.names = value; } } public void Swapper<T>(int indexOne, int indexTwo) ...
RealmServer/PacketReader/CMSG_CLEAR_TRADE_ITEM.cs
drolean/Servidor-WOW
7
7039590
using Common.Helpers; namespace RealmServer.PacketReader { public sealed class CMSG_CLEAR_TRADE_ITEM : Common.Network.PacketReader { public byte Slot; public CMSG_CLEAR_TRADE_ITEM(byte[] data) : base(data) { Slot = ReadByte(); #if DEBUG Log.Print(LogType.Debug...
src/Menees.VsTools/Tasks/TasksWindow.cs
husamurai/MeneesVcsTools
10
7039591
namespace Menees.VsTools.Tasks { #region Using Directives using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.InteropServices; using System.Text; using Microsoft.VisualStudio.Shell; #endregion [Guid(Guids....
src/Core/Bcc/BccTransferCommand.cs
LykkeCity/bitcoinservice
8
7039592
<reponame>LykkeCity/bitcoinservice<filename>src/Core/Bcc/BccTransferCommand.cs using System; using System.Collections.Generic; using System.Text; namespace Core.Bcc { public class BccTransferCommand { public string SourceAddress { get; set; } public string DestinationAddress { get; set; } ...
Komodo/Assets/Packages/KomodoCore/Runtime/Scripts/RuntimeSession/EventSystem/StandaloneXRInputModule.cs
gelic-idealab/komodo_unity
3
7039593
<reponame>gelic-idealab/komodo_unity using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Serialization; using UnityEngine.EventSystems; using Komodo.Utilities; namespace Komodo.Runtime { //3 things taken off to allow for indivodial camera raycasting to wo...
Data/EspartoWorld.Data.Models/Course.cs
antonjekov/EspartoWorld
0
7039594
namespace EspartoWorld.Data.Models { using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using EspartoWorld.Data.Common.Models; public class Course : BaseDeletableModel<int> { public Course() { ...
src/Service/VStoreAdvance.Service.Store/IManageProductImage.cs
VentsislavDinev/VStoreAdvance
0
7039595
using System.Threading.Tasks; using Abp.Application.Services; using HostingStore.ProductViewModel; namespace HostingStore.ProductService { public interface IManageProductImage : IApplicationService { Task CreateProduct(ProductImageListViewModel model, string image); Task DeleteProduct(ProductI...
src/StripeTests/Entities/TaxCodes/TaxCodeTest.cs
GigiAkamala/stripe-dotnet
557
7039596
<filename>src/StripeTests/Entities/TaxCodes/TaxCodeTest.cs namespace StripeTests { using Newtonsoft.Json; using Stripe; using Xunit; public class TaxCodeTest : BaseStripeTest { public TaxCodeTest(StripeMockFixture stripeMockFixture) : base(stripeMockFixture) { } ...
FlexiMvvm.Bindings/Platform.Android/ValueConverters/VisibleGoneValueConverter.cs
epam-xamarin-lab/FlexiMvvm
17
7039597
// ========================================================================= // Copyright 2019 EPAM Systems, Inc. // // 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....
src/Chloe/Mapper/IMRM.cs
johnnyleecn/Chloe
0
7039598
using Chloe.Reflection.Emit; using Chloe.Data; using Chloe.Reflection; using System; using System.Data; using System.Reflection; using System.Threading; using MappingType = Chloe.Infrastructure.MappingType; namespace Chloe.Mapper { public interface IMRM { void Map(object instance, IDataReader reader, ...
Model/LolChatChatDomainConfig.cs
wildbook/LeagueClientApi
1
7039599
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations...
src/NetCoreForce.Models/SfFeedAttachment.cs
keylightberlin/NetCoreForce
0
7039600
<reponame>keylightberlin/NetCoreForce // SF API version v41.0 // Custom fields included: False // Relationship objects included: True using System; using NetCoreForce.Client.Models; using NetCoreForce.Client.Attributes; using Newtonsoft.Json; namespace NetCoreForce.Models { ///<summary> /// Feed Attachment ///<par...
src/TensorFlowNET.Core/Eager/EagerTensor.Implicit.cs
ChrisUnityArto/TensorFlow.NET
1
7039601
using NumSharp; using System; using System.Collections.Generic; using System.Text; using Tensorflow.Eager; namespace Tensorflow.Eager { public partial class EagerTensor { [Obsolete("Implicit conversion of EagerTensor to IntPtr is not supported.", error: true)] public static implicit operator I...
InTray.Lib/TrayIcon.cs
TheGuardianWolf/InTray
0
7039602
using Serilog.Core; using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows.Forms; namespace InTray.Lib { public class TrayIcon { private Logger logger; private NotifyIcon notifyIcon; private ContextMenuStrip contextMenu; p...
chapter4/LoyaltyProgramEventConsumer/EventSubscriberService.cs
GuillaumeLebeau/microservices-in-aspnetcore
0
7039604
<gh_stars>0 using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; namespace LoyaltyProgramEventC...
CssUI/HTML/CustomElements/Reactions/CallbackReaction.cs
dsisco11/CssUI
0
7039605
<reponame>dsisco11/CssUI using CssUI.DOM; namespace CssUI.HTML.CustomElements { /// <summary> /// Implements a Custom element reaction callback containing a function handler to call and the arguments to pass to it. /// </summary> internal class ReactionCallback : IElementReaction { #region...
InterProcessCommunication/TradingApp/ConsoleUi/Program.cs
sugamgoel/InviteTest
12
7039606
<filename>InterProcessCommunication/TradingApp/ConsoleUi/Program.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Reflection; using System.Web; using AppBootEx; using Contracts.Infrastructure; using Contracts.Portfolio.Services; using Contrac...