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
DomainLayer/EntityService.cs
saidel143/DemoApi
0
7027316
<reponame>saidel143/DemoApi using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Linq.Expressions; using Portales.Dal; using Portales.Repositorio; namespace Portales.Servicio { public class EntityService<T> : IEntityService<T> where T : c...
Projet-Tangram/Library/PackageCache/com.unity.addressables@1.8.3/Runtime/ResourceManager/Diagnostics/DiagnosticEventCollector.cs
UMI3D/UMI3D-Tangram
1
7027318
using System; using System.Collections.Generic; // ReSharper disable DelegateSubtraction #if UNITY_EDITOR using UnityEditor; using UnityEditor.Networking.PlayerConnection; #endif using UnityEngine.Networking.PlayerConnection; using UnityEngine.ResourceManagement.Util; namespace UnityEngine.ResourceManagement.Diagnos...
src/AsmResolver.DotNet/IMetadataMember.cs
CrackerCat/AsmResolver
374
7027319
<filename>src/AsmResolver.DotNet/IMetadataMember.cs using AsmResolver.PE.DotNet.Metadata.Tables; namespace AsmResolver.DotNet { /// <summary> /// Represents a single member in a .NET image. /// </summary> public interface IMetadataMember { /// <summary> /// Gets the metadata token ...
source/Analyzers/Refactorings/SimplifyLambdaExpressionParameterListRefactoring.cs
MarcosMeli/Roslynator
2
7027320
<reponame>MarcosMeli/Roslynator // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis...
Assets/Scripts/Controllers/DDOLSingleton.cs
petergjh/csharpcrash
0
7027321
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class DDOLSingleton<T>:MonoBehaviour where T : DDOLSingleton<T> { protected static T _instance = null; public static T Instance { get { if (null == _instance) { ...
CarDealer.Wep/Controllers/CustomerController.cs
n3v3r94/CarDealer
0
7027322
 namespace CarDealer.Wep.Controllers { using CarDealer.Services; using CarDealer.Services.Models; using Microsoft.AspNetCore.Mvc; using Models.Customer; public class CustomerController : Controller { public readonly ICustomerService customer; public CustomerController ...
Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/EditorShortUpDownDefinition.cs
ay2015/AYUI8
0
7027323
<reponame>ay2015/AYUI8 using Xceed.Wpf.Toolkit.PropertyGrid.Editors; namespace Xceed.Wpf.Toolkit.PropertyGrid { /// <summary>Allows use of a short up-down editor in the PropertyGrid. /// /// <para>See EditorDefinitionBase for details.</para></summary> public class EditorShortUpDownDefinition : EditorNumericUpDownD...
src/WikimediaData/Library/FileFormat/FileReader.cs
aldriguz/wikimedia-pageviews
0
7027324
<reponame>aldriguz/wikimedia-pageviews using System; using System.IO; using WikimediaData.Entities; using WikimediaData.Interfaces; namespace WikimediaData.Library.FileFormat { public class FileReader : IDataReader, IDisposable { private PageViewCollection fileData; private string targetFileNo...
src/TensorFlowNET.Core/NumPy/Implementation/RandomizedImpl.cs
L-Net-1992/TensorFlow.NET
1
7027325
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace Tensorflow.NumPy { public class RandomizedImpl { [AutoNumPy] public NDArray permutation(int x) => new NDArray(random_ops.random_shuffle(math_ops.range(0, x))); ...
C# OOP 2019/EXAM_PREP/C# OOP Demo Exam 2019 04 August/MXGP- Business Logic/Repositories/RiderRepository.cs
bodyquest/SoftwareUniversity-Bulgaria
2
7027326
namespace MXGP.Repositories { using System.Linq; using System.Collections.Generic; using MXGP.Repositories.Contracts; using MXGP.Models.Riders.Contracts; public class RiderRepository : IRepository<IRider> { private readonly IList<IRider> repo; public RiderRepository() ...
Source/Toolkit/SharpDX.Toolkit.Audio/WaveBankReader.cs
kobush/Toolkit
1
7027327
// Copyright (c) 2010-2014 SharpDX - SharpDX Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, ...
Assets/Scripts/MagnetPlayer.cs
satokibi/VoxelRun
1
7027328
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MagnetPlayer : MonoBehaviour { Transform followTarget; Vector3 offset; private Vector3 velocity = Vector3.zero; // Use this for initialization void Start() { set(); } // U...
src/MarkPad/Converters/BoolToGridLengthConverter.cs
asine/DownmarkerWPF
817
7027329
<reponame>asine/DownmarkerWPF using System; using System.Windows; using MahApps.Metro.Converters; namespace MarkPad.Converters { public class BoolToGridLengthConverter : MarkupConverter { private readonly GridLength zeroLength = new GridLength(0); public BoolToGridLengthConverter() { ...
DesignPatternsAdapter/TwoProvidersClasses/StarWarsCharacterDisplayService.cs
jasarsoft/design-patterns-adapter
0
7027330
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesignPatternsAdapter.TwoProvidersClasses { public class StarWarsCharacterDisplayService { public enum CharacterSource { File, Api } ...
Nhl.Api.Domain/Models/Statistics/Split.cs
Afischbacher/Nhl.Api
10
7027331
using Newtonsoft.Json; using Nhl.Api.Models.Team; namespace Nhl.Api.Models.Statistics { /// <summary> /// The NHL team statistic split /// </summary> public class Split { /// <summary> /// The NHL team statistics details /// </summary> [JsonProperty("stat")] ...
IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Qosannotations/ISpecifiedQoSAnnotation.cs
NMFCode/NMF
35
7027332
<filename>IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Qosannotations/ISpecifiedQoSAnnotation.cs //------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen...
Project.Domain/Repository/IConsumeRepository.cs
henrygustavo/cqrs-api
1
7027333
<reponame>henrygustavo/cqrs-api using System; using System.Collections.Generic; using System.Threading.Tasks; using Project.Domain.Entity; using Project.Domain.Filters; namespace Project.Domain.Repository { public interface IConsumeRepository : IRepository<Consume> { Task<IEnumerable<Consume>> GetAllB...
src/RdpNotifier/ConnectionUtils.cs
jnm2/RdpNotifier
1
7027334
using System; using System.Net; using System.Net.Http; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace RdpNotifier { internal static class ConnectionUtils { public static async Task<bool> IsPortOpenAsync(DnsEndPoint endPoint, CancellationToken cancellationToken...
EDEngineer/Views/XamlHelpers.cs
LuisMorenoSerrano/EDEngineer
431
7027335
using System.Diagnostics; using System.IO; using System.Windows; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Imaging; namespace EDEngineer.Views { internal static class XamlHelpers { public static T FindVisualParent<T>(DependencyObject child) where T : Depend...
Tests/Runtime/BacktraceAttributeTests.cs
vlussenburg/backtrace-unity
83
7027336
using Backtrace.Unity.Model; using Backtrace.Unity.Model.JsonData; using NUnit.Framework; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEngine; using UnityEngine.TestTools; namespace Backtrace.Unity.Tests.Runtime { public class BacktraceAt...
SFA.DFC.TestAutomation/SFA.DFC.MatchYourSkillsToCareer.UITests/Project/Tests/Pages/RemoveSkillsPage.cs
SkillsFundingAgency/dfc-ui-automation-test-suite
1
7027337
<gh_stars>1-10 using DFC.TestAutomation.UI.Helpers; using DFC.TestAutomation.UI.TestSupport; using OpenQA.Selenium; using TechTalk.SpecFlow; namespace SFA.DFC.MatchYourSkillsToCareer.UITests.Project.Tests.Pages { public class RemoveSkillsPage : BasePage { #region Helpers private readonly IWeb...
VegaLite.NET/Schema/Label.cs
trmcnealy/VegaLite.NET
4
7027338
<filename>VegaLite.NET/Schema/Label.cs<gh_stars>1-10 namespace VegaLite.Schema { /// <summary> /// Indicates if labels should be hidden if they exceed the axis range. If `false` (the /// default) no bounds overlap analysis is performed. If `true`, labels will be hidden if /// they exceed the axis range...
Okex.Net/Converters/Swap/SwapLiquidationStatusConverter.cs
always-awaken/OKEx.Net
0
7027339
using CryptoExchange.Net.Converters; using Okex.Net.Enums; using System.Collections.Generic; namespace Okex.Net.Converters { internal class SwapLiquidationStatusConverter : BaseConverter<OkexSwapLiquidationStatus> { public SwapLiquidationStatusConverter() : this(true) { } public SwapLiquidatio...
DotNet/DotNet/UE4/Generated/Landscape/Native/LandscapeComponent.cs
UE4DotNet/Plugin
2
7027340
<reponame>UE4DotNet/Plugin // Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; u...
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandTradeorderSyncModel.cs
LuohuaRain/payment
1
7027342
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AntMerchantExpandTradeorderSyncModel Data Structure. /// </summary> public class AntMerchantExpandTradeorderSyncModel : AlipayObject { /// <summa...
ExplosionCats/Rules/Actions/FavorParam.cs
FiveTrpg/TableGameDemo
0
7027343
using System; using System.Collections.Generic; using System.Text; namespace ExplosionCats.Rules.Actions { public struct FavorParam { public ExplosionCatCharacter OriginalCharactor { get; set; } public ExplosionCatCharacter TargetCharactor { get; set; } public int Index { get...
src/HallOfBeorn/Models/LotR/CardSet.cs
danpoage/hall-of-beorn
5
7027344
<reponame>danpoage/hall-of-beorn using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HallOfBeorn.Models.LotR { public abstract class CardSet : ICardSet<Product, LotRCard> { protected CardSet() { Cards = new List<LotRCard>(); ...
CSF.Screenplay.Selenium/Builders/Deselect.cs
csf-dev/CSF.Screenplay.Selenium
2
7027345
using System; using CSF; using CSF.Screenplay.Performables; using CSF.Screenplay.Selenium.Models; using OpenQA.Selenium; namespace CSF.Screenplay.Selenium.Builders { /// <summary> /// Builds an action representing an actor deselecting options from an HTML <c>select</c> element. /// </summary> public class Des...
AspNetCoreCHILIDemo/Controllers/OrdersController.cs
seancrowe/CHILI-ASP-NET-CORE-Demo
0
7027346
<reponame>seancrowe/CHILI-ASP-NET-CORE-Demo using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AspNetCoreCHILIDemo.Objects; using AspNetCoreCHILIDemo.Services; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace AspNetCo...
src/Mailjet.SimpleClient.Core/Models/Responses/Sms/SendSmsStatus.cs
moklas/mailjet-simple-client
1
7027347
using System; using System.Collections.Generic; using System.Text; using Mailjet.SimpleClient.Core.Interfaces; using Mailjet.SimpleClient.Core.Models.Sms; using Newtonsoft.Json; namespace Mailjet.SimpleClient.Core.Models.Responses.Sms { public class SendSmsStatus : ISendSmsStatus { [JsonProperty(Prope...
source/ChromeDevTools/Protocol/Chrome/CSS/CSSRule.cs
daviddays/ChromeDevTools
118
7027348
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.CSS { /// <summary> /// CSS rule representation. /// </summary> [SupportedBy("Chrome")] public class CSSRule { /// <summary> /// Gets or sets The css style sheet ident...
src/July2018/DemoIoTComm/DemoDevice/MainPage.xaml.cs
digitalthailand/course-iot-ml-dl
10
7027349
using Microsoft.Azure.Devices.Client; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Wi...
client/formsapp2/Code/domain/User.cs
ikbenpinda/smhtml71
0
7027350
<filename>client/formsapp2/Code/domain/User.cs using System; using System.Collections.Generic; namespace formsapp2 { public class User { public string name; public List<Media> media; public List<Travelogue> travelogues; public User(){ } } }
BaseStatItem.cs
R-Magnotti/CSharp.Foundational-Unity-Game-Mechanics
2
7027351
<reponame>R-Magnotti/CSharp.Foundational-Unity-Game-Mechanics using UnityEngine; using System.Collections; //---------------------------------------------------------------------------------------- // Author: <NAME>, HardlyBriefProgramming // V. 1.0 // Purpose: basic script to create a base stat item class that exten...
Unity/Playground_Project/Library/PackageCache/com.unity.lego.modelimporter@7.0.1/Editor/CustomInspectors/PartEditor.cs
LM1403/Teste1
0
7027353
// Copyright (C) LEGO System A/S - All Rights Reserved // Unauthorized copying of this file, via any medium is strictly prohibited using UnityEngine; using UnityEditor; using LEGOMaterials; namespace LEGOModelImporter { [CustomEditor(typeof(Part)), CanEditMultipleObjects] public class PartEditor : Editor ...
src/StoryTeller.UserInterface.Testing/UI/StatusPresenterTester.cs
FubuMvcArchive/storyteller
1
7027354
<reponame>FubuMvcArchive/storyteller using System; using NUnit.Framework; using Rhino.Mocks; using Rhino.Mocks.Constraints; using StoryTeller.Domain; using StoryTeller.Engine; using StoryTeller.Execution; using StoryTeller.Model; using StoryTeller.Testing; using StoryTeller.Testing.Model; using StoryTeller.Us...
PKHeX.Core.Injection/Protocols/LPBDSP.cs
DevYukine/PKHeX-Plugins
1
7027355
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; namespace PKHeX.Core.Injection { public static class LPBDSP { public static LiveHeXVersion[] BrilliantDiamond = new LiveHeXVersion[] { LiveHeXVersion....
ShellScript/Core/Language/Compiler/Statements/DefinitionStatement.cs
amkherad/ShellScript
6
7027356
<filename>ShellScript/Core/Language/Compiler/Statements/DefinitionStatement.cs using ShellScript.Core.Language.Library; namespace ShellScript.Core.Language.Compiler.Statements { public abstract class DefinitionStatement : IStatement { public virtual bool CanBeEmbedded => false; public Statement...
20-Object-Oriented-Programming/4-Animals/Tomcat.cs
gmmateev/telerik-academy
0
7027357
<reponame>gmmateev/telerik-academy using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _4_Animals { class Tomcat : Cat { public Tomcat(string name, int age) : base(name, age, "Male") { } } }
OData/test/UnitTest/System.Web.OData.Test/OData/Routing/Conventions/ODataRoutingConventionsTest.cs
andygjp/WebApi
1
7027358
<reponame>andygjp/WebApi // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Linq; using System.Web.Http; using Microsoft.OData.Edm; using Microsoft.TestCommon; using Moq; namespace System.Web.ODat...
Framework.Web/Model/IBaseViewModel.cs
navaei/MnFramework
1
7027359
<filename>Framework.Web/Model/IBaseViewModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mn.Framework.Web.Model { //public interface IBaseViewModel //{ // int Id { get; set; } //} public interface IBaseViewMode...
Gao.Model/Libre/UnexpectedEvent.cs
bgaurons/Gao.Libre.GameMasterEmulation
0
7027360
<filename>Gao.Model/Libre/UnexpectedEvent.cs<gh_stars>0 namespace Gao.Model.Libre { /// <summary> /// Unexpected events change the flow of the story. /// </summary> public class UnexpectedEvent { public long Id { get; set; } public string Name { get; set; } public Comment Co...
Assets/NinjaController/Scripts/NinjaController.cs
codeMasterHacker/Unity-2-Platforming-Game
0
7027361
<filename>Assets/NinjaController/Scripts/NinjaController.cs using UnityEngine; using System.Collections; using System.Collections.Generic; namespace NinjaController { [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(Collider2D))] public class NinjaController : MonoBehaviour { private Rigid...
src/CSharp.Script/Execute/ScriptProperty.cs
ihtfw/CSharp.Script
1
7027362
<reponame>ihtfw/CSharp.Script<filename>src/CSharp.Script/Execute/ScriptProperty.cs using System; using System.Reflection; namespace CSharp.Script.Execute { public class ScriptProperty { private readonly PropertyInfo _propertyInfo; public ScriptProperty(object scriptObject, PropertyInfo proper...
src/EditorFeatures/Core/EditorConfigSettings/Aggregator/SettingsAggregator.cs
samaw7/roslyn
1
7027363
<reponame>samaw7/roslyn<filename>src/EditorFeatures/Core/EditorConfigSettings/Aggregator/SettingsAggregator.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. usin...
src/GiGraph.Dot.Output.Tests/DotGraphSyntaxOptionsTest.cs
mariusz-schimke/GiGraph
27
7027364
<gh_stars>10-100 using System.Drawing; using GiGraph.Dot.Entities.Graphs; using GiGraph.Dot.Extensions; using GiGraph.Dot.Output.Options; using Snapshooter.Xunit; using Xunit; namespace GiGraph.Dot.Output.Tests { public partial class DotGraphSyntaxOptionsTest { [Fact] public void graph_with_all...
c#/test/Data/Eager/EagerFactoryFlyweightTheoryData.cs
lncodes/design-pattern-flyweight
0
7027365
using Xunit; using System.Collections.Generic; namespace Lncodes.Tutorial.Flyweight.Test { public sealed class EagerFactoryFlyweightTheoryData : TheoryData<IEnumerable<GunTypes>, GunTypes> { public EagerFactoryFlyweightTheoryData() { Add(new GunTypes[] { GunTypes.M16 }, GunTypes.M1...
pwiz_tools/Skyline/TestFunctional/AutoTrainModelTest.cs
vagisha/pwiz
0
7027367
/* * Original author: <NAME> <kaipot .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2021 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
AddressFinder/UrbanPostalAddressFormatter.cs
kiwipiet/AddressFinder
0
7027368
<gh_stars>0 using System; using System.Linq; using System.Text.RegularExpressions; namespace AddressFinder { public class UrbanPostalAddressFormatter : IPostalAddressFormatter { public PostalAddressFormat Format(PostalAddress postalAddress) { if (postalAddress == null) ...
aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/updating-related-data-with-the-entity-framework-in-an-asp-net-mvc-application/samples/sample7.cs
SeanKilleen/Docs
159
7027369
<filename>aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/updating-related-data-with-the-entity-framework-in-an-asp-net-mvc-application/samples/sample7.cs public ActionResult Edit(int id = 0) { Instructor instructor = db.Instructors.Find(id); if (instructor == null) { return...
NeonRush/Assets/Scripts/Tile Generator/tileL.cs
grupo9web/ZizZagZio
0
7027370
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class tileL { // Posiciones donde hay que ggenerar tile con neones public List<Vector3> tileBricks = new List<Vector3>(); public List<Vector3> attachPoints = new List<Vector3>(); public List<Vector3> powe...
Common/O10.Core/Communication/NodeAddress.cs
muaddibco/O10city
1
7027371
using System.Net; using O10.Core.Identity; namespace O10.Core.Communication { public class NodeAddress { public NodeAddress(IKey key, IPAddress ipAddress) { Key = key; IP = ipAddress; } public IKey Key { get; set; } public IPAddress IP { get; set;...
Back/Controllers/SubjectController.cs
viniciusgugelmin/unemployeds-up
1
7027372
<reponame>viniciusgugelmin/unemployeds-up using System; using System.Collections.Generic; using System.Linq; using Back.DAO; using Back.Data; using Back.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace Back.Controllers { [ApiController] [Route("api/subject")] public cl...
DigitalChef/ViewModel/Models/TableModel.cs
felipeccruz/.NET
0
7027373
<reponame>felipeccruz/.NET  namespace ViewModel { public class TableModel { public int Id { get; set; } public int Number { get; set; } public List<CustomerModel> CustomersList { get; set; } } }
axiom/Engine/Animating/AnimationState.cs
AustralianDisabilityLimited/MultiversePlatform
33
7027374
<reponame>AustralianDisabilityLimited/MultiversePlatform<gh_stars>10-100 #region LGPL License /* Axiom Game Engine Library Copyright (C) 2003 Axiom Project Team The overall design, and a majority of the core engine and rendering code contained within this library is a derivative of the open source Object Oriented ...
src/symphony-core/Symphony.ExternalDevices/Axopatch200B.cs
Symphony-DAS/symphony-core2
2
7027375
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Symphony.Core; namespace Symphony.ExternalDevices { /// <summary> /// Implementation of the IAxoPatch interface for the Axopatch200B. /// </summary> public class Axopatch200B : IAxopatch { public d...
NadekoBot.Core/Modules/Games/Services/PollService.cs
mudslide89/HLNA
24
7027376
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Modules.Games.Common; using NadekoBot.Core.Services; using NadekoBot.Core.Services.Impl; using NLog; using NadekoBot.Core.S...
interop/VcmpApi/Enumerations/VehicleOption.cs
ahmed605/win-vcmp-dotnet
2
7027377
namespace Fleka.DotnetVcmp.Interop { public enum VehicleOption { DoorsLocked = 0, Alarm = 1, Lights = 2, RadioLocked = 3, Ghost = 4, Siren = 5, SingleUse = 6 } }
src/EntityFramework/NodaTimeDateTimeOffsetValueGenerator.cs
RocketSurgeonsGuild/LaunchPad
0
7027378
using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.ChangeTracking; using Microsoft.EntityFrameworkCore.ValueGeneration; using NodaTime; using System; namespace Rocket.Surgery.LaunchPad.EntityFramework { /// <summary> /// A value generator for DateTimeOffset from the NodaTime <see cref="IClock"/>...
src/Common/src/Common/LoadBalancer/RandomLoadBalancer.cs
SteeltoeOSS/steeltoe-testbed
495
7027379
<filename>src/Common/src/Common/LoadBalancer/RandomLoadBalancer.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Caching.Distri...
SelfInjectiveQuiversWithPotential/Analysis/AnalysisResults.cs
Samuel-Q/SelfInjectiveQuiversWithPotential
0
7027380
<filename>SelfInjectiveQuiversWithPotential/Analysis/AnalysisResults.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SelfInjectiveQuiversWithPotential.Analysis { /// <summary> /// This class represents the results of an analysis ...
Assets/Scripts/CloudFaceScripts/FaceObjs/Scores.cs
jjfeng520/Mochimoji-Mac
9
7027381
using System; using System.Collections.Generic; [Serializable] public class Scores { /// <summary> /// /// </summary> public float anger; /// <summary> /// /// </summary> public float contempt; /// <summary> /// /// </summary> public float disgust; /// <summary> /...
PaniciSoftware.Tsuki/Runtime/RValueList.cs
jeffpanici75/Tsuki
0
7027382
// // Tsuki // // The MIT License (MIT) // // Copyright (c) 2014 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights //...
Orko.EntityWorks/Core/Ambient/ConnectionContext.cs
olegtosovic/ewcore
5
7027383
using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Orko.EntityWorks { /// <summary> /// Provides basic connection context information and specific db provider creation. /// </summary> publ...
Api/Payments/iCompanyPortal.Api.Payments/Data/PaymentsDbContext.cs
willemtoerien/icompanyportal
0
7027384
using iCompanyPortal.Api.Shared.Data; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace iCompanyPortal.Api.Payments.Data { public class PaymentsDbContext : ProjectDbContext { public PaymentsDbContext(DbContex...
Bomerman/BomermanDirectives.cs
eatplayhate/versionr
35
7027385
using CommandLine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Versionr; using Versionr.Commands; using Versionr.Utilities; namespace Bomerman { public class BomermanOptions { [HelpOption] public strin...
Akka.Hive/Interfaces/IHiveAction.cs
Krockema/Akka.Hive
6
7027386
using System; using Akka.Hive.Definitions; namespace Akka.Hive.Interfaces { /// <summary> /// Basic actor functionality that every Hive resident has to implement. /// </summary> public interface IHiveAction { void Send(IHiveMessage instruction, TimeSpan waitFor = new()); void Sched...
src/Sitecore.FakeDb/TemplateTreeBuilder.cs
sergeyshushlyapin/Sitecore.FakeDb
92
7027387
<gh_stars>10-100 namespace Sitecore.FakeDb { using System.Linq; using Sitecore.Data; public class TemplateTreeBuilder { public void Build(DbItem template) { if ((template as DbTemplate) == null) { return; } var dataSectio...
Assets/Scripts/EnemyAi/PlantAi.cs
EmilJK/LeapOfSnake
0
7027388
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlantAi : MonoBehaviour { public Transform firePoint; public GameObject bulletPrefab; public float fireCd = 2; public float cdSet = 2; bool canShoot; // Update is called once per frame ...
src/Microsoft.SqlTools.ServiceLayer/Profiler/ProfilerSession.cs
nemanja-milovancevic/sqltoolsservice
176
7027389
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.Linq; using Microsoft.SqlTools.ServiceLayer.Connection; using Microsoft.SqlTools.ServiceLayer.Profile...
Abstractions/Skitana.App.Framework.Abstractions/IDispatcher.cs
SkitanaTeam/Skitana
0
7027390
// MIT License - Copyright © Skitana Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; namespace Skitana.App.Framework.Abstractions { public interface IDispatcher { void Enqueue(Action action); v...
src/Infrastructure/EntityFrameworkDataAccess/Migrations/20191124223925_Users.cs
piraces/clean-architecture-manga
1
7027391
<gh_stars>1-10 using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Infrastructure.EntityFrameworkDataAccess.Migrations { public partial class Users : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( ...
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue2580.cs
Skyprx/maui
3
7027392
<filename>System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue2580.cs using System.Maui.CustomAttributes; using System.Maui.Internals; #if UITEST using System.Maui.Core.UITests; using Xamarin.UITest; using NUnit.Framework; #endif namespace System.Maui.Controls.Issues { #if UITEST [Category(UITestCate...
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Properties/DelegatedProjectPropertiesProviderBase.cs
jasonmalinowski/project-system
3
7027393
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Build.Execution; using Microsoft.Build.Framework; using Microsoft.VisualStudio.Threading; namespace Microsoft.VisualStudio.ProjectSystem.Pro...
ModernFlyouts/FlyoutHandler.cs
punker76/ModernFlyouts
0
7027394
using Hardcodet.Wpf.TaskbarNotification; using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Interop; using System.Windows.Threading; namespace ModernFlyouts { public class FlyoutHandler : INotifyPropertyChanged { public static ...
Api/Controllers/V2/SuperSamplesController.cs
eliasjo/ApiVersions
1
7027395
<reponame>eliasjo/ApiVersions using System.Net.Mime; using Api.Models.V2; using Microsoft.AspNetCore.Mvc; namespace Api.Controllers.V2 { /// <summary> /// Controller Action approach. /// </summary> [ApiController] [Consumes(MediaTypeNames.Application.Json)] [Produces(MediaTypeNames.Application...
Mvc4/Areas/WithConfig/Controllers/CspConfigController.cs
NWebsec/NWebsec.TestSites
1
7027396
// Copyright (c) <NAME>. See License.txt in the project root for license information. using System.Web.Mvc; using NWebsec.Mvc.HttpHeaders.Csp; namespace Mvc4.Areas.WithConfig.Controllers { public class CspConfigController : Controller { // // GET: /CspConfig/ public ActionResult Inde...
src/Peachpie.Library/DateTime/DateTime.cs
pingleware/peachpie
0
7027397
<filename>src/Peachpie.Library/DateTime/DateTime.cs using Pchp.Core; using Pchp.Library; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System_DateTime = System.DateTime; namespace Pchp.Lib...
src/Component/Furysoft.DynamicQuery.Dapper/Logic/SqlBuilder.cs
Furysoft/DynamicQuery-Dapper
0
7027398
<reponame>Furysoft/DynamicQuery-Dapper // -------------------------------------------------------------------------------------------------------------------- // <copyright file="SqlBuilder.cs" company="<NAME>"> // © 2017, <NAME> // </copyright> // ----------------------------------------------------------------------...
MapUtilities/Trees/TreeRenderer.cs
mjSurber/Map-Utilities
0
7027399
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using StardewValley; using StardewValley.TerrainFeatures; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; using StardewModdingAPI; using Newtonsoft.Json.Linq; //using System.Drawin...
src/ISUF.UI/Design/ControlCreator.cs
JanRajnoha/ISUF
2
7027400
<filename>src/ISUF.UI/Design/ControlCreator.cs<gh_stars>1-10 using ISUF.Base.Attributes; using ISUF.Base.Enum; using ISUF.Base.Exceptions; using ISUF.Base.Modules; using ISUF.UI.Classes; using ISUF.UI.Controls; using ISUF.UI.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Text; ...
NestedWorld/View/MonsterViews/MonsterPage/UpdateSurnameView.xaml.cs
NestedWorld/NestedWorld-Windows-10
0
7027401
using NestedWorld.Classes.ElementsGame.Monsters; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows....
sipsorcery-core/SIPSorcery.Web.Services/Provisioning/IProvisioningServiceREST.cs
sipsorceryc4b/sipsorcery
0
7027402
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; using SIPSorcery.SIP.App; namespace SIPSorcery.Web.Services { [ServiceContract(Namespace = "http://www.sipsorcery.com/provisioning/rest")] public interface IProvisio...
Assets/Scripts/UI/EndOfGameMenuManager.cs
HouseIsKing/ShiningKingdomAgarIO
0
7027403
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class EndOfGameMenuManager : MonoBehaviour { public void Restart() { Time.timeScale = 1; SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); } public v...
Assets/Scripts/Castle/TeleportArea.cs
KungFuMaster19637/3D-MOBA-Game
0
7027404
<reponame>KungFuMaster19637/3D-MOBA-Game using UnityEngine; public class TeleportArea : MonoBehaviour { public GameObject teleportButton; private void OnTriggerEnter(Collider other) { teleportButton.SetActive(true); } private void OnTriggerExit(Collider other) { teleportButton....
src/EventStack.Infrastructure/EventSourcing/IEventStore.cs
softframe/eventstack
0
7027405
<reponame>softframe/eventstack<filename>src/EventStack.Infrastructure/EventSourcing/IEventStore.cs using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using RailSharp; namespace EventStack.Infrastructure.EventSourcing { public interface IEventStore<TEvent> where TEvent ...
src/Kephas.Application/Interaction/InteractionFeatureLifecycleBehavior.cs
snakefoot/kephas
0
7027406
<reponame>snakefoot/kephas<filename>src/Kephas.Application/Interaction/InteractionFeatureLifecycleBehavior.cs<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="InteractionFeatureLifecycleBehavior.cs" company="Kephas So...
ZzaDashboard/Zza.Data/Order.cs
zenzontle/MVVM-Course
0
7027407
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Zza.Data { public class Order { public Order() { OrderItems = new List<OrderItem>(); } [Key] public long Id { get; set; } public...
JabbR/Services/IKeyProvider.cs
FaytLeingod007/JabbR
679
7027408
<reponame>FaytLeingod007/JabbR namespace JabbR.Services { public interface IKeyProvider { byte[] EncryptionKey { get; } byte[] VerificationKey { get; } } }
mcs/class/System.Design/System.Web.UI.Design/DesignerRegionCollection.cs
lefb766/mono
1
7027409
// // DesignerRegionCollection.cs // // Author: // <NAME> <<EMAIL>> // // (C) 2007 Novell, Inc. // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // wi...
Source/Data/Context.cs
bryanmcconkey/uimgui
1
7027410
<filename>Source/Data/Context.cs using System; using UImGui.Texture; namespace UImGui { internal sealed class Context { public IntPtr Value; public TextureManager TextureManager; } }
Source/Sidea.DocxToPdf/Models/Core/PageRegion.cs
sidea-sk/DocxToPdf
2
7027411
<gh_stars>1-10 using Sidea.DocxToPdf.Core; using Sidea.DocxToPdf.Models.Common; namespace Sidea.DocxToPdf.Models { internal class PageRegion { public static readonly PageRegion None = new PageRegion(PagePosition.None, Rectangle.Empty); public PageRegion(PagePosition pagePosition, Rectangle re...
src/DotVVM.Framework/Controls/DotvvmMarkupControl.cs
GerardSmit/dotvvm
0
7027412
using System; using System.Collections.Generic; using System.Linq; using DotVVM.Framework.Binding; using DotVVM.Framework.Binding.Expressions; using DotVVM.Framework.Compilation.Parser; using DotVVM.Framework.Hosting; using DotVVM.Framework.ViewModel.Serialization; using Newtonsoft.Json; namespace DotVVM.Framework.Con...
src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayNameExtensions.cs
MCCshreyas/aspnetcore
2
7027413
<gh_stars>1-10 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Microsoft.AspNetCore.Mvc.Rendering; /// <summary> /// DisplayName-related ex...
Assets/Scripts/SelectionBox2D.cs
a0174/SelectionBox2D
0
7027414
<filename>Assets/Scripts/SelectionBox2D.cs using UnityEngine; public class SelectionBox2D : MonoBehaviour { public string sortingLayer = "UI"; public MouseButton mouseSelectionButton; public enum MouseButton { Left, Right, Middle }; Vector2 clickStart; Vector2 clickEnd; LineRenderer lineRendere...
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Components/TokensGrid.razor.cs
markjohnnah/TheIdServer
1
7027415
<filename>src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Components/TokensGrid.razor.cs // Project: Aguafrommars/TheIdServer // Copyright (c) 2020 @<NAME> using Aguacongas.IdentityServer.Store.Entity; using Microsoft.JSInterop; using Newtonsoft.Json.Linq; using Newtonsoft.Json; using System.Threading.Tasks; using Syst...
10. Exercise JSON Processing/Product Shop/ProductShop/ProductShop.Data/ProductShopDbContext.cs
thelad43/Databases-Advanced-Entity-Framework-SoftUni
0
7027416
<gh_stars>0 namespace ProductShop.Data { using Microsoft.EntityFrameworkCore; using Models; using static Infrastructure.ProductShopDbConfiguration; public class ProductShopDbContext : DbContext { public DbSet<User> Users { get; set; } public DbSet<Category> Categories { get; set;...
Assets/Scripts/ProjektilDestroy.cs
hasenbalg/GGJ2019
0
7027417
using UnityEngine; using System.Collections; public class ProjektilDestroy : MonoBehaviour { public float maxDistance = 200f; public Transform player; private float timer; void Start() { timer = Time.realtimeSinceStartup; player = GameObject.FindGameObjectWithTag("Player").transfo...
Havit.Data.EntityFrameworkCore.Patterns.Tests/UnitOfWorks/BeforeCommitProcessors/BeforeCommitProcessorsRunnerTests.cs
havit/HavitFramework
23
7027418
<filename>Havit.Data.EntityFrameworkCore.Patterns.Tests/UnitOfWorks/BeforeCommitProcessors/BeforeCommitProcessorsRunnerTests.cs using System.Collections.Generic; using Havit.Data.EntityFrameworkCore.Patterns.UnitOfWorks; using Havit.Data.EntityFrameworkCore.Patterns.UnitOfWorks.BeforeCommitProcessors; using Microsoft....
sdk/src/Services/Signer/Generated/Model/SigningImageFormat.cs
philasmar/aws-sdk-net
1
7027419
<gh_stars>1-10 /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * ...