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
DimsumBot/App_Start/WebApiConfig.cs
JIoffe/DimsumBot
3
7042452
<reponame>JIoffe/DimsumBot using Autofac; using Autofac.Integration.WebApi; using CommonServiceLocator; using Microsoft.Bot.Builder.Azure; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Dialogs.Internals; using Microsoft.Bot.Builder.CognitiveServices.QnAMaker; using Microsoft.Bot.Connector; using New...
Projet-Tangram/Assets/UMI3D SDK/environment dev kit/Models/Objects/UI/UIText.cs
UMI3D/UMI3D-Tangram
0
7042453
<filename>Projet-Tangram/Assets/UMI3D SDK/environment dev kit/Models/Objects/UI/UIText.cs /* Copyright 2019 Gfi Informatique 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.o...
ElectronicObserver/Observer/kcsapi/api_req_member/get_practice_enemyinfo.cs
986547004/ElectronicObserver
0
7042454
<filename>ElectronicObserver/Observer/kcsapi/api_req_member/get_practice_enemyinfo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicObserver.Observer.kcsapi.api_req_member { public class get_practice_enemyinfo : APIBase { ...
TensionTest/Constants.cs
slehmann1/Tension_Tester
1
7042455
using System; namespace TensionTest { public static class Constants { public static int DAQFREQ { get { return 1; } } //how frequently data is acquired from the probes/graphs are updated in ms. public static int NUMSAMPLES { get { return 1; } ...
test/OpenCvSharp.Tests/core/RNG_MT19937Test.cs
CollegiumXR/OpenCvSharp-Xamarin.Droid
40
7042456
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace OpenCvSharp.Tests.Core { [TestFixture] // ReSharper disable once InconsistentNaming public class RNG_MT19937Test : TestBase { [Test] public void Next(...
Test/Lokad.Cloud.Storage.Test/Documents/MyDocument.cs
cdrnet/lokad-cloud-storage
1
7042457
<reponame>cdrnet/lokad-cloud-storage #region Copyright (c) Lokad 2009-2012 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud.Storage.Test.Documents { [Serializable] public class MyDocument { public string ...
CalculadoraSimples/CalculadoraSimples/Form1.Designer.cs
gleisonkz/Csharp_Curso
0
7042458
<filename>CalculadoraSimples/CalculadoraSimples/Form1.Designer.cs namespace CalculadoraSimples { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clea...
JAI/Types/WSYS/WaveSystem.cs
XAYRGA/JaiSeqX
23
7042459
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Be.IO; using System.IO; namespace JaiSeqX.JAI.Types.WSYS { /* Structure of a WSYS ENDIAN BIG; int32 'WSYS' = 0x57535953; int32 size i...
Cesium.Compiler/FileSystemIncludeContext.cs
Newlifer/Cesium
164
7042461
using Cesium.Preprocessor; namespace Cesium.Compiler; public class FileSystemIncludeContext : IIncludeContext { private readonly string _stdLibDirectory; private readonly string _currentDirectory; public FileSystemIncludeContext(string stdLibDirectory, string currentDirectory) { _stdLibDirect...
CM3D2.MaidFiddler.Plugin/Gui/GithubTranslationsGUI.Designer.cs
denikson/CM3D2.MaidFiddler
55
7042462
namespace CM3D2.MaidFiddler.Plugin.Gui { partial class GithubTranslationsGUI { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
Assets/SpaceCombatKit/Scripts/UniversalVehicleCombat/Weapons/Weapons.cs
jackdarker/Spaceshooter1
0
7042463
<gh_stars>0 using UnityEngine; using System.Collections; using System.Collections.Generic; using System; namespace VSX.UniversalVehicleCombat { /// <summary> /// A class that makes it easy to store and access weapons mounted on this vehicle /// </summary> public class MountedWeapon { private ModuleMou...
AngularBooking/Migrations/ApplicationDbContextModelSnapshot.cs
adamlarner/angularbooking
1
7042464
<gh_stars>1-10 // <auto-generated /> using System; using AngularBooking.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AngularBooking.Migrations { [DbContext(typeof(ApplicationDbContext))] pa...
TaskCore.App/Views/DefaultVerbView.cs
mbaykara/taskcore
62
7042465
using System; using CommandCore.Library.PublicBase; namespace TaskCore.App.Views { public class DefaultVerbView: VerbViewBase { public override void RenderResponse() { Console.WriteLine("Please use --help to find out which commands are available."); } } }
SourceCode/LiteQnaire/LiteQnaire/AttachmentWindow.xaml.cs
Nekorokke/LiteQnaire-Project
1
7042466
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
src/Services/PaymentWebhook/PaymentWebhook.API/Context/Model/PaymentWebhook.cs
EventMS/EMS
0
7042467
<reponame>EventMS/EMS<filename>src/Services/PaymentWebhook/PaymentWebhook.API/Context/Model/PaymentWebhook.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using HotChocolate; namespace EMS.PaymentWebhook_Services.API.Context.Model { public class PaymentWebhook : IVal...
LabZoo/IFlight.cs
ChristianLievrouw/LabSixZoo
0
7042468
<gh_stars>0 namespace LabZoo { public interface IFlight { int FlightDistance { get; } int FlightSpeed { get; } string Movement(); } }
src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/SyntaxHighlighting/GherkinHighlighterPropertiesProvider.cs
citizenmatt/SpecFlow.Rider
13
7042469
//using JetBrains.Application; //using JetBrains.ReSharper.Host.Features.Daemon; //using JetBrains.ReSharper.Host.Features.Daemon.Registration; //using JetBrains.Rider.Model.HighlighterRegistration; // //namespace ReSharperPlugin.SpecflowRiderPlugin.SyntaxHighlighting //{ // [ShellComponent] // public class Gherk...
Phantasma.Blockchain/Contracts/Native/MarketContract.cs
kr1992/PhantasmaChain
1
7042470
<filename>Phantasma.Blockchain/Contracts/Native/MarketContract.cs<gh_stars>1-10 using Phantasma.Blockchain.Tokens; using Phantasma.Core.Types; using Phantasma.Cryptography; using Phantasma.Numerics; using Phantasma.Storage.Context; using System; namespace Phantasma.Blockchain.Contracts.Native { public struct Marke...
SanteDB.Core.Model/Map/ValidationResultDetail.cs
santedb/santedb-model
0
7042471
<filename>SanteDB.Core.Model/Map/ValidationResultDetail.cs /* * Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices) * Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors * Portions Copyright (C) 2015-2018 Mohawk College of A...
Web/Access2Justice.Api/Interfaces/IShareBusinessLogic.cs
asaperski-gloriumtech/LegalNavigator
13
7042472
using Access2Justice.Api.ViewModels; using Access2Justice.Shared; using Microsoft.Azure.Documents; using System.Threading.Tasks; namespace Access2Justice.Api.Interfaces { public interface IShareBusinessLogic { Task<ShareViewModel> ShareResourceDataAsync(ShareInput shareInput); Task<ShareViewMo...
STDFLib/Enums/TestParameterFlags.cs
stephensonb/stdflib
1
7042473
<reponame>stephensonb/stdflib using System; namespace STDFLib { [Flags] public enum TestParameterFlags { AllBitsZero = 0x00, ScaleError = 0x01, DriftError = 0x02, OscillationDetected = 0x04, AboveHiLimit = 0x08, BelowLoLimit = 0x10, PassedAltLimits =...
Source/Sceelix.Core/Attributes/MetaParserManager.cs
sceelix/Sceelix
70
7042474
<reponame>sceelix/Sceelix<filename>Source/Sceelix.Core/Attributes/MetaParserManager.cs using System.Collections.Generic; using System.Linq; using Sceelix.Annotations; using Sceelix.Core.Annotations; namespace Sceelix.Core.Attributes { public class MetaParserManager { private static readonly Dictionary...
src/Foundation/ServiceModel/Gimela.ServiceModel.ManagedDiscovery/DiscoveryProxy/ServiceDiscoveryProxy.cs
J-W-Chan/Gimela
230
7042475
using System; using System.Collections.ObjectModel; using System.Globalization; using System.Linq; using System.ServiceModel; using System.ServiceModel.Discovery; namespace Gimela.ServiceModel.ManagedDiscovery { /// <summary> /// 服务发现代理 /// </summary> /// <typeparam name="T">指定类型的服务</typeparam> [ServiceBeha...
Content.Server/AI/WorldState/States/Utility/ConsiderationState.cs
Tyzemol/space-station-14
21
7042476
<reponame>Tyzemol/space-station-14 namespace Content.Server.AI.WorldState.States.Utility { /// <summary> /// Used by the utility AI to calc the adjusted scores /// </summary> public sealed class ConsiderationState : StoredStateData<int> { public override string Name => "Consideration"; }...
HW4/DryCleanerAPI/Controllers/ControllerOfOrders.cs
EzgiDogruer/WebAPI-Example
1
7042477
using Microsoft.AspNetCore.Mvc; using DAL.Model; using DryCleanerAPI.Log; using Entities; namespace DryCleanerAPI.Controllers { [ApiController] [Route("[controller]")] public class ControllerOfOrders : ControllerBase { AdminOperations DbOperations = new AdminOperations();...
Simple.Data.Ado/OptimizedDictionary.cs
hmobius/Simple.Data
573
7042478
using System.Collections.Generic; using System.Linq; namespace Simple.Data.Ado { public static class OptimizedDictionary { public static OptimizedDictionary<TKey,TValue> Create<TKey,TValue>(IDictionary<TKey,int> index, IEnumerable<TValue> values) { return new OptimizedDict...
Tests/Tests.Shared/Person.cs
sidgo28/realm-dotnet
0
7042479
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
src/MIMP.OperatingSystem.Windows.Native/Rectangle.cs
DavenaHack/WIMP
3
7042480
using System.Runtime.InteropServices; namespace MIMP.OperatingSystem.Windows.Native { [StructLayout(LayoutKind.Sequential)] public struct Rectangle { public int Left; // x position of upper-left corner public int Top; // y position of upper-left corner public int Ri...
System.Drawing.Common/System.Drawing/Graphics.cs
emclient/mac-playground
44
7042481
<gh_stars>10-100 // // Graphics.cs: The graphics context API from System.Drawing, MonoTouch implementation // // Authors: // <NAME> <<EMAIL>> // <NAME> (<EMAIL>) // <NAME> (<EMAIL>) // <NAME> (<EMAIL>) // <NAME> (<EMAIL>) // // Copyright 2011-2013 Xamarin Inc // Copyright 2003-2009 Novell, Inc. // using Syst...
src/Mozlite.Extensions/Searching/SearchTaskService.cs
Mozlite/Docs
8
7042482
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Mozlite.Extensions.Properties; using Mozlite.Extensions.Tasks; namespace Mozlite.Extensions.Searching { /// <summary> /// 搜索实体生成服务。 /// </summary> public abstract class SearchTaskSer...
source/Karamem0.SPClientCore/Runtime/Common/EnumerableExtensions.cs
karamem0/spclientcore
0
7042483
<reponame>karamem0/spclientcore // // Copyright (c) 2021 karamem0 // // This software is released under the MIT License. // // https://github.com/karamem0/sp-client-core/blob/main/LICENSE // using Karamem0.SharePoint.PowerShell.Resources; using System; using System.Collections.Generic; using System.Linq; u...
Workday.FinancialManagement/Revenue_Category_Request_CriteriaType.cs
matteofabbri/Workday.WebServices
18
7042484
<filename>Workday.FinancialManagement/Revenue_Category_Request_CriteriaType.cs using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Serialization; namespace Workday.FinancialManagement { [GeneratedCode("System.Xml",...
ServiceManager/Utility/ServiceInvocationEventArgs.cs
celigo/netsuite-service-manager-dotnet
6
7042485
using System; namespace com.celigo.net.ServiceManager.Utility { /// <summary> /// Represents options for cancelable service invocations. /// </summary> public class ServiceInvocationEventArgs : System.ComponentModel.CancelEventArgs { /// <summary> /// Gets or sets the name...
src/Skybrud.Umbraco.GridData/Values/GridControlValueBase.cs
ArnoldV/Skybrud.Umbraco.GridData
0
7042486
<gh_stars>0 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Skybrud.Umbraco.GridData.Interfaces; using Skybrud.Umbraco.GridData.Json; using System; namespace Skybrud.Umbraco.GridData.Values { /// <summary> /// Abstract class with a basic implementation of the <see cref="IGridControlValue"/> inte...
AinDecompiler/translation/TranslationProgressDialogBox.cs
UserUnknownFactor/AinDecompiler
4
7042487
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TranslateParserThingy { public partial class TranslationProgressDialogBox : Form { public strin...
CarpgLobby/Api/Model/PostUpdateRequest.cs
Tomash667/CarpgLobby
0
7042488
namespace CarpgLobby.Api.Model { public class PostUpdateRequest { public string From { get; set; } public string To { get; set; } public string Path { get; set; } public uint Crc { get; set; } } }
src/Berbot/Commands/InboxMonitor.cs
miyu/BerBo-T
0
7042489
<reponame>miyu/BerBo-T using System; using System.Collections.Generic; using System.Text; using Berbot.Commands.Polling.Creation; using Berbot.Logging; using Berbot.Utils; using Dargon.Commons; using Reddit; namespace Berbot.Commands { public class InboxMonitor { private readonly ILog log; private read...
CV_Generator/PSI_MS_obo_Reader.cs
PNNL-Comp-Mass-Spec/PSI-Interface
1
7042490
using System.Collections.Generic; using CV_Generator.OBO_Objects; namespace CV_Generator { public class PSI_MS_obo_Reader { // https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo public OBO_File FileData; public List<OBO_File> ImportedFileData = new List<OBO...
src/Skybrud.Social.GitHub/Endpoints/Raw/GitHubCommitsRawEndpoint.cs
abjerner/Skybrud.Social.GitHub
1
7042491
using System; using Skybrud.Essentials.Http; using Skybrud.Social.GitHub.OAuth; using Skybrud.Social.GitHub.Options.Commits; namespace Skybrud.Social.GitHub.Endpoints.Raw { /// <summary> /// Class representing the raw <strong>Commits</strong> endpoint. /// </summary> public class GitHubCommitsRawEndp...
samples/Qf.SysTodoList.WebApi/Controllers/TodoTaskController.cs
576245308/Qf.Core
0
7042492
using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Qf.SysTodoList.Domain; using Qf.SysTodoList.Application.Commands; using Qf.SysTodoList.Application.Dto; using Qf.SysTodoList.Application.Queries; ...
debugger/debugger-worker/src/Values/Render/ValuePresenters/ExternalDebuggerDisplayObjectPresenter.cs
McMatty/resharper-unity
0
7042493
using System; using System.Collections.Generic; using System.Threading; using JetBrains.ReSharper.Plugins.Unity.Rider.Debugger.Values.ValueReferences; using JetBrains.Util; using MetadataLite.API; using Mono.Debugging.Autofac; using Mono.Debugging.Backend; using Mono.Debugging.Backend.Values.Render.ValuePresenters; usi...
src/AccessibilityInsights.ActionsTests/Misc/ExtensionMethodsTests.cs
flyingUnderTheRadar/accessibility-insights-windows
0
7042495
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using Microsoft.QualityTools.Testing.Fakes; ...
C# fund/fund c# sept 21/Lists-More Exercise - sept 21/01. Messaging - sept 21/Program.cs
Tencho0/SoftuniEducation
0
7042496
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace _01._Messaging___sept_21 { class Program { static void Main(string[] args) { List<int> listOfNumbers = Console.ReadLine().Split().Select(int.Parse).ToList(); } } }
src/Bloxlink.Net.Rest/RestWaiter.cs
Lorttexwolf/Bloxlink.Net
1
7042498
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Bloxlink.Rest { // Dont worry about this mess, it will be reworked later into a Queue? public c...
Personal.LearningCSharpAdvance/Personal.LearningCSharpAdvance/Examples/Events/Delegates.cs
SEVERIP0/SharpLearning
0
7042499
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Personal.LearningCSharpAdvance.Examples.Events.Pagos.PayOptions; namespace Personal.LearningCSharpAdvance.Examples.Events { public class Delegates { //public dele...
BCVP.Model/Models/RootTkey/RootEntitySys.cs
hottoy/BCVP.OA
0
7042500
<gh_stars>0 using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BCVP.Model.Models.RootTkey { public class RootEntitySys { public RootEntitySys() { IsVersions = 1; OrderSort = 1; ...
Boneyard/Site4/Pages/Public/SE/People/MemberTerminate.aspx.cs
Swarmops/Swarmops
72
7042501
<reponame>Swarmops/Swarmops using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Activizr.Bas...
src/Models/User.cs
ArtemGontar/phytime
1
7042502
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace Phytime.Models { public class User : IdentityUser { public void SetPassword(string value) { PasswordHash = GetHashString(value).ToSt...
Source/MovieCollection.TheMovieDatabase/Models/SeasonEpisode.cs
moviecollection/the-movie-database
4
7042503
namespace MovieCollection.TheMovieDatabase.Models { using System.Collections.Generic; using Newtonsoft.Json; public class SeasonEpisode : BaseEpisode { [JsonProperty("crew")] public List<Crew> Crew { get; set; } [JsonProperty("guest_stars")] public List<Cast> GuestStar...
src/xunit.analyzers.fixes/MemberDataShouldReferenceValidMember_VisibilityFixer.cs
louis-z/xunit.analyzers
120
7042504
<reponame>louis-z/xunit.analyzers<filename>src/xunit.analyzers.fixes/MemberDataShouldReferenceValidMember_VisibilityFixer.cs using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Xunit.Analyzers...
Foxtrot/Foxtrot/Documentation/GenerateDocumentationFromPDB.cs
jeroen-mostert/CodeContracts
778
7042505
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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...
src/Belz.QueueProvider/QueueMessage.cs
acropolium/Belz
1
7042506
<gh_stars>1-10 using System.Collections.Generic; using System.Json; using System.Linq; namespace Belz.QueueProvider { public sealed class QueueMessage { public string ID { get; private set; } public string Worker { get; private set; } public int Timeout { get; private set; } ...
src/Core/Naylah.Core/Data/Services/IntTableDataService.cs
ElysiumLabs/Naylah
2
7042507
<gh_stars>1-10 using Naylah.Data.Access; using System.Threading.Tasks; namespace Naylah.Data { public abstract class IntTableDataService<TEntity, TModel> : TableDataService<TEntity, TModel, int> where TEntity : class, IEntityUpdate<TModel>, IEntity<int>, IModifiable, ISoftDeletable, new() where TMod...
src/Tests/VsChromium/Wpf/TestHiararchyObjectNavigator.cs
tcwz/vs-chromium
251
7042508
<reponame>tcwz/vs-chromium // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using VsChromi...
I3Compiti/Helper/NetHelper.cs
i3devs/i3Compiti
1
7042509
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using I3Compiti.Data; using I3Compiti.Model; using Newtonsoft.Json.Linq; namespace I3Compiti.Helper { public static class Ne...
DualityEditor/Helpers/HierarchicalContextMenuBuilder.cs
BraveSirAndrew/duality_onikira
0
7042510
<reponame>BraveSirAndrew/duality_onikira using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; namespace Duality.Editor.Helpers { public static class HierarchicalContextMenuBuilder { public static void CreateHierarchicalContextMenuItemsFromTypes(ToolSt...
Source/ReconAndDiscovery/CompTeleporter.cs
Garethp/ReconAndDiscovery
0
7042511
using System.Collections.Generic; using RimWorld; using RimWorld.Planet; using UnityEngine; using Verse; namespace ReconAndDiscovery { [StaticConstructorOnStartup] public class CompTeleporter : ThingComp { private static readonly Texture2D TargeterMouseAttachment = ContentFinder<Textur...
Masb.Yai/ExpressionFilterExtensions.cs
masbicudo/InterSiteLogin
0
7042512
<gh_stars>0 namespace Masb.Yai { public static class ExpressionFilterExtensions { public static void ProcessIfNeeded(this IExpressionFilter filter, ExpressionFilterContext context) { if (filter.CanProcess(context)) filter.Process(context); } public st...
Wobble/Assets/WobbleAssets.cs
AndyTechGuy/Wobble
67
7042513
using System.Drawing.Imaging; using Microsoft.Xna.Framework.Graphics; namespace Wobble.Assets { public static class WobbleAssets { /// <summary> /// Resources/UI/Basics/white_box.png /// </summary> public static Texture2D WhiteBox { get; private set; } /// <summary>...
NezaboodkaToSql/Libraries/Source/Client/DbKey.cs
Nezaboodka/Nezaboodka.Connectors
1
7042514
using System; using System.Text; using System.Threading; namespace Nezaboodka { public struct DbKey { public const string StringPrefixForNew = "?"; public const string StringPrefixForToBeDeleted = "~"; public const long MaxRevision = long.MaxValue - 3; public const long FlagFor...
modules/product/src/test/java/com/opengamma/strata/product/swap/InflationRateCalculationTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7042515
<gh_stars>0 /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.product.swap { //JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#: // import static com.openga...
ULTRAKIT/Main.cs
m1ksu/UltraKit
0
7042516
<gh_stars>0 using BepInEx; using System.IO; using System.Linq; using ULTRAKIT.Core; using ULTRAKIT.Loader; using ULTRAKIT.Lua.API; using UnityEngine; using UnityEngine.InputSystem; namespace ULTRAKIT { [BepInPlugin("ULTRAKIT", "ULTRAKIT", "1.0.0")] public class Plugin : BaseUnityPlugin { public s...
Watchdog/Watchdog.ProxyListener/Singletons/Logging/ILogger.cs
wickedlizerd/Watchdog
5
7042517
<reponame>wickedlizerd/Watchdog<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Watchdog.ProxyListener.Singletons.Logging { public interface ILogger { public void Log(string message, LogSeverity logSeverity = L...
WpfGroupFinder/Logic/FileHandler.cs
danifischer/Destiny2GroupFinder
1
7042518
using Newtonsoft.Json; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Threading.Tasks; using WpfGroupFinder.Models; namespace WpfGroupFinder.Logic { public class FileHandler : IFileHandler { private const string Filename = "groups"; publ...
BookStore.Models/ViewModels/Books/DetailsBookModel.cs
HrBozhidarov/C-MVC-Frameworks---ASP.NET-Core-Project
1
7042519
using System; using System.Collections.Generic; using System.Text; namespace BookStore.Models.ViewModels.Books { public class DetailsBookModel { public string Title { get; set; } public int Id { get; set; } public string[] Authors { get; set; } public string[] Categories { g...
RPServerClient/Client/BrowserHandler.cs
TryStatic/RPServer
1
7042520
<filename>RPServerClient/Client/BrowserHandler.cs using System; using System.Linq; using RAGE.Ui; namespace RPServerClient.Client { internal class BrowserHandler : RAGE.Events.Script { private static object[] _parameters; public static HtmlWindow MainBrowser; public BrowserHandler() ...
Runtime/Network/Packet/LevelMetaDataList.cs
Mineorbit/DungeonsAndDungeonsCommon
0
7042521
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: LevelMetaDataList.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = globa...
WinDo.UI.Main/Program.cs
lazycrazy/WinDoAdmin
3
7042522
<filename>WinDo.UI.Main/Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using WinDo.UI.Main; using System.Threading; using WinDo.UI.Utilities.DialogForm; using System.Runtime.InteropServices; using System.Diagnostics; using WinDo.Utilities; using System.IO; usin...
DNN Platform/Library/Entities/Urls/Config/RewriterConfiguration.cs
DnnSoftwarePersian/Dnn.Platform
2
7042523
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // do...
SampleToolProvider/Startup.cs
Janworks/MoodleLti
0
7042524
<filename>SampleToolProvider/Startup.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Security.Policy; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCor...
src/Sircl.Website/Areas/MvcDashboardLogging/Models/Items/IndexModel.cs
codetuner/Sircl2
3
7042525
<reponame>codetuner/Sircl2 using Sircl.Website.Data.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sircl.Website.Areas.MvcDashboardLogging.Models.Items { public class IndexModel : BaseIndexModel<RequestLog> { } }
sdk/src/Services/Kendra/Generated/Model/ConfluenceConfiguration.cs
PureKrome/aws-sdk-net
1
7042526
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
Assets/Scripts/CameraController.cs
Mixto83/a-night-at-homecoming
1
7042527
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraController : MonoBehaviour { [SerializeField] private float movementSpeed; [SerializeField] private float sensitivity; // Start is called before the first frame update void Start() { } ...
03.Applicatrion Flow, Filters & Middleware/Exercises/Eventures/Eventures/ViewModels/Orders/SingleOrderViewModel.cs
svetlimladenov/ASP.NET-Core-November-2018
0
7042528
namespace Eventures.ViewModels.Orders { public class SingleOrderViewModel { public string Event { get; set; } public string Customer { get; set; } public string OrderedOn { get; set; } } }
src/EuchreTime.Core/Hand/IPlayHands.cs
kgiszewski/EuchreTime
0
7042529
using System; using EuchreTime.Core.Game; using MechanicGrip.Cards; namespace EuchreTime.Core.Hand { public delegate void AiPlayedCardHandler(object sender, AiPlayedCardEventArgs e); public delegate void TrickCompletedHandler(object sender, TrickCompletedEventArgs e); public delegate void HandCompletedHan...
SampleExcel/Views/Users/BatchUserUpload.cshtml
mohamadlawand087/v27-ExcelImportExport
6
7042530
<div class="row"> <div class="col-md-12"> <form asp-action="BatchUserUpload" asp-controller="Users" method="post" enctype="multipart/form-data"> <div class="form-group"> <label>Upload file</label> <input id="batchUsers" name="batchUsers" class="form-control" typ...
src/II.Tests/AdressB.cs
AmiraBMO/net-ppwcode-util-oddsandends
2
7042531
<gh_stars>1-10 // Copyright 2014 by PeopleWare n.v.. // // 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 applicab...
Raptor.Presentation/Raptor.Web/Areas/Admin/Views/Blog/_BlogPostCategoryView.cshtml
humzakhan/RaptorCMS
1
7042532
@model BlogPostCategoryViewModel <form asp-controller="Blog" asp-action="@Model.PostAction" method="post" id="categoryForm"> <div class="form-group"> <span asp-validation-for="Name" class="text-danger small"></span> <label asp-for="Name" class="text-bold small"></label> <input type="text" ...
sources/editor/Stride.GameStudio/App.xaml.cs
profan/stride
3
7042533
<reponame>profan/stride // Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Windows; namespace Stride.GameStudio { /...
MonsterValueCrew/MonsterValueCrew/Startup.cs
MonsterValueCrew/MVCproject
0
7042534
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(MonsterValueCrew.Startup))] namespace MonsterValueCrew { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
src/Melville.ExcelDataContext/SchemaComputation/NameSpace.cs
JohnN6TSM/Melville
0
7042535
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text.RegularExpressions; namespace Melville.ExcelDataContext.SchemaComputation { /// <summary> /// Enforces the following rules /// - PascalCasing /// - May not contain nonword characters //...
src/ResourceManager/Network/Commands.Network/NetworkInterface/TapConfiguration/SetAzureRmNetworkInterfaceTapConfigCommand.cs
NMijat1024/azure-powershell
3
7042536
// Copyright (c) Microsoft and contributors. 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 re...
sources/Leak.Repository/RepositoryTask.cs
sora-jp/leak
76
7042538
namespace Leak.Data.Store { public interface RepositoryTask { bool CanExecute(RepositoryTaskQueue queue); void Execute(RepositoryContext context, RepositoryTaskCallback onCompleted); void Block(RepositoryTaskQueue queue); void Release(RepositoryTaskQueue queue); } }
OnlineServices.Api/ApiContext.cs
lurienanofab/lnf
1
7042540
using LNF; using LNF.Data; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Runtime.Caching; using System.Web; namespace OnlineServices.Api { public class ApiContext { private readonly ObjectCache _cache = new MemoryCache("ApiContext"); ...
src/parser/ShardingConnector.PaserBinder/Segment/Table/TablesContext.cs
xuejmnet/sharding-connector
5
7042541
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using ShardingConnector.CommandParser.Segment.DML.Column; using ShardingConnector.CommandParser.Segment.Generic.Table; using ShardingConnector.Exceptions; using ShardingConnector.ParserBinder.MetaData.Schema; namespace ShardingConnector....
LeetCode/589-N-aryTreePreorderTraversal/Program.cs
kodoftw/LeetCode
0
7042542
using N_aryTree; using System.Collections.Generic; using Xunit; namespace _589_N_aryTreePreorderTraversal { class Program { static void Main(string[] args) { var solution = new Solution(); var root = new Node(1, new List<Node> { new Node(3, ...
app/TW.Vault.App/Controllers/AllyController.cs
gandalfleal/twvault
1
7042543
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using TW.Vault.Lib.Scaffold; using TW; using TW.Vau...
Data/Repositories/Mongo/RepositoryBase.cs
ruben69695/todolist-aspnetcore3
0
7042544
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq.Expressions; using MongoDB.Driver; using Models; using Data.Repositories.Interfaces; namespace Data.Repositories.Mongo { public abstract class RepositoryBase<TModel> : IRepository<TModel> where TModel : KeyBase { ...
src/building blocks/DSC.Core/DomainObjects/Email.cs
AdsHan/core-digital-school-messaging-rabbitmq
1
7042545
using System.Text.RegularExpressions; namespace DSC.Core.DomainObjects { public class Email { public const int AddressMaxLength = 254; public const int AddressMinLength = 5; public string Address { get; private set; } public Email(string address) { if (!Val...
src/WebApp/Startup.cs
ahaggqvist/uroskur
0
7042546
<filename>src/WebApp/Startup.cs using Microsoft.AspNetCore.Authentication.Google; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.EntityFrameworkCore; using NeoSmart.Caching.Sqlite; usi...
scripts/levelmanager.cs
Arjunxxxl/dreams
0
7042547
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Audio; public class levelmanager : MonoBehaviour { public GameObject b1,b2; public GameObject net; public GameObject clown; public GameObject peoples; public GameObject keys_colle...
src/Tests/Reflection/DefaultActivatorTests.cs
oliverhanappi/valeq
0
7042548
<gh_stars>0 using NUnit.Framework; using Valeq.TestDataBuilders; namespace Valeq.Reflection { [TestFixture] public class DefaultActivatorTests { private readonly IActivator _activator = new DefaultActivator(); [Test] public void CreateInstance_NoType_ThrowsException() ...
line-login-csharp/Models/JWTPayload.cs
line-developer-community/line-login-csharp
2
7042549
<reponame>line-developer-community/line-login-csharp using Newtonsoft.Json; namespace LineDC.Login.Models { public class JWTPayload { /// <summary> /// https://access.line.me. URL where the ID token is generated. /// </summary> [JsonProperty("iss")] public string Iss { ...
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Sae/AlibabaCloud/SDK/ROS/CDK/Sae/RosNamespaceProps.cs
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
0
7042551
<gh_stars>0 using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Sae { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::SAE::Namespace`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-sae.RosNamespaceProps")] p...
NTypewriter.CodeModel.Tests/Type/TypeRenderingTests.cs
curtiskeller/NTypewriter
36
7042552
using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NTypewriter.CodeModel.Tests.Type { [TestClass] public class TypeRenderingTests : BaseFixture { [TestMethod] public async Task IsEnumerable(...
.Src/Extend/Utilities/InstanceBuilder/MemberSelection/Enum/MemberSelectionResult.cs
DaveSenn/PortableExtensions
38
7042553
namespace Extend { /// <summary> /// Enumeration of all possible member selection results. /// </summary> public enum MemberSelectionResult { /// <summary> /// Include the member. /// </summary> IncludeMember = 0, /// <summary> /...
DNN Platform/Library/Data/PetaPoco/FluentColumnMap.cs
pmsereno/Dnn.Platform
0
7042554
<filename>DNN Platform/Library/Data/PetaPoco/FluentColumnMap.cs // // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // // // Influenced by http://sameproblemmorecode.blogspot.nl/2013/07/petapoco-as-its-meant-...
VendorManager/Models/Manager.cs
ConnorBurgess/VendorManager
0
7042555
using System.Collections.Generic; namespace VendorManager.Models { abstract public class Manager { public string Name { get; protected set; } public int Id { get; protected set; } public string Description { get; protected set; } public string Date { get; protected set; } public string Price { ...
src/Numerics.Tests/SpecialFunctionsTests/BesselTests.cs
PGsLab/mathnet-numerics
2,519
7042556
<filename>src/Numerics.Tests/SpecialFunctionsTests/BesselTests.cs using System; using NUnit.Framework; using Complex = System.Numerics.Complex; namespace MathNet.Numerics.UnitTests.SpecialFunctionsTests { /// <summary> /// Bessel functions tests. /// </summary> [TestFixture, Category("Functions")] ...
DOSBoxSerialSwitch/Extensions.cs
BlackyPanther/DOSBoxSerialSwitch
0
7042557
<reponame>BlackyPanther/DOSBoxSerialSwitch using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; namespace DOSBoxSerialSwitch { public static class Extensions { public static void AddRange(this ItemCollection items, IEnumerable<object> newItems) { ...