max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/NTangle/Cdc/CdcOperationType.cs
Avanade/NTangle
1
7066212
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/NTangle namespace NTangle.Cdc { /// <summary> /// Represents the possible CDC operations types. /// </summary> /// <remarks>The values are as per the SQL Server CDC '<c>__$operation</c>', see <see href="https://do...
csharp/PravalaControlRt/Compat/ICtrlStatusReceiver.cs
carnegie-technologies/pravala-toolkit
0
7066213
<reponame>carnegie-technologies/pravala-toolkit<filename>csharp/PravalaControlRt/Compat/ICtrlStatusReceiver.cs /* * Copyright 2019 Carnegie Technologies * * 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 cop...
Tzkt.Api/Controllers/TokensController.cs
ridicoulous/tzkt
6
7066214
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Tzkt.Api.Models; using Tzkt.Api.Repositories; using Tzkt.Api.Services.Cache; namespace Tzkt.Api.Controllers { [ApiController] [Route("v1/tokens")] public class TokensController : Contro...
BudgetCli.Parser.Tests/Util/TokenUtilsTests.cs
samvasta/Budget-CLI
4
7066215
using System; using System.Linq; using BudgetCli.Parser.Util; using Xunit; namespace BudgetCli.Parser.Tests.Util { public class TokenUtilsTests { [Theory] [InlineData(0, 1, "this")] [InlineData(1, 1, "is")] [InlineData(1, 3, "is a list")] [InlineData(3, 100, "list of to...
src/Chromely.CefSharp.Winapi/Browser/Internals/ChromiumWebBrowserExtension.cs
ortic/Chromely
1
7066216
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ChromiumWebBrowserExtension.cs" company="Chromely"> // Copyright (c) 2017-2018 <NAME> // </copyright> // <license> // MIT License // // Permission is hereby granted, free of ch...
src/UrbanAirSharp/Request/Base/PutRequest.cs
CompsoftCreative/urbanairsharp
0
7066217
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using UrbanAirSharp.Response; namespace UrbanAirSharp.Request.Base { public class PutRequest<TResponse, TContent> : BaseRequest<TResponse> where TResponse : BaseResponse, new() { public readonly Enco...
src/root/src/contracts/IPartId.cs
0xCM/z0
0
7066218
<reponame>0xCM/z0<filename>src/root/src/contracts/IPartId.cs //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; publ...
Source/OrionLib.IntegrationTests/TestConfiguration.cs
bt-skyrise/OrionLib
5
7066219
using System; using System.Linq; using System.Security.Policy; namespace OrionLib.IntegrationTests { public static class TestConfiguration { public static Url OrionAddress => new Url(OrionTestSettings.Default.OrionAddress); public static Url SubscriptionAddress => new Url(OrionTestSettings.De...
Casl2Simulator/Properties/Resources.Designer.cs
tt195361/Casl2Simulator
0
7066220
<filename>Casl2Simulator/Properties/Resources.Designer.cs //------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> /...
Templar/Attributes/Events.cs
GuyInGrey/Archon
0
7066221
namespace Templar { public enum Events { ChannelCreated, ChannelDestroyed, ChannelUpdated, Connected, CurrentUserUpdated, Disconnected, GuildAvailable, GuildMembersDownloaded, GuildMemberUpdated, GuildUnavailable, GuildUpda...
KCDLocalizer/Forms/LocalizationForm.cs
h0useRus/KCDLocalizer
1
7066222
<filename>KCDLocalizer/Forms/LocalizationForm.cs using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using NSW.KCDLocalizer.Properties; namespace NSW.KCDLocalizer.Forms { public sealed partial class Loc...
xna/branches/gui_sandbox/Dependancies/CeGui/CeGui/Source/Elements/BaseButton.cs
astyanax/Project-Xenocide
1
7066223
<reponame>astyanax/Project-Xenocide #region LGPL License /************************************************************************* Crazy Eddie's GUI System (http://crayzedsgui.sourceforge.net) Copyright (C)2004 <NAME> (<EMAIL>) C# Port developed by <NAME> (<EMAIL>) Compatible with the Axiom 3D E...
Program.cs
simeneilevstjonn/Twilio-Sendsms-CLI
0
7066224
using Newtonsoft.Json.Linq; using System; using System.IO; using System.Runtime.InteropServices; using Twilio; using Twilio.Rest.Api.V2010.Account; using Twilio.Types; namespace sendsms { class Program { // Define SMS info variables static string To { get; set; } static string From { ...
WT.Solution.AdvancedDotNetCore/WT.Project.AdvancedDotNetCore/Controllers/UserController.cs
farzin2171/WT.AdvancedDotNetCore
0
7066225
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WT.Project.AdvancedDotNetCore.Services; namespace WT.Project.AdvancedDotNetCore.Controllers { [Route("users")] public class UserController : Controller { ...
src/Stratis.Bitcoin.Features.PoA/FederationManager.cs
DennisAMenace/X42-FullNode
1
7066226
<filename>src/Stratis.Bitcoin.Features.PoA/FederationManager.cs using System; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Utilities; namespace Stratis.Bitcoin.Features.PoA { public class FederationManager { /// <summary><c>true</c> in ...
ConquerPlayground/Network/MsgAction.cs
Smaehtin/Conquer-Playground
0
7066227
namespace ConquerPlayground.Network { using System; internal enum ActionType : ushort { EnterMap = 0x4A, GetItems = 0x4B, GetFriends = 0x4C, GetProficiencies = 0x4D, GetMagic = 0x4E, RequestChangeMap = 0x55, ChangeMap = 0x56, SetPkMode = 0x60...
AssemblyLab/AssemblyLab/AssemblyLoader.cs
mynameiskate/MPP-labs
0
7066228
<gh_stars>0 using System; using System.IO; using System.Linq; using System.Reflection; namespace AssemblyLab { public class AssemblyLoader { private string _assemblyPath; public AssemblyLoader(string assemblyPath) { _assemblyPath = assemblyPath; } private ...
src/WMI2CSharp/Models/DeviceModels/PNPSignedDriver.cs
WMI2CSharp/WMI2CSharp
0
7066229
using WMI2CSharp.Attributes; namespace WMI2CSharp.Models.DeviceModels { [WMIClass("Win32_PnPSignedDriver")] public class PNPSignedDriver { public string Caption { get; set; } public string ClassGuid { get; set; } public string CompatID { get; set; } public string CreationCl...
src/lib/GRS_DBUP/GRS_DBUP/Reports/frmHTMLReport.cs
krb42/GRSWebServices
0
7066230
using System.IO; using System.Windows.Forms; namespace GRS_DBUP.Reports { public partial class frmHTMLReport : Form { public frmHTMLReport(string filePath) { InitializeComponent(); //var uri = new Uri(filePath); //webBrowser1.Navigate(uri); //v...
FOAD_WEB/TP_Freelancer/Freelancer/Freelancer/Views/CategorieClients/Details.cshtml
Whyuki/CDA_2005
0
7066231
<reponame>Whyuki/CDA_2005 @model Freelancer.Models.CategorieClient @{ ViewData["Title"] = "Details de la catégorie de client"; } <h1>Details de la catégorie de client</h1> <div> <h4>Catégorie de client</h4> <hr /> <dl class="row"> <dt class = "col-sm-6"> @Html.DisplayNameFor(mode...
ExamPreparation/businessProject/Program.cs
ztimofeev/Programming_Basics_CShars-repo
0
7066232
using System; namespace businessProject { class Program { static void Main(string[] args) { var hours = int.Parse(Console.ReadLine()); var days = int.Parse(Console.ReadLine()); var employees = int.Parse(Console.ReadLine()); var totalTime = (days...
PoqTestApi/PoqTestApi.Tests/ProductProcessorTests.cs
birajbhow/poq-test-api
0
7066234
<filename>PoqTestApi/PoqTestApi.Tests/ProductProcessorTests.cs using NUnit.Framework; using PoqTestApi.Services; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PoqTestApi.Tests { public class ProductProcessorTests { private ProductProcessor _subject; ...
Assets/ShuHai/Scripts/Core/Interval.cs
xenosl/DebugInspector
1
7066235
<reponame>xenosl/DebugInspector namespace ShuHai { public struct Interval { public int Min; public int Max; public Interval(int min, int max) { Min = min; Max = max; } /// <summary> /// Test specific value if it is inside the...
src/Kettle/Collections/Queues/LinkedListQueue.cs
namralkeeg/kettle.net
0
7066237
<filename>src/Kettle/Collections/Queues/LinkedListQueue.cs using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using System.Security.Permissions; namespace Kettle.Collections.Queues { /// <summary> /// An Linked List Queue implemenatation of the <see c...
CSharpToTypescriptConverter/Generator/IndentWriter.cs
dotjpg3141/CSharpToTypescriptConverter
0
7066238
<gh_stars>0 using System.Diagnostics; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace CSharpToTypescriptConverter.Generator { public class IndentWriter { private static Regex NewLine = new Regex(@"\r\n|\r|\n", RegexOptions.Compiled); public TextWriter InnerWriter { get; } ...
Controllers/Maps/ProjectionController.cs
ESA-Security-Group/ej2-aspnetmvc-samples
0
7066239
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Syncfusion.EJ2.Maps; using System.Web.Script.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using EJ2MVCSampleBrowser.Models; namespace EJ2MVCSampleBrowser.Controllers.Maps { public ...
dotnet/dist/DeleteObject.cs
zxp19960123/cos-snippets
0
7066240
<gh_stars>0 using COSXML.Common; using COSXML.CosException; using COSXML.Model; using COSXML.Model.Object; using COSXML.Model.Tag; using COSXML.Model.Bucket; using COSXML.Model.Service; using COSXML.Utils; using COSXML.Auth; using COSXML.Transfer; using System; using COSXML; using System.Collections.Generic; using Syst...
src/Centvrio.Emoji/TravelPlaces/TransportAir.cs
Centvrio/Centvrio.Emoji
13
7066241
namespace Centvrio.Emoji { public class TransportAir { /// <summary> /// Airplane ✈️ /// </summary> public static readonly UnicodeString Airplane = 0x2708; /// <summary> /// Small airplane 🛩️ /// </summary> public static readonly UnicodeString S...
NavMeshLinksPlacer.cs
SnaiperoG3D/NavMeshLinksPlacer
0
7066242
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditor.SceneManagement; using Unity.AI.Navigation; using Unity.AI.Navigation.Editor; public class NavMeshLinksPlacer : EditorWindow { [SerializeField] private int meshWidth = 512; [Seri...
Render/OpenGL/RendererShader.cs
arakis/ProcEngine
28
7066243
// This file is part of Aximo, a Game Engine written in C#. Web: https://github.com/AximoGames // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.ServiceModel; using Open...
TableauAPI/ServerData/SiteDocumentBase.cs
Micheal-Nguyen/TableauAPI
7
7066244
<filename>TableauAPI/ServerData/SiteDocumentBase.cs using System.Xml; using TableauAPI.RESTHelpers; namespace TableauAPI.ServerData { /// <summary> /// Base class for information common to Workbooks and Data Sources, so we don't have lots of redundant code /// </summary> public abstract class SiteDocu...
BEditor/Tests/TestPlugins/TestPlugin2/Menu.cs
kokkiemouse/BEditor
0
7066245
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BEditor.Core.Extensions.ViewCommand; using BEditor.Core.Plugin; namespace TestPlugin2 { public partial class TestPlugin2 { public IEnumerable<ICustomMenu> Menus => new...
AllReadyApp/Web-App/AllReady.UnitTest/Features/Notifications/NotifyAdminForSignupHandlerShould.cs
baba-gana/allReady
0
7066246
using System; using System.Collections.Generic; using System.Linq; using AllReady.Configuration; using Xunit; using Moq; using AllReady.Features.Notifications; using MediatR; using Microsoft.Extensions.Logging; using AllReady.Models; namespace AllReady.UnitTest.Features.Notifications { using Event = ...
AGO.Core/DataAccess/SessionFactoryBuilder.cs
olegsmetanin/apinet-server
1
7066247
<reponame>olegsmetanin/apinet-server using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.Linq; using System.Reflection; using AGO.Core.Attributes.Mapping; using AGO.Core.Attributes.Model; using AGO.Core.Filters.Metadata; using AGO.Core.Model; using NHibernate; usi...
src/ConcurrencyAnalyzers.IntegrationTests/ParallelThreadsIntegrationTests.cs
ScriptBox99/ConcurrencyAnalyzers
41
7066248
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using ConcurrencyAnalyzers.Utilities; using FluentAssertions; using Xunit; using Xunit.Abstractions; namespace ConcurrencyAnalyzers.IntegrationTests { /// <summary> /// High level integration tests that checks that generate...
DogApplication/DogApplication/Program.cs
1909-sep30-net/angad-code
0
7066249
<filename>DogApplication/DogApplication/Program.cs using System; namespace DogApplication { class Program { static void Main(string[] args) { Dog dog = null; try { //In the try block, you put the code that you think may throw and exception that you can handle there ...
February/Scripts/UILine.cs
FloppyDisk69420/Orion
0
7066250
<filename>February/Scripts/UILine.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UILineRenderer : Graphic { public float thickness = 1f; public List<Vector2> points = new List<Vector2>(); public Color32 vertexColor; protected override ...
MediatRTestSystem/Invoices/Queries/Handlers/GetInvoiceHandler.cs
kubagdynia/MediatR.NetCore.TestSystem
0
7066251
<reponame>kubagdynia/MediatR.NetCore.TestSystem using Invoices.Repositories; using MediatR; using System.Threading; using System.Threading.Tasks; namespace Invoices.Queries.Handlers { public class GetInvoiceHandler : IRequestHandler<GetInvoiceQuery, GetInvoiceQueryResponse> { private readonly IInvoice...
Dependinator/ModelViewing/Private/ModelHandling/Private/LinkSegment.cs
michael-reichenauer/Dependinator
6
7066252
using Dependinator.ModelViewing.Private.ModelHandling.Core; namespace Dependinator.ModelViewing.Private.ModelHandling.Private { internal class LinkSegment : IEdge { public LinkSegment(Node source, Node target) { Source = source; Target = target; } publ...
Client/Project-Titan-Client/Assets/Scripts/Utilities/SpriteUtils.cs
steele123/Trials-Of-Titan
0
7066253
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; public static class SpriteUtils { public static void SetAnchorRatio(RectTransform rectTransform, Sprite sprite) { var ratio = GetAnchorRatio(spr...
SharpPulsar/Batch/BatchMessageAcker.cs
eaba/SharpPulsar
26
7066254
using System.Collections; /// <summary> /// Licensed to the Apache Software Foundation (ASF) under one /// or more contributor license agreements. See the NOTICE file /// distributed with this work for additional information /// regarding copyright ownership. The ASF licenses this file /// to you under the Apache Li...
Eligible.NET/src/EligibleService.Model/CostEstimates/PaymentBase.cs
balu-eligible/eligible-CSharp
0
7066255
using EligibleService.Model.Coverage; using Newtonsoft.Json; using System; using System.Collections.ObjectModel; namespace EligibleService.Model { public class PaymentBase { [JsonProperty("level")] public string Level { get; set; } [JsonProperty("insurance_type")] public strin...
back-end/ROS.Api/Controllers/OrdersController.cs
GitHubPhongNguyen/roshop
4
7066256
<gh_stars>1-10 using IdentityServer4.Extensions; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using ROS.Common.Extensions; using ROS.Contracts.ApiRoutes; using ROS.Services.Order.Commands.CreateOrder; using ROS.Services.Order.Commands.UpdateOrderStatus; using ROS.Services.Or...
03.Interfaces and Abstraction/03. CSharp-OOP-Interfaces-And-Abstraction-ExercAA/3.Telephony/Validator.cs
NeSh74/CSharp-OOP-June-2021
0
7066257
<reponame>NeSh74/CSharp-OOP-June-2021<gh_stars>0 using System; using System.Linq; namespace Telephony { public static class Validator { public static void ThrowIfNumberIsInvalid(string number) { if (number.Any(x => !char.IsDigit(x))) { throw new InvalidO...
ClerkCategories.cshtml
clerkio/clerk-dynamicweb
0
7066258
<reponame>clerkio/clerk-dynamicweb @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @using System.Web @using System.Collections @using System.Linq @Include("../ClerkConfig.cshtml") @functions { public class SubCategories { public...
23.LambdaAndLINQExercises/SoftUniBeerPong/SoftUniBeerPong.cs
vsaraminev/ProgrammingFundamentalsExtendedMay2017
0
7066259
using System; using System.Linq; using System.Collections.Generic; namespace SoftUniBeerPong { public class SoftUniBeerPong { public static void Main() { var input = Console.ReadLine() .Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries) .ToL...
src/JoinRpg.Data.Interfaces/Finances/IFinanceReportRepository.cs
joinrpg/joinrpg-ne
22
7066260
using System.Collections.Generic; using System.Threading.Tasks; using JoinRpg.DataModel.Finances; namespace JoinRpg.Data.Interfaces { public interface IFinanceReportRepository { Task<List<MoneyTransfer>> GetMoneyTransfersForMaster(int projectId, int masterId); Task<List<MoneyTransfer>> GetAllMo...
cSharp Backend/cSharp Backend/Pages/About.cshtml
Flaymed/.NET-Backend
0
7066261
<reponame>Flaymed/.NET-Backend @page @model cSharp_Backend.Pages.Shared.AboutModel @{ ViewData["Title"] = "About"; } <h1>About</h1> <hr /> <p>This site was created to demonstrate how .NET ASAP works and to teach Mark how C# can be used as a backend.</p> <p>The current time is @DateTime.Now</p>
Assets/SweatyChair/Essentials/Utilities/MeshUtils.cs
Sweaty-Chair/SC-Essentials
1
7066262
using System.Collections.Generic; using UnityEngine; namespace SweatyChair { public static class MeshUtils { #region Set Pivot of mesh public static void SetMeshPivot(Mesh mesh, Vector3 normalizedPivotPos) { //Recalculate our local bounds so we can get the min and max size of our local mesh mesh.Reca...
Editor/Util/UtilEditorGUI.cs
AndreSacilotto/Unity_Util
0
7066263
using System; using System.Collections.Generic; using System.Reflection; using UnityEditor; using UnityEngine; using UnityObject = UnityEngine.Object; namespace Spectra.Util.Editor { public static class UtilEditorGUI { public static T CastTarget<T>(this SerializedObject so) where T : UnityObject => (T...
tests/Robotlegs/Bender/Extensions/ViewManagement/Support/SupportContainer.cs
KieranBond/robotlegs-sharp-framework
87
7066265
<reponame>KieranBond/robotlegs-sharp-framework<filename>tests/Robotlegs/Bender/Extensions/ViewManagement/Support/SupportContainer.cs //------------------------------------------------------------------------------ // Copyright (c) 2014-2016 the original author or authors. All Rights Reserved. // // NOTICE: You are ...
backup/core/Implementations/BlobRepository.cs
rickijen/storage-blob-backup-restore
1
7066266
<gh_stars>1-10 // // Copyright (c) Microsoft. 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.0 // // Unless required...
Corradino/Test/ActorModelTest.cs
FedericoCampanozzi/OOP20-HotLineCesena-C-Sharp
0
7066267
using System.Collections.Generic; using Main.Commons; using Main.Model.Entities; using Main.Model.Entities.Actors; using Main.Model.Entities.Actors.Player; using NUnit.Framework; namespace Test { public class ActorModelTest { const double Speed = 1.0; const int Angle = 270; ...
TCP-test/Server/Contract/Data/Client/Control/Control.cs
jfmartinezt/vigaengine
0
7066268
<reponame>jfmartinezt/vigaengine<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TCP_test.Client.Controls { public class Control { public const string LEFT = "65"; public const string RIGHT = "68"; public const st...
source/Generic/PlayState/HotkeyHelper.cs
azuravian/PlayniteExtensionsCollection
35
7066269
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace PlayState { public static class HotkeyHelper { [DllImport("user32.dll")] public static extern bool Reg...
CH11/CrossCuttingConcerns/CrossCuttingConcerns/Concurrency/ConcurrentProcessorAsync.cs
leonardoheis/Clean-Code-in-C-
41
7066270
<filename>CH11/CrossCuttingConcerns/CrossCuttingConcerns/Concurrency/ConcurrentProcessorAsync.cs<gh_stars>10-100  using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CrossCuttingConcerns.Concurrency { public class ConcurrentProcessorAsync { priv...
Data-Structures/GraphDataStructure/GraphDataStructureTests/GetNodesTests.cs
Deliman206/Data-Structures-Algorithms-CSharp
0
7066271
<filename>Data-Structures/GraphDataStructure/GraphDataStructureTests/GetNodesTests.cs using System.Linq; using Xunit; using GraphDataStructure.Classes; using System; namespace GraphDataStructureTests { public class GetNodesTests { [Fact] public void GetNodesWithEmptyGraph() ...
GarageSale/GarageSale.Site/Pages/Item/EditItem.razor.cs
SWB-Dev/garage-sale
0
7066272
<reponame>SWB-Dev/garage-sale using GarageSale.Shared.ItemDtos; using GarageSale.Shared.Services; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GarageSale.Site.Pages.Item { public partial class EditItem { [Paramete...
Recipository.Entities/Configurations/IngredientConfiguration.cs
adam-drewery/recipositiory
0
7066274
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Recipository.Domain; namespace Recipository.Entities.Configurations { public class IngredientConfiguration : IEntityTypeConfiguration<Ingredient> { private static readonly Ingredient[] Defaults = { new Ingredient...
InvoiceMaker/InvoiceDatabase.cs
StoutSheep/GWW
0
7066275
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MySql.Data; using MySql.Data.MySqlClient; namespace InvoiceMaker { static class InvoiceDatabase { internal static int AddInvoice(int storeID, String purchaseOrder, Stri...
Nano.Models/Types/Duration.cs
kilnan/Nano.Library
37
7066276
<gh_stars>10-100 using System; using System.ComponentModel.DataAnnotations; namespace Nano.Models.Types { /// <summary> /// Duration. /// </summary> public class Duration { /// <summary> /// Time. /// </summary> [Required] public virtual TimeSpan Time { get;...
MainForm.Designer.cs
mhk76/MonitorWatch
1
7066277
using System.Reflection; namespace MonitorWatch { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if...
src/Voxel2GCodeCore/Classes/Instructions/V2GInstruction.cs
nonoesp/Voxel2GCode
26
7066278
<filename>src/Voxel2GCodeCore/Classes/Instructions/V2GInstruction.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Voxel2GCodeCore.Geometry; using Voxel2GCodeCore.Utilities; namespace Voxel2GCodeCore.Instructions { /// <summary>...
DotNet/DecouplingDesignPatterns/CompositeExample/CompositePattern/CompositeNotificationService.cs
cybervoid/BetterProgramming
1
7066279
<reponame>cybervoid/BetterProgramming using CompositeExample.CompositePattern.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CompositeExample.CompositePattern { public class CompositeNotificationService : INotificationService { pr...
src/DxPlanets/FocusablePanel.cs
woutervh-/dx-planets
1
7066280
namespace DxPlanets { class FocusablePanel : System.Windows.Forms.Panel { public FocusablePanel() { this.SetStyle(System.Windows.Forms.ControlStyles.Selectable, true); this.TabStop = true; } protected override void OnMouseDown(System.Windows.Forms.MouseEv...
src/Microsoft.VisualStudio.Threading.Analyzers.Tests/VSTHRD011UseAsyncLazyAnalyzerTests.cs
Evangelink/vs-threading
1
7066281
namespace Microsoft.VisualStudio.Threading.Analyzers.Tests { using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using Xunit; using Verify = CSharpCodeFixVerifier<VSTHRD011UseAsyncLazyAnalyzer, CodeAnalysis.Testing.EmptyCodeFixProvider>; public cla...
Old Code/Programming Fundamentals/Arrays - Exercises/Most Frequent Number/Most Frequent Number/Program.cs
Koceto/SoftUni
2
7066282
<filename>Old Code/Programming Fundamentals/Arrays - Exercises/Most Frequent Number/Most Frequent Number/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Most_Frequent_Number { public class FrequentNumber { public ...
src/JsonPathway/Internal/Parser.cs
stanac/JsonPathway
2
7066283
<gh_stars>1-10 using System.Collections.Generic; using System.Linq; namespace JsonPathway.Internal { internal static class Parser { public static IEnumerable<JsonPathExpression> Parse(IReadOnlyList<Token> tokens) { EnsureTokensAreValid(tokens.ToList()); foreach (Token ...
HabitatSystemsPanel/Configuration/SaveDataEntry.cs
ccgould/FCStudios_SubnauticaMods
22
7066284
<reponame>ccgould/FCStudios_SubnauticaMods<filename>HabitatSystemsPanel/Configuration/SaveDataEntry.cs using Oculus.Newtonsoft.Json; using System; using System.Collections.Generic; namespace AE.HabitatSystemsPanel.Configuration { [Serializable] internal class SaveDataEntry { [JsonProperty] interna...
src/PrtgAPI.Tests.UnitTests/CSharp/ObjectData/NotificationTriggerParametersTests.cs
ericsp59/PrtgAPI
218
7066285
using System; using System.Linq; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; using PrtgAPI.Attributes; using PrtgAPI.Parameters; using PrtgAPI.Tests.UnitTests.Support; namespace PrtgAPI.Tests.UnitTests.ObjectData { [TestClass] public class NotificationTriggerParametersTests : ...
GameAssistant/Core/BindableObject.cs
BlokerX/GameAssistant
0
7066286
using System.ComponentModel; using System.Runtime.CompilerServices; namespace GameAssistant.Core { /// <summary> /// Class for bindable object with ProperyChanged event and SetProperty method. /// </summary> public class BindableObject : INotifyPropertyChanged { #region NotifyPropertyChang...
bin/Debug/netcoreapp2.1/Views/TreeView/Methods.cshtml
syncfusion/aspnet-core-ej1-demos
4
7066287
<reponame>syncfusion/aspnet-core-ej1-demos<filename>bin/Debug/netcoreapp2.1/Views/TreeView/Methods.cshtml @section SampleHeading{<span class="sampleName">TreeView / Methods</span> } @section ControlsSection{ <div style="width: 250px"> <ej-tree-view id="treeView" show-checkbox="true" allow-editing="true"> ...
VideoAPI/VideoApi.IntegrationTests/Hooks/ApiHooks.cs
ryantestgmail/vh-video-api
0
7066288
using System; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using NUnit.Framework; using TechTalk.SpecFlow; using Testin...
src/NerdBank.GitVersioning.Tests/ManagedGit/GitPackIndexMappedReaderTests.cs
alexey-gusarov/Nerdbank.GitVersioning
483
7066289
using System; using System.IO; using Nerdbank.GitVersioning.ManagedGit; using Xunit; namespace ManagedGit { public class GitPackIndexMappedReaderTests { [Fact] public void ConstructorNullTest() { Assert.Throws<ArgumentNullException>(() => new GitPackIndexMappedReader(null))...
src/SimpleGet.AWS/Configuration/S3StorageOptions.cs
azambrano/SimpleGet
1
7066290
<reponame>azambrano/SimpleGet using System.ComponentModel.DataAnnotations; using SimpleGet.Core.Validation; namespace SimpleGet.AWS.Configuration { public class S3StorageOptions { [Required] public string Bucket { get; set; } public string Prefix { get; set; } } }
SelectACourse/SelectACourse.ThirdParty/Migrations/20200205195722_InitialMigration.Designer.cs
pcmichaels/SelectACourse
1
7066291
<reponame>pcmichaels/SelectACourse<gh_stars>1-10 // <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueCo...
Enigma/Reflection/Emit/ILChainIfThen.cs
jaygumji/EnigmaDb
1
7066292
namespace Enigma.Reflection.Emit { public class ILChainIfThen { private readonly ILChainIf _chain; public ILChainIfThen(ILChainIf chain) { _chain = chain; } public ILChainIfElse Else(ILGenerationHandler body) { _chain.ElseBody = body; ...
osu.Game/Overlays/Comments/CommentsPage.cs
Malox10/osu
0
7066293
<reponame>Malox10/osu // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Framework.Bindables; using osu.Game.On...
JSSoft.Communication/AdaptorHostProvider.cs
s2quake/JSSoft.Communication
0
7066294
<filename>JSSoft.Communication/AdaptorHostProvider.cs // MIT License // // Copyright (c) 2019 <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 wit...
Assets/Scripts/EnemyHealth.cs
ArgyronetaAquatica/Project-3
0
7066295
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class EnemyHealth : MonoBehaviour { public int health = 100; [SerializeField] Slider enemyHealthSlider = null; public void TakeDamage(int damage) { health -= damage; ...
NetStandardValueInjecter/TrailFinder.cs
mcrozier-ngn/PclValueInjecter.Standard
0
7066296
<filename>NetStandardValueInjecter/TrailFinder.cs using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xciles.NetStandardValueInjecter.Extensions; namespace Xciles.NetStandardValueInjecter { public static class TrailFinder { public static IEnumerable<IList<...
src/ProjectAssistant.Platform/Model/ReferAssemblyInfo.cs
phamtuanit/ProjectAssistant
0
7066297
<reponame>phamtuanit/ProjectAssistant namespace ProjectAssistant.Platform.Model { using System.IO; /// <summary> /// Class ReferAssemblyInfo. /// </summary> /// <seealso /> public class ReferAssemblyInfo : ProjectInfo<ReferAssemblyInfo> { /// <summary> /// Gets or sets the ...
DS.SimpleServiceBus.ConsoleApp/Commands/Models/Request/TestRequest.cs
dennishog/SimpleServiceBus
5
7066298
<filename>DS.SimpleServiceBus.ConsoleApp/Commands/Models/Request/TestRequest.cs using DS.SimpleServiceBus.Commands.Interfaces; namespace DS.SimpleServiceBus.ConsoleApp.Commands.Models.Request { public class TestRequest : IRequestModel { public int Id { get; set; } } }
WithRazorPages/Pages/Plants/New.cshtml
skakkar12/NET-Core
212
7066299
<gh_stars>100-1000 @page @using WithRazorPages.Core.Interfaces; @using WithRazorPages.Core.Model; @inject IRepository<Plant> _repository @functions { [BindProperty] public Plant Plant { get; set; } public IActionResult OnPost() { if(!ModelState.IsValid) return Page(); _repository.Add...
csv-inventory-storage/Cli/Commands/SaveStorage.cs
aequabit/csv-inventory-storage
0
7066300
using System; using System.Collections.Generic; using System.IO; using System.Linq; using CSVInventoryStorage.Inventory; using CSVInventoryStorage.Serialization; namespace CSVInventoryStorage.Cli.Commands { class SaveStorage : ICommand { public string CommandName() => "saveStorage"; public int ...
Lua.AbstractSyntaxTree/Expressions/UnaryExpression.cs
KelsonBall/Lua.Core
0
7066301
<filename>Lua.AbstractSyntaxTree/Expressions/UnaryExpression.cs using System.Collections.Generic; using Lua.AbstractSyntaxTree.Terminals; namespace Lua.AbstractSyntaxTree.Expressions { public class UnaryExpression : Expression { public UnaryOperator Operator; public Expression Expression; ...
mqttSample/Assets/Scripts/MQTTController.cs
scnsh/m5bala
0
7066302
<filename>mqttSample/Assets/Scripts/MQTTController.cs using System; using System.Threading; using System.Threading.Tasks; using MQTTnet; using MQTTnet.Client; using UniRx; using UnityEngine; public class MQTTController : MonoBehaviour { IMqttClient mqttClient; public Subject<string> OnMessageReceiv...
Programming Fundamentals/Regular Expressions (RegEx)/03. Match Hexadecimal Numbers/Program.cs
DanielBankov/SoftUni
0
7066303
using System; using System.Linq; using System.Text.RegularExpressions; namespace _03._Match_Hexadecimal_Numbers { class Program { static void Main(string[] args) { string pattern = @"(?:0x)?[\dA-F]+\b"; string input = Console.ReadLine(); string[] dex = Rege...
Src/FormHelp.cs
ForNextSoftwareDevelopment/CharEditor
1
7066304
<filename>Src/FormHelp.cs<gh_stars>1-10 using System; using System.Windows.Forms; namespace CharEditor { public partial class FormHelp : Form { #region Members System.Drawing.Font newFont1; System.Drawing.Font newFont2; #endregion #region Constructor ...
Api/REST/CommandService.cs
evandigby/lunar-cmd
0
7066305
<reponame>evandigby/lunar-cmd<filename>Api/REST/CommandService.cs using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Data.Commands; using Syst...
WinFormsApp/.NETFramework/WinFormsHelloWorld/SizableOnLayout/Form1.cs
sstian/CSharpFramework
0
7066306
using System.Drawing; using System.Windows.Forms; namespace SizableOnLayout { public partial class Form1 : Form { public Form1() { InitializeComponent(); } protected override void OnLayout(LayoutEventArgs levent) { //1. 调用父类的OnLayout(), 非必需 base.OnLayou...
Octokit.GraphQL/Model/EnterpriseServerInstallationOrder.cs
tedvanderveen/octokit.graphql.net
113
7066307
<reponame>tedvanderveen/octokit.graphql.net<filename>Octokit.GraphQL/Model/EnterpriseServerInstallationOrder.cs namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; /// <summary> /// Ordering options for Enterprise Server installation connections. /// </summary> pub...
CookieMVC/CookieMVC.Web/Castle/Installers/AuthenticationInstaller.cs
tiesont/cookie-mvc
1
7066308
<reponame>tiesont/cookie-mvc using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; // using CookieMVC.Web.Security; namespace CookieMVC.Web { public class AuthenticationInstaller : IWindsorInstaller { public void Install(IWindsorContainer conta...
src/main/java/za/co/neildutoit/jSatisfactorySaveLoader/game/structs/GameStructFactory.cs
NeilDuToit92/JSatisfactorySaveLoader
0
7066309
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using NLog; namespace SatisfactorySaveParser.Game.Structs { public static class GameStructFactory { private static readonly Logger log = LogManager.GetCurrentClassLogger(); private static readonly Has...
OrleansDashboard/DashboardGrain.cs
bluexo/OrleansDashboard
0
7066310
using Microsoft.Extensions.Options; using Orleans; using Orleans.Concurrency; using Orleans.Placement; using Orleans.Runtime; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace OrleansDashboard { [Reentrant] [PreferLocalPlacemen...
src/Identity/Identity.Data.Mongo/Configuration/IdentityResourceCollectionConfiguration.cs
philbir/magic-media
38
7066311
<reponame>philbir/magic-media using MongoDB.Driver; using MongoDB.Extensions.Context; namespace MagicMedia.Identity.Data.Mongo { internal class IdentityResourceCollectionConfiguration : IMongoCollectionConfiguration<MagicIdentityResource> { public void OnConfiguring( IMongoCollectio...
Unity-Inventory-System/Assets/InventorySystem/Runtime/Scripts/Inventory/HotBarFacade.cs
namarakM/Unity-Inventory-System
1
7066312
using Zenject; namespace InventorySystem.Runtime.Scripts.Inventory { public class HotBarFacade { private readonly InventoryBehaviour _inventory; public HotBarFacade(InventoryBehaviour inventory) { _inventory = inventory; } public class Factory : PlaceholderFactory<int, HotBarFacade> { } } }
ProyectoFinal/Migrations/201510212254026_Cards.cs
R2D221/UNO
1
7066313
<reponame>R2D221/UNO namespace ProyectoFinal.Migrations { using System; using System.Data.Entity.Migrations; public partial class Cards : DbMigration { public override void Up() { CreateTable( "dbo.Cards", c => new { ...
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Data.SqlClient/SqlStudentMasterIndexProviderBase.generated.cs
niemyjski/nettiers
66
7066314
 /* File Generated by NetTiers templates [www.nettiers.com] Important: Do not modify this file. Edit the file SqlStudentMasterIndexProvider.cs instead. */ #region using directives using System; using System.Data; using System.Data.Common; using System.Text; using Microsoft.Practices.EnterpriseLibrary...
RecipeBox/Views/Account/Register.cshtml
Patrick-Dolan/recipe-box
0
7066315
@{ Layout = "_Layout"; } @using RecipeBox.ViewModels; @model RegisterViewModel <h2>Register a new user</h2> <hr> @using (Html.BeginForm("Register", "Account", FormMethod.Post)) { @Html.LabelFor(user => user.Email, new { @class = "form-label"}) @Html.TextBoxFor(user => user.Email, new { @class = "form-control"...