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
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
42.059055
319
0.544978
[ "MIT" ]
3quanfeng/azure-powershell
src/CloudService/generated/runtime/PipelineMocking.cs
10,430
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
49.690501
213
0.677966
[ "MIT" ]
Lukas1v/fhir-server
test/Microsoft.Health.Fhir.Shared.Tests.Integration/Persistence/FhirStorageTests.cs
48,649
C#
namespace Animals { public class Dog : Animal { public Dog(string name, int age, string gender) : base(name, age, gender) { } public override string ProduceSound() { return "Woof!"; } } }
17.466667
81
0.503817
[ "MIT" ]
NIKONaaaaa/Basic
04OOP/01InheritanceExercise/Animals/Dog.cs
264
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Complex.Logger.Model; namespace Complex.Logger.Interface { public interface IJobLogger { void Log(string message, LogLevel logLevel); } }
18
52
0.734127
[ "MIT" ]
otro34/complexlogger
Complex.Logger/Interface/IJobLogger.cs
254
C#
using System; using NumericalGeometryLib.BasicMath; using NumericalGeometryLib.BasicMath.Matrices; using NumericalGeometryLib.BasicMath.Tuples; using NumericalGeometryLib.BasicMath.Tuples.Immutable; using TextComposerLib.Text.Linear; namespace GraphicsComposerLib.WebGl.Xeogl.Transforms { public sealed class Xeogl...
31.556561
93
0.537138
[ "MIT" ]
ga-explorer/GeometricAlgebraFulcrumLib
GraphicsComposerLib/GraphicsComposerLib.WebGl/Xeogl/Transforms/XeoglQRotateTransform.cs
6,976
C#
/* * Copyright (c) 2018, FusionAuth, All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
27.588235
71
0.722814
[ "Apache-2.0" ]
FusionAuth/fusionauth-netcore-client
fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/IntrospectResponse.cs
938
C#
using GameInterface.Cells; using MCTProcon29Protocol.Methods; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace GameInterface { public class GameData { public byte FinishTurn { get; set; } = 60; p...
39.185185
132
0.486767
[ "MIT" ]
mct-procon/procon2018-Interface
GameInterface/GameInterface/GameData.cs
7,538
C#
#if UNITY_EDITOR || UNITY_SWITCH using System; using System.Runtime.InteropServices; using UnityEngine.Experimental.Input.Controls; using UnityEngine.Experimental.Input.Layouts; using UnityEngine.Experimental.Input.LowLevel; using UnityEngine.Experimental.Input.Plugins.Switch.LowLevel; using UnityEngine.Experimental.In...
37.073846
159
0.607312
[ "MIT" ]
ToadsworthLP/Millenium
Library/PackageCache/com.unity.inputsystem@0.2.6-preview/InputSystem/Plugins/Switch/NPad.cs
24,098
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Xamarin.Test { // Metadata.xml XPath class reference: path="/api/package[@name='xamarin.test']/class[@name='SomeObject']" [global::Android.Runtime.Register ("xamarin/test/SomeObject", DoNotGenerateAcw=true)] public...
36.94359
135
0.722238
[ "MIT" ]
dphamsafetrust/java.interop
tests/generator-Tests/expected.ji/Arrays/Xamarin.Test.SomeObject.cs
7,204
C#
using System; using System.IO; using System.IO.Compression; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using System.Windows.Forms; using Server; using VenomRAT_HVNC.Server.Helper; namespace VenomRAT_HVNC.Server.Forms { public partial class FormCertificate : Form { ...
41.5
169
0.500861
[ "Unlicense" ]
GitPlaya/Venom5-HVNC-Rat
VenomRAT_HVNC/Server/Forms/FormCertificate.cs
3,486
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System.Runtime.Serialization; namespace Microsoft.WindowsAzurePack.Samples.DataContracts { /// <summary> /// Type o...
25.294118
75
0.488372
[ "MIT" ]
Bhaskers-Blu-Org2/Phoenix
CMP/CmpWap/ApiClients/DataContracts/ResourceProviderType.cs
862
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.Core.Test { using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Microsoft.Azure.Devices.Edge.Hub.CloudProxy; using Microsoft.Azure.Devices.Edge.Hub.Core.D...
50.658879
204
0.6516
[ "MIT" ]
CIPop/iotedge
edge-hub/test/Microsoft.Azure.Devices.Edge.Hub.Core.Test/EdgeHubConnectionTest.cs
10,841
C#
namespace Correlation.Contexts { /// <summary> /// Class that contains information about correlation context. /// </summary> public sealed class CorrelationContext { /// <summary> /// Create instance of <see cref="CorrelationContext" />. /// </summary> intern...
26.789474
67
0.561886
[ "MIT" ]
DoctorOnline/Correlation
Correlation/Contexts/CorrelationContext.cs
511
C#
/* * Copyright 2020 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 "licens...
35.534091
138
0.651743
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/SubnetAlreadyInUseExceptionUnmarshaller.cs
3,127
C#
/* Copyright (C) 2018 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using IBApi; namespace ...
24.074627
128
0.531308
[ "MIT" ]
ryanclouser/ibdata
IBData/messages/AccountUpdateMultiMessage.cs
1,615
C#
using System; namespace Stockpile.Public.Sdk.Models { public class StockKey { public Guid StockId { get; set; } public string Key { get; set; } } }
17.7
41
0.60452
[ "MIT" ]
aluitink/stockpile
Stockpile.Public.Sdk/Models/StockKey.cs
179
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 Microsoft.Diagnostics.NETCore.Client; using Microsoft.Internal.Common.Utils; using Microsoft.Tools.Common; us...
48.946176
496
0.535942
[ "MIT" ]
danmosemsft/diagnostics
src/Tools/dotnet-trace/CommandLine/Commands/CollectCommand.cs
17,280
C#
<<<<<<< HEAD <<<<<<< HEAD // // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // ======= ======= >>>>>>> update form orginal repo #region Copyright // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c...
38.239006
170
0.615781
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Providers/FolderProviders/Components/BaseRemoteStorageProvider.cs
20,004
C#
// 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. namespace Steeltoe.Security.DataProtection.CredHub { public class RsaGenerationRequest : CredHubGenerate...
47.833333
177
0.680314
[ "Apache-2.0" ]
Chatina73/steeltoe
src/Security/src/DataProtection.CredHubBase/Credentials/RSA/RsaGenerationRequest.cs
1,150
C#
namespace UnityAtoms { public class BoolListener : GameEventListener<bool, BoolAction, BoolEvent, UnityBoolEvent> { } }
24.8
98
0.774194
[ "MIT" ]
AKOM-Studio/unity-atoms
Source/Bool/BoolListener.cs
124
C#
// Mico C# reference source // Copyright (c) 2020-2020 COMCREATE. All rights reserved. using UnityEngine; namespace Mico.Context { public abstract class MonoInstaller : MonoBehaviour, IInstaller { public abstract void InstallRegisters(DiContainer container); } }
23.666667
69
0.735915
[ "MIT" ]
ToshikiImagawa/MICO
Assets/Mico/Context/Scripts/Runtime/MonoInstaller.cs
284
C#
using System; using System.Security.Claims; using DotNetCqs.DependencyInjection; namespace DotNetCqs.MessageProcessor { public class InvokingHandlerEventArgs : EventArgs { public InvokingHandlerEventArgs(IHandlerScope scope, object handler, Message message) { Scope = scope ?? throw...
31.210526
93
0.596965
[ "Apache-2.0" ]
jgauffin/dotnetcqs
src/DotNetCqs/MessageProcessor/InvokingHandlerEventArgs.cs
1,188
C#
using NUnit.Framework; using DragonchainSDK.Credentials; namespace DragonchainSDK.Tests { [TestFixture] public class CredentialServiceUnitTests { [Test] public void GetAuthorizationHeader_Test() { var credentialService = new CredentialService("testId", "key", "keyId"); ...
38.55
124
0.667964
[ "Apache-2.0" ]
FitzyCodesThings/dragonchain-sdk-dotnetstandard
dragonchain-sdk.tests/CredentialServiceUnitTests.cs
773
C#
namespace BeUtl.Commands; public sealed class RemoveCommand<T> : IRecordableCommand { public RemoveCommand(IList<T> list, T item) { List = list; Item = item; Index = list.IndexOf(Item); } public IList<T> List { get; } public T Item { get; } public int Index { get; pr...
16.323529
57
0.538739
[ "MIT" ]
YiB-PC/BeUtl
src/BeUtl.Core/Commands/RemoveCommand{T}.cs
557
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...
25.957143
103
0.609796
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Kafka/Generated/Model/StateInfo.cs
1,817
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CanvasColorSwitcher : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
16
52
0.634868
[ "MIT" ]
Scott-Natter/ColorRunner
Assets/Level/CanvasColorSwitcher.cs
306
C#
// Licensed to Elasticsearch B.V under // one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Diagnostics; using Elastic.Apm.Api; using Elastic.Apm.Helpers; using Elastic.Apm.Libraries.Ben.Dem...
32.571429
124
0.741228
[ "Apache-2.0" ]
SebastienDegodez/apm-agent-dotnet
src/Elastic.Apm/Filters/SpanStackTraceCapturingFilter.cs
1,824
C#
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using mshtml; namespace Xamarin.Cr...
35.994681
108
0.607507
[ "MIT" ]
Bhaskers-Blu-Org2/workbooks
Clients/CrossBrowser/Xamarin.CrossBrowser.Wpf/WrappedObject.cs
6,767
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using GSoft.Dynamite.Fields; using GSoft.Dynamite.ValueTypes; using Microsoft.Office.DocumentManagement; using Microsoft.SharePoint; namespace GSoft.Dynamite.ValueTypes.Write...
40.921053
147
0.640836
[ "MIT" ]
NunoEdgarGFlowHub/Dynamite
Source/GSoft.Dynamite/ValueTypes/Writers/PrincipalValueWriter.cs
3,112
C#
using System.Collections.Generic; using System.Security.Claims; namespace JN.Authentication.HelperClasses { public class ChallengeResult { public int StatusCode { get; set; } public string TextToWriteOutput { get; set; } public string ContentType { get; set; } } public clas...
23.8
54
0.640336
[ "MIT" ]
jlnovais/JN.Authentication
JN.Authentication/HelperClasses/Results.cs
597
C#
#if WITH_EDITOR #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { /// <summary>Represents the appearance of an SCheckBox</summary> [StructLayout(LayoutKind.Explicit,Size=1616)] public partial struct FCheckBoxStyle { /// <summary...
37.666667
132
0.772124
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FCheckBoxStyle.cs
2,712
C#
using System.Collections.Generic; using System.Net; namespace Elysium { /// <summary> /// A response from an API call that includes the deserialized object instance. /// </summary> public interface IApiResponse<out T> { /// <summary> /// Object deserialized from the JSON response b...
26.06383
103
0.549388
[ "MIT" ]
ElysiumLabs/Elysium-Client
Source/Elysium.Service.Client/Http/IResponse.cs
1,227
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
55.762376
671
0.684659
[ "MIT" ]
BillChen2K/LearningRepo
Course/ComputerGraphics/Work2/第二次作业/SharpDX-Samples-master/SharpDX-Samples-master/Desktop/DirectWrite/CustomFont/ResourceFontFileStream.cs
5,634
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using osu.Framework.Logging; using System.Collections.Generic;...
35.225681
159
0.528333
[ "MIT" ]
HoutarouOreki/osu-framework
osu.Framework/Testing/DynamicClassCompiler.cs
8,797
C#
namespace Gliber { using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using static Newtonsoft.Json.Linq.JObject; internal class SelectivePropertiesJsonConverter<TSrc> :JsonConverter { private readonly IEnumerable<string> selectedProperties; ...
28.020833
124
0.590335
[ "MIT" ]
goldytech/Gliber
src/Gliber/SelectivePropertiesJsonConverter.cs
1,347
C#
using blazor_inlineEditor.CustomAnnotations; using System; using System.ComponentModel.DataAnnotations; namespace blazor_inlineEditor.Models { public class User { [Required(ErrorMessage = "Please enter Name")] public string Name { get; set; } [LessThanCurrentDate(ErrorMessage = "Pleas...
29.390244
80
0.624896
[ "MIT" ]
hiiammalte/blazor_InlineEditor
blazor_inlineEditor/Models/User.cs
1,207
C#
/* * Copyright (c) Contributors, http://aurora-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
42.518135
119
0.569827
[ "BSD-3-Clause" ]
BillyWarrhol/Aurora-Sim
Aurora/Services/DataService/Connectors/Local/LocalRegionConnector.cs
8,206
C#
using SRFS.Model.Clusters; using System; using System.Security.AccessControl; using System.Security.Principal; using System.IO; namespace SRFS.Model.Data { public class SrfsAccessRule : IEquatable<SrfsAccessRule> { // Public #region Constructors public SrfsAccessRule(FileSystemObjectTyp...
35.322581
143
0.621689
[ "MIT" ]
BadCodebot/SRFS2
SRFS.Model/Data/SrfsAccessRule.cs
4,382
C#
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelloMonoGame.Entities { class Player : IEntity, ICollidable { public string Name { get; set; } public Vector3 Position { get; set; } ...
22.911765
52
0.607189
[ "MIT" ]
antopilo/monovoxl
World/Entities/Player.cs
781
C#
using System; namespace AlgorithmVisualizer.DataStructures.BinaryTree { static class BinaryTreeTests { // A class to test BinarySearchTree, TreeUtils public static void RunTests() { BinarySearchTree<int> BST = new BinarySearchTree<int>(); int[] vals = new int[] { 3, 1, 5, 0, 2, 4, 6 }; //int[] vals...
41.15
96
0.647631
[ "MIT" ]
garbagemeal/algorithm-visualizer
AlgorithmVisualizer/DataStructures/BinaryTree/BinaryTreeTests.cs
2,471
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("Sy...
36.517241
84
0.745987
[ "MIT" ]
Myfreedom614/UWP-Samples
SymbolResourceUWPApp1/SymbolResourceUWPApp1/Properties/AssemblyInfo.cs
1,062
C#
 namespace Windows.Bits { /// <summary> /// Priority of the transfer job. /// </summary> public enum DownloadPriority { /// <summary> /// Transfers the job in the foreground /// </summary> Foreground = 0, /// <summary> /// Transfers the job in the background. This is the highest background /// pri...
19.727273
74
0.614439
[ "MIT" ]
MobileEssentials/Windows.Bits
src/Windows.Bits/DownloadPriority.cs
653
C#
using System; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using GitIssue.Exceptions; using GitIssue.Issues; using GitIssue.Issues.Json; using GitIssue.Values; using Newtonsoft.Json; namespace GitIssue.Fields { /// <summary> /// FieldInfo Class /// </summary> [Json...
30.340206
94
0.515121
[ "MIT" ]
lennoncork/GitIssue
src/GitIssue/Fields/FieldInfo.cs
5,888
C#
using Bridge.Test.NUnit; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Bridge.ClientTest.Batch3.BridgeIssues { /// <summary> /// This is an extraction of Dotnet sources for Sorted List, which /// was failing with Bridge. As ...
37.092019
134
0.456522
[ "Apache-2.0" ]
AndreyZM/Bridge
Tests/Batch3/BridgeIssues/3500/N3599.cs
39,503
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.858824
153
0.57543
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsVar_SRequest.cs
2,963
C#
using IITAcademicAutomationSystem.Areas.One; using IITAcademicAutomationSystem.DAL; using IITAcademicAutomationSystem.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; ...
33.963636
104
0.565578
[ "MIT" ]
JobayerAhmmed/IITAcademicAutomationSystem
IITAcademicAutomationSystem/Global.asax.cs
3,738
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("10_...
37.675676
84
0.748207
[ "MIT" ]
Brankovanov/SoftUniCourses
1.ProgrammingBasics/complexConditions/10_AnimalType/Properties/AssemblyInfo.cs
1,397
C#
using System; using System.Net; using System.Net.Sockets; using System.Text; namespace simple_tcp_repeater_net { class Program { static void Main(string[] args) { TcpListener server = null; try { IPAddress iPAddress = IPAddress.Parse("127.0.0...
32.242857
78
0.383695
[ "MIT" ]
jrcs3/Frakenapp-01
dotnet-apps/simple-tcp-repeater-net/Program.cs
2,259
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("Fac...
37.837838
84
0.749286
[ "MIT" ]
Bhaskers-Blu-Org2/BusinessPlatformApps
Functions/Code/Facebook/FacebookUtillity/Properties/AssemblyInfo.cs
1,403
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("Be...
37.972973
84
0.746619
[ "MIT" ]
mattchamb/Construct.NET
BenchmarkProgram/Properties/AssemblyInfo.cs
1,408
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Xorcerer.Wizard.Network")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("...
35.5
82
0.744467
[ "MIT" ]
Xorcerer/Wizard
Wizard/AssemblyInfo.cs
994
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CorvEngine.Scenes { /// <summary> /// Contains the properties for this level. /// </summary> public class LevelProperty { // TODO: This should be ComponentArgument integrated somehow, // so as to allow us to gener...
22.84375
75
0.662107
[ "MIT" ]
Kapps/Corvus
Corvus/CorvEngine/Scenes/LevelProperty.cs
733
C#
using GameScreen.Viewmodel; namespace GameScreen.Location { public class NewRelatedLocationViewmodel: ViewModelBase { private string _name; private string _id; public delegate NewRelatedLocationViewmodel Factory(string id, string name); public NewRelatedLocationViewmodel(stri...
23.172414
84
0.561012
[ "MIT" ]
zerotwooneone/GameScreen
GameScreen/Location/NewRelatedLocationViewmodel.cs
674
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace What_time_is_it { class Program { static void Main(string[] args) { // Variable of DateTime type, at first empty DateTime now; // S...
20.62963
65
0.567325
[ "MIT" ]
balee323/CSharp_for_abs_beginners
csharp-programming-for-absolute-begs/Chapter 05/1 What time is it/What time is it/Program.cs
559
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Datadog.Trace.ClrProfiler.Emit; using Datadog.Trace.ClrProfiler.Helpers; using Datadog.Trace.Configuration; using Datadog.Trace.DuckTyping; using Datadog.Trace.Headers; using Datadog.Trace.Logg...
40.798507
159
0.583074
[ "Apache-2.0" ]
link04/dd-trace-dotnet
src/Datadog.Trace.ClrProfiler.Managed/Integrations/HttpMessageHandlerIntegration.cs
16,401
C#
namespace WebBrowser { partial class HomePageForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
60.606061
187
0.67
[ "MIT" ]
dimartinot/Web-Browser-in-C-Sharp
WebBrowser/HomePageForm.Designer.cs
12,002
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AspNetCore.VersionInfo.Providers { public class EnvironmentVariablesProvider : IInfoProvider { public string Name => nameof(EnvironmentVariablesProvid...
25.148148
85
0.65243
[ "Apache-2.0" ]
salem84/AspNetCore.VersionInfo
src/AspNetCore.VersionInfo/Providers/EnvironmentVariablesProvider.cs
681
C#
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 Capture_Tool { public partial class AddCaption : Form { public A...
19.609756
61
0.543532
[ "MIT" ]
shaji007/Capture-Tool
Capture Tool/AddCaption.cs
806
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
38.128713
151
0.612308
[ "Apache-2.0" ]
andymac4182/MassTransit
src/MassTransit.AutomatonymousIntegration/Configuration/SubscriptionConnectors/StateMachineConnector.cs
3,853
C#
/* * MailSlurp API * * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) ...
28.75
472
0.541848
[ "MIT" ]
mailslurp/mailslurp-client-csharp
src/mailslurp.Test/Model/WebhookResultDtoTests.cs
5,520
C#
// // CalendarInfo.cs // // Author: responsive kaysta // // Copyright (c) 2017 responsive kaysta // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without ...
28.90027
126
0.69847
[ "MIT" ]
injekt666/InMemoryLoaderCommon
Obsolete.PowerUpUtils/PowerUpDateTimeUtils/CalendarInfo.cs
10,737
C#
using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Abp.Extensions; using Abp.Reflection.Extensions; namespace HeProject.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot> _configurationCache...
33.708333
133
0.630408
[ "MIT" ]
hemiaoio/abp-alain
aspnet-core/src/HeProject.Core/Configuration/AppConfigurations.cs
1,620
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace CryptoKitties.Net.Website.Data.Migrations { public partial class CreateIdentitySchema : Migration { p...
42.086364
122
0.502322
[ "MIT" ]
seanmobrien/CryptoKitty.TraderServices
src/CryptoKitties.Net.Website/Data/Migrations/00000000000000_CreateIdentitySchema.cs
9,261
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 Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Runtime.Data.IO; using Microsoft.ML...
47.753425
177
0.47506
[ "MIT" ]
thomshib/machinelearning
src/Microsoft.ML.Data/Transforms/TermTransformImpl.cs
59,264
C#
using HunterPie.Core.Monsters; namespace HunterPie.Core { public class Part { private readonly MonsterInfo monsterInfo; private readonly PartInfo partInfo; private readonly int id; // Part index private float health; private float totalHealth; private byte brok...
27.588235
172
0.534826
[ "MIT" ]
yonguelink/HunterPie
HunterPie/Core/Monsters/Part.cs
2,816
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using AppKit; using GameLoader.Mac.Model; namespace GameLoader.Mac { public partial class HexArchiveItemController : NSCollectionViewItem { private HexArchive hexArchive; #region Constructors // Cal...
22.27381
91
0.545163
[ "MIT" ]
Team-ARG-Museum/GameLoaderMac
GameLoader.Mac/HexArchiveItemController.cs
1,873
C#
using System.Collections; using UnityEngine; namespace AbyssMothGames.LawnMowerWorld { public sealed class OilAnimated : MonoBehaviour { [SerializeField] private GameObject oilPrefab; [SerializeField] private float secondsDrop = 1.5f; private void Start() => StartCoroutine(nameof(OilD...
25.652174
80
0.622034
[ "MIT" ]
RimuruDev/Low-poly-lawn
Lawn Mower World - Adventure/Assets/InternalAssets/Scripts/MonoBehaviour/AllOthers/OilAnimated.cs
592
C#
using System; namespace Newtonsoft_X.Json.Utilities { internal delegate TResult MethodCall<T, TResult>(T target, params object[] args); }
20.571429
85
0.756944
[ "MIT" ]
RedAWM/GDNet
GameDesigner/Serialize/Newtonsoft.Json/Utilities/MethodCall.cs
146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Arebis.Caching { /// <summary> /// A generic EventArgs, containing a Value of type T. /// </summary> public class ValueEventArgs<T> : EventArgs { public ValueEventArgs(T item) ...
20.729167
65
0.477387
[ "MIT" ]
FingersCrossed/Arebis.Common
Arebis.Common/Arebis/Caching/ValueEventArgs.cs
997
C#
using System; using System.Numerics; namespace DirectionalPathingLayers { /// <summary> /// Individual node that contains directions as a boolean value. /// </summary> public struct DirectionalNode { /// <summary> Array of directions, in a forward, backward, left, right, up, down format. <...
36.17377
113
0.467325
[ "MIT" ]
GrahamMueller1992/DirectionalPathingLayers
Runtime/Layer/DirectionalNode.cs
11,035
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AbhsChinese.Domain.Entity { [Table("Yw_CoursePriceAudit")] public class Yw_CoursePriceAudit : EntityBase { [Key] public int Ypa_Id { get; set; } private in...
21.71
55
0.431598
[ "Apache-2.0" ]
GuoQqizz/SmartChinese
AbhsChinese.Domain/Entity/Yw_CoursePriceAudit.cs
2,173
C#
namespace testproject.Authorization.Accounts.Dto { public class IsTenantAvailableOutput { public TenantAvailabilityState State { get; set; } public int? TenantId { get; set; } public IsTenantAvailableOutput() { } public IsTenantAvailableOutput(TenantAvailabilit...
22.2
91
0.603604
[ "MIT" ]
akhiljosef/testproject
aspnet-core/src/testproject.Application/Authorization/Accounts/Dto/IsTenantAvailableOutput.cs
444
C#
/*************************************************************************************************************************************** * Copyright (C) 2001-2012 LearnLift USA * * Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, support@memorylifter.com * * ...
42.834951
137
0.56981
[ "MIT" ]
hmehr/OSS
MemoryLifter/Development/Current/MLifter.DAL/Interfaces/IDictionaries.cs
4,412
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
39.272727
152
0.659259
[ "MIT" ]
jesus9ias/csharppininous
session/App_Start/IdentityConfig.cs
4,322
C#
/*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
25.931818
74
0.617003
[ "Apache-2.0" ]
agnicore/nfx
src/testing/NFX.UTest/Graphics/ColorXlatTests.cs
4,566
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.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using Xunit; namespace System.Tests { public class EnumTests { ...
53.42671
438
0.602322
[ "MIT" ]
AraHaan/runtime
src/libraries/System.Runtime/tests/System/EnumTests.cs
114,814
C#
using System.Drawing; using System.Text; using ReClassNET.Util; namespace ReClassNET { public class Settings { // Application Settings public string LastProcess { get; set; } = string.Empty; public bool StayOnTop { get; set; } = false; // Node Drawing Settings public bool ShowNodeAddress { get; set; }...
27.74359
96
0.67098
[ "MIT" ]
EliteOutlaws/ReClass.NET
ReClass.NET/Settings.cs
2,166
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Dfm { using System; using System.IO; using Microsoft.DocAsCode.Common; using Microsoft.DocAsCode.MarkdownLite; ...
41.518672
196
0.591645
[ "MIT" ]
Algorithman/docfx
src/Microsoft.DocAsCode.Dfm/CodeRenderer/DfmCodeRenderer.cs
9,768
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using CascadeComboboxAsp2.Models; namespace CascadeComboboxAsp2.Data { public class ApplicationDbContext : DbContext { public DbSet<Customer> Customers { get; set; } public DbSet<City> Citie...
24.482759
87
0.657746
[ "Apache-2.0" ]
rioda78/CascadeComboboxAsp2
Data/ApplicationDbContext.cs
712
C#
using System; using Microsoft.AspNetCore.Components; namespace Radzen.Blazor { /// <summary> /// Base class for an axis in <see cref="RadzenChart" />. /// </summary> public abstract class AxisBase : RadzenChartComponentBase, IChartAxis { /// <summary> /// Gets or sets the stroke (li...
31.484615
91
0.533105
[ "MIT" ]
Creator512/radzen-blazor
Radzen.Blazor/AxisBase.cs
4,093
C#
using System; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Text; using NewLife.Reflection; using XCode.Membership; using System.Collections.Generic; #if __CORE__ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using NewLife.Cube.Extensions; #...
34.213115
154
0.513337
[ "MIT" ]
jinyumao/NewLife.Cube
NewLife.Cube/Common/ObjectController.cs
6,445
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using Web_Application_UberEats.Models; namespace Web_Application_U...
24.46281
84
0.508446
[ "Unlicense" ]
Doctor-Bokisi/Web_Application_UberEats
Controllers/CustomersController.cs
2,962
C#
using System.Collections.Generic; using UnityEngine; namespace ConFormSim.Actions { /// <summary> /// An action of this type can pick up and drop objects. Basically it calls the /// Move() method of an IMovable object and controls the position of the guide /// transform. Depending on the imple...
45.04
114
0.55595
[ "MIT" ]
JohnBergago/ConFormSim
src/ConFormSimProject/Assets/ConFormSim/Runtime/Actions/PhysicsPickUp.cs
5,632
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsiDefs.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows;...
49.038462
145
0.752941
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/MsiDefs/msirbRebootReason.cs
1,277
C#
namespace BalkanAir.Mvp.EventArgs.Account { using System; using Data.Models; public class ItineraryEventArgs : EventArgs { public string UserId { get; set; } public string Number { get; set; } public string Passenger { get; set; } public int BookingId { get; set; } ...
19.1
52
0.612565
[ "MIT" ]
itplamen/Balkan-Air
Balkan Air/Mvp/BalkanAir.Mvp/EventArgs/Account/ItineraryEventArgs.cs
384
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
34.880435
162
0.626675
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/Model/Internal/MarshallTransformations/ClientPropertiesUnmarshaller.cs
3,209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using MailCheck.Common.Data; namespace MailCheck.AggregateReport.Common.Aggregators { public interface IRecord { /// <summary> /// Id of the originating record ...
33.097938
165
0.551627
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.AggregateReport
src/MailCheck.AggregateReport.Common/Aggregators/AggregatorDao.cs
6,423
C#
namespace Day2; public record Command { public Direction Direction { get; private init; } public int Amount { get; private init; } public static Command FromString(string command) { var splitCommand = command.Split(' '); if (splitCommand.Length != 2) { throw new I...
25.5
108
0.58371
[ "MIT" ]
LukeBillo/advent-of-code-2021
Day2/Command.cs
665
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
39.5625
68
0.748815
[ "MIT" ]
0xced/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/TestObjects/Bb.cs
1,266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Proto.Router.Messages; using Proto.TestFixtures; using Xunit; namespace Proto.Router.Tests { public class ConsistentHashGroupTests { private sta...
39.911765
123
0.596659
[ "Apache-2.0" ]
renesugar/ProjectExodus
democode/Proto.Router/router/ConsistentHashGroupTests.cs
8,144
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
26.190909
201
0.600486
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapPathfindingRVOMovementPlaneWrapWrapWrapWrap.cs
2,883
C#
using System; using System.Collections.Generic; using System.Linq; using CQRSMagic.Event; namespace CQRSMagic.Domain { public abstract class AggregateBase : IAggregate { private static readonly AggregateEventHandlers EventHandlers = new AggregateEventHandlers(); public Guid Id { get; protecte...
31.78
195
0.522341
[ "MIT" ]
OpenMagic/CQRSMagic
Projects/CQRSMagic/Domain/AggregateBase.cs
1,591
C#
using LinCms.Zero.Data; namespace LinCms.Web.Models.Cms.Admins { public class UserSearchDto:PageDto { public int? GroupId { get; set; } } }
16.2
41
0.648148
[ "MIT" ]
crazyants/lin-cms-dotnetcore
src/LinCms.Web/Models/Cms/Admins/UserSearchDto.cs
164
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.261 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
49.77
604
0.611412
[ "MIT" ]
ghuntley/faker-cs
src/Faker.WP71/Resources/Name.Designer.cs
4,979
C#
// // Copyright 2017 James Finlay // // 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 ag...
37.90625
121
0.624897
[ "Apache-2.0" ]
Jtfinlay/FishTank
src/FishTank/FishTank/Drawing/SpriteSheet.cs
2,428
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Leap.Unity; public class fingerPosition : MonoBehaviour { [Header("Sphere Collider")] public float collideeSize = 0.01f; // Size of all Trigger Objects Sphere Collider //If collidingObjects are f...
21.536723
115
0.62723
[ "MIT" ]
jdesnoyers/Transcending-Perception
Assets/Scripts/XY Grid/fingerPosition.cs
3,814
C#
using ServiceSupport.Infrastructure.CQRS.Queries; using ServiceSupport.Infrastructure.DTO; using System; using System.Collections.Generic; using System.Text; namespace ServiceSupport.Infrastructure.CQRS.Shops { public class GetShopQuery : IQuery<ShopDto> { public Guid ShopId { get; } public Ge...
22.277778
50
0.688279
[ "MIT" ]
Lukasz0303/ServiceSupport
src/ServiceSupport.Infrastructure/CQRS/Shops/GetShopQuery .cs
403
C#
// Zyborg ASP.NET Core Identity Storage Provider for ASP.NET Membership Database. // Copyright (C) Zyborg. using System.Security.Cryptography; using System.Text; using Microsoft.AspNetCore.Identity; namespace Zyborg.AspNetCore.Identity.AspNetMembership; public class MembershipPasswordHasher : IPasswordHasher<Member...
36.77193
127
0.69084
[ "MIT" ]
zyborg/Zyborg.AspNetCore.Identity.AspNetMembership
Zyborg.AspNetCore.Identity.AspNetMembership/MembershipPasswordHasher.cs
2,098
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Nagraj.EntityFrameworkCore; namespace Nagraj.Migrations { [DbContext(typeof(NagrajDbContext))] [Migration("2...
35.346549
117
0.428898
[ "MIT" ]
malkesh-m/Nagraj
aspnet-core/src/Nagraj.EntityFrameworkCore/Migrations/20170804083601_Upgraded_To_Abp_v2.2.2.Designer.cs
48,142
C#
/* * The MIT License (MIT) * Copyright (c) 2014 Andrés Correa Casablanca * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
20.455882
106
0.593817
[ "MIT" ]
Litipk/ColorSharp
ColorSharp/src/Illuminants/CIE_D50.cs
2,786
C#