content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using WPILib.Commands; namespace WPILib.Buttons { /// <summary> /// An internal class of <see cref="Trigger"/>. The user should ignore this, it is /// only public to interface between packages /// </summary> public abstract class ButtonScheduler { /// <summary> /// True if the ...
26.653659
86
0.471999
[ "MIT" ]
Team-1922/OzWPILib.NET
WPILib/Buttons/ButtonSchedulers.cs
5,466
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.9 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
33.662162
135
0.721798
[ "BSD-2-Clause" ]
noblewhale/RakNetZebStyle
DependentExtensions/Swig/SwigWindowsCSharpSample/SwigTestApp/SwigFiles/AddressOrGUID.cs
4,982
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Equinor.ProCoSys.Preservation.Command.TagFunctionCommands.UpdateRequirements; using Equinor.ProCoSys.Preservation.Domain; using Equinor.ProCoSys.Preservation.Domain.AggregateModels.TagFunctionAggregate; using Equinor.ProCoSys.Pres...
45.4329
138
0.663649
[ "MIT" ]
equinor/pcs-preservation-api
src/tests/Equinor.ProCoSys.Preservation.Command.Tests/TagFunctionCommands/UpdateRequirements/UpdateRequirementsCommandHandlerTests.cs
10,497
C#
using Serveur.Controllers.Server; using Serveur.Packets; using ZeroFormatter; namespace MosaiqueServeur.Packets.ServerPackets { [ZeroFormattable] public class DoLoadRegistryKey : IPackets { public override TypePackets Type { get { return TypePackets....
20.111111
55
0.564917
[ "MIT" ]
LegionXKP/MosaiqueRAT
MosaiqueServer/Packets/ServerPackets/DoLoadRegistryKey.cs
726
C#
using System.Resources; using System.Security.Principal; using System.Security.Claims; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Moq; using Xunit; using YIF.Core.Domain.ApiModels.RequestApiModels; using YIF.Core.Domain.ApiMode...
40.129252
162
0.653162
[ "MIT" ]
ita-social-projects/YIF_Backend
YIF_XUnitTests/Unit/YIF_Backend/Controllers/InstitutionOfEducationModeratorControllerTests.cs
5,901
C#
// 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.Text; namespace Org.BouncyCastle.Crypto.Xml { internal interface ICanonicalXmlCDataSection { ...
35.3125
103
0.752212
[ "MIT" ]
EdoardoLenzi9/bc-xml-security
interfaces/CanonicalXml/ICanonicalXmlCDataSection.cs
567
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using System.IO; namespace WebDynamic { /** * Le classe Mymethods permet de récupérer les documents depuis un éxécutable. * Elle contient une méthode <mymethod...
32.738462
135
0.547932
[ "MIT" ]
kevinushaka/eiin839
TD2/WebDynamic/Mymethods.cs
2,136
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
41.833333
80
0.65239
[ "MIT" ]
richross/MYVirtualAssist
src/MTCAssistant/MTCAssistant.Tests/obj/Debug/netcoreapp3.1/MTCAssistant.Tests.AssemblyInfo.cs
1,004
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace NFCRing.UI.ViewModel.Services { public interface ITokenService { bool Ping(); /// <summary> /// Get tokens, key - hash, value - name. /// </summary> Task<Dictionary<string...
25.9
75
0.676963
[ "Apache-2.0" ]
LaudateCorpus1/Sesame
UI/NFCRing.UI.ViewModel/Services/ITokenService.cs
779
C#
using System; using System.Collections.Generic; using System.Text; namespace Workflow.Domains { /// <summary> /// 处理者 /// </summary> public interface IDealer { public Guid Id { get; } public string Name { get; } } }
16.125
35
0.589147
[ "MIT" ]
yitek/Workflow
dotnet/0.03/Workflow.Domains/IDealer.cs
264
C#
namespace Sepes.Common.Interface { public interface IRequestIdService { string GetRequestId(); } }
15.75
38
0.626984
[ "MIT" ]
equinor/sepes
src/Sepes.Common/Interface/Service/IRequestIdService.cs
128
C#
namespace PinvokeGen.Cli { public static class Program { public static void Main(string[] args) { } } }
14.1
46
0.539007
[ "MIT" ]
mjcheetham/pinvokegen
src/pinvokegen/Program.cs
143
C#
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using EasyAbp.AbpHelper.Models; using Elsa.Expressions; using Elsa.Results; using Elsa.Scripting.JavaScript; using Elsa.Services.Models; namespace EasyAbp.AbpHelper.Steps.Abp { public class ProjectInfoProviderS...
43.662338
179
0.635634
[ "MIT" ]
SanchoWalden/AbpHelper.CLI
src/AbpHelper/Steps/Abp/ProjectInfoProviderStep.cs
3,364
C#
using System; using System.Web.Mvc; using Microsoft.ApplicationInsights; namespace MyFixIt.Infrastructure { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public class AiHandleErrorAttribute : HandleErrorAttribute { public override void O...
36.666667
110
0.628409
[ "Apache-2.0" ]
dzimchuk/azure-app-insights
C#/MyFixIt/Infrastructure/AiHandleErrorAttribute.cs
882
C#
using System; namespace uri2754 { internal static class Saida8 { private static void Main() { const double x = 234.345, y = 45.698; Console.WriteLine($"{x:F6} - {y:F6}"); Console.WriteLine($"{x:F0} - {y:F0}"); Console.WriteLine($"{x:F1} - {y:F1}"...
30.857143
64
0.474537
[ "MIT" ]
filimor/uri-online-judge-c-sharp
UriOnlineJudge/Iniciante/uri2754/Saida8.cs
1,298
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace TicTacToE1 { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] sta...
22.521739
65
0.61583
[ "MIT" ]
Ash200042123/SWE-4202---OOC-I
TicTacToE1/Program.cs
520
C#
using SharpDX; namespace Engine.PathFinding.RecastNavigation.Detour.Crowds { public class ObstacleCircle { /// <summary> /// Position of the obstacle /// </summary> public Vector3 P { get; set; } /// <summary> /// Velocity of the obstacle /// </summary> ...
27.121212
59
0.510615
[ "MIT" ]
Selinux24/SharpDX-Tests
Engine.PathFinding.RecastNavigation/Detour/Crowds/ObstacleCircle.cs
897
C#
using System; using System.Diagnostics; using System.Linq; using System.Reflection; using NBehave.Hooks; using Mono.Reflection; namespace NBehave.Fluent.Framework { public enum ScenarioFragment { Given, When, Then } public class ScenarioBuilder { p...
31.987138
130
0.529152
[ "BSD-3-Clause" ]
MorganPersson/NBehave
src/NBehave.Fluent.Framework/ScenarioBuilder.cs
9,948
C#
#if !NETSTANDARD13 /* * 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 ...
39.645161
162
0.67399
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/_bcl45+netstandard/ListObjectAttributesPaginator.cs
3,687
C#
using System; namespace _08.Refactor_Volume_of_Pyramid { class Program { static void Main() { double Lenght, Width, Height = 0; Console.Write("Length: "); Lenght = double.Parse(Console.ReadLine()); Console.Write("Width: "); Width = do...
26.863636
64
0.532995
[ "MIT" ]
vankatalp360/Programming-Fundamentals-2017
Data Types and Variables-Lab/08.Refactor Volume of Pyramid/08.Refactor Volume of Pyramid.cs
593
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
43.28125
170
0.611191
[ "MIT" ]
rahodges/Amns
Amns.GreyFox.Test/Properties/Resources.Designer.cs
2,772
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime...
36.307692
217
0.697564
[ "MIT" ]
naivetang/2019MiniGame22
Unity/Assets/Model/ILBinding/System_Reflection_PropertyInfo_Binding.cs
1,888
C#
using System; using System.Diagnostics; namespace RockLib.Interop { partial class EmbeddedNativeLibrary { private class MaybeIntPtr { public MaybeIntPtr(IntPtr value) { Debug.Assert(value != IntPtr.Zero, "MaybeIntPtr.ctor(IntPtr value): value must be non...
34.137931
144
0.582828
[ "MIT" ]
RockLib/RockLib.EmbeddedNativeLibrary
RockLib.EmbeddedNativeLibrary.Shared/MaybeIntPtr.cs
992
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GraphQL.Dummy; using GraphQL.Language.AST; using GraphQL.StarWars.Types; using GraphQL.Types; using GraphQL.Utilities; using Shouldly; using Xunit; namespace GraphQL.Tests.Extensions { p...
49.746193
286
0.613878
[ "MIT" ]
Askar938/graphql-dotnet
src/GraphQL.Tests/Extensions/GraphQLExtensionsTests.cs
9,800
C#
#pragma checksum "D:\Project\C#\Chameleon\WowStuff\View\FlashlightPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "CAE74C3AC11EAD5EDCA3E6725615A702" //------------------------------------------------------------------------------ // <auto-generated> // 이 코드는 도구를 사용하여 생성되었습니다. // 런타임 버전:4.0.30319.34011 // /...
42.423529
153
0.670826
[ "MIT" ]
yookjy/Chameleon
WowStuff/obj/Release/View/FlashlightPage.g.i.cs
3,742
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using UniRx; using UnityEngine; namespace Skaillz.Ubernet.NetworkEntities { /// <summary> /// Handles sending and executing RPCs on <see cref="INetworkComponent"/>s. /// </summary> public class ...
40.170588
123
0.555865
[ "MIT" ]
SkaillZ/ubernet
Assets/Plugins/Ubernet/Scripts/Core/NetworkEntities/RpcHandler.cs
6,829
C#
using System; namespace OpenVIII { internal sealed class LSCROLLA : JsmInstruction { private IJsmExpression _arg0; private IJsmExpression _arg1; public LSCROLLA(IJsmExpression arg0, IJsmExpression arg1) { _arg0 = arg0; _arg1 = arg1; } ...
22.655172
93
0.532725
[ "MIT" ]
A-n-d-y/OpenVIII
Core/Field/JSM/Instructions/LSCROLLA.cs
659
C#
//Copyright(c) Microsoft Corporation.All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using CommandLine; using System.Reflection; using NLog; using NLog.Targets; using NLog.Config; using System.IO; namespace Microsoft.AppInspector { #region CommandLineArgOptions ...
41.315942
195
0.607058
[ "MIT" ]
PabloClon/ApplicationInspector
AppInspector/Program.cs
14,256
C#
// 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; public // Do a simple 5 dimensional Jagged array. class Simple_Array_Test { public static int Ma...
21.465753
71
0.474154
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/Directed/Arrays/simple1.cs
1,567
C#
using DotnetSpider.Extension.Model; using DotnetSpider.Extraction; using DotnetSpider.Extraction.Model.Attribute; namespace DotnetSpider.Extension.Downloader { /// <summary> /// 下载内容缓存对象 /// </summary> [Schema("crawl_cache", "cache", TableNamePostfix.Today)] public class DownloadCache : BaseEntity { /// <summ...
23.433962
58
0.657005
[ "MIT" ]
DavidAlphaFox/DotnetSpider
src/DotnetSpider.Extension/Downloader/DownloadCache.cs
1,330
C#
using NextGenSpice.Core.Devices; using NextGenSpice.Parser.Statements.Deferring; namespace NextGenSpice.Parser.Statements.Devices { /// <summary>Class for processing current controlled voltage source SPICE statements.</summary> public class CurrentControlledVoltageSourceStatementProcessor : DeviceStatementProcessor...
26.974359
109
0.702471
[ "MIT" ]
rzikm/NextGenSpice
src/NextGenSpice.Parser/Statements/Devices/CurrentControlledVoltageSourceStatementProcessor.cs
1,054
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; namespace Tests.TestFramework { [EditorBrowsable(EditorBrowsableState.Never)] public class TempDir : IDisposable { private static List<TempDir> s_Dirs = new List<TempDir>(); public TempDir() => Sy...
27.852941
102
0.587117
[ "MIT" ]
samblackburn/NetDoc
Tests/TestFramework/TempDir.cs
949
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ex...
38.297297
84
0.748765
[ "MIT" ]
terzievair/Data-Types-and-Variables---Exercises
DataTypes/ExchangeVariableValues/Properties/AssemblyInfo.cs
1,420
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OutlookApi { #region Delegates #pragma warning disable public delegate void OutlookBarGroups_GroupAddEventHandler(NetOffice.OutlookApi.OutlookBarGroup newGroup); public delegate void Outloo...
32.603175
171
0.675463
[ "MIT" ]
DominikPalo/NetOffice
Source/Outlook/Classes/OutlookBarGroups.cs
10,272
C#
using CefNet; using CefNet.Windows.Forms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Threading; using System.Windows.Forms; namespace WinFormsCoreApp { public partial class DeviceEmulatorForm : Form { privat...
26.842697
206
0.727501
[ "MIT" ]
AigioL/CefNet
WinFormsCoreApp/DeviceEmulatorForm.cs
2,391
C#
namespace Yarp.Messages { public class GetCurrentElectionTimeOutRange { } }
16
47
0.645833
[ "MIT" ]
philiplaureano/Yarp
Yarp/Yarp/Messages/GetCurrentElectionTimeOutRange.cs
98
C#
namespace HomeKitAccessory.Net { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using HomeKitAccessory.Data...
39.171657
133
0.462981
[ "MIT" ]
agaskill/homekitaccessory
HomeKitAccessory/Net/HttpConnection.cs
19,625
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Games; using Charlotte.Games.Scenarios; namespace Charlotte.Games { public class World : IDisposable { public IScenario[] Scenarios; // <---- prm public static World I = null; public World() { I = t...
14.272727
49
0.627389
[ "MIT" ]
stackprobe/G4YokoShoot
G4YokoShoot/G4YokoShoot/Games/World.cs
660
C#
using Leelite.Commons.Host; using Leelite.Core.Module; using Leelite.Modules.MessageCenter.UniPush; using Microsoft.Extensions.DependencyInjection; namespace Leelite.Modules.MessageCenter.UserClientId { public class MessageCenterUserClientIdModule : ModuleBase { public override void ConfigureServices...
27
86
0.744639
[ "MIT" ]
liduopie/LeeliteCore
src/Modules/Message/Leelite.Modules.MessageCenter.UserClientId/MessageCenterUserClientIdModule.cs
515
C#
using UnityEngine; using System.Collections; public class SwipeParticlesEmitter : MonoBehaviour { public ParticleEmitter emitter; public float baseSpeed = 4.0f; public float swipeVelocityScale = 0.001f; void Start() { if( !emitter ) emitter = GetComponent<ParticleEmitter>(); ...
30.697674
118
0.658333
[ "MIT" ]
caedmom/MMORPG
Assets/FingerGestures/Samples/Scripts/Internal/SwipeParticlesEmitter.cs
1,320
C#
namespace Gu.Wpf.PropertyGrid.Demo { using System.Windows.Controls; /// <summary> /// Interaction logic for SettingsView.xaml /// </summary> public partial class PlainSettingsView : UserControl { public PlainSettingsView() { this.InitializeComponent(); } ...
20.3125
56
0.606154
[ "MIT" ]
GuOrg/Gu.Wpf.PropertyGrid
Gu.Wpf.PropertyGrid.Demo/PlainSettingsView.xaml.cs
327
C#
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;...
23.266667
53
0.710602
[ "Apache-2.0" ]
gerinka/O4ZI
O4ZI.AdminApplication/ManageUsers.xaml.cs
700
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Wollo.Entities.ViewModels; using Wollo.Base.Entity; using System.ComponentModel.DataAnnotations; using Wollo.Base.LocalResource; namespace Wollo.Web.Models { public class IssuePointTransferDetailViewModel :BaseAuditableView...
30.068966
88
0.72133
[ "MIT" ]
umangsunarc/OTH
Wollo.Web/Models/IssuePointTransferDetailViewModel.cs
874
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.327044
246
0.619398
[ "MIT" ]
PaoloPia/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/Person.cs
7,207
C#
using System; using System.Dynamic; using static Ramda.NET.Currying; namespace Ramda.NET { internal class CurryParams : AbstractLambda { internal CurryParams(DynamicDelegate fn) : base(fn, 2) { } internal CurryParams(Delegate fn) : this(new DelegateDecorator(fn)) { } ...
35
171
0.516825
[ "MIT" ]
sagifogel/Ramda.NET
CurryParams.cs
1,577
C#
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; namespace MelonLoader.Support { public class Module : ISupportModule { public int GetActiveSceneIndex() => SceneManager.GetActiveScene().buildIndex; public object StartCoroutine(IEnumerator coroutine) => Me...
40.333333
111
0.727273
[ "Apache-2.0", "MIT" ]
kagurazakasanae/MelonLoader-YuanShen
MelonLoader.Support.Il2Cpp/SupportModule.cs
605
C#
using Dazinator.AspNet.Extensions.FileProviders; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.FileProviders.Physical; using NUnit.Framework; using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; namespace Sia...
37.348718
125
0.61774
[ "MIT" ]
drmathias/csharp-skynet
test/Sia.Skynet.Tests.Integration/SkynetWebPortalTests.cs
7,285
C#
using System; namespace evitoriav2.Net.MimeTypes { /* Copied from: * http://stackoverflow.com/questions/10362140/asp-mvc-are-there-any-constants-for-the-default-content-types */ /// <summary> /// Common mime types. /// </summary> public static class MimeTypeNames { ///<summary>U...
51.570513
493
0.698819
[ "MIT" ]
ntgentil/evitoria
aspnet-core/src/evitoriav2.Application/Net/MimeTypes/MimeTypeNames.cs
16,092
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using VideoOnDemand.Entities; namespace VideoOnDemand.Web.Models { public class GeneroViewModel { public int? GeneroId { get; set; } public string Nombre { get; set; } public string Descripcion { get; ...
24
54
0.657407
[ "Apache-2.0" ]
NestorGuemez123/BlockbusterWeb
Aplicacion/Codigo y Pruebas/VideoOnDemand/VideoOnDemand.Web/Models/GeneroViewModel.cs
434
C#
using Turbo.Events.Reports; namespace Turbo.UnitTests.Events.Reports { internal class SampleReport : SimpleReport<SampleConsumer> { protected override SampleConsumer CreateConsumerInstance(string source) { return new SampleConsumer(); } public override v...
22.1
80
0.588235
[ "Unlicense" ]
mikalai-kardash/Turbo
src/Turbo.UnitTests/Events/Reports/SampleReport.cs
444
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Emulation { /// <summary> /// Switches script execution in the page. /// </summary> [CommandResponse(ProtocolName.Emulation.SetScriptExecutionDisabled)] [Supp...
23.705882
69
0.796526
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/Chrome/Emulation/SetScriptExecutionDisabledCommandResponse.cs
403
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 09.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
26.262774
142
0.530573
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete/NullableDecimal/NullableInt64/TestSet_504__param__02__VN.cs
3,600
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Yale.Tests.Theory { [TestClass] public class Emit { private const string Key = "Hei"; private const string Value = "Hello"; ...
34.966102
138
0.61779
[ "MIT" ]
eskaufel/Yale
test/Yale.Tests/Theory/EmitDelegate.cs
4,128
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Threading.Tasks; using System.Web; using CsvHelper; using Resgrid.Framework; using Resgrid.Model; using Resgrid.Model.Providers; using Resgrid.Provider...
27.317181
284
0.651347
[ "Apache-2.0" ]
Resgrid/core
Providers/Resgrid.Providers.Number/TextMessageProvider.cs
12,404
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// koubei.catering.dish.material.modify /// </summary> public class KoubeiCateringDishMaterialModifyRequest : IAlipayRequest<KoubeiCateringDishMaterialModifyResponse> ...
23.608696
115
0.540823
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/KoubeiCateringDishMaterialModifyRequest.cs
3,282
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Wing.Configuration; using Wing.ServiceProvider; namespace Wing.Consul { public class IntervalConsulProvider : IDiscoveryServiceProvider, IDisposable { private List<Service> _s...
30.777778
167
0.587932
[ "MIT" ]
PingPongBoy/Wing
src/Wing.Consul/IntervalConsulProvider.cs
1,941
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IElasticsearchDomainCognitoOptions), fullyQualifiedName: "aws.ElasticsearchDomainCognitoOptions")] public interface IElasticsearchDomainCognitoOptions { [JsiiProperty(na...
30.944444
140
0.547127
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IElasticsearchDomainCognitoOptions.cs
2,228
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.609195
153
0.577881
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsErfCRequest.cs
3,011
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.XR.ARFoundation; using UnityEngine.XR.ARSubsystems; public class RayCastVisualizer : MonoBehaviour { public GameObject CursorPrefab; public Pose? Pose => _pose; private GameObject _cursor; private LayerMask _mas...
27.930556
109
0.612133
[ "Apache-2.0" ]
brookman/mobile-ar-public
projects/2-Heli-Rescue-Exercises/Assets/Scripts/Setup/RayCastVisualizer.cs
2,013
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
36.166667
152
0.563134
[ "Apache-2.0" ]
ismailelghazi/ado.net
TP/TP/Properties/Settings.Designer.cs
1,087
C#
using Ryujinx.Common; using Ryujinx.Common.Logging; using Ryujinx.Common.Memory; using Ryujinx.Cpu; using Ryujinx.HLE.HOS.Applets; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Kernel.Common; using Ryujinx.HLE.HOS.Services.SurfaceFlinger; using Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService; using...
36.778947
165
0.597768
[ "MIT" ]
2579768776/Ryujinx
Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs
17,470
C#
using System; using System.Collections.Generic; using System.Reflection.PortableExecutable; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AlgoTest.LeetCode.Minimum_Operations_to_Make_Array_Equal { [TestClass] public class Minimum_Operations_to_Make_Array_Equal { ...
27.270833
69
0.510313
[ "MIT" ]
sagasu/Algo-DataStructures
AlgoTest/LeetCode/Minimum Operations to Make Array Equal/Minimum Operations to Make Array Equal.cs
1,311
C#
using UIKit; namespace PhotoPicker { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. ...
24.5625
91
0.592875
[ "MIT" ]
program12017/DesarrolloiOS611
Segundo Parcial/Practicas/PhotoPicker/PhotoPicker/Main.cs
395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Numerics; namespace CharacterMultiplier { class CharacterMultiplier { static BigInteger CharSum(string[] input) { int[] firstArraySum = input[0].Select(c...
31.75
104
0.517868
[ "MIT" ]
MustafaAmish/All-Curses-in-SoftUni
02. Tech Module/Programming Fundamentals/24. Strings and Text Processing - Exercises/Strings and Text Processing - Exercises/CharacterMultiplier/CharacterMultiplier.cs
1,653
C#
namespace PivotalTrackerDotNet.Domain { public enum ProjectRole { Owner, Member, Viewer, Inactive } }
14.6
38
0.554795
[ "MIT" ]
Charcoals/PivotalTracker.NET
PivotalTrackerDotNet/Domain/ProjectRole.cs
148
C#
using System; using System.Collections.Generic; using System.Linq; using RomanticWeb.Converters; using RomanticWeb.Dynamic; using RomanticWeb.Entities; using RomanticWeb.Entities.ResultAggregations; using RomanticWeb.LightInject; using RomanticWeb.Mapping; using RomanticWeb.Mapping.Conventions; using RomanticWeb.Mappi...
43.907216
149
0.689598
[ "BSD-3-Clause" ]
MakoLab/RomanticWeb
RomanticWeb/ComponentModel/InternalComponentsCompositionRoot.cs
4,261
C#
/* * OpenDoc_API-文档访问 * * API to access AnyShare 如有任何疑问,可到开发者社区提问:https://developers.aishu.cn # Authentication - 调用需要鉴权的API,必须将token放在HTTP header中:\"Authorization: Bearer ACCESS_TOKEN\" - 对于GET请求,除了将token放在HTTP header中,也可以将token放在URL query string中:\"tokenid=ACCESS_TOKEN\" * * The version of the OpenAPI do...
41.243094
470
0.522304
[ "MIT" ]
ArtyDinosaur404/AnyShareSDK
AnyShareSDK/Model/MessageGetResMsgType5.cs
17,128
C#
// // AsyncTests.Framework.NotWorkingAttribute // // Authors: // Martin Baulig (martin.baulig@gmail.com) // // Copyright 2012 Xamarin Inc. (http://www.xamarin.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "S...
35.595238
73
0.749833
[ "Apache-2.0" ]
DavidAlphaFox/mac-samples
CFNetwork/AsyncTests.Framework/AsyncTests.Framework/NotWorkingAttribute.cs
1,495
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
33.422222
101
0.700798
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Transport/Channels/IChannelComparer.cs
1,506
C#
using System; namespace funktio_task4 { class Program { static void Main(string[] args) { Console.WriteLine("Syötä kymmenen positiivista kokonaislukua. Ohjelma palauttaa suurimman: "); Console.WriteLine($"{highNumber()}"); Console.ReadKey(); } ...
24.530612
106
0.375208
[ "MIT" ]
amanndajosefiina/programming-basics
Functions/function tasks/funktio task4/Program.cs
1,215
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Processor", menuName = "ScriptableObjects/New Processor", order = 1)] public class Processor : Item { public Material material; public float clockSpeedBoost; public float detectionRangeBoost; ...
31.6
112
0.729114
[ "MIT" ]
Joymg/CP2122_Grupo4
Assets/Scripts/Processor.cs
790
C#
using System.Collections.Generic; using System.Security.Claims; namespace CustomerContact { public class GraphQLUserContext : Dictionary<string, object> { public ClaimsPrincipal User { get; set; } } }
21.1
62
0.758294
[ "Apache-2.0" ]
lasse1979/customer-contact-service
src/GraphQLUserContext.cs
211
C#
/* * Copyright 2010-2014 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 "l...
53.624476
191
0.659377
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/OpsWorksCM/Generated/_bcl35/AmazonOpsWorksCMClient.cs
76,683
C#
using System.Collections.Generic; using Newtonsoft.Json; using Alipay.AopSdk.Core.Domain; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayMarketingCardBenefitQueryResponse. /// </summary> public class AlipayMarketingCardBenefitQueryResponse : AopResponse { /// <summary> /// 会员卡模板外部权益列表...
25
80
0.743158
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Response/AlipayMarketingCardBenefitQueryResponse.cs
497
C#
using Assets.Scripts; using System.Collections; using System.Collections.Generic; using UnityEngine; public class eOrcWarrior : Enemy { public float timeBtwCharge; public float startTimeBtwCharge; public float attackRange; [SerializeField] public const float ChargeForce = 3; private int layerMask...
31.971154
162
0.591579
[ "MIT" ]
Clovisindo/Unity2dRogueLike
Assets/Scripts/Entities/Enemies/eOrcWarrior.cs
3,327
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace WorldMapStrategyKit { public class DemoLoadSave : MonoBehaviour { /// <summary> /// Here we'll store the data - you can save these strings to file or database (ie. System.IO.File.WriteAllText(path, countryGeoData) /// </summary> string ...
32.81203
206
0.695005
[ "CC0-1.0" ]
lelehappy666/Refugees
Refugees/Assets/PlugInPackage/WorldMapStrategyKit/Demos/General Examples/104 Loading and Saving/DemoLoadSave.cs
4,364
C#
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Adv { public...
30.123288
133
0.638472
[ "MIT" ]
aschweiz/ADVLib
Helpers.cs
2,201
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.ComponentModel; using System.Drawing.Design; using System.Drawing; using System.Threading; using NET.Tools.Forms.Frames; namespace NET.Tools.Forms { /...
31.55814
110
0.538443
[ "Apache-2.0" ]
CHiiLD/net-toolkit
NET.Tools.Forms.Controls/OpenPictureDialog.cs
4,073
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace TrackMyStuff.ApiGateway.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "DeviceStatus"...
29.333333
73
0.540909
[ "MIT" ]
stonemonkey/TrackMyStuff
src/TrackMyStuff.ApiGateway/Migrations/20191225134754_Initial.cs
882
C#
using UnityEngine; public class DemoVikingMover : MonoBehaviour { Vector3 from = new Vector3(-2.5f, 0, 0); Vector3 to = new Vector3(2.5f, 0, 0); Vector3 previous; Quaternion rotation; void Start() { previous = transform.position; } void Update() { previous = transf...
27.954545
97
0.653659
[ "Unlicense", "MIT" ]
Amitkapadi/unityassets
CombatText/Assets/BattleText/Demo/Scripts/DemoVikingMover.cs
615
C#
namespace MakingDotNETApplicationsFaster.Runners.Models { public struct StructWithRefTypeAndOverridenEquals { public int Age { get; set; } public int Height { get; set; } public string Name { get; set; } public override bool Equals(object obj) { if (!(obj is ...
26.678571
84
0.566265
[ "MIT" ]
Ky7m/DemoCode
MakingDotNETApplicationsFaster/MakingDotNETApplicationsFaster/Runners/Models/StructWithRefTypeAndOverridenEquals.cs
747
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; #pragma warning disable 1591 namespace S...
30.021277
99
0.690291
[ "MIT" ]
AzyIsCool/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PipelineViewportCoarseSampleOrderStateCreateInfoNV.gen.cs
1,411
C#
#if __IOS__ || __ANDROID__ using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace Windows.UI.Xaml.Controls { partial class ItemsPresenter : ILayoutOptOut { public bool ShouldUseMinSize => !(_itemsPanel is NativeListViewBase); } } #endif
19
71
0.775439
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/Controls/ItemsControl/ItemsPresenter.iOSAndroid.cs
287
C#
using System; using System.Security; using System.Runtime.InteropServices; namespace OpenNISharp2.Native { #pragma warning disable 169 internal unsafe struct ushort_array10 { internal static readonly int Size = 10; fixed ushort _[10]; public ushort this[uint i] ...
41.643478
135
0.540823
[ "MIT" ]
rational-core/OpenNISharp2
OpenNISharp2/Native/OniCAPI.arrays.g.cs
4,789
C#
using UnityEngine; using UnityEditor; using System.Collections; public class PlayerPrefsMenu : MonoBehaviour { [MenuItem( "Playerprefs/Delete All" )] public static void DeleteAll() { PlayerPrefs.DeleteAll(); } }
16.923077
44
0.754545
[ "MIT" ]
thatgamesguy/bounce
bounce/Assets/Bouce/Editor/PlayerPrefsMenu.cs
222
C#
using System; using System.Collections.Generic; using System.Text; namespace MilitaryElite.Models { public interface ISpy { int CodeNumberOfSpy { get; } } }
14.833333
36
0.691011
[ "MIT" ]
tonkatawe/SoftUni-Advanced
OOP/Interfaces and Abstraction - Exercise/MilitaryElite/Interfaces/ISpy.cs
180
C#
// ReSharper disable All namespace OpenTl.Schema.Photos { using System; using System.Collections; using OpenTl.Schema; public interface IPhotos : IObject { OpenTl.Schema.TVector<OpenTl.Schema.IPhoto> Photos {get; set;} OpenTl.Schema.TVector<OpenTl.Schema.IUser> Users {get; set;} } ...
17.888889
69
0.686335
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/Photos/Photos/IPhotos.cs
324
C#
#region License /* Copyright © 2014-2022 European Support Limited 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 a...
31.5
129
0.728716
[ "Apache-2.0" ]
FOSSAware/Ginger
Ginger/Ginger/Actions/ActionEditPages/ActUIALabelEditPage.xaml.cs
1,387
C#
/**************************************************************** Copyright 2021 Infosys Ltd. Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at http://www.apache.org/licenses/ ***************************************************************/ using System; u...
43.572632
333
0.602551
[ "Apache-2.0" ]
Infosys/Script-Control-Center
ScriptDevelopmentTool/Infosys.ATR.WinUIAutomationRuntimeWrapper/Application.cs
20,699
C#
using UnityEngine; using System.IO; using System.Collections; using System.Collections.Generic; using System; using System.ComponentModel; using ES3Types; using ES3Internal; public abstract class ES3Reader : System.IDisposable { /// <summary>The settings used to create this reader.</summary> public ES3S...
34.454148
203
0.696958
[ "MIT" ]
TrutzX/9Nations
Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs
15,782
C#
//Skapad av Emil Hallin för en C# kurs år 2018. Created by Emil Hallin for a C# course in 2018. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Data; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syst...
37.600536
235
0.528414
[ "MIT" ]
Frauxo/Personnummergranskare
L0002B Inl 3/personnummergranskare.cs
14,116
C#
using PHP.Core.Lang.Lexic.Token; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PHP.Core.Lang.Syntax.AST.Basic { public class ASTUnaryNode : ASTContainerNode { public ASTNode operand; public ASTUnaryNode...
27.473684
110
0.657088
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
LoveNek0/PHPSharp
php-core/src/Core/Lang/Syntax/AST/Basic/ASTUnaryNode.cs
524
C#
using LiteDB; using Moq; using NUnit.Framework; using Playnite; using Playnite.Database; using Playnite.Models; using Playnite.Settings; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PlayniteTests.Database ...
37.030769
103
0.567511
[ "MIT" ]
kingkong1946/Playnite
source/PlayniteTests/Database/GameDatabaseFileTests.cs
2,409
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //-------------------------------------------------...
40.932432
177
0.585342
[ "MIT" ]
koichi210/CS_Form
ToyingFile/ToyingFile/Properties/Resources.Designer.cs
3,735
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Xunit; #if CAP_TypeOfPointer namespace ManagedTests.DynamicCSharp.Conformance.dynamic.unsfe.PointegeregererOperator.arrayaccess01.arrayaccess01 { using Mana...
25.799107
131
0.589894
[ "MIT" ]
690486439/corefx
src/System.Dynamic.Runtime/tests/Dynamic.Unsafe/Conformance.dynamic.unsafe.PointerOperator.cs
5,779
C#
using System.Collections.Generic; using Ascentis.Infrastructure.DataPipeline.SourceAdapter.Utils; namespace Ascentis.Infrastructure.DataPipeline { public interface ISourceAdapter<TRow> : IAdapter { public event DataPipeline<TRow>.RowErrorDelegate OnSourceAdapterRowReadError; public bool AbortO...
35.347826
85
0.686347
[ "MIT" ]
Ascentis/Infrastructure
Ascentis.Infrastructure/DataPipeline/ISourceAdapter.cs
815
C#
// 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 System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspN...
35.0682
133
0.646797
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs
42,680
C#
using DancingGoat.Models; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; using System; using System.Linq; using System.Net.Http; namespace DancingGoat.ViewComponents { public class TweetViewComponent : ViewComponent { private static readonly HttpClient Client = new() { Timeout = TimeSpan....
36.514286
110
0.655712
[ "MIT" ]
ArunWadhwagit/test1
DancingGoat/ViewComponents/TweetViewComponent.cs
1,280
C#
/* Copyright 2011 Michael Edwards 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 to ...
37.880478
169
0.535759
[ "Apache-2.0" ]
akatakritos/Glass.Sitecore.Mapper
Source/Glass.Sitecore.Mapper/Context.cs
9,510
C#
namespace OpenVIII.Fields.Scripts.Instructions { /// <summary> /// Set Card? Card ID and NPC? /// </summary> /// <see cref="http://wiki.ffrtt.ru/index.php?title=FF8/Field/Script/Opcodes/15E_SETCARD&action=edit&redlink=1"/> public sealed class SetCard : JsmInstruction { #region Fields ...
27.73913
130
0.579154
[ "MIT" ]
Sebanisu/OpenVIII
Core/Field/JSM/Instructions/SetCard.cs
1,278
C#