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
NetEasy/ConsoleApp1/Data/ModelUpdatableAttribute.cs
trycatchfinnally/NeteaseCloudMusic
15
7028266
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NeteaseCloudMusic.Core.Data { /// <summary> /// 用于标识直接更新数据库用的 Data Model 类中的属性与数据库字段的映射关系。 /// </summary> [Serializable, AttributeUsage(AttributeTargets.Property, Inherited = t...
src/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/IReferenceService.cs
ivandrofly/corefx
15
7028267
// 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.ComponentModel; using System.Diagnostics; using System; namespace System.ComponentModel.Design { ...
src/Microsoft.Net.Http.Client/ManagedHandler.cs
newlysoft/HttpClient
13
7028268
<reponame>newlysoft/HttpClient using System; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Security; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace Microsoft.Net.Http.Client { public class ManagedHandler : HttpMe...
hms-sdk-unity/HuaweiMobileServices/Utils/AndroidPendingIntent.cs
Totoro83/hms-sdk-unity
0
7028269
<gh_stars>0 namespace HuaweiMobileServices.Utils { using UnityEngine; public class AndroidPendingIntent : JavaObjectWrapper { [UnityEngine.Scripting.Preserve] public AndroidPendingIntent(AndroidJavaObject javaObject) : base(javaObject) { } public AndroidJavaObject Intent => JavaO...
docs/classes/Sample/Sample.Web/Startup.cs
xufu2015/angularspree
0
7028270
<filename>docs/classes/Sample/Sample.Web/Startup.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Exten...
Server.Plugins/PluginEvent.cs
Joey743/deadlocked-server
14
7028271
using System; using System.Collections.Generic; using System.Text; namespace Server.Plugins { public enum PluginEvent { TICK, DME_UDP_TICK, MEDIUS_PLAYER_ON_LOGGED_IN, MEDIUS_PLAYER_ON_LOGGED_OUT, MEDIUS_PLAYER_ON_CREATE_GAME, MEDIUS_PLAYER_ON_JOIN_GAME, ...
src/Migrate/generated/api/Models/Api20210210/LogicalNetworkProperties.cs
wonner/azure-powershell
1
7028272
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210 { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>Logical Network Properties.</summary> public partial class LogicalNetworkProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.M...
Source/Painting/SvgGradientServer.Drawing.cs
irmoralesb/SVG
1
7028273
#if !NO_SDC using System; using System.Drawing.Drawing2D; namespace Svg { public abstract partial class SvgGradientServer : SvgPaintServer { protected Matrix EffectiveGradientTransform { get { var transform = new Matrix(); if (GradientTra...
PDF Extractor SDK/C#/Extract PDF document Info/Program.cs
jboddiford/ByteScout-SDK-SourceCode
0
7028274
//*******************************************************************************************// // // // Download Free Evaluation Version From: https://bytescout.com/download/web-installer // // ...
gamma_mob/DocOrderForm.cs
Polimat/GammaMobile
0
7028275
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Windows.Forms; using System.Xml.Serialization; using OpenNETCF.Windows.Forms; using gamma_mob.Common; using gamma_...
DestinationboardServer/Program.cs
zeikomi552/DestinationboardServer
1
7028276
<gh_stars>1-10 using DestinationboardCommunicationLibrary.Communication; using DestinationboardServer.Common; using DestinationboardServer.Common.Config; using DestinationboardServer.Common.DBManager.SQLite; using DestinationboardServer.Common.DBManager.SQLite.Tables; using DestinationboardServer.Common.DBManager...
Drive/DriveTest/TreeWithFields.cs
mikedamay/trinkets
0
7028278
<filename>Drive/DriveTest/TreeWithFields.cs using com.TheDisappointedProgrammer.Drive; namespace IOCCTest { public class TreeWithFields { [IOCCInjectedDependency] public ChildOne childOne; } public class ChildOne { } }
CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Read/Biff/DateRecord.cs
Tatetaylor/kbplumbapp
0
7028279
<reponame>Tatetaylor/kbplumbapp /********************************************************************* * * Copyright (C) 2002 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation;...
src/ReportPortal.Client/Abstractions/Resources/IUserFilterResource.cs
ArtPL/client-net
11
7028280
using ReportPortal.Client.Abstractions.Filtering; using ReportPortal.Client.Abstractions.Requests; using ReportPortal.Client.Abstractions.Responses; using System.Threading.Tasks; namespace ReportPortal.Client.Abstractions.Resources { /// <summary> /// Interacts with user filters. /// </summary> public...
Runtime/Scriptable Event System/GameObjectChannelSO.cs
ChristopherAtkinson/Common-Features-Toolkit
0
7028281
<reponame>ChristopherAtkinson/Common-Features-Toolkit<filename>Runtime/Scriptable Event System/GameObjectChannelSO.cs using Undefined.CommonFeaturesToolkit.ScriptableEventSystem; [UnityEngine.CreateAssetMenu(menuName = "Scriptable Event System/UnityEngine/GameObject Channel")] public sealed class GameObjectChannelS...
#TestSW/DataBase/Oguz-Prj3/WindowsFormsApplication1/Ammonit.cs
ati-ince/SmartHomeYTU
0
7028282
using System; using System.Collections.Generic; using System.Linq; using System.Text; // TCP-IP SOCKET using System.Net; using System.Net.Sockets; ////////////////////////// namespace WindowsFormsApplication1 { class Ammonit { public static string OutWorld; /////////////////////////////// ...
Chiota.Tests/Repository/InMemoryIotaRepository.cs
Felandil/Chiota
27
7028283
namespace Chiota.Tests.Repository { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Tangle.Net.Entity; using Tangle.Net.Repository; using Tangle.Net.Repository.DataTransfer; using Tangle.Net.Repository.Responses; /// <summary> /// The in memory iota reposito...
src/NuGetGallery.Core/Services/PackageFileServiceMetadata.cs
augustoproiete-forks/NuGet--NuGetGallery
1,022
7028284
// 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. namespace NuGetGallery { public class PackageFileMetadataService : IFileMetadataService { public string FileFolderName => CoreConstants...
Assets/OpenARMenus/Scripts/TwoDMenu.cs
appdevelopmentandsuch/OpenARMenus
0
7028285
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode()] [RequireComponent(typeof(Rigidbody))] public class TwoDMenu : MonoBehaviour { //=====================================================// //======================COLLIDER===================...
MFMyAir3Api/AirconWebResponse.cs
eric-winkler/MyAir3Api
4
7028286
namespace Winkler.MFMyAir3Api { public class AirconWebResponse { public XElement InnerResponse { get; private set; } public bool IsAuthenticated { get { return InnerResponse != null && InnerResponse.Element("authent...
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationPackageSupportUrls.cs
frank-pang-msft/azure-sdk-for-net
3,268
7028287
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.Resources.Models { /// <summary> The appliance package support URLs. </summary> public partial class ApplicationPackageSupportUrls { ...
FactorioWebInterface/Data/ApplicationUser.cs
grilledham/FactorioWebInterface
2
7028288
<gh_stars>1-10 using Microsoft.AspNetCore.Identity; namespace FactorioWebInterface.Data { public class ApplicationUser : IdentityUser { public bool Suspended { get; set; } } }
Notepad2/Views/HelpWindow.xaml.cs
AngryCarrot789/sharppad
45
7028289
<reponame>AngryCarrot789/sharppad using System.Windows; namespace SharpPad.Views { /// <summary> /// Interaction logic for HelpBox.xaml /// </summary> public partial class HelpWindow : Window { public HelpWindow() { InitializeComponent(); } private void...
tests/fsharpqa/Source/Conformance/DeclarationElements/MemberDefinitions/OverloadingMembers/lib.cs
tboby/fsharp-1
1,832
7028290
<filename>tests/fsharpqa/Source/Conformance/DeclarationElements/MemberDefinitions/OverloadingMembers/lib.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MyClass<S> { } public class MyClass { public static T M<T>(object x) { return (T)x; } ...
Clios/src/CommandProcessor/Commands/Rem.cs
jodogger/CosmosProjects
0
7028291
<reponame>jodogger/CosmosProjects namespace Clios.CommandProcessor.Commands { public class Rem : BaseCommand { public Rem() { Name = "rem"; Description = "Comment a line."; ParameterCount = 2; VariableParms = true; } p...
src/Oppsyn/MessageHandlers/IMessageHandler.cs
jarleli/Oppsyn
0
7028292
<gh_stars>0 using Noobot.Core.MessagingPipeline.Request; using SlackConnector.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Oppsyn { public interface IMessageHandler { Task<bool> HandleMessage(SlackMessage incomingMessage); } }
TestSuites/ADFamily/src/TestSuite/MS-SAMR/User/SamrCreateUserInDomain.cs
skywing918/WindowsProtocolTestSuites
332
7028293
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.DirectoryServices.Protocols; using Microsoft.Protocols.TestTools; using Microsoft.Protocols.TestTools.StackSdk.Dtyp; using Microsoft.Protocol...
Public/Remote/IApplicationService/AccountService/IRoleUseCaseService.cs
107295472/DaprHost
0
7028294
using IApplicationService.AccountService.Dtos.Input; using IApplicationService.Base; using Client.ServerSymbol; using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace IApplicationService.AccountService { [Rem...
src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterResult.cs
johnri/aspnetcore
8,570
7028295
<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. namespace Microsoft.AspNetCore.Mvc.Formatters; /// <summary> /// Result of a <see cref="IInputFormatter.ReadAsync"/> operation. /// </summary> public class InputForm...
generators/app/templates/src/DotVueCore.Web/Program.cs
dotnatcore/generator-dotvuecore
0
7028296
<filename>generators/app/templates/src/DotVueCore.Web/Program.cs using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace DotVueCore.Web { public class Program { public static void Main(string[] args) { var configurations = new Config...
Samples/XamlListView/cs/Scenario3_MasterDetail.xaml.cs
ayhrgr/Windows-universal-samples
1
7028297
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
CS-AppFacturacion/Facturacion/App_Cliente/MenuPrincipal/MenuPrincipal.cs
jsalmoralp/CS-Proyecto-Apuntes
0
7028298
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Facturacion.App_Cliente.MenuPrincipal { public partial class MenuPrincipal : Plantillas.Ma...
net.adamec.lib.common.dmn.engine/parser/dto/Variable.cs
samuelsen/Common.DMN.Engine
51
7028299
<gh_stars>10-100 using System.Diagnostics.CodeAnalysis; using System.Xml.Serialization; namespace net.adamec.lib.common.dmn.engine.parser.dto { /// <inheritdoc /> /// <summary> /// Variable definition /// Used in <see cref="T:net.adamec.lib.common.dmn.engine.parser.dto.Decision">expression decision de...
src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs
nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround
1
7028300
<filename>src/Umbraco.Web/PropertyEditors/CheckBoxListPropertyEditor.cs using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { /// <summary> /// A property editor to allow multiple checkbox selection of pre-defined items. /// </summary> /// <remarks> /// Due...
JachTheGiant/Assets/Scripts/JachTheGiant_HighscoreController.cs
phamngocanit82/PNA-Unity2D
0
7028301
<filename>JachTheGiant/Assets/Scripts/JachTheGiant_HighscoreController.cs using UnityEngine; using System.Collections; using UnityEngine.UI; public class JachTheGiant_HighscoreController : MonoBehaviour { [SerializeField] private Text scoreText,coinText; void Start () { SetScoreBasedOnDifficulty (); } void ...
src/QSP/UI/UserControls/AircraftMenu/AcMenuController.cs
JetStream96/QSimPlanner
60
7028302
using QSP.AircraftProfiles; using QSP.AircraftProfiles.Configs; using QSP.AviationTools; using QSP.Common; using QSP.LibraryExtension; using QSP.MathTools; using QSP.Utilities; using QSP.Utilities.Units; using System; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using System.Xm...
Runtime/Routines/Audio/TweenAudioSourcePan.cs
darkmavis/com.smonch.cyclopsframework
1
7028303
// Cyclops Framework // // Copyright 2010 - 2022 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/Uno.UWP/Generated/3.0.0.0/Windows.UI.Text/UnderlineType.cs
nv-ksavaria/Uno
0
7028304
<reponame>nv-ksavaria/Uno #pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Text { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public enum UnderlineType ...
Fos/Owin/FosAppBuilder.cs
itn3000/Fos
0
7028305
<filename>Fos/Owin/FosAppBuilder.cs using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Owin; namespace Fos.Owin { internal class FosAppBuilder : IAppBuilder { private Dictionary<string, object> properties; public CancellationToken OnAppDisposing { get; pr...
resources/.gen/aws/aws/OpsworksStack.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7028306
<gh_stars>0 using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiClass(nativeType: typeof(aws.OpsworksStack), fullyQualifiedName: "aws.OpsworksStack", parametersJson: "[{\"name\":\"scope\",\"type\":{\"fqn\":\"constructs.Construct\"}},{\"name\":\"id\",\"type\":{\"prim...
src/Platformus.Website.Data.Entities/Class.cs
aleks-ivanov/Platformus
510
7028307
<filename>src/Platformus.Website.Data.Entities/Class.cs // Copyright © 2020 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Magicalizer.Data.Entities.Abstractions; namespace Platformus...
src/Tests/Epam.GraphQL.TestHelpers/Helpers/ExpressionExtensions.cs
idzmitry/epam-graphql
19
7028308
<filename>src/Tests/Epam.GraphQL.TestHelpers/Helpers/ExpressionExtensions.cs // Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the // property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellectual // property law. Disseminati...
UKHO.MaritimeSafetyInformation.Web/UKHO.MaritimeSafetyInformation.Web/Services/FileShareService.cs
UKHO/Maritime-Safety-Information
0
7028309
<filename>UKHO.MaritimeSafetyInformation.Web/UKHO.MaritimeSafetyInformation.Web/Services/FileShareService.cs using Microsoft.Extensions.Options; using System.Text; using UKHO.FileShareClient; using UKHO.FileShareClient.Models; using UKHO.MaritimeSafetyInformation.Common.Configuration; using UKHO.MaritimeSafetyInformat...
snippets/csharp/VS_Snippets_Wpf/VectorSample/CSharp/Window1.xaml.cs
BohdanMosiyuk/samples
2
7028311
//This is a list of commonly used namespaces for a window. using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Data; using System.Windows.Media; namespace VectorSample { /// <summary> ...
src/Elders.Cronus.Api/Controllers/ProjectionCancelController.cs
Elders/Cronus.Ap
0
7028312
<gh_stars>0 using Elders.Cronus.MessageProcessing; using Elders.Cronus.Projections; using Elders.Cronus.Projections.Versioning; using Microsoft.AspNetCore.Mvc; using System; using System.ComponentModel.DataAnnotations; namespace Elders.Cronus.Api.Controllers { [Route("Projection")] public class ProjectionCanc...
Assets/Huawei/Editor/Utils/HMSEditorUtils.cs
MustafaCQN/hms-unity-plugin
1
7028313
<reponame>MustafaCQN/hms-unity-plugin using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEditor; using UnityEngine; namespace HmsPlugin { public static class HMSEditorUtils { public static void HandleAssemblyD...
src/Console/Configuration/SerialConnectionSettings.cs
fattymatty195/OSDP.Net
0
7028314
namespace Console.Configuration { public class SerialConnectionSettings { public string PortName { get; set; } = "/dev/tty.SLAB_USBtoUART"; public int BaudRate { get; set; } = 9600; } }
eLMM/CodePlex/MBF/SegmentedSequence.cs
jdm7dv/Microsoft-Biology-Foundation
0
7028315
//********************************************************* // // Copyright (c) Microsoft Corporation. All rights reserved. // // // // // // //********************************************************* using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Spec...
src/Spe/Commands/Session/RestartApplicationCommand.cs
sitecorelibraries/Console
99
7028316
using System.Management.Automation; using System.Web; namespace Spe.Commands.Session { [Cmdlet(VerbsLifecycle.Restart, "Application", SupportsShouldProcess = true)] public class RestartApplication : BaseCommand { protected override void BeginProcessing() { if (ShouldProcess("Ap...
tests/AupDotNetTests/ExEdit/Effects/SplitEffectTest.cs
karoterra/AupDotNet
10
7028317
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using Karoterra.AupDotNet; using Karoterra.AupDotNet.ExEdit; using Karoterra.AupDotNet.ExEdit.Effects; namespace AupDotNetTests.ExEdit.Effects { [TestClass] public class SplitEffectTest { [TestMethod] public void Test_Read()...
src/OSky.Core/Data/Entity.cs
liumeifu/OSky
0
7028318
<reponame>liumeifu/OSky using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel; namespace OSky.Core.Data { /// <summary> //...
code/ServiceApp/Program.cs
algorni/iot-edge-config-deploy
0
7028319
<reponame>algorni/iot-edge-config-deploy using Microsoft.Azure.Devices; using System; using System.IO; namespace ServiceApp { class Program { static void Main(string[] args) { Console.WriteLine("-------------------------------------------------------"); Console.WriteLin...
Valigator.AspNetCore/AspNetCore/ModelError.cs
rolan18/Valigator
4
7028320
using System; using System.Collections.Generic; using System.Text; using Functional; namespace Valigator.AspNetCore { public class ModelError { public string Name { get; } public ModelSource Source { get; } public ValidationError ValidationError { get; } public ModelError(string name, ModelSource source,...
src/Infrastructure/Kafka/Common/Producers/Handlers/KafkaProducerLogHandler.cs
ivomp/iotcon-opc-ua-connector-dotnet
0
7028321
using Confluent.Kafka; using Microsoft.Extensions.Logging; namespace OMP.Device.Connector.Kafka.Common.Producers.Handlers { public class KafkaProducerLogHandler<TKey, TValue>: IKafkaProducerLogHandler<TKey, TValue> { private readonly ILogger _logger; public KafkaProducerLogHandler(ILogger log...
src/Lumina.Generated/Excel/GeneratedSheets/ItemSearchCategory.cs
akuseru/Lumina
1
7028322
// ReSharper disable All using Lumina.Data; using Lumina.Data.Structs.Excel; namespace Lumina.Excel.GeneratedSheets { [Sheet( "ItemSearchCategory", columnHash: 0xeffa5b93 )] public class ItemSearchCategory : IExcelRow { public string Name; public int Icon; public byte Cate...
Tools_Github.cs
Kcrafting/Android_KingHoo_Scanner_Rebuild
0
7028323
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Support.V7.App; using Android...
src/Soil.SimpleActorModel/Message/UnboundedMailbox.cs
soilmeal/soil-csharp
6
7028324
<reponame>soilmeal/soil-csharp using Soil.SimpleActorModel.Actors; namespace Soil.SimpleActorModel.Message; public class UnboundedMailbox : Mailbox { public UnboundedMailbox(IActorContext owner) : base(owner, new UnboundedMessageQueue()) { } }
TSVD/Radical/src/net40/Radical.Windows.Presentation/ComponentModel/IExpectViewClosingCallback.cs
uditagarwal97/nekara-artifact
2
7028325
#if !SILVERLIGHT using System.ComponentModel; namespace Topics.Radical.Windows.Presentation.ComponentModel { /// <summary> /// Defines that a ViewModel expects lifecycle notifications from the view. /// </summary> public interface IExpectViewClosingCallback { /// <summary> /// Called when the view is closing...
BenchmarkEmbeddedDatabases.NET/BenchmarkEmbeddedDatabases.Core/Benchmarks/InsertWithAutoIncPrimaryKeyBenchmark.cs
11RS/BenchmarkEmbeddedDatabases.NET
4
7028326
using System; using BenchmarkEmbeddedDatabases.Core.BenchmarkHarness; namespace BenchmarkEmbeddedDatabases.Core.Benchmarks { public class InsertWithAutoIncPrimaryKeyBenchmark : BaseBenchmark { public override string Identifier => $"Insert {Iterations} simple records - single transaction -...
src/Library/PackageCache/com.unity.inputsystem@1.0.0-preview.6/InputSystem/Plugins/Linux/LinuxSupport.cs
WilsonRedSocks/OGPC13
4
7028327
<reponame>WilsonRedSocks/OGPC13 #if UNITY_EDITOR || UNITY_STANDALONE_LINUX using System; namespace UnityEngine.InputSystem.Linux { // These structures are not explicitly assigned, but they are filled in via JSON serialization coming from matching structs in native. #pragma warning disable 0649 interna...
Scripts/Engines/MLQuests/Objectives/CollectObjective.cs
greeduomacro/vivre-uo
0
7028328
<gh_stars>0 using System; using Server; using Server.Engines.MLQuests; using Server.Mobiles; using Server.Gumps; using Server.Items; namespace Server.Engines.MLQuests.Objectives { public class CollectObjective : BaseObjective { private int m_DesiredAmount; private Type m_AcceptedType; private TextDefinition m_...
GSProInterface/Models/Request/ShotDataDto.cs
tnbozman/gspro-interface
0
7028329
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GSProInterface.Models.Request { public class ShotDataDto { [JsonProperty("DeviceID")] public string DeviceID { get; set; } [JsonProperty(...
Source/CDR.DataHolder.IntegrationTests/Extensions/StringExtensions.cs
ConsumerDataRight/mock-data-holder
6
7028330
using IdentityModel; using System; using System.Security.Cryptography; using System.Text; namespace CDR.DataHolder.IntegrationTests.Extensions { public static class StringExtensions { /// <summary> /// Convert string to int /// </summary> public static int ToInt(this string str)...
aliyun-net-sdk-live/Live/Model/V20161101/DescribeHlsLiveStreamRealTimeBpsDataResponse.cs
awei1688/aliyun-openapi-net-sdk
572
7028331
<filename>aliyun-net-sdk-live/Live/Model/V20161101/DescribeHlsLiveStreamRealTimeBpsDataResponse.cs<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copy...
SW.FluentOlap.UnitTests/DataCollectionTests.cs
simplify9/FluentOlap
4
7028332
<gh_stars>1-10 using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using SW.FluentOlap.AnalyticalNode; using SW.FluentOlap.Models; using SW.FluentOlap.Utilities; using UtilityUnitTests.Models; namespace UtilityUnitTests { [TestClass] public class DataCollectionT...
Plugins/SpecFlow.Actions.Configuration/SpecFlow.Actions.Configuration/SpecFlowActionsConfiguration.cs
xjc90s/SpecFlow.Actions
1
7028333
<reponame>xjc90s/SpecFlow.Actions using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace SpecFlow.Actions.Configuration { public interface ISpecFlowActionsConfiguration { string Get(string path); ...
ConventionMapper.Generator/BaseMappingGenerator.cs
Farenheith/ConventionMapper
0
7028334
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version: 15.0.0.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> ...
ECApp/Controllers/MyAppController.cs
expertscoding/OpenIdConnectDemos
0
7028335
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace ECApp.Controllers { public class MyAppController : Controller { // GET [Authorize] public IActionResult Index() { return View(); } } }
DigitalPlatform.CommonControl/LocationDistributeControl.cs
jasonliaocn/dp2
95
7028336
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace DigitalPlatform.CommonControl { /// <summary> /// 馆藏去向分配控件 /// 注:目前没有使用这个类的代码 /// </summary> public partial class LocationD...
D0b0.Plugin.Payments.WayForPay/Domain/PaymentRequest.cs
d0b0/D0b0.Plugin.Payments.WayForPay
1
7028337
namespace D0b0.Plugin.Payments.WayForPay.Domain { public class PaymentRequest : BaseRequest { public override string OrderReference { get; set; } public string MerchantTransactionSecureType { get; set; } public string ClientAddress { get; set; } public string ClientCity { get; set; } public string ClientCo...
EWSEditor/Forms/EmptyFolder.Designer.cs
manoj75/o365-EWS-Editor
1
7028339
namespace EWSEditor.Forms { partial class EmptyFolder { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
src/Microsoft.Dism.Tests/DismDriverPackageTest.cs
rj2Skipper/ManagedDism
0
7028340
// Copyright (c). All rights reserved. // // Licensed under the MIT license. using Shouldly; using System; using System.Collections.Generic; namespace Microsoft.Dism.Tests { public class DismDriverPackageCollectionTest : DismCollectionTest<DismDriverPackageCollection, DismDriverPackage> { public Dism...
Laurus.UiTest.Selenium/Static.cs
thebeekeeper/Laurus.UiTest
1
7028341
using Laurus.UiTest.Controls; using OpenQA.Selenium; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Laurus.UiTest.Selenium { public class Static : BaseControl, IStatic { public Static(IWebDriver driver) : base(driver) { } strin...
src/Microsoft.DotNet.Interactive.Formatting.Tests/PocketViewWithFormatterTests.cs
DualBrain/interactive
1
7028342
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using FluentAssertions; using Xunit; using static Microsoft.DotNet.Interactive.Formatting.PocketViewTags; using static Microsoft.Do...
Assets/blueInputSystem.cs
berkeleyopenarms/blue_vr_interface
5
7028343
using System.Collections; using System.Collections.Generic; using UnityEngine; using Valve.VR; using Valve.VR.InteractionSystem; public class blueInputSystem : MonoBehaviour { private Hand hand; // Use this for initialization void Start() { hand = gameObject.GetComponent<Hand>(); } ...
Logic/Communications/OutboundMailRecipient.cs
Swarmops/Swarmops
72
7028344
<reponame>Swarmops/Swarmops using Swarmops.Basic.Types; using Swarmops.Basic.Types.Communications; using Swarmops.Common.Interfaces; using Swarmops.Database; using Swarmops.Logic.Media; using Swarmops.Logic.Swarm; namespace Swarmops.Logic.Communications { public class OutboundMailRecipient : BasicOutbound...
LoggingKata/TacoParser.cs
cdgraybill/TacoParser
0
7028345
<gh_stars>0 using System; namespace LoggingKata { /// <summary> /// Parses a POI file to locate all the Taco Bells /// </summary> public class TacoParser { readonly ILog logger = new TacoLogger(); public ITrackable Parse(string line) { stri...
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_UIVertex.cs
zhukunqian/unity5-slua
0
7028346
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_UIVertex : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.UIVertex o; o=new UnityEngine.UIVertex(); ...
src/AircraftTrajectories.NUnit.Tests/Models/Optimisation/NoisePowerDistanceTest.cs
HansSchouten/Aircraft-Trajectories
1
7028347
 using AircraftTrajectories.Models.Optimisation; using NUnit.Framework; namespace AircraftTrajectories.NUnit.Tests.Models.Optimisation { [TestFixture] class NoisePowerDistanceTest { [Test] public void NPDReadDataTest() { Assert.DoesNotThrow(() => { ...
StarMap/AboutBoxForm.cs
phroggster/StarMap
2
7028348
<reponame>phroggster/StarMap<gh_stars>1-10 #region --- Apache v2.0 license --- /* * Copyright © 2017 phroggie <<EMAIL>>, StarMap development team * * 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 Licen...
sdk/dotnet/DataFactory/Inputs/SapTablePartitionSettingsArgs.cs
pulumi/pulumi-azure-nextgen
31
7028349
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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; namespace Pulumi.Azur...
parts/0000-TLPLib/Assets/Plugins/Vendor/TLPLib/Extensions/ParticleSystemExts.cs
JurgisRainys/tlplib
0
7028351
using UnityEngine; namespace com.tinylabproductions.TLPLib.Extensions { public static class ParticleSystemExts { public static void setEmissionEnabled(this ParticleSystem particleSystem, bool enabled) { var emmission = particleSystem.emission; emmission.enabled = enabled; } } }
aspnet-core/src/TacoChallenge.Core/TacoChallengeCoreModule.cs
maksim5007/TacoChallenge
0
7028352
<filename>aspnet-core/src/TacoChallenge.Core/TacoChallengeCoreModule.cs using System; using System.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Timing; using Abp.Zero; using Abp.Zero.Configuration; using Castle.MicroKernel.Registration; using TacoChallenge.Authorization.Roles; using Tac...
app/SearchApi/SearchRequest.Adaptor/Publisher/Models/SearchRequestSavedEvent.cs
KyleKayfish/fams3
3
7028353
using BcGov.Fams3.SearchApi.Contracts.Person; using BcGov.Fams3.SearchApi.Contracts.SearchRequest; using SearchRequest.Adaptor.Publisher.Models; using System; namespace SearchRequestAdaptor.Publisher.Models { public class SearchRequestSavedEvent { public SearchRequestSavedEvent(SearchRequestEvent base...
CSCore.Ffmpeg/Interops/FFmpeg.avformat.g.cs
tantowi/cscore
1,970
7028354
#pragma warning disable CS0649 #pragma warning disable IDE1006 using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace CSCore.Ffmpeg.Interops { internal unsafe partial struct AVBuffer { } internal unsafe partial struct AVBufferPool { } inte...
Util/HttpUtil.cs
vitawebsitedesign/follow-the-process
0
7028355
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Util { public static class HttpUtil { public static async Task<string> DoGetReq(string url) { HttpClient client = new HttpClient(); ...
Assets/Scripts/AI/Patrol/PatrolAroundPoint.cs
ivankukobko/Unity-GameMechanicScripts
0
7028356
using UnityEngine; using UnityEngine.AI; using System.Collections; namespace AI.Patrol { [RequireComponent(typeof(NavMeshAgent))] public class PatrolAroundPoint : PatrolBase { public float radius = 10f; public Vector3 pointOfInterest; NavMeshAgent agent; Vector3 targetWaypo...
BulletXNA/BulletCollision/CollisionShapes/TriangleMeshShape.cs
xexuxjy/bullet-xna
19
7028357
<gh_stars>10-100 /* * C# / XNA port of Bullet (c) 2011 <NAME> <<EMAIL>> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 <NAME> http://www.bulletphysics.com/ * * This software is provided 'as-is', without any express or implied warranty. * In no event will the aut...
Assets/Scripts/TransformScale.cs
DeepakGohil95/OurStealthGame
0
7028358
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class TransformScale : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (transform.localScale.y <= 10) { transform...
src/Core/src/Handlers/ScrollView/ScrollViewHandler.Windows.cs
francedot/maui
5
7028359
#nullable enable using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using Microsoft.UI.Xaml.Controls; namespace Microsoft.Maui.Handlers { public partial class ScrollViewHandler : ViewHandler<IScrollView, ScrollViewer> { protected override ScrollViewer CreateN...
src/Square.Connect/Model/V1PaymentSurcharge.cs
skuvault/Square.Connect.SV
37
7028360
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: <EMAIL> * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; usi...
Apps/ScoreViewer/PlayerSettings.cs
segfault-bilibili/DereTore
134
7028361
<reponame>segfault-bilibili/DereTore using System; using DereTore.Common; namespace DereTore.Apps.ScoreViewer { internal static class PlayerSettings { public static float MusicVolume { get { return _musicVolume; } set { value = MathHelper.Clamp(value, 0f, 1f); ...
src/dotnet-ef/RootCommand.cs
khellang/EntityFrameworkCore
3
7028362
<gh_stars>1-10 // 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.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Versio...
src/Taskell/Compensation.cs
phatboyg/Taskell
4
7028363
// Copyright 2012-2013 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
Src/Framework/Smart.Core.Shared/Extensions/WinControlExtensions.cs
SmallAnts/Smart
12
7028364
<reponame>SmallAnts/Smart using System; using System.Reflection; using System.Windows.Forms; namespace Smart.Core.Extensions { /// <summary> /// /// </summary> public static class WinControlExtensions { static PropertyInfo OwnerPI; /// <summary> /// 启用或禁用双缓冲 /// <...
hist_mmorpg-master/Libraries/lidgren-network-gen3-master/Samples/ImageSample/ImageServer/Form1.cs
SimonasBanys/disertation
11
7028365
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using SamplesCommon; namespace ImageServer { public partial class Form1 : Form { private NetPeerSettingsWindow m_settingsWindow; public Form1() ...
Assets/Added Scripts/Singletons/Heroes.cs
Arkzenir/Match3-RPG
0
7028366
<filename>Assets/Added Scripts/Singletons/Heroes.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEditor.U2D.IK; using UnityEngine; public class Heroes : MonoBehaviour { public static Heroes instance; private Match3Visual visual; private E...
Assets/_games/Assessments/_scripts/Updater.cs
vgwb-private/EA4S_Antura_U3D
20
7028368
using Kore.Utils; using System.Collections.Generic; namespace Antura.Assessment { /// <summary> /// Implement IUpdater /// </summary> public class Updater : SceneScopedSingleton<Updater> { List<ITimedUpdate> updates = null; public void AddTimedUpdate(ITimedUpdate timedUpdate) ...
YomsoleApp/Program.cs
kodemoar/yomsoleapp
0
7028369
using System; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Reflection; using System.Text; using YomsoleApp.Utils; namespace YomsoleApp { class Program { private static AssemblyName assembly = Assembly.GetExecutingAssembly().GetName(); #region A...
Assets/Scripts/Score.cs
chrised257/shoot-the-damn-zombies
0
7028370
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Score : MonoBehaviour { private int totalScore; private Text scoreText; // Use this for initialization void Start () { totalScore = 0; scoreText = GetComponent<Text>(); scoreText.text = "Score: " + tot...