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/test/resources/beta_1_1_1/Sample.cs
hyamamoto/hackerrank-core
1
7026158
using System; using System.Collections.Generic; using System.IO; class Solution { static void Main(String[] args) { String player; //If player is X, I'm the first player. //If player is O, I'm the second player. player = Console.ReadLine(); //Read the board now. The board i...
src/Mvc/Mvc.Analyzers/test/AvoidHtmlPartialAnalyzerTest.cs
johnri/aspnetcore
8,570
7026160
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using Microsoft.AspNetCore.Analyzers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Testing; using Microsoft.C...
Samples/CSharp/C# Analytics Samples/MVC/Views/LinearRegressionModel/LinearRegressionModelDefault.cshtml
onepiecehung/hbase-on-windowns
0
7026161
<reponame>onepiecehung/hbase-on-windowns<filename>Samples/CSharp/C# Analytics Samples/MVC/Views/LinearRegressionModel/LinearRegressionModelDefault.cshtml @section SampleHeading { <div class="sampleheadingtext"> <span class="sampletitle">lpsa</span> </div> } <script></script> </script> @section ControlsSection{ ...
GetIntoTeachingApiTests/Helpers/ContractTestGitWebApplicationFactory.cs
DFE-Digital/get-into-teaching-api
6
7026162
<reponame>DFE-Digital/get-into-teaching-api<gh_stars>1-10 using System; using System.Linq; using AspNetCoreRateLimit; using GetIntoTeachingApi.Adapters; using GetIntoTeachingApi.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; names...
C #/C# OOP/06.Common-Type-System/Array64Bit/Startup.cs
DragomirPetrov/TelerikAcademy
0
7026163
<filename>C #/C# OOP/06.Common-Type-System/Array64Bit/Startup.cs namespace Array64Bit { using System; public class Startup { public static void Main() { var bitsArray = new BitArray64(128); Console.WriteLine("Bits: {0}", bitsArray); Console.WriteLine("Va...
Source/Extensions/Machine.WindsorExtensions/Machine.WindsorExtensions/ProvidesSingletonAttribute.cs
abombss/machine
1
7026164
using System; using System.Collections.Generic; using Castle.Core; namespace Machine.WindsorExtensions { [AttributeUsage(AttributeTargets.Class)] public class ProvidesSingletonAttribute : ProvidesServiceAttribute { public ProvidesSingletonAttribute(Type serviceType) : base(LifestyleType.Sin...
Microsoft.Azure.Cosmos/src/OSS/Antlr/Misc/ParseCanceledException.cs
ayanMSFT/azure-cosmos-dotnet-v3
522
7026165
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. // <auto-generated/> /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ usi...
tests/dotnetCampus.Configurations.Benchmark/ConfigurationBenchmark.cs
hueifeng/dotnetCampus.Configurations
42
7026166
using BenchmarkDotNet.Attributes; using dotnetCampus.Configurations.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dotnetCampus.Configurations.Benchmark { public class ConfigurationBenchmark { [Benchmark(Baseline = tr...
src/SharpSDL/SDLThread.cs
kthompson/game-engine
0
7026167
// ---------------------------------------------------------------------------- // <auto-generated> // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // </auto-generated> // --------------------------------------------------------------------------...
ironpython2/Src/DLR/Src/Microsoft.Dynamic/Interpreter/Instructions/GreaterThanInstruction.cs
shuice/IronPython_UWP
2
7026168
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using AnyPrefix.Microsoft.Scripting.Utils; namespace AnyPrefix.Micr...
Noggin.NetCoreAuth.Tests/Providers/GitHubProviderTests.cs
NogginBox/NogginAuth
2
7026169
<reponame>NogginBox/NogginAuth<gh_stars>1-10 using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Noggin.NetCoreAuth.Config; using Noggin.NetCoreAuth.Exceptions; using Noggin.NetCoreAuth.Providers.GitHub; using Noggin.NetCoreAuth.Providers.GitHub.Model; using NSubstitute; using RestSharp; using...
src/DynamoCoreWpf/ViewModels/Search/ClassInformationViewModel.cs
talrasha/Dynamo
1,202
7026170
using System.Collections.Generic; using System.Linq; using Dynamo.Configuration; using Dynamo.Search.SearchElements; using Dynamo.UI.Controls; namespace Dynamo.Wpf.ViewModels { public class ClassInformationViewModel : NodeCategoryViewModel { private bool hideClassDetails = false; /// <summary...
ColumnData.cs
KarHack/CloudDBClientDotNet
0
7026171
using System.Text.RegularExpressions; namespace _36E_Business___ERP.cloudDB { class ColumnData { // Column data class object. // Variables. // Main object variable, will be filled by all, only used if needed. private object objData; // State Holder. private st...
tests/perftest/NativeArrayPerf.cs
SotoiGhost/xamarin-macios
2,441
7026172
<filename>tests/perftest/NativeArrayPerf.cs using System; using System.Collections.Generic; using CoreFoundation; using Foundation; using ObjCRuntime; using BenchmarkDotNet.Attributes; using Bindings.Test; namespace PerfTest { public class NativeArrays { NSNumber[] array; [Params (0, 1, 16, 256, 4096)] pu...
src/IvyMediaDownloader/Utility/Uty.cs
Invary/IvyMediaDownloader
2
7026173
<reponame>Invary/IvyMediaDownloader using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Invary.Utility { class ResultEventArgs : EventArgs { public bool Success { get;...
src/WpfContrib/Media/Animation/[CornerRadius]/CornerRadiusAnimationCalculator.cs
ravindragullapalli/WPFContrib
127
7026174
<filename>src/WpfContrib/Media/Animation/[CornerRadius]/CornerRadiusAnimationCalculator.cs using System; using System.Windows; namespace Avalon.Windows.Media.Animation { internal sealed class CornerRadiusAnimationCalculator : IAnimationCalculator<CornerRadius> { private readonly DoubleAnimationCalculat...
src/HyperMsg.Amqp/TypeCodes.cs
BuzzX8/HyperMsg.Amqp
0
7026175
<reponame>BuzzX8/HyperMsg.Amqp namespace HyperMsg.Amqp { public static class TypeCodes { public const byte Descriptor = 0x00; public const byte Null = 0x40; public const byte TrueValue = 0x41; public const byte FalseValue = 0x42; public const byte UInt0 = 0x43; ...
src/Modulos/Core/Assembly/IAssemblyExplorer.cs
adobrzyc/modulos
2
7026176
namespace Modulos { using System.Reflection; /// <summary> /// Enables explore assemblies of modulos application. /// </summary> public interface IAssemblyExplorer { /// <summary> /// Available assemblies. /// </summary> Assembly[] Assemblies { get; } } }
src/Disqord.Rest/Entities/Rest/Properties/ModifyProperties/Channel/ModifyTextChannelProperties.cs
Anu6is/Disqord
1
7026177
namespace Disqord { public class ModifyTextChannelProperties : ModifyNestedChannelProperties { public Optional<string> Topic { internal get; set; } public Optional<bool> IsNsfw { internal get; set; } public Optional<int> Slowmode { internal get; set; } internal Modi...
src/Apps/Common/Helpers/MassHelper.cs
brian-nelson/traveller-tools
0
7026178
using System; using TravellerUtils.Libraries.Common.Constants; using TravellerUtils.Libraries.Common.Enums; using TravellerUtils.Libraries.Common.Objects; namespace TravellerUtils.Libraries.Common.Helpers { public static class MassHelper { public static Mass ToKilograms(this Mass mass) { ...
src/AspNetCore3_WebAPI_JWT/Interfaces/IUserRepository.cs
alecgn/aspnetcore3-webapi-authentication-authorization
1
7026179
<filename>src/AspNetCore3_WebAPI_JWT/Interfaces/IUserRepository.cs<gh_stars>1-10 using AspNetCore3_WebAPI_JWT.Entities; namespace AspNetCore3_WebAPI_JWT.Interfaces { public interface IUserRepository : IRepository<User> { public User Login(string username, string password); } }
src/Avalonia.Base/Layout/ILayoutManager.cs
Kibnet/Avalonia
0
7026180
<filename>src/Avalonia.Base/Layout/ILayoutManager.cs using System; using Avalonia.Metadata; namespace Avalonia.Layout { /// <summary> /// Manages measuring and arranging of controls. /// </summary> [NotClientImplementable] public interface ILayoutManager : IDisposable { /// <summary> ...
DiligentEngine/Structs/BlendStateDesc.Custom.cs
AnomalousMedical/Adventure
0
7026181
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using Uint8 = System.Byte; using Int8 = System.SByte; using Bool = System.Boolean; using Uint32 = System.UInt32; using Uint64 = System.UInt64; using Float32 = System.Single; using Uint16 = System.UInt16; using PVoi...
tvn-cosine.imaging/tvn-cosine.imaging.leptonica/tvn-cosine.imaging.leptonica/Definitions/Morph/Sela.cs
itoledo/Birdie.Tesseract
0
7026182
using System; namespace Leptonica { /// <summary> /// Array of Sel /// </summary> public class Sela : LeptonicaObjectBase { public Sela(IntPtr pointer) : base(pointer) { } } }
NNX.AddIn.Tests/ObjectStoreTestBase.cs
ikhramts/NNX
16
7026183
<gh_stars>10-100 using System; namespace NNX.AddIn.Tests { public abstract class ObjectStoreTestBase : IDisposable { public virtual void Dispose() { ObjectStore.Clear(); } } }
CK.Rest.Posts/Program.cs
mvelasquez10/ck-backend
0
7026184
<reponame>mvelasquez10/ck-backend using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using static CK.Rest.Common.Extensions.ServiceExtensions; namespace CK.Rest.Posts { public static class Program { #region Public Methods public static IHostBuilder CreateHostBuilder(strin...
Common/Common/Reports/Reporter.cs
guidou44/ComputerMonitoring
3
7026185
<gh_stars>1-10 using System; using System.IO; using Common.Exceptions; namespace Common.Reports { public class Reporter { public void LogException(Exception e, string logDirectory) { try { var currentDirectory = Directory.GetCurrentDirectory(); ...
Barista.Consistency/Models/AccountingGroupAuthorizedUser.cs
nesfit/Coffee
0
7026186
<reponame>nesfit/Coffee<gh_stars>0 using System; namespace Barista.Consistency.Models { public class AccountingGroupAuthorizedUser { public Guid AccountingGroupId { get; set; } public Guid UserId { get; set; } } }
DiskDumper/ConsoleLogger.cs
ronbrogan/ViridiX
0
7026187
<gh_stars>0 using Serilog.Parsing; using System; using System.Text; using ViridiX.Mason.Logging; namespace DiskDumper { public class ConsoleLogger : LoggerBase { public override bool IsEnabled { get; set; } = true; public override LogLevel Level { get; set; } = LogLevel.Info; public ov...
DomainFramework.Tests/PersonWithSpouseAndBestFriend/PersonBoundedContext/OutputDataTransferObjects/PersonOutputDto.cs
jgonte/DomainFramework
0
7026188
<gh_stars>0 using DomainFramework.Core; using System; using System.Collections.Generic; namespace PersonWithSpouseAndBestFriend.PersonBoundedContext { public class PersonOutputDto : IOutputDataTransferObject { public int PersonId { get; set; } public string Name { get; set; } public c...
source/wmpA5/wmpA5/frmMain.Designer.cs
BenLorantfy-Archive/SETSticks
0
7026191
<reponame>BenLorantfy-Archive/SETSticks namespace wmpA5 { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. //...
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs
kevingosse/winforms
3
7026192
<filename>src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Sy...
src/DXDecompiler/DX9Shader/Decompiler/ExpressionWriter.cs
spacehamster/DXDecompiler
50
7026193
<filename>src/DXDecompiler/DX9Shader/Decompiler/ExpressionWriter.cs using DXDecompiler.DX9Shader.Bytecode; using DXDecompiler.DX9Shader.Bytecode.Ctab; using DXDecompiler.DX9Shader.Bytecode.Fxlvm; using System.Linq; namespace DXDecompiler.DX9Shader.Decompiler { class ExpressionHLSLWriter : DecompileWriter { Shader...
JiHuangBaikeUWP/JiHuangBaike/View/CharacterDialog.xaml.cs
tpxxn/JiHuangBaikeByZhangGaoXing
13
7026194
<gh_stars>10-100 using JiHuangBaike.Data; using LiveCharts; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; usi...
Train_Server/Train_Server/Server.cs
csicks/Simplified-Train-Ticket-Booking-System
0
7026195
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; using System.Net; using System.Threading; using System.IO; using System.Data.OleDb; namespace Train_Server { public class Server { public class T...
UserDetailsClient/UserDetailsClient.Core/Features/LogOn/B2CAuthenticationService.cs
chadhasbrook/active-directory-b2c-xamarin-native
0
7026196
<reponame>chadhasbrook/active-directory-b2c-xamarin-native using Microsoft.Identity.Client; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UserDetailsClient.Core.Features.LogOn { public class B2CAuthenticati...
3DAmsterdam/Assets/Netherlands3D/Scripts/AssetGeneration/CityJson/LoadUVData.cs
Lampje227/3DAmsterdam
0
7026197
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Netherlands3D.AssetGeneration.CityJSON { public class LoadUVData : MonoBehaviour { public ObjectMappingClass objectMapping; void Start() { GetComponent<MeshFilter>().mesh.uv = objectMap...
Mocktopus.Tests/Services/ContextBuilderTests.cs
boscoton87/Mocktopus
0
7026198
<filename>Mocktopus.Tests/Services/ContextBuilderTests.cs using Mocktopus.Interfaces; using Mocktopus.Services; using Mocktopus.Tests.Mocks.Models; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Mocktopus.Tests.Services { [TestFixture] pu...
src/Vulkan/Silk.NET.Vulkan/Video/Enums/StdVideoH265ProfileIdc.gen.cs
Libertus-Lab/Silk.NET
0
7026199
<filename>src/Vulkan/Silk.NET.Vulkan/Video/Enums/StdVideoH265ProfileIdc.gen.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Vulkan...
src/Pacco.Services.Availability.Core/Exceptions/InvalidIdAggregateIdException.cs
seyfullahcuhadar/Pacco
0
7026200
using System; namespace Pacco.Services.Availability.Core.Exceptions { public class InvalidIdAggregateIdException:DomainException { public InvalidIdAggregateIdException(Guid id) : base($"Invalid aggregate ID: '{id}' .") { } } }
libraries/Microsoft.Bot.Schema/GeoCoordinates.cs
yeze322/botbuilder-dotnet
1
7026201
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema { using System.Linq; using Newtonsoft.Json; /// <summary> /// GeoCoordinates (entity type: "https://schema.org/GeoCoordinates"). /// </summary> public class GeoCoordi...
Assets/Free Pixel Army/Scripts/WalkButton.cs
DmalleWors/Nrunner2d
7
7026202
using UnityEngine; public class WalkButton : MonoBehaviour { public GameObject general,Helmet, Ordinary; Animator anim, anim2,anim3; void Start() { anim = general.GetComponent<Animator>(); anim2 = Helmet.GetComponent<Animator>(); anim3 = Ordinary.GetComponent<Animator>(); ...
chapters/05-physics/C5Exercise2.cs
Srynetix/godot-nature-of-code
19
7026203
using Godot; using Utils; using Physics; namespace Examples.Chapter5 { /// <summary> /// Exercise 5.2 - Anti-Gravity Boxes. /// </summary> /// Custom SimpleBox without gravity. public class C5Exercise2 : Node2D, IExample { public string GetSummary() { return "Exercis...
Omniwave/Resources/Dependencies/Colorful.Console/ColorAlternatorFactory.cs
CloneMerge/Omniwave
1,178
7026204
<reponame>CloneMerge/Omniwave using System.Drawing; namespace Colorful { public sealed class ColorAlternatorFactory { public ColorAlternator GetAlternator(string[] patterns, params Color[] colors) { return new PatternBasedColorAlternator<string>(new TextPatternCollection(patterns),...
ProjectMinotaur/Assets/Script/Menu/Menus/PauseMenu.cs
TrickWaterArts/ProjectMinotaur
3
7026205
<reponame>TrickWaterArts/ProjectMinotaur<filename>ProjectMinotaur/Assets/Script/Menu/Menus/PauseMenu.cs public class PauseMenu : IMenu { public override void OnShow() { } public override void OnHide() { } }
Runtime/RealtimeDatabase/RealtimeDatabase.cs
SrejonKhan/FirebaseRestClient
1
7026206
<reponame>SrejonKhan/FirebaseRestClient<gh_stars>1-10 using FirebaseRestClient.Helper; using FullSerializer; using Proyecto26; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using UnityEngine; namespace FirebaseRestClient { ...
src/ScriptCs.ObjectDumper.ScriptPack/ObjectDumper.cs
paulbouwer/scriptcs-objectdumper
5
7026207
using ScriptCs.Contracts; namespace ScriptCs.ObjectDumper.ScriptPack { public partial class ObjectDumper : IScriptPackContext { private ObjectSerializer _objectSerializer; public string Dump(object o) { return _objectSerializer.Serialize(o); } } }
src/AzureStorageAccountBlobUploadDemo/Program.cs
sebsmgzz/SandboxWorld
0
7026208
using Azure.Identity; using System; using System.Text.Json; namespace AzureStorageAccountBlobUploadDemo { public static class Program { private static readonly string AccountName = ""; private static readonly string ContainerName = ""; private static readonly string FilePath = @""; ...
src/Services/Courier/Courier.FunctionalTests/CourierScenarioBase.cs
Jamaxack/Kangaroo
19
7026209
using Courier.API; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.Configuration; using System.IO; using System.Reflection; namespace Courier.FunctionalTests { public class CourierScenarioBase { protected const string BaseApiUri = "api/v1/couriers"; ...
test/ncburn.TwitterStroller.Service.Extractors.Tests/Emojis/EmojiSearchTreeTests.cs
ncburn/ncburn.TwitterStroller
0
7026210
<reponame>ncburn/ncburn.TwitterStroller<filename>test/ncburn.TwitterStroller.Service.Extractors.Tests/Emojis/EmojiSearchTreeTests.cs using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using ncburn.TwitterStroller.Service.Extractors.Emojis; using System.Collections.Generic; using System.Linq; ...
StegaSoft/Read.cs
RinalduzziNathan/StegaSoft
4
7026211
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using StegaSoft; using Windows.Storage; using Windows.Storage.Streams; using System.Runtime.InteropServices.WindowsRuntime; namespace StegaSoft { public class Read ...
Assets/ApplePicker.cs
gorco/ApplePicker
0
7026212
<gh_stars>0 using UnityEngine; using System.Collections.Generic; public class ApplePicker : MonoBehaviour { public GameObject basketPrefab; public int numBaskets = 3; public float basketBottomY = -14f; public float basketSpacingY = 2f; private float currentBaskets; private GameObject basket...
Fabric/InterpolatedDelayParameter.cs
smdx24/CPI-Source-Code
8
7026213
<reponame>smdx24/CPI-Source-Code // InterpolatedDelayParameter using System; [Serializable] public class InterpolatedDelayParameter { private float startTimeMS; private float durationMS; private float curve = 0.05f; private float end; private float start; private float currentValue; private float _delay; ...
BlazorUI/Areas/Identity/RevalidatingIdentityAuthenticationStateProvider.cs
danh955/z007
0
7026214
<reponame>danh955/z007 // <copyright file="RevalidatingIdentityAuthenticationStateProvider.cs" company="MyProject"> // Copyright (c) MyProject. All rights reserved. // </copyright> namespace BlazorUI.Areas.Identity { using System; using System.Security.Claims; using System.Threading; using System.Threa...
src/Spectre.Console/AnsiConsoleOutput.cs
BlackOfWorld/spectre.console
2,200
7026215
<gh_stars>1000+ namespace Spectre.Console; /// <summary> /// Represents console output. /// </summary> public sealed class AnsiConsoleOutput : IAnsiConsoleOutput { /// <inheritdoc/> public TextWriter Writer { get; } /// <inheritdoc/> public bool IsTerminal { get { if (W...
WodiLib/WodiLib.Test/Cmn/VariableAddress/Implements/ThisMapEventInfoAddressTest.cs
sono8stream/WodiLib
0
7026216
using System; using NUnit.Framework; using WodiLib.Cmn; using WodiLib.Sys.Cmn; using WodiLib.Test.Tools; namespace WodiLib.Test.Cmn { [TestFixture] public class ThisMapEventInfoAddressTest { private static WodiLibLogger logger; [SetUp] public static void Setup() ...
XDT.Repositories/EntityFramework/WareItemRepository.cs
yinguilong/XDT.API
0
7026217
<filename>XDT.Repositories/EntityFramework/WareItemRepository.cs using System; using System.Collections.Generic; using System.Text; using XDT.Domain.Model; using XDT.Domain.Repositories; namespace XDT.Repositories.EntityFramework { public class WareItemRepository : EntityFrameworkRepository<WareItem>, IWareItemRe...
src/Osma.Mobile.App/Views/Connections/ErrorItemView.xaml.cs
TelegramSam/osma
52
7026218
<reponame>TelegramSam/osma using System; using System.Collections.Generic; using Xamarin.Forms; namespace Osma.Mobile.App.Views.Connections { public partial class ErrorItemView : ContentView { public ErrorItemView() { InitializeComponent(); } } }
test/WebJobs.Script.Tests.Shared/TestHostBuilderExtensions.cs
Francisco-Gamino/azure-functions-host
0
7026219
<filename>test/WebJobs.Script.Tests.Shared/TestHostBuilderExtensions.cs<gh_stars>0 // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Script; u...
Source/Core/Migrations/v1.0.16.cs
darbio/Exceptionless
0
7026220
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://w...
Settings.cs
JoeRobich/fd-editorminimap
3
7026221
<filename>Settings.cs using System; using System.ComponentModel; using System.Collections.Generic; using System.Windows.Forms; using System.Text; using System.Drawing; using EditorMiniMap.Localization; namespace EditorMiniMap { public delegate void SettingsChangesEvent(); [Serializable] publi...
Src/Aktores.Core/Address.cs
ajlopez/Aktores
3
7026222
namespace Aktores.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Address { private string protocol; private string systemname; private string hostname; private int port; public Add...
Sources/Steepshot/Steepshot.Core/Extensions/EnumExtension.cs
pmartynov/steepshot-mobile
17
7026223
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace Steepshot.Core.Extensions { public static class EnumExtension { public static string GetDescription(this Enum value) ...
T-Shirt Minigame/Assets/Scripts/Spawn.cs
ToldiAegypter/Water-Game
0
7026224
<reponame>ToldiAegypter/Water-Game using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawn : MonoBehaviour { public Rigidbody2D NormalesTShirt; public Rigidbody2D AltesTShirt; public Transform SpawnPoint1; public Transform SpawnPoint2; public Transfor...
Settings.Designer.cs
pedruhb/HabboMacroTool
0
7026225
<reponame>pedruhb/HabboMacroTool //------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdi...
src/InputParameters.cs
viff-cnh/Extension-Output-Cohort-Statistics
0
7026226
// Copyright 2008-2010 Portland State University, Conservation Biology Institute // Authors: <NAME>, <NAME> using Landis.Core; using System.Collections.Generic; using Edu.Wisc.Forest.Flel.Util; namespace Landis.Extension.Output.CohortStats { /// <summary> /// The parameters for the plug-in. /// </summary> pub...
AdManagerSample.cs
a-to-z-27-815/admanager
0
7026227
using System.Collections.Generic; using UnityEngine; using UnityEngine.Ad; public class AdManagerSample : MonoBehaviour { private void Start() { #if USE_ADMOB AdMobManager.Instance.Initialize( new AdConfigParam()); //AdMobManager.Instance.OnAdVideoLoad( // new AdVideoReques...
Scripts/Flows/Variables/RaiseGameEvent.cs
aschearer/unity.foundation
0
7026228
<reponame>aschearer/unity.foundation #if FLOW_CANVAS using FlowCanvas.Nodes; using NodeCanvas.Framework; using ParadoxNotion.Design; using SpottedZebra.UnityFoundation.Variables; namespace SpottedZebra.UnityFoundation.Flows.Variables { [Category("F/Data/Variables")] public sealed class RaiseGameEvent : Callab...
BTCPayServer.Abstractions/Services/UIExtension.cs
wforney/btcpayserver
0
7026229
using BTCPayServer.Abstractions.Contracts; namespace BTCPayServer.Abstractions.Services; public class UIExtension : IUIExtension { public UIExtension(string partial, string location) { Partial = partial; Location = location; } public string Partial { get; } public string Location ...
Builder/Logic.Service/Cache/CacheDtoService.cs
stichting-cito/QuestifyBuilder
3
7026230
<gh_stars>1-10 using Questify.Builder.Logic.Service.Decorators; namespace Questify.Builder.Logic.Service.Cache { public class CacheDtoService : BaseCacheServiceDecorator { public CacheDtoService() : base(CacheService.Instance) { } } }
Assets/Scripts/Commands/ModifyStencilGridSizeCommand.cs
mikendu/open-brush
321
7026231
<gh_stars>100-1000 // Copyright 2021 The Open Brush Authors // // 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...
src/Microsoft.Azure.SignalR/ClientConnections/ClientConnectionManager.cs
taoli-git/azure-signalr
0
7026232
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Microsoft.Azure.SignalR { intern...
src/EditorFeatures/CSharpTest/Utilities/CSharpServiceTestExtensions.cs
missymessa/roslyn
1
7026233
<reponame>missymessa/roslyn // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.Cod...
samples/TaskList/Data/TaskFilters.cs
nikhilk/silverlightfx
8
7026234
// TaskFilters.cs // using System; using System.Collections.Generic; namespace TaskList { public class AllTasksFilter : IPredicate<Task> { public bool Filter(Task item) { return true; } public override string ToString() { return "All Tasks"; } } ...
PowerUtilities/LightProbesDistribution/LightProbeUniformDistribution.cs
redcool/PowerUtilities
0
7026235
<reponame>redcool/PowerUtilities namespace PowerUtilities { #if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(LightProbeUniformDistribution))] public class ProbeSettingsEditor : Editor { private ...
Project-Aurora/Project-Aurora/Profiles/Minecraft/GSI/Nodes/PlayerNode.cs
ematt/Aurora
20
7026236
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aurora.Profiles.Minecraft.GSI.Nodes { public class PlayerNode : AutoJsonNode<PlayerNode> { public bool InGame; public float Health; [AutoJsonPropert...
4_libr_DAC/DAC_Login.cs
djericson/miniMarketWinForms
1
7026237
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DAC { public class DAC_Login { SqlConnection cn = new SqlConnection("Data Source= sql-srv2.database....
SlackLibrary/Get/Reminders/GetRemindersForUser.cs
CarsonCook/SlackLibrary
0
7026238
<gh_stars>0 using SlackITSupport.SlackLibrary.JsonParsing.ReminderJson; using SlackITSupport.SlackLibrary.SlackConstants; namespace SlackITSupport.SlackLibrary.Get.Reminders { /** * Class that gets all reminders from the app's Slack team. * * Requires the reminders:read permission. */ pub...
BaiduInteractive/EnumerableViewer.cs
CXuesong/PrettyBots
0
7026239
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BaiduInterop.Interactive { class EnumerableViewer<T> { public IEnumerable<T> Source { get; private set; } public delegate void OnViewItemHand...
src/Actions/Actions/SaveAction.cs
ferBonnin/axe-windows
1
7026240
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Actions.Attributes; using Axe.Windows.Actions.Enums; using Axe.Windows.Actions.Misc; using Axe.Windows.Core.Bases; using Axe.Windows.Desktop.Sett...
Panosen.Wechat.Mp/XmlHelper.cs
panosen/panosen-wechat-mp
0
7026242
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Panosen.Wechat.Mp { /// <summary> /// XmlHelper /// </summary> internal class XmlHelper { /// <summary> /// 解析外部post来的请求 ...
GamesCrud/GamesCrud/Models/DEVELOPERBDTESTERContext.cs
miguelhp373/Crud_Game_AspNetCore_MVC_DBFirst
0
7026243
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; #nullable disable namespace GamesCrud.Models { public partial class DEVELOPERBDTESTERContext : DbContext { public DEVELOPERBDTESTERContext() { } public DEVELOPERBDTESTERContext(Db...
Lesson_17/ClassWork/C17_C00_events_demo_2/Program.cs
Speak91/Nordic-it-netcore
0
7026244
using System; using System.Threading; namespace C17_C00_events_demo_2 { public class WorkPerformedEventArgs : EventArgs { public int Hours { get; set; } public WorkType WorkType { get; set; } } class Program { static void Main(string[] args) { //Console.WriteLine("Hello World!"); Thread threa...
src/EFCore/ChangeTracking/Internal/MultiSnapshot.cs
0x0309/efcore
1
7026245
<filename>src/EFCore/ChangeTracking/Internal/MultiSnapshot.cs // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Reflection; namespace Microsoft.EntityFrameworkCore.ChangeTrac...
Projetos/AppGallery/AppGallery/AppGallery/XamarinForms/Controles/IndicadorDeAtividadeControle/IndicadorDeAtividade.xaml.cs
Abner37/Xamarin-Forms
0
7026246
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace AppGallery.XamarinForms.Controles.IndicadorDeAtividadeControle { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ...
HexaEngine.D3D11/Fonts/DirectWriteText.cs
TomMeinhold/Hexa-Engine
0
7026247
<filename>HexaEngine.D3D11/Fonts/DirectWriteText.cs namespace HexaEngine.D3D11.Fonts { using HexaEngine.D3D11; #if D2D1_SUPPORT && DWRITE_SUPPORT using System.Numerics; using Vortice.Direct3D11; public class DirectWriteText : TextBase { private readonly ID3D11Texture2D texture; p...
test/ExactOnline.Client.Sdk.PerformanceTests/JsonToObjectTest.cs
leonardder/exactonline-api-dotnet-client
0
7026249
using ExactOnline.Client.Models.CRM; using ExactOnline.Client.Models.SalesInvoice; using ExactOnline.Client.Sdk.Helpers; using ExactOnline.Client.Sdk.PerformanceTests.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace ExactOnline.Client.Sdk.Performan...
LanguageImplementation/DataTypes/PyString.cs
rockobonaparte/cloaca
3
7026250
<filename>LanguageImplementation/DataTypes/PyString.cs using LanguageImplementation.DataTypes.Exceptions; using System; using System.Linq; using System.Linq.Expressions; namespace LanguageImplementation.DataTypes { public class PyStringClass : PyClass { public PyStringClass(PyFunction __init__) : ...
source/LiteDbExplorer/Controls/AvalonEditBehaviour.cs
Dissociable/LiteDbExplorer
0
7026251
using System; using System.Windows; using System.Windows.Interactivity; using ICSharpCode.AvalonEdit; using ICSharpCode.AvalonEdit.Editing; namespace LiteDbExplorer.Controls { public sealed class AvalonEditBehaviour : Behavior<TextEditor> { internal bool InDocumentChanging; public static read...
Sources/AngouriMath/Core/Exceptions/AngouriMathBaseException.cs
Suchiman/AngouriMath
1
7026252
/* * Copyright (c) 2019-2021 Angouri. * AngouriMath is licensed under MIT. * Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. * Website: https://am.angouri.org. */ using System; namespace AngouriMath.Core.Exceptions { /// <summary> /// This is the base exception of all exce...
tests/DotBPE.Rpc.Tests/TestAid/IFooService.cs
dotbpe/dotbpe
83
7026253
<filename>tests/DotBPE.Rpc.Tests/TestAid/IFooService.cs using System.Threading.Tasks; namespace DotBPE.Rpc.Tests { [RpcService(100, GroupName = "mock")] public interface IFooService { [RpcMethod(1)] Task<RpcResult> Foo1Async(FooReq req); [RpcMethod(2)] Task<RpcResult<FooRes...
HappyServerSide/ChemSearch/ChemicalApp_Version1/TechColaApp/TechColaApp/Backup/TechColaApp/Samplesol.aspx.designer.cs
devarajsp/Happy
0
7026254
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
src/libraries/System.Diagnostics.TraceSource/src/System/Diagnostics/SeverityFilter.cs
belav/runtime
0
7026255
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; namespace System.Diagnostics { public class EventTypeFilter : TraceFilter { private SourceLevels _level; public EventTypeFilter(SourceLevels l...
src/activities/Elsa.Activities.Dropbox/Extensions/ServiceCollectionExtensions.cs
tomy2105/elsa-core
3,147
7026256
<gh_stars>1000+ using System; using System.Net.Http; using System.Net.Http.Headers; using Elsa; using Elsa.Activities.Dropbox.Activities; using Elsa.Activities.Dropbox.Options; using Elsa.Activities.Dropbox.Services; using Elsa.Options; using Microsoft.Extensions.Options; // ReSharper disable once CheckNamespace names...
src/Shared/Shared.Contract/FollowMemberViewModel.cs
StuffPacker/StuffPacker
0
7026257
<reponame>StuffPacker/StuffPacker using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace StuffPacker.ViewModel { public class FollowMemberViewModel { public Guid Id { get; set; } public string NickName { get; set; } public string Firs...
sdk/dotnet/Devops/Inputs/DeployStageLoadBalancerConfigGetArgs.cs
EladGabay/pulumi-oci
5
7026258
// *** 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...
Assets/MotionFramework/ThirdParty/YooAsset/Runtime/Utility/BitMask32.cs
mrcece/MotionFramework
105
7026259
using System; namespace YooAsset { internal struct BitMask32 { private int _mask; public static implicit operator int(BitMask32 mask) { return mask._mask; } public static implicit operator BitMask32(int mask) { return new BitMask32(mask); } public BitMask32(int mask) ...
Assets/Scripts/DataTypes/SerializableVector2.cs
DapperDino/GGJ-2020
4
7026260
<reponame>DapperDino/GGJ-2020<filename>Assets/Scripts/DataTypes/SerializableVector2.cs using System; using UnityEngine; namespace DapperDino.GGJ2020.DataTypes { [Serializable] public struct SerializableVector2 { public float x; public float y; public SerializableVector2(float x, f...
AzureServiceCatalog.Web/Models/SupportViewModel.cs
jagratimodi/asc-testing
2
7026261
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace AzureServiceCatalog.Web.Models { public class EnrollmentSupportViewModel { public string FirstName { get; set; } public string LastName { get; set; } public string Company { get; set; } ...
ImageServer/Enterprise/ServerEntityKey.cs
SNBnani/Xian
1
7026262
<reponame>SNBnani/Xian #region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; namespace...