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
TestsAssignment5/Model/BookTest.cs
GusRodrigues86/Conestoga.Assignment5
0
7061367
using Assignment5.Model; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace TestsAssignment5.Model { class BookTest { /* Test Strategy for the Book class * Test valid implementation - Done * Test Immutability - Done * Test Equ...
TelemetryNetworkHelper.cs
Shetty073/Ets2AtsCustomRichPresence
1
7061368
using System; using System.Windows; using System.Windows.Media; using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using System.Threading; using System.Windows.Documents; using System.Collections.Generic; namespace Ets2AtsCustomRichPresence { class Telemetry...
03-C#-Fundamentals/C#OopBasic/Inheritance-Exercise/BookShop/Book.cs
MomchilSt/SoftUni
1
7061369
<reponame>MomchilSt/SoftUni using System; using System.Collections.Generic; using System.Text; namespace BookShop { public class Book { private string title; private string author; private decimal price; public Book(string title, string author, decimal price) { ...
Demos/Ex05.Escolas/STI.Infra.Crosscutting.Ioc/DependencyRegistryOptions.cs
gabriel-society/RegrasNegocioTalk
1
7061370
using System; namespace STI.Infra.Crosscutting.Ioc { public sealed class DependencyRegistryOptions { public string Name { get; set; } public Type From { get; set; } public Type To { get; set; } public bool Singleton { get; set; } public object SingletonInstance { get; s...
TensorSharp/Core/DelegateDisposable.cs
DeneshPohar/Seq2SeqSharp
119
7061371
using System; namespace TensorSharp.Core { public class DelegateDisposable : IDisposable { private readonly Action action; public DelegateDisposable(Action action) { this.action = action; } public virtual void Dispose() { action(); ...
Assets/Scripts/Buriola/Managers/LevelController.cs
Buriola/asteroids-game
0
7061372
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using Buriola.Audio; using Buriola.Controller; using Buriola.UI; using UnityEngine.Serialization; namespace Buriola.Managers { public class LevelController : MonoBehaviour { #region Variab...
src/doodads/dOOdad_UnitTesting/CSharp/FIREBIRD/DIALECT1/EMPLOYEES.cs
cafesua/mygeneration
6
7061374
<filename>src/doodads/dOOdad_UnitTesting/CSharp/FIREBIRD/DIALECT1/EMPLOYEES.cs using System; namespace CSharp.FIREBIRD.DIALECT1 { /// <summary> /// Summary description for EMPLOYEES. /// </summary> public class EMPLOYEES : _EMPLOYEES { public EMPLOYEES() { // // TODO: Add constructor logic h...
NoStringEvaluating/Models/Values/InternalEvaluatorValue.cs
CBke/NoStringEvaluating
10
7061375
using NoStringEvaluating.Services.Keepers; using System; using System.Collections.Generic; using System.Globalization; namespace NoStringEvaluating.Models.Values { /// <summary> /// Value for internal processing /// </summary> public readonly struct InternalEvaluatorValue { private readonl...
DbCoreDemos.EFCSharp/Entities/ImportMaps.cs
AlexHart/.NET-Core-DB-demos
0
7061376
<gh_stars>0 using System; using System.Collections.Generic; namespace EFCoreDemos.EFCSharp.Entities { public partial class ImportMaps { public string Id { get; set; } public string Name { get; set; } public string Source { get; set; } public string Enclosure { get; set; } ...
Save-Your-Pc/Assets/My Scripts/Ui Scripts/UIControl.cs
razein97/Game-Projects
0
7061377
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace MetaGameJam { public class UIControl : MonoBehaviour { public GameObject pcCrashScreen; public GameObject instructionScreen; public GameObject object...
src/MyLab.Wpf/SequenceCalling/CallSequenceSource.cs
ozzy-ext-mylab/wpf
0
7061378
<filename>src/MyLab.Wpf/SequenceCalling/CallSequenceSource.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; namespace MyLab.Wpf.SequenceCalling { public class CallSequenceSource { protected IReadOnlyLi...
src/DevAdventCalendarCompetition/DevAdventCalendarCompetition.Repository/Interfaces/IResultsRepository.cs
bananbe/DevAdventCalendar
0
7061379
using System; using System.Collections.Generic; using DevAdventCalendarCompetition.Repository.Models; namespace DevAdventCalendarCompetition.Repository.Interfaces { public interface IResultsRepository { UserPosition GetUserPosition(string userId); List<Result> GetTestResultsForWeek(int weekNum...
Fluetax/Builders/PropertyBuilder.cs
lzinga/Fluetax
0
7061380
<reponame>lzinga/Fluetax using Fluetax.Interfaces; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fluetax.Builders { public class PropertyBuilder : IPrope...
EAExport/EAExportForm.cs
jcurl/EAExport
1
7061381
<filename>EAExport/EAExportForm.cs using System; using System.Text; using System.Windows.Forms; namespace EAExport { public partial class frmEAExport : Form { private Model.EAModel eaModel; public frmEAExport() { InitializeComponent(); treXmiStructure.ShowLines...
PackageViewModel/Constants.cs
baronfel/NuGetPackageExplorer
2,114
7061382
<reponame>baronfel/NuGetPackageExplorer namespace PackageExplorerViewModel { public static class Constants { public const string UserAgentClient = "NuGet Package Explorer"; internal const string ContentForInit = "param($installPath, $toolsPath, $package)"; internal const string Content...
OneCodeTeam/How to Get Screen Resolution in Win10 UWP App/[C#]-How to Get Screen Resolution in Win10 UWP App/C#/CSGetScreenResolution/MainPage.xaml.cs
zzgchina888/msdn-code-gallery-microsoft
2
7061383
using System; using Windows.Foundation; using Windows.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace CSGetScreenResolution { /// <summary...
EarTrumpet/UI/ViewModels/EarTrumpetVolumeTargetSettingsPageViewModel.cs
Packetdancer/EarTrumpet
1
7061384
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; using EarTrumpet.DataModel.Audio;...
HellDivers_UnityProject/Assets/Scripts/UI/InGame/PlayerInfo/UIStratagemInfo.cs
woody8876/HELLDIVERS_Like
0
7061385
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace HELLDIVERS.UI.InGame { public class UIStratagemInfo : MonoBehaviour { public Player CurrentPlayer { get; private set; } public Stratagem CurrentStratagem { get; private set; } ...
source/Halibut/Diagnostics/InMemoryConnectionLog.cs
heniu75/Halibut
0
7061386
<filename>source/Halibut/Diagnostics/InMemoryConnectionLog.cs using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Threading; namespace Halibut.Diagnostics { public class InMemoryConnectionLog : ILog { static readonly TraceSource Tr...
Framework.Contracts/Attributes/EventAttributes.cs
ninocrudele/SnapGate
2
7061387
<reponame>ninocrudele/SnapGate<gh_stars>1-10 // Copyright 2016-2040 <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/licenses/LICENSE-2.0 // // U...
Daily_Coding_Problem/Encoaded_Message_Problem.cs
hraverkar/Coding_Problem
0
7061388
using System; namespace ConsoleApp38 { class Program { static void Main(string[] args) { var input = "111"; Console.WriteLine("Hello World!"); var t = way_to_decode(input, 0); Console.WriteLine(t); } private static int way_to_decode(string input, int v) { if (v ==...
RenderBuffer.cs
JoeTwizzle/GLGraphics
1
7061389
using OpenTK.Graphics.OpenGL4; using System; using System.Collections.Generic; using System.Text; namespace GLGraphics { public class RenderBuffer : GraphicsResource { public RenderBuffer() : base(GLObjectType.RenderBuffer) { } public int Width { get; private set; } pu...
OpenNETCF.Web/OpenNETCF.Web/Configuration/HttpHandlersConfig.cs
ctacke/padarn
3
7061390
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace OpenNETCF.Web.Configuration { internal class HttpHandlersConfigSection : List<HttpHandler> { readonly XmlNode _section; public string[] AssemblyNames { get; private set; } in...
Education.BLL/Services/ForumServices/ForumService.cs
talerok/EducationPortal
0
7061391
<reponame>talerok/EducationPortal using Education.BLL.DTO.Forum; using Education.BLL.DTO.User; using Education.BLL.Logic.Interfaces; using Education.BLL.Services.ForumServices.Interfaces; using Education.DAL.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace Education.BLL.Service...
pinvoke/Uno.Native/NativeLib.cs
mortend/uno-base
4
7061392
<gh_stars>1-10 using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Text; namespace Uno.Native { public static partial class NativeLib { internal static bool IsInitialized { get; private set; } public static void Initialize(string dllDir = ...
Domain/Contracts/IReadOnlyRepository.cs
AlexanderDemko/BibleNote
11
7061393
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace BibleNote.Domain.Contracts { public interface IReadOnlyRepository<T> : IQueryable<T> where T : class { IQueryable<T> Query { get; } ...
Portal/ActionBase.cs
skygreen2001/Betterlife.Net
0
7061394
using Portal.Controllers; using Business; using Database.Domain.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Util.Common; using Database; using Business.Core.Service; namespace Portal { /// <summary> /// 所有Controller的拦截器:在Controller的ac...
Orm/Xtensive.Orm/Orm/Internals/Prefetch/PrefetchFacade.cs
alex-kulakov/dataobjects-net
0
7061395
// Copyright (C) 2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2010.11.18 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Xtensive.Colle...
dotnetv3/EC2/DeleteSecurityGroupExample/DeleteSecurityGroupExample/DeleteSecurityGroup.cs
iconara/aws-doc-sdk-examples
5,166
7061397
<reponame>iconara/aws-doc-sdk-examples<gh_stars>1000+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 namespace DeleteSecurityGroupExample { using System; using System.Threading.Tasks; using Amazon.EC2; using Amazon.EC2.Model; /// <sum...
Actors/TeamspeakCredentialsHolder.cs
ahydrax/ahydrax-servitor
3
7061398
<gh_stars>1-10 using ahydrax.Servitor.Actors.Utility; using ahydrax.Servitor.Extensions; using Akka.Actor; namespace ahydrax.Servitor.Actors { public class TeamspeakCredentialsHolder : ReceiveActor { private readonly Settings _settings; public TeamspeakCredentialsHolder(Settings settings) ...
RtspClientSharp/MediaParsers/AACAudioPayloadParser.cs
EzequiasEyaire/OnePoint-Client
0
7061399
using System; using System.Diagnostics; using RtspClientSharp.Codecs.Audio; using RtspClientSharp.RawFrames.Audio; using RtspClientSharp.Utils; namespace RtspClientSharp.MediaParsers { class AACAudioPayloadParser : MediaPayloadParser { private readonly AACCodecInfo _codecInfo; private readonly...
BankArya/UserL/FrmEnter.cs
hosseinmh/bank_db_project
0
7061400
<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.Windows.Forms; namespace UserL { public partial class FrmEnter : Form { public FrmEnter() { InitializeComponent(); } shard....
CoR_Example/Classic/ExternalLinkSet/IDeliveryService.cs
VioletTape/GoF_PostSharp
0
7061401
namespace CoR_Example.Classic.ExternalLinkSet { public abstract class Handler { protected readonly Handler[] Handlers; protected Handler(params Handler[] handlers) { Handlers = handlers; } public abstract void CalcDelivery(Address address); } publi...
src/Tests/PEReaderTests/TestModules/MRW_TestAssembly.cs
RUB-SysSec/Probfuscator
33
7061402
//----------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All Rights Reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPL...
src/MercadoPago/Client/AdvancedPayment/AdvancedPaymentClient.cs
kzu/sdk-dotnet
40
7061403
<filename>src/MercadoPago/Client/AdvancedPayment/AdvancedPaymentClient.cs namespace MercadoPago.Client.AdvancedPayment { using System; using System.Threading; using System.Threading.Tasks; using MercadoPago.Error; using MercadoPago.Http; using MercadoPago.Resource; using MercadoPago.Resourc...
me.cqp.ritsukage.RitsukageBot/Native.Csharp.Sdk/Cqp/Enum/RequestType.cs
BAKAOLC/RitsukageBot-Old
1
7061404
namespace Native.Csharp.Sdk.Cqp.Enum { /// <summary> /// 请求类型 /// </summary> public enum RequestType { /// <summary> /// 请求_群添加 /// </summary> GroupAdd = 1, /// <summary> /// 请求_群邀请 /// </summary> GroupInvitation = 2 } }
Freezer/Core/Triggers/FreezerJsEventTrigger.cs
haga-rak/Freezer
37
7061405
using System; using System.Threading; namespace Freezer.Core { /// <summary> /// Represents a trigger class bound to javascript event FreezerFire. /// </summary> [Serializable] public class FreezerJsEventTrigger : Trigger { private static readonly Guid ClassIdentifier = Guid.Parse("81a...
FormeleMethode/TestAutomata.cs
joshuaRMS/Formele-methode
0
7061406
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FormeleMethode { public class TestAutomata { /// <summary> /// Reads the file and set objects and returns an automata. /// </summary> /// <param name="fileName">Name of the file.</pa...
ConScrap/Browser.cs
dli-invest/conscrap
0
7061408
<reponame>dli-invest/conscrap using System; using OpenQA.Selenium; using OpenQA.Selenium.Remote; using System.Threading; namespace ConScrap { public class Browser { /// <summary> /// make selenium connection with browserstack /// </summary> public static IWebDriver MkBrowser() ...
src/Serialization/HybridRow.Tests.Perf/ProtobufRowGenerator.cs
microsoft/HybridRow
3
7061409
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Serialization.HybridRow.Tests.Perf { using System; using System.Collections.Generic; ...
tool/EkstaziSharp.Core/EkstaziSharp.Instrumentation/NUnitInstrumentator.cs
RaghunandanSharma/ekstazisharp
14
7061410
<reponame>RaghunandanSharma/ekstazisharp // Copyright (c) 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/licenses/LICENSE-2.0 // // Unless re...
src/Security/OoyalaAthenticator.cs
Sitecore/Media-Framework-Ooyala-Edition
0
7061411
<reponame>Sitecore/Media-Framework-Ooyala-Edition namespace Sitecore.MediaFramework.Ooyala.Security { using System; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web; using Sitecore.Data.Items; using global::RestSharp; using global::RestSharp.Extens...
ProcJam Entry 2019/Assets/Scripts/AreaBigEvent.cs
lopezmramon/backstory-generator
0
7061412
using System.Collections; using System.Collections.Generic; using System.ComponentModel; using UnityEngine; public enum AreaBigEvent { [Description(" since the ascension of Merellien Oakskin to fey kingship\", \" after the death of Philise the Green Queen\", \" when the Green Moon appears in the sky\", \" during th...
src/ChromeRemoteSharp/NetworkDomain/ClearBrowserCacheAsync.cs
jefersonsv/ChromeRemoteSharp
7
7061414
<reponame>jefersonsv/ChromeRemoteSharp<filename>src/ChromeRemoteSharp/NetworkDomain/ClearBrowserCacheAsync.cs using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace ChromeRemoteSharp.NetworkDomain { public partial class NetworkDomain ...
gerenciador.Designer.cs
jasonGois/SORTEST
0
7061415
<filename>gerenciador.Designer.cs<gh_stars>0 namespace Gerenc_Prova { partial class gerenciador { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any re...
Assets/Scripts/Play/PauseButton.cs
syc0521/CatBeat
0
7061416
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseButton : MonoBehaviour { public NoteController noteController; public GameObject canvas; public void OnContinuePressed() { NoteController.isPaused = f...
DroidExplorer.Plugins/UI/RebootForm.cs
vaginessa/droidexplorer
164
7061417
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.Windows.Forms; using DroidExplorer.Core.UI; using System.Linq; using DroidExplorer.UI; using DroidExplorer.Core; using D...
Exam/PetClinic/Models/Procedure.cs
svetlimladenov/Databases-Advanced---Entity-Framework
0
7061418
<reponame>svetlimladenov/Databases-Advanced---Entity-Framework<filename>Exam/PetClinic/Models/Procedure.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace PetClinic.Models { public class Procedure { [Key] public int Id {...
bellyful_proj_v.0.2/Models/ReferrerRole.cs
PandasSIT/bellyful_proj
0
7061419
<filename>bellyful_proj_v.0.2/Models/ReferrerRole.cs<gh_stars>0 using System; using System.Collections.Generic; namespace bellyful_proj.Models { public partial class ReferrerRole { public ReferrerRole() { Referrer = new HashSet<Referrer>(); } public byte RoleId { g...
source/MikhailKhalizev.Max/source/Program/Auto/z-1011-3f91.cs
mikhail-khalizev/max
3
7061420
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1011_3f91-2cac50a0")] public void Method_1011_3f91() { ii(0x1011_3f91, 5); push(0x24); ...
WebService/Views/Index.cs
spsarkar/ServiceFabricMedicalDemo
0
7061421
namespace WebServiceFrontEnd { using System.Configuration; using Nancy; using Nancy.Security; public class Index : NancyModule { public Index() { this.RequiresMSOwinAuthentication(); Get[string.Empty] = _ => { var model = new ...
Assets/Scripts/Game Actions/PlayCardAction.cs
DapperDino/CCG-Single-Player-Learning
1
7061422
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayCardAction : GameAction { public Card card; public PlayCardAction(Card card) { this.card = card; } }
MemorieDeFleurs/MemorieDeFleurs.UI.WPF/Commands/DiscardBouquetPartsCommand.cs
Yasuhiro-Tanabe/YtAppCSharp
0
7061423
using MemorieDeFleurs.UI.WPF.ViewModels; using YasT.Framework.WPF; namespace MemorieDeFleurs.UI.WPF.Commands { internal class DiscardBouquetPartsCommand : CommandBase<InventoryViewModel> { protected override void Execute(InventoryViewModel parameter) => parameter.DiscardBouquetParts(); }...
Urania/Urania.Desktop/PastedTextValidator.cs
MossPiglets/Urania-
1
7061424
using System.Windows; namespace Urania.Desktop { class PastedTextValidator { public static void AllowPastOnlyNumbers(DataObjectPastingEventArgs e) { if (e.DataObject.GetDataPresent(typeof(string))) { string text = (string)e.DataObject.GetData(typeof(string)); if...
MultithreadingPlayground/Example_3_Parent_And_Child_Tasks/Program.cs
robson081192/ParallelDotNet
0
7061425
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Example_3_Parent_And_Child_Tasks { class Program { private static List<Task<string>> _tasks = new List<Task<string>>(); ...
GHelperLogic/Properties/Configuration.cs
AJLeuer/GHelper
1
7061426
using System; using System.IO; using System.Reflection; using NDepend.Path; namespace GHelperLogic.Properties { public static class Configuration { public static IAbsoluteDirectoryPath GHubProgramDataDirectoryPath { get; } = PathHelpers.ToAbsoluteDirectoryPath(Path.Combine( ...
Complete/SecureCodingWorkshop/HybridWithIntegrityGCM/RSAWithRSAParameterKey.cs
Flueworks/SecureCodingWorkshop
6
7061427
namespace SecureCodingWorkshop.HybridWithIntegrityGCM_; public class RSAWithRSAParameterKey { private RSAParameters _publicKey; private RSAParameters _privateKey; public void AssignNewKey() { using var rsa = RSA.Create(2048); _publicKey = rsa.ExportParameters(false); _privateK...
SmartHouse_Control_Web/Views/RoomView/RoomAdminData.cshtml
v1nnyb0y/HSE.Practice.WebApp
0
7061428
<gh_stars>0 @model Provider.CurrentSession.Room <div class='container body-content'> <hr /> <div> <h2 class='text-center'>Пользователи</h2> <table class='table text-center' cols='2'> <tr class='text-uppercase'> <th class='text-center'> <p>ФИО</p> </th> <th class='text-center'> <p>Уровен...
test/FunctionalTests/Tests/DataOData/Common/OData/Common/TestRequestMessageWithUrlResolver.cs
Sreejithpin/odata.net
629
7061429
<gh_stars>100-1000 //--------------------------------------------------------------------- // <copyright file="TestRequestMessageWithUrlResolver.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //...
src/Couchbase.Lite.Shared/Query/QuerySelectResult.cs
Sandychuang8/couchbase-lite-net
366
7061430
// // QuerySelectResult.cs // // Copyright (c) 2017 Couchbase, Inc 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
src/SimpleMvcSitemap/Videos/VideoPurchaseOption.cs
irensaltali/SimpleMvcSitemap
117
7061431
using System.Xml.Serialization; namespace SimpleMvcSitemap.Videos { /// <summary> /// Purchase option for a video. /// </summary> public enum VideoPurchaseOption { /// <summary> /// Default value, won't be serialized. /// </summary> None, /// <summary> ...
src/Calculo/test/CalculoFolhaDePagamento.Test/Domain/ContratoTest.cs
JDouglasMendes/arquitetura-corporativa
1
7061432
using CalculoFolhaDePagamento.Domain.Domain.Calculo; using System; using Xunit; namespace CalculoFolhaDePagamento.Test.Domain { public class ContratoTest { [Fact] public void ContratoPadraoTest() { var contrato = CenarioContrato.CrieCenarioValido(); Assert.True(...
src/SuperGlue.FeatureToggler/EnsureFeaturesAreEnabledSettings.cs
forki/SuperGlue
0
7061433
<reponame>forki/SuperGlue using System; using System.Collections.Generic; using System.Threading.Tasks; namespace SuperGlue.FeatureToggler { public class EnsureFeaturesAreEnabledSettings { public EnsureFeaturesAreEnabledSettings(Func<IDictionary<string, object>, Task<IEnumerable<IBelongToFeatures>>> ge...
samples/dependency-injection/DI.SharedAbstractions/Fruit.cs
OmarElSergany/DotNetCorePlugins
1
7061434
<gh_stars>1-10 namespace DependencyInjection { public class Fruit { public Fruit(string name) { Name = name; } public string Name { get; } } }
Jal.Router/Model/Management/SubscriptionToPublishSubscribeChannelRule.cs
lbarzolao/Jal.Router
0
7061435
<filename>Jal.Router/Model/Management/SubscriptionToPublishSubscribeChannelRule.cs namespace Jal.Router.Model.Management { public class SubscriptionToPublishSubscribeChannelRule { public static SubscriptionToPublishSubscribeChannelRule True = new TrueSubscriptionToPublishSubscribeChannelRule(); ...
ubta.UseCase.Designer/UseCaseDesigner.cs
abhishekns/UBTA
1
7061436
using System; using System.Collections.Generic; using System.Workflow.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Workflow.ComponentModel.Serialization; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Workflow.ComponentModel; usi...
Runtime/Controllers/SystemObjectGameEventListenerControllerScript.cs
BigETI/UnityGameEventSystemExtensions
1
7061437
using System; using UnityGameEvents.Controllers; using UnityGameEventSystemExtensions.Objects; namespace UnityGameEventSystemExtensions.Controllers { public class SystemObjectGameEventListenerControllerScript : AGameEventWithParameterListenerControllerScript<SystemObjectGameEventListenerObjectScript, Object>, ISys...
ScreenCapturerTests/UnitTests/CapturerTests.cs
squid-box/ScreenCapturer
1
7061438
namespace ScreenCapturerTests.UnitTests { using System.Windows.Forms; using NUnit.Framework; using ScreenCapturer.Code; [TestFixture] class CapturerTests { private Capturer _capturer; private MouseEventArgs _mouseLeftDown1, _mouseLeftUp1, _mouseDragDown, _mouseDragUp; ...
app/Server/src/SERVERAPI/Pages/Ranch/RanchAnimals/CreateEdit.cshtml.cs
plasticviking/agri-nmp
6
7061439
using System.Linq; using System.Threading; using System.Threading.Tasks; using Agri.CalculateService; using Agri.Data; using Agri.Models; using Agri.Models.Farm; using AutoMapper; using FluentValidation; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microso...
src/SharePointWrappers/SharePointObject.cs
bsimser/spwrappers
0
7061440
<gh_stars>0 using System; using System.IO; using System.Net; using System.Text.RegularExpressions; using System.Xml; using SharePointWrappers.DwsWS; using SharePointWrappers.ListsWS; using SharePointWrappers.SiteDataWS; using SharePointWrappers.VersionsWS; using SharePointWrappers.ViewWS; using SharePointWrappers.WebPa...
ImageViewer/Utilities/StudyFilters/AutoFilters/Actions/ListFilterMenuAction.cs
SNBnani/Xian
1
7061441
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
EventEmitter/EventEmitter.cs
Danleb/EventEmitter
3
7061442
<filename>EventEmitter/EventEmitter.cs using System; namespace EventEmitting { public class EventEmitter : IEventEmitter { protected readonly EventListDictionary EventListDictionary = new EventListDictionary(); public void Emit<T>(T value) { if (EventListDictionary.TryGetL...
Com.Ericmas001.Rpi.Gpio/Abstractions/IAsyncAction.cs
Com-Ericmas001/Rpi
0
7061443
<reponame>Com-Ericmas001/Rpi using System; namespace Com.Ericmas001.Rpi.Gpio.Abstractions { public interface IAsyncAction { void GetResults(); MulticastDelegate Completed { get; set; } } }
tests/FarmerConnect.Azure.Tests/Table/TableStorageServiceTests.cs
farmerconnect/farmerconnect-azure
0
7061444
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FarmerConnect.Azure.Storage.Table; using FluentAssertions; using Microsoft.Azure.Cosmos.Table; using Xunit; namespace FarmerConnect.Azure.Tests.Table { public class TableStorageServiceTests : IClassFixture<Table...
TTCMS.Data/Migrations/201504141157364_user_changed_to_dotnetuser.cs
thuongaptech/TTCMS
0
7061445
<reponame>thuongaptech/TTCMS namespace BrowseDotNet.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class user_changed_to_dotnetuser : DbMigration { public override void Up() { RenameTable(name: "dbo.Users", newName: "DotNetUsers"); ...
src/view-object-builder/ViewDefinition.cs
im-open/sql-view-to-table-generator
0
7061446
using System.Collections.Generic; namespace viewObjectBuilder { public class ViewDefinition { public string Name { get; set; } public string Version { get; set; } public string SqlText { get; set; } public string ClassText { get; set; } public IEnumerable<Vie...
DZ4/DZ4ClassLibrary/TvUtilities.cs
bakluka/oop_ferit_zadace
0
7061447
<filename>DZ4/DZ4ClassLibrary/TvUtilities.cs using System; using System.Collections.Generic; namespace DZ4ClassLibrary { public static class TvUtilities { public static List<Episode> LoadEpisodesFromFile(string file) { string[] lines = System.IO.File.ReadAllLines(file); ...
functional-tests/bdd-tests/CateringRelease.cs
BrendanBeachBC/jag-lcrb-carla-public
7
7061448
using Xunit; using Xunit.Gherkin.Quick; /* Feature: CateringRelease As a logged in business user I want to confirm that the Catering functionality is ready for release @2release Scenario: Catering Release (Private Corporation) Given I am logged in to the dashboard as a private corporation And I click...
FileStorage.FileSystem/LocalDirectory.cs
hubertfuchs/Components
0
7061449
using System; using System.IO; using Fuchsbau.Components.Data.FileStorage.Contract; namespace Fuchsbau.Components.Data.FileStorage { public class LocalDirectory : IDirectory { private readonly string _localPath; public string Path => _localPath; public LocalDirectory( str...
src/SimpleCashMachine/SimpleCashMachine/Bank/CashMachine.cs
aslamovyura/CMS-DotNet-aslm
0
7061450
<filename>src/SimpleCashMachine/SimpleCashMachine/Bank/CashMachine.cs using System; namespace SimpleCashMachine.Bank { public class CashMachine { /// <summary> /// Bank server. /// </summary> private BankServer _server = null; /// <summary> /// Current account/ ...
TranscribeMe.API.SDK/Services/Interfaces/ITranscriptionsService.cs
TranscribeMe/TranscribeMe-SDK-dotnet
1
7061451
<filename>TranscribeMe.API.SDK/Services/Interfaces/ITranscriptionsService.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TranscribeMe.API.SDK.Services.Interfaces.Crud; using TranscribeMe.API.Data; namespace TranscribeMe.API.SDK.Services.Int...
SPCB2013/Extentions/PersonPropertiesExtentions.cs
3gbywork/SPCB
0
7061452
<reponame>3gbywork/SPCB using Microsoft.SharePoint.Client.UserProfiles; using System; using System.Collections.Generic; using System.Linq; using System.Text; using SPClient = Microsoft.SharePoint.Client; namespace SPBrowser.Extentions { public static class PersonPropertiesExtentions { public static st...
MSyics.Traceyi/Internal/TraceUtility.cs
MSyics/Traceyi
0
7061453
<filename>MSyics.Traceyi/Internal/TraceUtility.cs using System.Diagnostics; using System.Reflection; namespace MSyics.Traceyi; /// <summary> /// トレースデータに関するユーティリティークラスです。 /// </summary> internal static class TraceUtility { /// <summary> /// ライブラリで定義されているすべての型を取得します。 /// </summary> internal static Typ...
Sandboxs/Community/CommunityPost13420/Game1.cs
NemoKradXNA/Randomchaos-MonoGame-Samples
44
7061454
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using RandomchaosMGBase.BaseClasses; using RandomchaosMGBase.InputManagers; namespace CommunityPost13420 { /// <summary> /// This is the main type for your game. /// </summary> public class Gam...
StreamDeckManager/Program.cs
cambirch/stream-manager
0
7061455
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using StreamDeckManager.Actions; using StreamDeckManager.Managers; using StreamDeckManager.Settings; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sys...
Wall-E/MainForm.Designer.cs
leynier/Wall-E
1
7061456
namespace WallE { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
src/Reddit2Kindle.Contracts/SubredditRequest.cs
JamieMagee/reddit2kindle
26
7061457
namespace Reddit2Kindle.Contracts { public class SubredditRequest : Request { public string Subreddit { get; set; } public TimePeriod TimePeriod { get; set; } = TimePeriod.Week; } }
mc/CodeAnalysis/Evaluator.cs
Hack-yao/minsk
0
7061458
using System; namespace Minsk.CodeAnalysis { class Evaluator { private readonly ExpressionSyntax _root; public Evaluator(ExpressionSyntax root) { _root = root; } public int Evaluate() { return EvaluateExpression(_root); } ...
Assets/Scripts/AutomationManager.cs
Ballisticabs/aaaaaaaaa
7
7061459
<reponame>Ballisticabs/aaaaaaaaa /* Copyright (c) 2020 MrBacon470 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...
clss/IClssDao.cs
sangahco/register-doc-offline-archive
0
7061460
<reponame>sangahco/register-doc-offline-archive<gh_stars>0 using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace pmis.clss { public interface IClssDao { void UpdateClassificationData(Classification clss); ...
mcs/class/System.ComponentModel.DataAnnotations/Test/System.ComponentModel.DataAnnotations/ValidationContextTest.cs
rboissel/mono
1
7061461
// // ValidationContextTest.cs // // Authors: // <NAME> <<EMAIL>> // // Copyright (C) 2010 Novell, Inc. (http://novell.com/) // // 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 withou...
FlutterBinding/Engine/Window/NativeWindow.cs
brainoffline/xamarin.flutter
0
7061462
<reponame>brainoffline/xamarin.flutter<filename>FlutterBinding/Engine/Window/NativeWindow.cs using FlutterBinding.UI; using System; using System.Collections.Generic; using System.Text; using FlutterBinding.Flow.Layers; namespace FlutterBinding.Engine.Window { public class NativeWindow { public void Re...
src/WopiValidator.Core/IncrementalFileTransfer/XML/XMLContentFilter.cs
Microsoft/wopi-validator-core
13
7061463
using System; namespace Microsoft.Office.WopiValidator.Core.IncrementalFileTransfer { public class XMLContentFilter { public ChunkingScheme ChunkingScheme { get; private set; } public string StreamId { get; private set; } public ChunksToReturn ChunksToReturn { get; private set; } public string AlreadyExisti...
Assets/Plugins/InGameFrameTimer/InGameFrameTimer.cs
jlreymendez/Svelto.Tasks.Tests
4
7061465
<reponame>jlreymendez/Svelto.Tasks.Tests<gh_stars>1-10 using System; using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Debug = UnityEngine.Debug; public class InGameFrameTimer : MonoBehaviour { private Material _mat; private readonly List<Vector3> ...
SimpleBinary/Compiler/DefaultRuntimeCompiler.cs
VictorTzeng/SimpleBinary
5
7061466
<reponame>VictorTzeng/SimpleBinary using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; using Microsoft.CodeAnalysis.Text; using Microsoft.Extensions.DependencyModel; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System...
test/Openchain.Sqlite.Tests/SqliteLedgerQueriesTests.cs
hellwolf/openchain
1
7061467
<reponame>hellwolf/openchain<filename>test/Openchain.Sqlite.Tests/SqliteLedgerQueriesTests.cs // Copyright 2015 Coinprism, 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 // // ...
Server/Chat.Server.Dal/SqlServer/Models/MessageContent.cs
juandouglaspe/Chat
1
7061468
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Chat.Server.Dal.SqlServer.Models { public class MessageContent { [Required] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } public byte C...
src/Lightest.TestingService/Interfaces/ITransferService.cs
lightest-dev/lightest-api
0
7061469
using System; using System.Threading.Tasks; using GrpcServices; namespace Lightest.TestingService.Interfaces { /// <summary> /// Use to transfer data to testing container. Listener in container should understand the /// format of data. /// </summary> public interface ITransferService : IDisposable...
csharp/CIO/TextFieldLinkedCIO.cs
jwnichls/puc
1
7061470
using System; using System.Collections; using System.Windows.Forms; using PUC; using PUC.Communication; namespace PUC.CIO { /// <summary> /// Summary description for TextFieldLinkedCIO. /// </summary> public class TextFieldLinkedCIO : StateLinkedCIO { /* * Constants */ public const s...
Model/Operation.cs
scottelane/DataTidy
0
7061471
<gh_stars>0 using System; using System.ComponentModel; using System.Xml.Serialization; using ScottLane.SurgeonV2.Model.DynamicsCrm.Operations; namespace ScottLane.SurgeonV2.Model { [Serializable] [XmlInclude(typeof(DynamicsCrmCreateOperation))] public abstract class Operation { [Category("Gene...