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
HoneyBadgersGS/DataLayers/IProfileDal.cs
marktrr/HoneyBadgerGS
1
7068530
using System.Collections.Generic; using HoneyBadgers._0.Models; namespace HoneyBadgers._0.DataLayers { public interface IProfileDal { IEnumerable<Profile> GetAll(); bool Add(Profile profile); bool Update(Profile profile); Profile GetData(string id); int Delete(string id)...
src/MSBuildBinLogQuery/Token/ProjectToken.cs
jonfortescue/cli-lab
329
7068531
<filename>src/MSBuildBinLogQuery/Token/ProjectToken.cs namespace Microsoft.Build.Logging.Query.Token { public class ProjectToken : Token { public static ProjectToken Instance { get; } = new ProjectToken(); private ProjectToken() : base() { } } }
source/R5T.S0030/Code/Bases/Extensions/IServiceActionExtensions.cs
SafetyCone/R5T.S0030
0
7068532
using System; using Microsoft.Extensions.DependencyInjection; using R5T.Lombardy; using R5T.D0065; using R5T.D0101; using R5T.T0062; using R5T.T0063; using R5T.T0128; using R5T.T0128.D001; using R5T.S0030.FileContexts; using R5T.S0030.Repositories; namespace R5T.S0030 { public static partial class IServiceAct...
023-Light/Assets/Player.cs
stepheng/one-hour-games-unity
0
7068533
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Player : MonoBehaviour { public Text healthText; CharacterController characterController; float health = 100; bool inLight = true; // Use this for initialization void Start () { cha...
Samples/CSharp/Serialization/ProtoBuf/Messages.cs
Jubast/Orleankka
393
7068534
<filename>Samples/CSharp/Serialization/ProtoBuf/Messages.cs using Orleankka.Meta; namespace Example { public partial class Create : Command {} public partial class Rename : Command {} public partial class CheckIn : Command {} public partial class CheckOut : Command {} publ...
src/ASPNETCoreIdentitySample.Services/Identity/DynamicPermissionsAuthorizationHandler.cs
majidbigdeli/Iddentity
0
7068535
<filename>src/ASPNETCoreIdentitySample.Services/Identity/DynamicPermissionsAuthorizationHandler.cs using ASPNETCoreIdentitySample.Common.GuardToolkit; using ASPNETCoreIdentitySample.Common.WebToolkit; using ASPNETCoreIdentitySample.Services.Contracts.Identity; using ASPNETCoreIdentitySample.ViewModels.Identity; using ...
EventSourcingCQRS.Application/Common/BrokenRule.cs
kmiltiadous/EventSourcingCQRS
0
7068536
<gh_stars>0 namespace EventSourcingCQRS.Application.Common { public class BrokenRule { public BrokenRule(string message) : this(message, Severity.Unknown) { } public BrokenRule(string message, Severity severity) { Message = message; Severity = se...
src/Core/CompositionManager.cs
4goTTen21/AvalonBar
4
7068537
<reponame>4goTTen21/AvalonBar using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.IO; using System.Drawing; namespace Sidebar.Core { public enum CompositionMethod { None, Aero, AcrylicOld, AcrylicRS4, } ...
TicketsDemo.Domain/DefaultImplementations/FinalPriceCalculationStrategy.cs
kliuha/TicketsDemo
0
7068538
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TicketsDemo.Data.Entities; using TicketsDemo.Data.Repositories; using TicketsDemo.Domain.Interfaces; using TicketsDemo.Domain.DefaultImplementations.PriceCalculationStrategy; using TicketsDemo.EF.R...
Datahub.Core/Services/ExternalSearchService.cs
chuxuantinh/data-hub-chu
7
7068539
<filename>Datahub.Core/Services/ExternalSearchService.cs<gh_stars>1-10 using System; using System.Net.Http; using System.Threading.Tasks; using System.Web; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Datahub.Core.Data.External.FGP; using Datahub.Core.Data.External.OpenData; namespace Datahub.Core....
Assets/Scripts/Component/Cell/ChatSessionCell.cs
YANGQUNGONGSHE/jesusYQ_U3d
1
7068540
using System; using System.Collections; using System.Collections.Generic; using NIM.Session; using UnityEngine; using UnityEngine.UI; using WongJJ.Game.Core.ListRectExtensions; public class ChatSessionCell : BaseCell<ChatSessionCellModel> { #region 属性 /// <summary> /// 发送者昵称(标题) /// </summary> [Se...
Ccr.Gematria/Markup/Converters/IntArrayToSolidColorBrushConverter.cs
CCRed95/Ccr.Gematria
0
7068541
<filename>Ccr.Gematria/Markup/Converters/IntArrayToSolidColorBrushConverter.cs using System.Linq; using System.Windows.Media; using Ccr.Xaml.Markup.Converters.Infrastructure; namespace Ccr.Gematria.Markup.Converters { public class IntArrayToSolidColorBrushConverter : XamlConverter<int[], NullParam, SolidColorBrush...
src/Microsoft.Wim/Enums.cs
DrEmpiricism/ManagedWimgApi
1
7068542
using System; using System.Diagnostics.CodeAnalysis; // ReSharper disable InconsistentNaming namespace Microsoft.Wim { /// <summary> /// Specifies options when applying an image. /// </summary> [SuppressMessage("Microsoft.Design", "CA1028:EnumStorageShouldBeInt32")] [Flags] public enum WimApp...
Source/Embeddings.Store/UnknownProjectionCurrentStateType.cs
dolittle/DotNET.Runtime
1
7068543
<filename>Source/Embeddings.Store/UnknownProjectionCurrentStateType.cs // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Dolittle.Runtime.Embeddings.Store; /// <summary> /// Exception that gets...
src/ResourceManager.Extensions.Prism.Wpf/Services/PrismDialogService.cs
Prastiwar/ResourceManager
1
7068544
using Prism.Services.Dialogs; using System; using System.Threading.Tasks; namespace ResourceManager.Extensions.Prism.Wpf.Services { public class PrismDialogService : Mvvm.Services.IDialogService { private readonly IDialogService prismService; public PrismDialogService(IDialogService prismServ...
DemoKata/CustomTypes/MenuFactory/DessertMenuItem.cs
contino/dotnet-training-course
0
7068545
<reponame>contino/dotnet-training-course<filename>DemoKata/CustomTypes/MenuFactory/DessertMenuItem.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace CustomTypes.MenuFactory { public enum IceCreamFlavour { Chocolate, Van} public class DessertMenuItem : MenuItemBase ...
Assets/BuyItemShop.cs
mukund333/sneal
0
7068546
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; public class BuyItemShop : MonoBehaviour { public int coins; public GameObject AdPanel; [SerializeField] PowerUpUnlockData powerUpUnlockData; [SerializeField] GunPowerupUnlockData...
UnitsNet.NumberExtensions/GeneratedCode/NumberToMolarFlowExtensions.g.cs
thehoglet/UnitsNet
0
7068547
<filename>UnitsNet.NumberExtensions/GeneratedCode/NumberToMolarFlowExtensions.g.cs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // ...
src/ProSuite.Commons.AGP/Carto/SelectionUtils.cs
ProSuite/ProSuite
5
7068548
<filename>src/ProSuite.Commons.AGP/Carto/SelectionUtils.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using ArcGIS.Core.Data; using ArcGIS.Desktop.Mapping; using ProSuite.Commons.Essentials.CodeAnnotations; using ProSuite.Commons.Logging; using ProSuite.Commons.Text; namespace Pro...
Naos.Notification.Domain/Events/CouldNotGetOrUse/CouldNotGetOrUseAudienceEvent.cs
NaosProject/Naos.Notification
2
7068549
<gh_stars>1-10 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="CouldNotGetOrUseAudienceEvent.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // ---------------------------...
SimpleWpfApp/ViewModel/MainWindowViewModel.cs
DangerousDarlow/WpfDesignData
0
7068550
using System.Collections.Generic; using System.Collections.ObjectModel; using SimpleWpfApp.Model; namespace SimpleWpfApp.ViewModel { public class MainWindowViewModel { public ObservableCollection<ISomeInterface> SomeThings { get { var list = new List<ISomeInterface> { ...
12.Data-Structures-and-Algorithms/02. Linear-Data-Structures/Linear-Data-Structures-Homework/QueueImplementation/Startup.cs
GeorgiPetrovGH/TelerikAcademy
0
7068551
namespace QueueImplementation { using System; public class Startup { static void Main() { var myQueue = new CustomQueue<string>(); Console.WriteLine("Adding 3 elements in the queue:"); myQueue.Enqueue("pesho"); myQueue.Enqueue("gosho"); ...
datasource/CustomDataSource.cs
rynowak/routing-samples
3
7068552
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq.Expressions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Patterns; using Microsoft.Extensions.Primi...
Source/CloneDetective.CloneReporting/Clone Detective/ConqatFiles.cs
terrajobst/clonedetective-vs
8
7068553
<gh_stars>1-10 using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Reflection; namespace CloneDetective.CloneReporting { /// <summary> /// This class centralizes all file names that are used by clone detective. /// </summary> public static class ConqatFiles { /// <summ...
UltimaOnline.Data/Spells/Second/Cure.cs
netcode-gamer/game.ultimaonline.io
0
7068554
using System; using UltimaOnline.Targeting; using UltimaOnline.Network; namespace UltimaOnline.Spells.Second { public class CureSpell : MagerySpell { private static SpellInfo m_Info = new SpellInfo( "Cure", "<NAME>", 212, 9061, ...
xna/trunk/Xenocide/Source/UI/Screens/IScreenManager.cs
astyanax/Project-Xenocide
1
7068555
<filename>xna/trunk/Xenocide/Source/UI/Screens/IScreenManager.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using ProjectXenocide.UI.Screens; namespace ProjectXenocide.UI.Screens { /// <summary> /// Work in progress (Rincewind) /// </summary> public inter...
VirtoCommerce.Mobile/VirtoCommerce.Mobile/VirtoCommerce.Mobile/Entities/ImageEntity.cs
VirtoCommerce/mobile-agent-xamarin
3
7068556
<reponame>VirtoCommerce/mobile-agent-xamarin namespace VirtoCommerce.Mobile.Entities { public class ImageEntity : BaseEntity { public string PhysicalPath { set; get; } public string ProductId { set; get; } } }
src/HandDataEventArgs.cs
vvvv/VL.Devices.NuiTrack
2
7068557
using nuitrack; using System; namespace VL.Devices.Nuitrack { public class HandTrackerDataEventArgs : EventArgs { public readonly HandTrackerData HandTrackerData; public HandTrackerDataEventArgs(HandTrackerData handTrackerData) { HandTrackerData = handTr...
src/SFA.DAS.LevyTransferMatching/Application/Queries/Pledges/GetSector/GetSectorQueryResult.cs
SkillsFundingAgency/das-apim-endpoints
4
7068558
using System.Collections.Generic; using SFA.DAS.LevyTransferMatching.Models.ReferenceData; namespace SFA.DAS.LevyTransferMatching.Application.Queries.Pledges.GetSector { public class GetSectorQueryResult { public IEnumerable<ReferenceDataItem> Sectors { get; set; } } }
Wabbajack.App/Screens/CompilerConfigurationViewModel.cs
cacophony-wj/wabbajack
1
7068559
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reactive; using System.Text.Json; using System.Threading.Tasks; using Avalonia.Controls.Mixins; using ReactiveUI; using ReactiveUI.Fody.Helpers; using Wabbajack.App.Messages; using Wabbajack.App.Models; using Wabbajack.App....
PerformanceCalculatorRunner/PerformanceTestsRunner.cs
amularczyk/IoCPerformanceCalculator
0
7068560
<reponame>amularczyk/IoCPerformanceCalculator using System; using System.Collections.Generic; using System.Linq; using PerformanceCalculator.Common; using PerformanceCalculatorRunner.Helpers; using PerformanceCalculatorRunner.Interfaces; using PerformanceCalculatorRunner.Models; namespace PerformanceCalculatorRunner {...
src/iHeartLinks.AspNetCore/LinkFactories/LinkFactoryContextExtension.cs
ponki-d-monkey/iHeartLinks.AspNetCore
1
7068561
using System; using iHeartLinks.Core; namespace iHeartLinks.AspNetCore.LinkFactories { public static class LinkFactoryContextExtension { public static Uri GetBaseUrl(this LinkFactoryContext context) { if (context == null) { throw new ArgumentNullExceptio...
DesignPatterns/InterpreterPattern/InterpreterPattern/Expression.cs
maplelearC/Unity3DTraining
3,914
7068562
<filename>DesignPatterns/InterpreterPattern/InterpreterPattern/Expression.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InterpreterPattern { /// <summary> /// 抽象表达式 /// </summary> abstract class Expression { ...
ServicesClient/Sitecore8.ServicesClient/Views/DemoSite/JsFiddle.cshtml
HydAu/SiteCore8Examples
5
7068563
@* Easter Egg! I originally placed code on jsFiddle to demonstrate the site could be accessed from a remote resource. However, I decided I really didn't need to do that and could demo it just as easily with a static file (CORS Example.htm). Feel free to visit the url referenced int he IFrame src below, thoug...
Gu.Wpf.Geometry/AssemblyAttributes.cs
JohanLarsson/Gu.Geometry
52
7068564
using System; using System.Runtime.CompilerServices; using System.Windows; using System.Windows.Markup; [assembly: CLSCompliant(false)] [assembly: InternalsVisibleTo("Gu.Wpf.Geometry.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100D3687DF6F8B0E6A6B7B73F276803765856327CEAB4EA9F369BCD6F...
TestProject/Assets/Autoya/AssetBundle/AssetBundleListDownloader.cs
cokkler/UnityBadKnowhow
189
7068565
using System; using System.Collections; using System.Collections.Generic; using System.Text; using AutoyaFramework.Settings.AssetBundles; using UnityEngine; using UnityEngine.Networking; namespace AutoyaFramework.AssetBundles { /// <summary> /// Asset bundle list downloader. /// </summary> public clas...
tools/rsdl/rapid-cli/rapid/Program.cs
xtofs/odata-rapid
13
7068566
using System; using System.Collections.Generic; using CommandLine; namespace rapid { partial class Program { static int Main(string[] args) { var parser = new Parser(config => { config.EnableDashDash = true; config.HelpWriter = Console.Out...
V.01P/POS-LATEST/WkHtmlToXSharp/MultiplexingConverter.cs
SariSultan/RMS
3
7068567
#region Copyright // // Author: <NAME> (<EMAIL>) // // (C) <NAME> 2011 // // 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 t...
QualityCenterImporter/Main.cs
Inflectra/hp-qc-9-0-importer
0
7068568
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropServices; using System.Text.RegularExpressions; using HP.QUalityCenter; using HP.QualityCenter.SiteAdmin; using System.IO; namespace Inflectra.SpiraTest...
NControl.MVVM/IoC/SimpleInjectContainer.cs
chrfalch/NControl.MVVM
0
7068569
<reponame>chrfalch/NControl.MVVM<gh_stars>0 /****************************** Module Header ******************************\ Module Name: SimpleInjectContainer.cs Copyright (c) <NAME> All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING...
src/AlkampferVsix2010/Guids.cs
alkampfergit/VisualStudioPlugin
0
7068570
<reponame>alkampfergit/VisualStudioPlugin<filename>src/AlkampferVsix2010/Guids.cs<gh_stars>0 // Guids.cs // MUST match guids.h using System; namespace Alkampfer.AlkampferVsix2010 { static class GuidList { public const string guidAlkampferVsix2010PkgString = "bb8e08f1-6ca8-41fa-a9f9-39cbac3485f...
EnjinCSharpSDK/Models/TransactionFilter.cs
VisionGameOrg/enjin-csharp-sdk
26
7068571
/* Copyright 2021 Enjin Pte. Ltd. * * 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 required by applicable law or agreed to...
src/rentACar/Application/Features/Transmissions/Commands/CreateTransmission/CreateTransmissionCommand.cs
salihozkara/RentACarArchitecture
2
7068572
using Application.Features.Transmissions.Dtos; using Application.Features.Transmissions.Rules; using Application.Services.Repositories; using AutoMapper; using Core.Mailing; using Domain.Entities; using MediatR; namespace Application.Features.Transmissions.Commands.CreateTransmission; public class CreateTransmissionC...
src/TypeGen/TypeGen.TestWebApp/TestEntities/NoSlashOutputDir.cs
KonradGalczynski/TypeGen
104
7068573
<reponame>KonradGalczynski/TypeGen using TypeGen.Core.TypeAnnotations; namespace TypeGen.TestWebApp.TestEntities { [ExportTsClass(OutputDir = "no/slash/output/dir")] public class NoSlashOutputDir { public GenericClass<string> Property { get; set; } } }
src/WebApplications/Joker.WebApp/Views/Account/_AccountNav.cshtml
MesutAtasoy/Joker
38
7068574
<div class="nav-wrapper position-relative end-0"> <ul class="nav nav-pills nav-fill flex-column p-1" role="tablist"> <li class="nav-item"> <a class="nav-link mb-0 px-0 py-1" asp-controller="Account" asp-action="Index"> Dashboard </a> </li> <li class="n...
Framework/Gui/TeleportPointScreen.cs
Enaium-StardewValleyMods/TeleportPoint
0
7068575
<gh_stars>0 using System.Collections.Generic; using EnaiumToolKit.Framework.Screen; using EnaiumToolKit.Framework.Screen.Elements; using Microsoft.Xna.Framework; using StardewModdingAPI; using StardewValley; namespace TeleportPoint.Framework.Gui { public class TeleportPointScreen : ScreenGui { public ...
FitLife.API/Controllers/Authentication/UserProfileController.cs
bigMackD/FitLife
2
7068576
<gh_stars>1-10 using System.Linq; using System.Threading.Tasks; using FitLife.Contracts.Request.Query.Users; using FitLife.Contracts.Response.Users; using FitLife.Shared.Infrastructure.QueryHandler; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace FitLife.API.Controllers.Authenticat...
Orikivo.Graphics3D/MatrixF.cs
AbnerSquared/Orikivo.Graphics3D
1
7068577
using static System.MathF; namespace Orikivo.Graphics3D { public readonly struct MatrixF { public static readonly MatrixF M4X4 = new MatrixF(4, 4); public static MatrixF CreateRotation2D(float angle) { var m = new MatrixF(2, 2); float radians = Utils.Radians(an...
NiuNiu/NiuNiu.Library/Domain/GameRules.cs
EdAllonby/NiuNiu
7
7068578
namespace NiuNiu.Library.Domain { /// <summary> /// A place to store rules of the game. /// </summary> public static class GameRules { /// <summary> /// Maximum players allowed to enter the game at one time. /// </summary> public const int TotalPlayers = 4; /...
src/EdjCase.JsonRpc.Router.Swagger/IXmlDocumentationService.cs
CLTanuki/JsonRpc
120
7068579
using System; using System.IO; using System.Reflection; using System.Xml.XPath; using EdjCase.JsonRpc.Router.Abstractions; using Swashbuckle.AspNetCore.SwaggerGen; namespace EdjCase.JsonRpc.Router.Swagger { public interface IXmlDocumentationService { string GetSummaryForType(Type type); string GetSummaryForMetho...
src/Client/Features/TodoList/Select/TodoListSelectActionHandler.cs
Climax85/CleanArchitectureBlazor
0
7068580
<gh_stars>0 using BlazorState; using MediatR; namespace Client.Features.TodoList; internal partial class TodoListState { public class TodoListSelectActionHandler : ActionHandler<TodoListSelectAction> { public TodoListSelectActionHandler(IStore aStore) : base(aStore) { } publi...
src/Fs.Binary.Codecs/Settings/Providers/SettingsDecodingAffixesProvider.cs
williamb1024/fs-binary-codecs
4
7068581
<filename>src/Fs.Binary.Codecs/Settings/Providers/SettingsDecodingAffixesProvider.cs using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fs.Binary.Codecs.Settings.Providers { public sealed class SettingsD...
Code/SevenTiny.Cloud.MultiTenant.Domain/Entity/CloudInterface.cs
sevenTiny/7Tiny.Cloud.MultiTenant
4
7068582
using SevenTiny.Bantina.Bankinate.Attributes; using System; namespace SevenTiny.Cloud.MultiTenant.Domain.Entity { /// <summary> /// 云接口 /// </summary> [Table] [TableCaching] public class CloudInterface : MetaObjectCommonBase { /// <summary> /// 接口类型 /// </summary> ...
Visualiser/Assets/Spotify4Unity/examples/all_controls/scripts/slider/TrackSliderToController.cs
S8enson/RAVE
2
7068583
using Spotify4Unity.Helpers; using UnityEngine; using UnityEngine.EventSystems; public class TrackSliderToController : SliderInteractionController { [SerializeField] private ExamplePlayerController m_controller = null; public override void OnPointerDown(PointerEventData eventData) { m_control...
TwaijaComposite.Modules.ColumnsManager/Column/IColumnSkeletonFactory.cs
chidionuekwusi/Twaija
0
7068584
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TwaijaComposite.Modules.ColumnsManager.Column { public interface IColumnSkeletonFactory { IColumn Create(string implementationName); } }
src/Tiledriver.Core/FormatModels/Udmf/VertexBuilder.Generated.cs
davidaramant/tiledriver
0
7068585
// Copyright (c) 2021, <NAME> // Distributed under the 3-clause BSD license. For full terms see the file LICENSE. using System; using System.CodeDom.Compiler; #nullable enable namespace Tiledriver.Core.FormatModels.Udmf { [GeneratedCode("DataModelGenerator", "1.0.0.0")] public sealed partial class VertexBuil...
Assets/ScriptsCustom/Transistioning/TransistionState.cs
MarvinGravert/holo_vive_robot_programming
0
7068586
<reponame>MarvinGravert/holo_vive_robot_programming using System.Collections; using System.Collections.Generic; using UnityEngine; public class TransistionState : MonoBehaviour { public List<GameObject> objectsToUnload; public List<GameObject> objectsToLoad; public void transistion() { fo...
src/WebSite/Startup.cs
BadMadDev/workshop-getting-started
1
7068587
<reponame>BadMadDev/workshop-getting-started<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Data.SqlClient; usi...
CryptoApisLibrary/ResponseTypes/Errors/ErrorResponseVariant1.cs
Crypto-APIs/cryptoapis.io-dotnetlibrary
21
7068590
using RestSharp.Deserializers; namespace CryptoApisLibrary.ResponseTypes.Errors { public class ErrorResponseVariant1 { [DeserializeAs(Name = "meta")] public ErrorMessage Meta { get; protected set; } public class ErrorMessage { [DeserializeAs(Name = "Message")] ...
src/RxRealWorld/RxRealWorld/Components/ShellComponent.cs
adospace/reactorui-xamarin-realworld
1
7068591
using System; using System.Collections.Generic; using System.Text; using XamarinReactorUI; namespace RxRealWorld.Components { public class ShellComponentState: IState { } public class ShellComponent : RxComponent<ShellComponentState> { public override VisualNode Render() { ...
ProtoSDK/MS-SMB2/Client/Smb2ClientGlobalConfig.cs
Grom-Li/WindowsProtocolTestSuites
332
7068593
<filename>ProtoSDK/MS-SMB2/Client/Smb2ClientGlobalConfig.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2 { /// <summary> ...
gtags-util/MainWindow.Designer.cs
beru/gtags-util
0
7068595
namespace gtags_util { partial class MainWindow { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</pa...
src/TypeKitchen.Differencing/Defaults.cs
blowdart-inc/type-kitchen
16
7068596
using TypeKitchen.Serialization; namespace TypeKitchen.Differencing { internal class Defaults { public static readonly ITypeResolver TypeResolver = new ReflectionTypeResolver(); public static readonly IValueHashProvider ValueHashProvider = new WyHashValueHashProvider(); public static readonly IObjectSerialize...
VendingMachine.App/BuyProduct.cs
TimPiers/VendingMachine
0
7068597
<reponame>TimPiers/VendingMachine<filename>VendingMachine.App/BuyProduct.cs 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 VendingMachine.Domain.B...
ButtonConfig.cs
zachwhite/big-red-button-service
0
7068598
 namespace BigRedButtonService { /// <summary> /// Object for holding button commands. /// </summary> public sealed class ButtonConfig { #region Constants public const string ButtonPressedSection = "Button Pressed"; public const string LidClosedSection = "Lid Closed"; public const string LidOpenedSecti...
src/HyperFabric.Client/Options/OptionInfoHelper.cs
hypersolutions/hyperfabric
1
7068599
<filename>src/HyperFabric.Client/Options/OptionInfoHelper.cs using System.Linq; namespace HyperFabric.Client.Options { public sealed class OptionInfoHelper<TOptions> where TOptions : new() { private readonly CommandLineHelper<TOptions> _helper; private readonly string _optionName; publ...
JC_Family/Models/Genre.cs
Justinwys303/JC_Family
0
7068600
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace JC_Family.Models { public class Genre { public virtual int GenreId { get; set; } public virtual string Name { get; set; } public virtual string Decription { get; set; } public virtual...
WebAdminClient/Default.aspx.cs
auxua/ConvenienceSystem2
2
7068601
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebAdminClient { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { ...
VRPractice/Assets/MyData/Script/Grab.cs
FatiniNadhirah5/Game-Coin-Unity-2019
1
7068602
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Grab : MonoBehaviour { // Start is called before the first frame update public bool canGrab = false; public void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Ball")) { ...
Custom_API/Custom_API/Controllers/TeamsController.cs
BrynMorley/2020-06-c-sharp-labs
0
7068603
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Custom_API.Models; namespace Custom_API.Controllers { [Route("api/[controller]")] [ApiControl...
3-Business/2-Core/lm.Comol.Core.DomainModel/Domain/ModuleLink/Interface/iModuleLink.cs
EdutechSRL/Adevico
1
7068604
<gh_stars>1-10 using System; namespace lm.Comol.Core.DomainModel { [CLSCompliant(true)] public interface iModuleLink : IDomainBaseObjectMetaInfo<long> { ModuleObject SourceItem { get; set; } ModuleObject DestinationItem { get; set; } string Description { get; set; } string Link { get; set; } int Action {...
Android/RedVsGreen/DogeTools/TransitionClass.cs
Paulalex85/Red-VS-Green
0
7068605
using System; namespace RedVsGreen { public class TransitionClass { public enum Statut_Transition { On, None } private Statut_Transition _statut; public float _timer_max = 1000f; Compteur_Time time; public float _transition_alpha = 0f; public TransitionClass () { _stat...
AesFileEncryption/MainForm.Designer.cs
NikoNordstrom/AESFileEncryption
0
7068606
<reponame>NikoNordstrom/AESFileEncryption namespace AesFileEncryption { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources bei...
source/Plugins/OriginLibraryCore/OriginClient.cs
riftgg/Playnite
0
7068607
<gh_stars>0 using Playnite; using Playnite.SDK; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OriginLibrary { public class OriginClient : LibraryClient { public override string Icon => Origin.Icon; public override...
Engine/Source/Programs/UnrealBuildTool/System/RemoteExecutor.cs
windystrife/UnrealEngine_NVIDIAGameWork
1
7068608
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnrealBuildTool { class RemoteExecutor : LocalExecutor { double AdjustedProcessorCountMultiplierValue; public RemoteExecutor() { Int32 RemoteCPUCount = RPCUtilHelper...
src-snippets/CodeSnippets/Books/CSharp157/PartA/Chapter1/004ParseAndTryPase.cs
zhaobingwang/sample
3
7068609
<reponame>zhaobingwang/sample using System; using System.Collections.Generic; using System.Text; namespace CodeSnippets.Books.CSharp157 { public class _004ParseAndTryPase { public static int ParseSample(string str) { return int.Parse(str); } public static int TryPa...
src/Repository.Sqlite/SqliteEntity.cs
marklauter/TelloAPI-SDK-2.0
19
7068610
<reponame>marklauter/TelloAPI-SDK-2.0 // <copyright file="SqliteEntity.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> namespace Repository.Sqlite { [System.Diagnostics.Debugge...
SRTPluginProviderRE1C/GameMemoryRE1CScanner.cs
ResidentEvilSpeedrunning/SRTPluginProviderRE1Remake
0
7068611
using ProcessMemory; using static ProcessMemory.Extensions; using System; using System.Diagnostics; using System.Runtime.InteropServices; using SRTPluginProviderRE1C.Structs; using System.Text; using SRTPluginProviderRE1C.Structs.GameStructs; namespace SRTPluginProviderRE1C { internal class GameMemoryR...
ZenLibTests/Network/LocatedPacket.cs
ScriptBox99/microsoft-Zen
44
7068612
<filename>ZenLibTests/Network/LocatedPacket.cs<gh_stars>10-100 // <copyright file="LocatedPacket.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace ZenLib.Tests.Network { using System.Diagnostics.CodeAnalysis; using ZenLib; using static ZenLib.Language; ...
QQ.Framework/Packets/Receive/Interactive/Receive_0x00A8.cs
dotaevo/PCQQ-Protocol
92
7068613
namespace QQ.Framework.Packets.Receive.Interactive { public class Receive_0X00A8 : ReceivePacket { /// <summary> /// </summary> public Receive_0X00A8(byte[] byteBuffer, QQUser user) : base(byteBuffer, user, user.TXProtocol.SessionKey) { } public byte ...
src/Sample.Domain.Model.Customer/CommandHandler/CreateNewCustomerAccountCommandHandler.cs
FloatinSeine/DDD.RavenDb.AspNet.Identity
7
7068614
<reponame>FloatinSeine/DDD.RavenDb.AspNet.Identity using System; using System.Linq; using Sample.Domain.CQRS.Command; using Sample.Domain.Model.Customer.Commands; using Sample.Domain.Model.Customer.Specifications; namespace Sample.Domain.Model.Customer.CommandHandler { public class CreateNewCustomerAccountCommand...
src/Potato.Core.Shared/Models/AccountPlayerModel.cs
phogue/Potato
5
7068615
#region Copyright // Copyright 2014 Myrcon Pty. Ltd. // // 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 required by appl...
semester_3/MyNUnit/MyNUnit/MyNUnit/Exceptions/PathErrorException.cs
Alexey-Girin/homework
2
7068616
<gh_stars>1-10 using System; namespace MyNUnit.Exceptions { /// <summary> /// Представляет ошибку недопустимой формы пути. /// </summary> public class PathErrorException : Exception { public override string Message { get; } = "Ошибка. Путь имеет недопустимую форму"; public PathErr...
StateMachine.Tool/StateMachine.Tool.Adapter.yWorks/NodeEqualityComparer.cs
netpyoung/nf.statemachine
0
7068617
<filename>StateMachine.Tool/StateMachine.Tool.Adapter.yWorks/NodeEqualityComparer.cs using System.Collections.Generic; using StateMachine.Tool.Core; namespace StateMachine.Tool.Adapter.yWorks { public class NodeEqualityComparer : IEqualityComparer<INode> { public bool Equals(INode x, INode y) ...
Master/ThirdParty/x360ce/branches/v4.x/x360ce.App/Controls/ControllerSettingsUserControl.Designer.cs
lucasassislar/splitplaypc
807
7068618
namespace x360ce.App.Controls { partial class ControllerSettingsUserControl { /// <summary> /// Required designer variable. /// </summary> System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if man...
MainPage.xaml.cs
harshiljethava/wp-voice-recorder
0
7068619
<reponame>harshiljethava/wp-voice-recorder using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using PhoneApp3.Resources; using System.IO; ...
webapi/src/Domain/Entities/Schedule.cs
snicoper/NetClock
1
7068620
<reponame>snicoper/NetClock<filename>webapi/src/Domain/Entities/Schedule.cs using System; using NetClock.Domain.Common; namespace NetClock.Domain.Entities { public class Schedule : AuditableEntity { public Schedule() { Id = Guid.NewGuid(); } public Guid Id { get; se...
BraintreeASPExample/Controllers/CheckoutsController.cs
Shane32/braintree_aspnet_example
0
7068621
<reponame>Shane32/braintree_aspnet_example using Braintree; using BraintreeASPExample.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace BraintreeASPExample.Controllers { public class CheckoutsController : Controller ...
Toxon.Swim/Networking/TransportMessageEvent.cs
will14smith/Toxon.Swim
0
7068622
<gh_stars>0 using System; using System.Net; namespace Toxon.Swim.Networking { public delegate void TransportMessageEvent(object sender, TransportMessageEventArgs args); public class TransportMessageEventArgs { public ReadOnlyMemory<byte> Buffer { get; } public IPEndPoint RemoteEndpoint { ...
Sources/Examples/Yoakke.Ir.Sample/Program.cs
skneko/Yoakke
0
7068623
using System; using System.Collections.Generic; using Yoakke.Ir.Model; using Yoakke.Ir.Model.Attributes; using Yoakke.Ir.Syntax; using AttributeTargets = Yoakke.Ir.Model.Attributes.AttributeTargets; using Type = Yoakke.Ir.Model.Type; namespace Yoakke.Ir.Sample { public class FooDefinition : IAttributeDefinition ...
Source/CakeMail.RestClient/Resources/ICampaigns.cs
Jericho/CakeMailRestApi
11
7068624
<reponame>Jericho/CakeMailRestApi<filename>Source/CakeMail.RestClient/Resources/ICampaigns.cs using CakeMail.RestClient.Models; using System.Threading; using System.Threading.Tasks; namespace CakeMail.RestClient.Resources { /// <summary> /// Allows you to manage Campaigns. /// </summary> public interface ICampaig...
Source/DinkPDN.Effects.UI/Views/PropertyControl.cs
DataDink/DinkPDN
9
7068625
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Reflection; using System.Text; using System.Windows.Forms; namespace DinkPDN.Effects.UI.Views { public abstract class PropertyControl : PaintDotNet.IndirectUI.PropertyControl { private ...
Runtime/Unions/Bool.cs
AlephVault/unity-binary
0
7068626
<gh_stars>0 using System.Runtime.InteropServices; namespace AlephVault.Unity.Binary { namespace Unions { /// <summary> /// <para> /// A mapping between a bool value and a byte value. Used to /// save space when sending a boolean value (1 byte instead of 2). //...
SQLServerless.Extensions/Triggers/SQLTriggerParameterDescriptor.cs
RenanCarlosPereira/SQLServerless
5
7068627
<reponame>RenanCarlosPereira/SQLServerless using Microsoft.Azure.WebJobs.Host.Protocols; using System; using System.Collections.Generic; using System.Text; namespace SQLServerless.Extensions.Triggers { internal class SQLTriggerParameterDescriptor : TriggerParameterDescriptor { public string TableName ...
Tutorial 7.cs
umer-farooq-dev/Quick-c-sharp
0
7068629
/* Inheritance and polymorphism Only single inheritance is allowed in C#. Multiple inheritance can be achieved using interfaces. */ //Example: class Parent{ } class Child : Parent /* Virtual functions Virtual functions to implement the concept of polymorphism are same in C#, except you use the override keyword with t...
src/Core/DiscussionBoard.Application/CommentVotes/Commands/UpdateCommentVote/UpdateCommentVoteCommandValidator.cs
dimitarbalabanov/DiscussionBoard
1
7068630
using DiscussionBoard.Application.Common.CustomValidators; using FluentValidation; namespace DiscussionBoard.Application.CommentVotes.Commands.UpdateCommentVote { public class UpdateCommentVoteCommandValidator : AbstractValidator<UpdateCommentVoteCommand> { public UpdateCommentVoteCommandValidator() ...
PolymerStarterKitLight/PolymerStarterKitLight/Attributes/ElementAttribute.cs
jcarrascal/PolymerStarterKitMVC
0
7068631
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace PolymerStarterKitLight.Attributes { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class ElementAttribute : Attribute { } }
src/Sentiment/Wikiled.Sentiment.Text/Config/ILexiconConfig.cs
keistokas/Wikiled.Sentiment
8
7068632
<gh_stars>1-10 using Wikiled.Common.Utilities.Resources.Config; namespace Wikiled.Sentiment.Text.Config { public interface ILexiconConfig : ILocalDownload { string NlpModels { get; } LocationConfig Model { get; } LocationConfig Lexicons { get; } } }
TrackerLibrary/TrackerLibrary/DataAccess/TextConnector.cs
DungMLe/Tournament-Tracker-Application
0
7068633
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TrackerLibrary.Models; using TrackerLibrary.DataAccess.TextHelpers; namespace TrackerLibrary.DataAccess { public class TextConnector : IDataConnection { public void C...
tools/SymbolPath/SymbolPath.Tests/SymPathTests.cs
abhishekgoenka/tools-and-utilities
5
7068634
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SymbolPath.Console; using SymbolPath.Console.Utilities; namespace SymbolPath.Tests { [TestClass] public class SymPathTests { private const string NT_SYMBOL_VARIABLE_NAME = "_NT_SYMBOL_PATH"; private const st...