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/Umbraco.Tests/Persistence/Repositories/RelationRepositoryTest.cs
tompipe/Umbraco-CMS
1
7039607
using System; using System.Linq; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Models.Rdbms; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Querying; using Umbraco.Core.Persistence.Repositories; using Umbraco...
Packages/com.unity.inputsystem/InputSystem/Plugins/OSX/OSXSupport.cs
Kaosumaru/InputSystem
0
7039608
#if UNITY_EDITOR || UNITY_STANDALONE_OSX using UnityEngine.InputSystem.Layouts; using UnityEngine.InputSystem.OSX.LowLevel; namespace UnityEngine.InputSystem.OSX { /// <summary> /// A small helper class to aid in initializing and registering HID device layout builders. /// </summary> #if UNITY_DISABLE_DEFA...
src/Support/Security/Sparticle.Security.Attack/IAuthKeyContainer.cs
simazhao/Sparticle
0
7039609
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sparticle.Security.Attack { public interface IAuthKeyContainer { string GetAuthKey(string algo, string id); } }
aspnet-core/modules/identity/LINGYUN.Abp.Identity.Application.Contracts/LINGYUN/Abp/Identity/Dto/ChangePhoneNumberDto.cs
ai408/abp-vue-admin-element-typescript
1
7039610
<reponame>ai408/abp-vue-admin-element-typescript using System.ComponentModel.DataAnnotations; using Volo.Abp.Auditing; using Volo.Abp.Identity; using Volo.Abp.Validation; namespace LINGYUN.Abp.Identity { public class ChangePhoneNumberDto { /// <summary> /// 新手机号 /// </summary> ...
Assets/Water Buoyancy/Scripts/Editor/WaterMeshGenerator.cs
Walther/ossinlampi
4
7039611
<reponame>Walther/ossinlampi<gh_stars>1-10 using UnityEngine; namespace WaterBuoyancy { public class WaterMeshGenerator { private static int rows; private static int columns; private static float quadSegmentSize; public static Mesh GenerateMesh(int _rows, int _columns, float _...
CommandLineParser.Tests/Usage/UsagePrinterTests.cs
MatthiWare/CommandLineParser
0
7039612
using MatthiWare.CommandLine.Abstractions; using MatthiWare.CommandLine.Abstractions.Command; using MatthiWare.CommandLine.Abstractions.Parsing; using MatthiWare.CommandLine.Abstractions.Usage; using MatthiWare.CommandLine.Core.Attributes; using MatthiWare.CommandLine.Core.Command; using MatthiWare.CommandLine.Core.Ex...
src/hw.orm/hw/Debug/Dumpable.cs
hahoyer/HWClassLibrary.cs
3
7039613
<filename>src/hw.orm/hw/Debug/Dumpable.cs #region Copyright (C) 2013 // Project hw.nuget // Copyright (C) 2013 - 2013 <NAME> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Found...
PierreBakery2.Tests/ModelTests/VendorTests.cs
Lo-GR/PeirreBakery2
0
7039614
using Microsoft.VisualStudio.TestTools.UnitTesting; using PierreBakery2.Models; using System.Collections.Generic; using System; namespace PierreBakery2.Tests { [TestClass] public class VendorTests : IDisposable { public void Dispose() { Vendor.ClearAll(); } [TestMethod] public void Ve...
OpenNefia.Tests/Core/Serialization/SerializationShutdownTest.cs
Zechsu/OpenNefia
38
7039615
<reponame>Zechsu/OpenNefia using NUnit.Framework; namespace OpenNefia.Tests.Core.Serialization { [TestFixture] [NonParallelizable] public class SerializationShutdownTest : SerializationTest { [Test] public void SerializationInitializeShutdownInitializeTest() { Asser...
0140/Program.1.cs
twilightgod/PlayLeetcode
1
7039616
using System; using System.Collections.Generic; using System.Linq; namespace _0140_1 { public class Solution { public IList<string> WordBreak(string s, IList<string> wordDict) { var f = new Dictionary<string, List<string>>(); var wordSet = new HashSet<string>(wordDict)...
Anamnesis/Actor/Refresh/AnamnesisActorRefresher.cs
ShadyWhite/Anamnesis
0
7039617
// © Anamnesis. // Licensed under the MIT license. namespace Anamnesis.Actor.Refresh; using System.Threading.Tasks; using Anamnesis.Memory; using static Anamnesis.Memory.ActorBasicMemory; public class AnamnesisActorRefresher : IActorRefresher { public bool CanRefresh(ActorMemory actor) { // Ana can't refresh gp...
MangoAPI.BusinessLogic/ApiCommands/Communities/UpdateChannelPictureCommandHandler.cs
CatWithAutism/MangoMessengerAPI
0
7039618
<filename>MangoAPI.BusinessLogic/ApiCommands/Communities/UpdateChannelPictureCommandHandler.cs using System; using MangoAPI.BusinessLogic.Responses; using MangoAPI.DataAccess.Database; using MangoAPI.Domain.Constants; using MangoAPI.Domain.Enums; using MediatR; using Microsoft.EntityFrameworkCore; using System.Threadi...
WpfDbApplication/WpfDbApplication/Commands/NavigateCommand.cs
popchenk/db-ddd-wpf-school
0
7039619
<reponame>popchenk/db-ddd-wpf-school using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WpfDbApplication.Model; using WpfDbApplication.Services; using WpfDbApplication.Stores; using WpfDbApplication.ViewModels; namespace WpfDbApplication.Commands ...
C# Fundamentals/C# Fund Mid-Exam/1.Bonus Scoring System/Program.cs
yanchevilian/SoftUni-Solutions
0
7039620
<reponame>yanchevilian/SoftUni-Solutions using System; namespace _1.Bonus_Scoring_System { class Program { static void Main(string[] args) { int countOfStudents = int.Parse(Console.ReadLine()); int countOfLectures = int.Parse(Console.ReadLine()); i...
C# OOP Advanced/Generics Exercises/Generic Count Method Strings/Startup.cs
BlueDress/School
0
7039621
<reponame>BlueDress/School using System; namespace Generic_Count_Method_Strings { public class Startup { public static void Main() { var numberOfStrings = int.Parse(Console.ReadLine()); var stringBox = new Box<string>(); for (int i = 0; i < numberOfStrings;...
Tests/WavFlacTest/WavReader.cs
bigman73/practicesharp
31
7039622
using System; using System.IO; using System.Runtime.InteropServices; namespace Wav2Flac { class WavReader : IDisposable { #region Fields private Stream input; private WaveFormat format; private int uRiffHeader; private int uRiffHeaderSize; priva...
Tests/CompileRegex/Program_Quantifier.cs
lysep-corp/ConfuserEx-LSREMAKE
9
7039623
<reponame>lysep-corp/ConfuserEx-LSREMAKE using System; using System.Text.RegularExpressions; namespace CompileRegex { public static partial class Program { /// <summary> /// The source of the quantifier tests is: /// https://docs.microsoft.com/dotnet/standard/base-types/quantifiers-in-regular-expressions?view=...
src/Black.Beard.Calendarium/Calendarium/Configuration/NameConfiguration.cs
Black-Beard-Sdk/Calendarium
4
7039624
<reponame>Black-Beard-Sdk/Calendarium using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel; namespace Bb.Calendarium.Configuration { public class NameConfiguration { [JsonRequired] [Description("Specify a translated name of the current day")] public str...
Website/DotNetFramework/NotePractice/Interceptor/SingleRequireInterceptoRegistrar.cs
Zhangoufei/NotePractice
129
7039625
<reponame>Zhangoufei/NotePractice<gh_stars>100-1000 using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using Microsoft.AspNet.SignalR; namespace NotePractice.Interceptor { public class SingleRequireInterceptoRegistrar //: IDependencyResolver { ...
Infrastructure/Library/Utility/UtilityHandler.cs
lincolnpires/DDD.Enterprise.Example
161
7039626
<filename>Infrastructure/Library/Utility/UtilityHandler.cs using NLog; using NServiceBus; using System.Threading.Tasks; namespace Demo.Library.Utility.Handlers { public class UtilityHandler : IHandleMessages<IChangeLogLevel> { public Task Handle(IChangeLogLevel message, IMessageHandlerContext context)...
2021/csharp/Aoc2021.Tests/Day14Tests.cs
zawupf/aoc
0
7039627
<reponame>zawupf/aoc namespace Aoc2021.Tests; public class Day14Tests { private static readonly List<string> input = @" NNCB CH -> B HH -> N CB -> H NH -> C HB -> C HC -> B HN -> C NN -> C BH -> H NC -> B NB -> B ...
Src/Generated/CS_xsd/Serialisers/XsdBasedModel/complexTypeDerivedFromSequence.cs
avao/Codge
1
7039628
<reponame>avao/Codge using Codge.BasicModel.CS.Serialisation; using System.Xml; using Types.XsdBasedModel; namespace Serialisers.XsdBasedModel { public class complexTypeDerivedFromSequence : IXmlSerialiser { public void Serialize(XmlWriter writer, object o, SerialisationContext context) { ...
SurveyDesign/KC/Main/Message.aspx.cs
coojee2012/pm3
0
7039629
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Text; using Approve.RuleCenter; using Approv...
src/ObjectCloner.cs
openlab-vn-ua/CSharpPlusLittleThings
0
7039630
using System; using System.Reflection; namespace OpenLab.Plus.SystemPlus { /// <summary> /// ObjectCloner Can copy or clone objects via reflection /// </summary> /// <remarks>Open source software with MIT license</remarks> public partial class ObjectCloner { /// <summary> /// ...
Oqtane.Server/Migrations/Tenant/02030001_AddFolderCapacity.cs
OpenEugene/oqtane.framework
1,076
7039631
<reponame>OpenEugene/oqtane.framework<filename>Oqtane.Server/Migrations/Tenant/02030001_AddFolderCapacity.cs<gh_stars>1000+ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Oqtane.Databases.Interfaces; using Oqtane.Migrations.EntityBuilders; using Oqtane.Reposito...
02 Algorithm Reference/03 Handling Data/04 Data Formats/01 code.cs
Jay-Jay-D/Documentation
0
7039632
<gh_stars>0 //TradeBars collection of TradeBar objects TradeBars data; TradeBar ibm = data["IBM"]; //Dividends collection of Dividend objects Dividends data; Dividend ibm = data["IBM"];
src/OAuth/SimpleIdServer.OAuth/Api/Token/Helpers/ScopeHelper.cs
lulzzz/SimpleIdServer
229
7039633
<filename>src/OAuth/SimpleIdServer.OAuth/Api/Token/Helpers/ScopeHelper.cs // Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using SimpleIdServer.OAuth.Exceptions; using SimpleIdServer.OAuth.Extensions; using...
src/CoreLayer.Citrix.Adc.NitroClient/Api/Configuration/NS/NsHttpProfile/NsHttpProfileGetRequestConfiguration.cs
CoreLayer/CoreLayer.Citrix.Adc.Nitro
0
7039634
<gh_stars>0 using System.Net.Http; using CoreLayer.Citrix.Adc.NitroClient.Interfaces; namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.NS.NsHttpProfile { public class NsHttpProfileGetRequestConfiguration : NitroRequestConfiguration { public override HttpMethod Method => HttpMethod.Get; ...
Src/Controllers/Posts/Dtos/EditPostIn.cs
ZaqueuCavalcante/Blog
0
7039635
<filename>Src/Controllers/Posts/Dtos/EditPostIn.cs using System.ComponentModel.DataAnnotations; namespace Blog.Controllers.Posts { public class EditPostIn { [Required] public string Title { get; set; } [Required] public string Resume { get; set; } [Required] pu...
snippets/csharp/VS_Snippets_Wpf/WindowDialogResultSnippets/CSharp/DialogBox.xaml.cs
cston/dotnet-api-docs
2
7039636
//<SnippetWindowDialogResultCODEBEHIND> using System; using System.Windows; using System.Windows.Controls; namespace CSharp { public partial class DialogBox : Window { public DialogBox() { InitializeComponent(); } // The accept button is a button whose IsDefault pr...
Iso.Opc.Core/Database/ApplicationsDatabase.cs
PureIso/iso.opc
0
7039637
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Iso.Opc.Core.Models; using Newtonsoft.Json; using Opc.Ua; using Opc.Ua.Gds; using Opc.Ua.Gds.Server; using Opc.Ua.Gds.Server.Database; namespace Iso.Opc.Core.Database { [Serializable] public class Appl...
VisualStudio/ProjetoSoma/ProjetoSoma/Form1.Designer.cs
josielSilva30/UNIP-ADS2e3Noite
0
7039638
<filename>VisualStudio/ProjetoSoma/ProjetoSoma/Form1.Designer.cs namespace ProjetoSoma { partial class frm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clea...
src/Popsql/Text/SqlKeyword.cs
WouterDemuynck/popsql
3
7039639
<reponame>WouterDemuynck/popsql<filename>src/Popsql/Text/SqlKeyword.cs<gh_stars>1-10 using System; namespace Popsql.Text { /// <summary> /// Represents a SQL keyword. /// </summary> public class SqlKeyword { /// <summary> /// Initializes a new instance of the <see cref="SqlKeyword"/> class. /// </summary> ...
Revo.Core/Types/TypeExplorer.cs
chengliang-git/Revo
0
7039640
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Revo.Core.Types { public class TypeExplorer : ITypeExplorer { public virtual IEnumerable<Assembly> GetAllReferencedAssemblies() { return AppDomain.CurrentDomain.GetAssemblies(); ...
Workflow/TravelApprovalWorkflow.cs
InfantIvan/Emis.Internal
0
7039641
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using tomware.Microwf.Core; namespace Emis.Internal.Travel.Workflow { public class TravelApprovalWorkflow : WorkflowDefinitionBase { public const string TYPE = "TravelApprovalWorkflow"; public override string Type { get { return...
src/Axemasta.SuperWebView/Interfaces/ISuperWebViewDelegate.shared.cs
Axemasta/SuperWebView
10
7039642
namespace Axemasta.SuperWebView { public interface ISuperWebViewDelegate { /// <summary> /// Load Html, For internal use by SuperWebView platform renderers /// </summary> /// <param name="html">Html content</param> /// <param name="baseUrl">Base url of the current platform</pa...
gHowl/gHowl/BespokeOSC/OscPacketReceivedEventArgs.cs
gHowl/gHowlComponents
16
7039643
using System; using System.Diagnostics; namespace Bespoke.Common.Osc { /// <summary> /// Arguments for OscPacketReceived events. /// </summary> public class OscPacketReceivedEventArgs : EventArgs { /// <summary> /// Gets the OscPacket received. /// </summary> public OscPacket Packet { get { re...
src/Client/Restaurant.Client/Restaurant.Mobile.UI/App.xaml.cs
nhatphuongb1/Restaurant-App
2
7039644
using Autofac; using Microsoft.AppCenter; using Microsoft.AppCenter.Analytics; using Microsoft.AppCenter.Crashes; using Restaurant.Abstractions.Factories; using Restaurant.Abstractions.ViewModels; using Restaurant.Core; using Restaurant.Core.Mappers; using Restaurant.Mobile.UI.Pages; using Xamarin.Forms; using Xamarin...
src/EdFi.SampleDataGenerator.Core/DataGeneration/Common/GradeGenerationHelpers.cs
jamessmckay/Ed-Fi-SampleDataGenerator
1
7039645
using System; using System.Collections.Generic; namespace EdFi.SampleDataGenerator.Core.DataGeneration.Common { public static class GradeGenerationHelpers { /// <summary> /// Generates a set of grades on the 100 point grading scale that average to the provided GPA /// </summary> ...
OpenNefia.Content/Locale/Funcs/EnglishBuiltins.cs
Zechsu/OpenNefia
0
7039646
using OpenNefia.Content.GameObjects; using OpenNefia.Core.Game; using OpenNefia.Core.GameObjects; using OpenNefia.Core.IoC; using OpenNefia.Core.Locale; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenNefia.Content.Locale.Funcs { [R...
src/FluentWebUITesting/Extensions/ISelectListExtensions.cs
mvbalaw/FluentWebUITesting
1
7039648
using System; using System.Linq; using FluentWebUITesting.Controls; using JetBrains.Annotations; using OpenQA.Selenium; namespace FluentWebUITesting.Extensions { public static class ISelectListExtensions { public static OptionWrapper OptionWithText(this IWebElement dropDownList, [NotNull] string text, IWebDrive...
Vildmark.Graphics.Fonts/RenderContextExtensions.cs
Phyyl/Vildmark
3
7039649
<filename>Vildmark.Graphics.Fonts/RenderContextExtensions.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vildmark.Graphics.Rendering; namespace Vildmark.Graphics.Fonts { public static class RenderContextExtensions { private s...
BeatSaberModManager/Services/Implementations/Http/HttpProgressClient.cs
affederaffe/BeatSaberModManager
5
7039650
using System; using System.Buffers; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace BeatSaberModManager.Services.Implementations.Http { public class HttpProgressClient : HttpClient { public HttpProgressCl...
DesktopWindowsApplication1/DesktopWindowsApplication1/Program.cs
abanoubamin/ArcMap
0
7039651
using System; using System.Collections.Generic; using System.Windows.Forms; using ESRI.ArcGIS.esriSystem; namespace DesktopWindowsApplication1 { static class Program { private static LicenseInitializer m_AOLicenseInitializer = new DesktopWindowsApplication1.LicenseInitializer(); /// <summary> ...
DInjector/DInvoke/Data/Win32.cs
mave12/DInjector
11
7039652
// Author: <NAME> (@cobbr_io) // Project: SharpSploit (https://github.com/cobbr/SharpSploit) // License: BSD 3-Clause using System; using System.Runtime.InteropServices; namespace DInvoke.Data { /// <summary> /// Win32 is a library of enums and structures for Win32 API functions. /// </summary> /// <r...
src/License.Manager/Client/UserCode/CreateNewProduct.cs
davidhao2046/License.Manager-Light
37
7039653
using System; using System.Linq; using System.IO; using System.IO.IsolatedStorage; using System.Collections.Generic; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Framework.Client; using Microsoft.LightSwitch.Presentation; using Microsoft.LightSwitch.Presentation.Extensions; namespace LightSwitchApplicatio...
PDSI.SmarterTrackClient/StNewsItems.cs
provisiondata/pdsi.mcp.ticketsync
0
7039655
<gh_stars>0 using System; using System.Collections.Generic; namespace PDSI.SmarterTrackClient { public partial class StNewsItems { public StNewsItems() { StNewsEventLogs = new HashSet<StNewsEventLogs>(); StNewsItemBrokenLinks = new HashSet<StNewsItemBrokenLinks>(); ...
Ryujinx.HLE/HOS/Services/Ssl/Types/OptionType.cs
BSoDGamingYT/Ryujinx
11,580
7039656
<filename>Ryujinx.HLE/HOS/Services/Ssl/Types/OptionType.cs namespace Ryujinx.HLE.HOS.Services.Ssl.Types { enum OptionType : uint { DoNotCloseSocket, GetServerCertChain, // 3.0.0+ SkipDefaultVerify, // 5.0.0+ EnableAlpn // 9.0.0+ } }
NotificationService/NotificationService.Common/Logger/EnvironmentInitializer.cs
cblessingms1/notification-provider
19
7039657
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace NotificationService.Common.Logger { using System.Collections.Generic; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; /// <summary> /// EnvironmentInitializer. ...
Assets/_scripts/ReleaseScripts/GameLoader.cs
takemurakimio/missing-part-1
1
7039658
using UnityEngine; using System.Collections; namespace MissingComplete { public class GameLoader { private static GameLoader instance; private GameLoader() { } public static GameLoader Instance { get { if(instance == null) { instance = new GameLoader(); } return instance; } ...
src/OrchardCore/OrchardCore.Mvc.Core/RazorPages/ModularPageActionDescriptorChangeProvider.cs
Yuexs/OrchardCore
0
7039659
using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using Microsoft.Extensions.Primitives; namespace OrchardCore.Mvc.R...
MaiMaiApp/MaiMaiApp/NetworkManager.cs
Ym39/MaiMaiApp
0
7039660
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Net; using System.Text.RegularExpressions; using HtmlAgilityPack; using System.Net.Http; using Newtonsoft.Json; using System.Threading.Tasks; using System.Runtime.Serialization.Formatters.Binary; using Xamarin.F...
Chapter07/WinUI/ModernDesktop/Contracts/IDataService.cs
PacktPublishing/Modernizing-Your-Windows-Applications-with-the-Windows-Apps-SDK-and-WinUI
0
7039661
<gh_stars>0 using System.Collections.Generic; using System.Threading.Tasks; using ModernDesktop.Model; namespace ModernDesktop.Contracts { public interface IDataService { IEnumerable<Employee> GetAll(); Task<Employee> GetByIdAsync(int id); Task UpsertAsync(Employee employee); T...
PlayerMatcher/Rating.cs
bobthearsonist/matchmaking
0
7039662
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
sources/Interop/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings2.cs
phizch/terrafx.interop.windows
146
7039663
<reponame>phizch/terrafx.interop.windows // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. ...
builder/builder.cs
skbkontur/codingame-kutulu-starterkit-cs
4
7039664
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Windows.Forms; internal class Builder { [STAThread] private static void Main(string[] args) { var dirs = args.Length > 0 ? args : ...
DAL/Entities/BBS/PostLike.cs
serfend/Project.Web.SfMVC.TrainSchdule.1903
3
7039666
using DAL.Entities.UserInfo; using System; namespace DAL.Entities.BBS { /// <summary> /// 点赞 /// </summary> public class PostInteractStatus : BaseEntityGuid { /// <summary> /// /// </summary> public virtual PostContent Content { get; set; } /// <summary> ...
MDbScriptTool/AppHandlers.cs
tokafew420/MultiDatabaseScriptRunner
8
7039667
<filename>MDbScriptTool/AppHandlers.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Diagnostics; using System.Dynamic; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Text.RegularExpressio...
BTDB/ODBLayer/PolymorphicTypesRegistry.cs
karasek/BTDB
100
7039668
using System; using System.Collections.Generic; namespace BTDB.ODBLayer { public class PolymorphicTypesRegistry : IPolymorphicTypesRegistry { readonly object _lock = new object(); readonly HashSet<Type> _types = new HashSet<Type>(); public void RegisterPolymorphicType(Type type) ...
TidalTests/SearchTest.cs
SacredSkull/dotnet-tidal-usdk
0
7039669
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using TidalTests.Enums; using TidalUSDK.Enums; namespace TidalTests { public class SearchTest : BaseHttpTest { [Test] public async Task GetSearchResults() { HttpTest.RespondWithJsonStub(TestJSONFileNames...
ActiveSim/ThreadHelperClass.cs
locodarwin/ActiveSim
0
7039670
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ActiveSim { public static class ThreadHelperClass { delegate void SetTextCallback(Form f, Control ctrl, string text); /// <summary> ...
Source/Configuration/IConfigurationObject.cs
dolittle/DotNET.Fundamentals
2
7039671
<gh_stars>1-10 // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Dolittle.Configuration { /// <summary> /// A marker interface for a top level configuration object in the system. /// </summary> ...
WelderCalculator/WelderCalculator/Model/Norm.cs
BartoszBaczek/Welder-Calculator
1
7039672
 using System; namespace WelderCalculator.Model { public abstract class Norm { public string Name { get; set; } public Guid GuidNumber { get; set; } protected Norm() { Name = string.Empty; GuidNumber = Guid.NewGuid(); } } }
src/Snijderman.Common/ExtensionMethods/StringExtensions.cs
Snijderman/Snijderman
0
7039673
<filename>src/Snijderman.Common/ExtensionMethods/StringExtensions.cs using System; using System.ComponentModel; using System.Linq; namespace Snijderman.Common.ExtensionMethods; public static class StringExtensions { public static int? ToNullableInt(this string s) { if (int.TryParse(s, out var i)) { ...
LineBuilder.cs
Boltorez1488/OpcodesGeneratorProto
0
7039674
using System.Linq; using System.Text; namespace OpcodeGenerator { public class LineBuilder { private int _tabs; public string Tabs { get { if (!_isLineBreak) return ""; var res = ""; for (var i = 0; i < _tabs; i++) ...
Allocations/Rinsen.AllocationWeb/Services/RemoteOptions.cs
Rinsen/Labs
0
7039675
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Rinsen.AllocationWeb.Services { public class RemoteOptions { public string ConnectionString { get; set; } } }
Elemental.FormBuilder/Migrations/20210421170152_PositiveSeedIDs.cs
apption-oscode/elemental-blazor
3
7039676
<filename>Elemental.FormBuilder/Migrations/20210421170152_PositiveSeedIDs.cs using Microsoft.EntityFrameworkCore.Migrations; namespace Elemental.FormBuilder.Migrations { public partial class PositiveSeedIDs : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
Yfy.Api/Folders/YfyPathFolder.cs
yifangyun/csharp-sdk
0
7039677
<reponame>yifangyun/csharp-sdk namespace Yfy.Api.Folders { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Yfy.Api.Items; /// <summary> /// 路径文件夹 /// </summary> public class YfyPathFolder : YfyObject { /// <summary> /// 文件夹id /// </summary> ...
Ristlbat17.Disposition/Reporting/BataillonReporter.cs
ristlbat17/dispolist
4
7039678
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MongoDB.Driver; using Ristlbat17.Disposition.Servants; namespace Ristlbat17.Disposition.Reporting { public class BataillonReporter : IBataillonReporter { private readonly IDispositionContext _disposi...
src/NetCore/DataCloner.Core/Data/IQueryProvider.cs
naster01/DataCloner
1
7039679
<gh_stars>1-10 using DataCloner.Core.Data.Generator; using DataCloner.Core.Internal; using DataCloner.Core.Metadata.Context; using DataCloner.Core.Plan; using System.Data; namespace DataCloner.Core.Data { public interface IQueryProvider { event QueryCommitingEventHandler QueryCommmiting; ISql...
CSquared/Evaluator/IInitializable.cs
chcaru/csquared
5
7039680
<filename>CSquared/Evaluator/IInitializable.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSquared { public interface IInitializable { IExpression Initialize(CSquaredEnvironment environment); } }
Assets/GameManager.cs
IvanSploy/GlobalGameJam22
0
7039681
<reponame>IvanSploy/GlobalGameJam22<filename>Assets/GameManager.cs using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class GameManager : MonoBehaviour { //Referencia public static GameManager instance; public int currentD...
BazaarBot.ConsoleApp/Program.cs
staff0rd/bazaarBot
8
7039682
<filename>BazaarBot.ConsoleApp/Program.cs using BazaarBot.Engine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BazaarBot.ConsoleApp { class Program { const int BENCHMARK_ROUND_COUNT = 30; const int SEED = 0; ...
Example/EmbeddedResourceDownloader.cs
nikneem/embedded-resource-example
0
7039683
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Example { internal class EmbeddedResourceDownloader { public string GetFileContent() { var assembly = typeof(EmbeddedResourceDownloader).Assembly; ...
TournamentTracker/TournamentTracker.Data/Interfaces/IDataConnection.cs
Bardin08/TournamentTracker
0
7039685
<filename>TournamentTracker/TournamentTracker.Data/Interfaces/IDataConnection.cs using System.Collections.Generic; using TournamentTracker.Domain.Models; namespace TournamentTracker.Data.Interfaces { /// <summary> /// Interface for data storage connectors. Contains methods to manipulate data. /// </summa...
C-sharp-Web-Developer/C# OOP Advanced/01. Interfaces and Abstraction/05. BorderControl/Citizen.cs
sevdalin/Software-University-SoftUni
0
7039686
using System; namespace _05.BorderControl { public class Citizen : ICountable { private string name; private int age; private string id; public Citizen(string name, int age, string id) { this.Name = name; this.Age = age; this.Id = id;...
sdk/dotnet/Outputs/ServiceEndpointKubernetesAzureSubscription.cs
pulumi/pulumi-azuredevops
13
7039687
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
MieTranslationLib/TransSheet/MieTransSheetInfo.cs
synctam/PoE2JpModTools
1
7039688
<reponame>synctam/PoE2JpModTools namespace MieTranslationLib.TransSheet { using System; using System.Collections.Generic; using System.Text; using MieTranslationLib.Product; using NLog; using S5mCommon_1F1F6148_9E9B_4F66_AEB6_EB749A40E94E; /// <summary> /// 翻訳シート情報 /// </...
Src/Core/Studio.Application/Appointments/Queries/GetAppointmentsByUserId/GetAppointmentsByUserIdListQuery.cs
VeselinBPavlov/studioto.bg
0
7039689
<reponame>VeselinBPavlov/studioto.bg namespace Studio.Application.Appointments.Queries.GetAppointmentsByUserId { using MediatR; public class GetAppointmentsByUserIdListQuery : IRequest<AppointmentsProfileListViewModel> { public string UserId { get; set; } } }
sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/MigrationGuideSnippetsLiveTests.cs
brpanask/azure-sdk-for-net
2
7039690
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Text; using System.Text.Json; using System.Threading; using System.Threading....
3DModelPreProcessing2x/PreprocessingAlgorithms/Source/Algorithms/Calculations/ClCalculateNormalVectors.cs
ECL-LIRIS/3d-face-models-preprocessing-tool
3
7039691
/* Copyright (C) 2011 <NAME> <<EMAIL>>, Ecole Centrale de Lyon, This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
RageEuphoriaTester/EuphoriaConfigPage.cs
pnwparksfan/RageEuphoriaTester
0
7039692
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using System.Drawing; using RAGENativeUI; using RAGENativeUI.Elements; using Rage; using Rage.Euphoria; using Rage.Native; namespace RageEuphoriaTester { internal class Euph...
ModernSlavery.Core/Interfaces/ISearchRepository.cs
mccabesp/ModernSlavery-Beta
0
7039693
using System.Collections.Generic; using System.Threading.Tasks; using ModernSlavery.Core.Classes; using ModernSlavery.Core.Models; namespace ModernSlavery.Core.Interfaces { public interface ISearchRepository<T> { public bool Disabled { get; set; } public string IndexName { get; } ...
src/System.Linq.Dynamic.Core/Parser/TypeHelper.cs
sspekinc/System.Linq.Dynamic.Core
1
7039694
using System.Collections.Generic; using System.Linq.Dynamic.Core.Validation; using System.Reflection; namespace System.Linq.Dynamic.Core.Parser { internal static class TypeHelper { public static Type FindGenericType(Type generic, Type type) { while (type != null && type != typeof(o...
Assets/Scripts/Behaviors/SimpleMovement.cs
lobsterhands/BlockGuy
0
7039695
<filename>Assets/Scripts/Behaviors/SimpleMovement.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleMovement : MonoBehaviour { [Header("Movement Variables")] public float speed = 5f; public Buttons[] input; public float jumpForce; public float airResistance; p...
QQBotXClashOfClans v2/Data/Bot/ChatCheck/PlayerAPI/审核.cs
PoH98/QQBotXClashOfClans
2
7039696
<reponame>PoH98/QQBotXClashOfClans<gh_stars>1-10 using CocNET.Interfaces; using CocNET.Types.Players; using IniParser; using Mirai_CSharp; using Mirai_CSharp.Models; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Unity; namespace QQBotXClas...
src/rm.Extensions/StringExtension.cs
SammyEnigma/csharp-extensions
38
7039697
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Threading; namespace rm.Extensions { /// <summary> /// String extensions. /// </summary> public static class StringExtension { /// <summary> /// Returns true if str...
Source/Schema.NET.Tool/Repositories/ISchemaRepository.cs
radetskyi/Schema.NET
1
7039698
namespace Schema.NET.Tool.Repositories { using System.Collections.Generic; using System.Threading.Tasks; using Schema.NET.Tool.Models; public interface ISchemaRepository { Task<(List<SchemaClass> classes, List<SchemaProperty> properties, List<SchemaEnumerationValue> enumerationValues)> GetO...
Assets/RockyScene/_Scripts/z_Examples/FPH_Example_ClearPlayerPrefs.cs
Jetatomic17/PuppetsTear
0
7039699
<filename>Assets/RockyScene/_Scripts/z_Examples/FPH_Example_ClearPlayerPrefs.cs<gh_stars>0 using UnityEngine; using System.Collections; public class FPH_Example_ClearPlayerPrefs : MonoBehaviour { // Use this for initialization void Start () { PlayerPrefs.DeleteAll(); /* if(ES2.Exists("es2_keyInventoryName") ...
azure-cs-webserver/Program.cs
daltskin/examples
0
7039700
<filename>azure-cs-webserver/Program.cs // Copyright 2016-2019, Pulumi Corporation. All rights reserved. using System.Collections.Generic; using System.Threading.Tasks; using Pulumi; using Pulumi.Azure.Compute; using Pulumi.Azure.Compute.Inputs; using Pulumi.Azure.Core; using Pulumi.Azure.Network; using Pulumi.Azur...
AspNetCore3.x_MVC/IS407_IdentityServerContinued/MvcClient/Views/Account/Profile.cshtml
houseofcat/Authentication
47
7039701
<reponame>houseofcat/Authentication<filename>AspNetCore3.x_MVC/IS407_IdentityServerContinued/MvcClient/Views/Account/Profile.cshtml @model ProfileViewModel <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Profile</title> </head> <body> <h1>Test Profile</h1> <d...
Views/Category/SingleCat.cshtml
krilliman/Verk2h14
0
7039702
@model BookCave.Models.ViewModels.SubCategoryViewModel <div class="jumbotron jumbotron-fluids"> <div class="top-10-all"> <ul> <div class="top-10-banner"> <h2 class="list-heading">Top 10 in @Model.Name</h2> </div> <ul> <...
08.Dictionaries - Exercises/Dic-Ref/Program.cs
PavelIvanov96/Programming-Fundamentals-Extended-CSharp
0
7039703
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dic_Ref { class Program { static void Main(string[] args) { var dic = new Dictionary<string, int>(); var input = Console.ReadLine().Split(new c...
src/ReactiveCollections/ReactiveCollections/Implementation/Operations/CollectionToListOperationBase.cs
Hartigan/Reactive-Collections
0
7039704
using System; using System.Collections; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reactive.Subjects; using JetBrains.Annotations; using ReactiveCollections.Abstract.Collections; using ReactiveCollections.Abstract.Transactions; using ReactiveCollections.Abstract.Transactions.Argu...
scripts/Turret.cs
Qualia91/MixAndJam2020
3
7039705
<reponame>Qualia91/MixAndJam2020<filename>scripts/Turret.cs using Godot; using System; public class Turret : Node2D { PackedScene BulletScene = (PackedScene) ResourceLoader.Load("res://scenes/Bullet.tscn"); private GameNode gameNode; private Label levelLabel; private TextureRect turretGun; private Timer shot...
CodyzeVSPlugin/SettingsHelper.cs
LaudateCorpus1/codyze-vs-plugin
0
7039706
<reponame>LaudateCorpus1/codyze-vs-plugin<gh_stars>0 using System.Windows.Forms; using System.IO; namespace CodyzeVSPlugin { class SettingsHelper { public static string CheckCommandLineArguments() { CheckForPathToMarkFiles(); string pathToMarkFiles = CustomSettingsManag...
code/stable/projectile/projectile_s_l_nol_u_u_v_f/src/csharp/Calculations.cs
Daisy-C/Drasil
114
7039707
/** \file Calculations.cs \author <NAME>, <NAME>, and <NAME> \brief Provides functions for calculating the outputs */ using System; public class Calculations { /** \brief Calculates flight duration: the time when the projectile lands (s) \param v_launch launch speed: the initial speed of the p...
ProjectManager/ProjectManager.Domain/Aggregates/ProjectAggregate/ProjectTicketCategory.cs
GuilhermeZenzen/Project-Manager
0
7039708
using System; using System.Collections.Generic; using ProjectManager.Domain.Aggregates.TicketCategoryAggregate; using ProjectManager.Domain.Common.Entities; namespace ProjectManager.Domain.Aggregates.ProjectAggregate { public class ProjectTicketCategory : Entity { public Guid ProjectId { get; private ...
src/Mimp.SeeSharper.Async/AwaitableEnumerableAwaiter.cs
DavenaHack/SeeSharper.Async
1
7039709
<gh_stars>1-10 using Mimp.SeeSharper.Async.Abstraction; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Mimp.SeeSharper.Async { public class AwaitableEnumerableAwaiter<T> : IEnumerableAwaiter<T>, IAsyncDisposable, IAwaitableDisposable { ...
Src.Ratp.Lot03Dev/Ratp.Hidalgo.App/Validation/ValidationDecimalMax.cs
yarraf/MyWork
1
7039711
<filename>Src.Ratp.Lot03Dev/Ratp.Hidalgo.App/Validation/ValidationDecimalMax.cs using Ratp.Hidalgo.App.Properties; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ratp.Hidalgo.App.Validation { /// <summary> /// Classe de validations...