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
/* MIT License Copyright (c) 2017 Uvi Vagabond, UnityBerserkers 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, modify, m...
36.46
122
0.787713
[ "MIT" ]
uvivagabond/Visualization-of-physics-in-Unity
Assets/Scripts/Test Scripts For Box2D/Box2DRayIntersection.cs
1,825
C#
//----------------------------------------------------------------------- // <copyright file="TableCreate4Tests.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- namespace InteropApiTests { ...
37.035912
118
0.566197
[ "MIT" ]
Bhaskers-Blu-Org2/ManagedEsent
EsentInteropTests/TableCreate4Tests.cs
13,407
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace SmartAdmin.WebUI.Pages.Page { public class ErrorModel : PageModel { private readonly ...
20.44
53
0.67319
[ "MIT" ]
HybridSolutions/RazorPageCleanArchitecture
doc/templates/smartadmin-core-razor/src/SmartAdmin.WebUI/Pages/Page/Error.cshtml.cs
511
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.Kubernetes.ResourceKinds; namespace Microsoft.Kubernetes.Resources { public class CreatePatchParameters { public IResourceKind ResourceKind { get; set; } public object ApplyResource { get; set; } ...
26.6875
55
0.69555
[ "MIT" ]
BennyM/reverse-proxy
src/OperatorFramework/src/Core/Resources/CreatePatchParameters.cs
429
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
39.348837
97
0.608156
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/ServiceManagement.Additions/Gateway/Connection.cs
1,652
C#
namespace MassTransit.Containers.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using GreenPipes; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; ...
38.205479
121
0.585873
[ "ECL-2.0", "Apache-2.0" ]
Excommunicated/MassTransit
tests/MassTransit.Containers.Tests/HealthCheck_Specs.cs
8,367
C#
using Exasol.ErrorReporting; using System; namespace error_reporting_dotnet_tool_testproject { /// <summary> /// This is a test project /// </summary> class Program { static void Main(string[] args) { Console.WriteLine("Don't pick this up"); //Case 1 ...
49
202
0.628766
[ "MIT" ]
exasol/error-crawler-csharp
error-reporting-dotnet-tool-testproject/Program.cs
2,060
C#
using System; using System.Windows.Forms; using System.Threading; using System.Globalization; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using Duality; using Duality.Editor.Properties; using Duality.Editor.Forms; using Duality.Editor.PackageManagement; namespace D...
31.391473
111
0.728979
[ "MIT" ]
Limeless04/duality
Source/Editor/DualityEditor/Program.cs
8,101
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Discord.Addons.Core { internal static class RWEx { [DebuggerStepThrough] internal static AcquiredReadLock UsingReadLock(this ReaderWriterLockSlim readerWriterLock) => new Acquire...
31.939394
102
0.620019
[ "MIT" ]
NeKzor/Discord.Addons
src/Discord.Addons.Core/RWEx.cs
2,110
C#
using BEPUphysics.CollisionTests.CollisionAlgorithms; using BEPUutilities.ResourceManagement; namespace BEPUphysics.CollisionTests.Manifolds { public class TerrainSphereContactManifold : TerrainContactManifold { static LockingResourcePool<TriangleSpherePairTester> testerPool = new LockingResourcePool<...
30.285714
126
0.731132
[ "MIT" ]
Ramobo/ge
src/BEPU/BEPUphysics/CollisionTests/Manifolds/TerrainSphereContactManifold.cs
638
C#
#nullable disable using System; using System.Collections.Generic; namespace RayCarrot.RCP.Metro; /// <summary> /// The Rayman 2 Demo 1 game info /// </summary> public sealed class GameInfo_Rayman2Demo1 : GameInfo_BaseRayman2Demo { #region Public Override Properties /// <summary> /// The game /// </s...
23.909091
95
0.656527
[ "MIT" ]
RayCarrot/Rayman-Control-Panel-Metro
src/RayCarrot.RCP.Metro/Games/Info/Demo/GameInfo_Rayman2Demo1.cs
791
C#
using System.Text.Json.Serialization; namespace Going.Plaid.Entity { /// <summary> /// Represents a user being identified during a call to generate a <c>link_token</c>. /// </summary> public class User { /// <summary> /// Plaid requires that the endpoint used to create a <c>link_token</c> only be available t...
40.954545
133
0.711432
[ "MIT" ]
grcodemonkey/Going.Plaid
src/Plaid/Entity/User.cs
903
C#
using System.Linq; using NUnit.Framework; using Unity.Collections; using Unity.PerformanceTesting; using UnityEngine; namespace Unity.Serialization.Json.PerformanceTests { [TestFixture] [Category("Performance")] class PackedBinaryWriterPerformanceTests { JsonTokenizer m_Tokenizer; [Set...
29.707692
114
0.527188
[ "Apache-2.0" ]
bsides44/MARSGeofencing
MARS geofencing/Library/PackageCache/com.unity.serialization@1.5.0-preview/Tests/Runtime/Unity.Serialization.PerformanceTests/Json/Parsing/PackedBinaryWriterPerformanceTests.cs
1,931
C#
using System; using OpenLogger.Extensions; namespace OpenLogger { public class LogEventArgs : EventArgs { public LogEventArgs(LogSeverity severity, string origin, int groupId, string message, Exception exception, DateTime timestamp, object dataObject) { Severity = severity; ...
33.810811
171
0.580336
[ "MIT" ]
mtnman1010/OpenLogger
OpenLogger/LogEventArgs.cs
1,253
C#
#if !NETSTANDARD13 /* * 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 ...
33.085714
104
0.713299
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/_bcl45+netstandard/IListRecoveryPointsByResourcePaginator.cs
1,158
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("Ba...
38.405405
84
0.746657
[ "MIT" ]
joacar/BarcodeFabric
tests/BarcodeFabric.Core.Tests/Properties/AssemblyInfo.cs
1,424
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30311.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
27.380952
81
0.492174
[ "ECL-2.0", "Apache-2.0" ]
JetBrains/ReSharperGallery
src/NuGetGallery/Areas/Admin/DynamicData/FieldTemplates/Boolean_Edit.ascx.designer.cs
577
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeploymentCockpit.Interfaces { public interface IDeploymentJobExecutionService { void CleanUpAbortedJobs(); void ExecuteNextDeploymentJob(); } }
20.066667
51
0.750831
[ "Apache-2.0" ]
INaCloud/INaCloud-DeploymentCockpit
src/DeploymentCockpit.Core/Interfaces/IDeploymentJobExecutionService.cs
303
C#
// Copyright (c) 2016 Framefield. All rights reserved. // Released under the MIT license. (see LICENSE.txt) using Framefield.Core; using Framefield.Core.Commands; using Framefield.Core.Rendering; using Framefield.Tooll.Rendering; using Newtonsoft.Json; using SharpDX.Direct3D11; using System; using System.Co...
37.370809
187
0.565261
[ "MIT" ]
kajott/tooll
Tooll/Components/ParameterView/OperatorPresets/OperatorPresetManager.cs
18,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("ICl...
37.945946
84
0.75
[ "MIT" ]
ChippedChap/IClearlyHaveEnough
IClearlyHaveEnough/Properties/AssemblyInfo.cs
1,407
C#
using System; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using IdentityServer4.EntityFramework.Options; using Microsoft.EntityFrameworkCore; using Skoruba.IdentityServer4.Admin.EntityFramework.Repositories; using Skoruba.IdentityServer4.Admin.EntityFramework.Repositories.Interfaces; using...
44.643885
148
0.7051
[ "MIT" ]
C-Romeo/IdentityServer4.Admin
tests/Skoruba.IdentityServer4.Admin.UnitTests/Repositories/IdentityResourceRepositoryTests.cs
12,413
C#
using System; using Xunit; namespace Xunit.Xml.TestLogger.NetFull.Tests { public class UnitTest1 { [Fact] public void PassTest11() { } [Fact] public void FailTest11() { Assert.False(true); } } public class UnitTest2 { ...
15.028571
44
0.454373
[ "MIT" ]
Jensaarai/xunit.testlogger
test/Xunit.Xml.TestLogger.NetFull.Tests/UnitTest1.cs
526
C#
using System.Collections; //using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RobotStats : MonoBehaviour { [SerializeField] private Image blood_Stats; private float actualHealth; private GameObject head_Shot; private void Start() { actualHealth ...
26.771429
66
0.660619
[ "MIT" ]
Tharun-Kumar-Reddy-mara/Save_Chinni
Robot/RobotStats.cs
937
C#
// // DNN Corp - http://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DNN Corp // // 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 /...
36.054054
118
0.701399
[ "MIT" ]
DNNCommunity/DNN.Media
Modules/Media/Utilities/RegExUtility.cs
4,004
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.IO; using Microsoft.VisualStudio.ConnectedServices; using EnvDTE; using Moq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.O...
44.371622
207
0.672453
[ "MIT" ]
KenitoInc/lab
ODataConnectedService/test/ODataConnectedService.Tests/CodeGeneration/V4CodeGenDescriptorTest.cs
6,569
C#
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.product.fx.type { using FromString = org.joda.convert.FromString; using ToString = org.joda.convert.ToString; using ReferenceData = com.opengamma....
50.46875
335
0.678535
[ "Apache-2.0" ]
ckarcz/Strata.ConvertedToCSharp
modules/product/src/main/java/com/opengamma/strata/product/fx/type/FxSwapConvention.cs
9,692
C#
using System.Text; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; namespace WebAPIApplication { public class ...
33.88
136
0.58717
[ "MIT" ]
iamsunny/auth0-aspnetcore-webapi-samples
Samples/hs256/Startup.cs
2,541
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; public class IngameEditor : GuiBase_Draggable { public Camera OverheadCam; public static int TileX = 0; public static int TileY = 0; public ObjectLoaderInfo currObj; private bool EditorHidden = false; public Mate...
42.053659
188
0.502997
[ "MIT" ]
KarlClinckspoor/UnderworldExporter
UnityScripts/scripts/World/IngameEditor.cs
51,728
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.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
26.971223
71
0.520672
[ "MIT" ]
Ar37-rs/Silk.NET
src/Microsoft/Silk.NET.Direct3D11/Structs/CD3D11Texture2DDesc.gen.cs
3,749
C#
using System; using System.Collections.Generic; using System.Text; using Mono.Cecil; using Mono.Documentation.Util; namespace Mono.Documentation.Updater { class SlashDocMemberFormatter : MemberFormatter { protected override string[] GenericTypeContainer { get { return new strin...
35.597633
155
0.493268
[ "MIT" ]
mhutch/api-doc-tools
mdoc/Mono.Documentation/Updater/Formatters/SlashDocMemberFormatter.cs
12,034
C#
 namespace NeedForSpeed { public class Vehicle { public Vehicle(int horsePower, double fuel) { this.HorsePower = horsePower; this.Fuel = fuel; this.DefaultFuelConsumption = 1.25; } public double DefaultFuelConsumption { get; set; } pu...
26.612903
70
0.526061
[ "MIT" ]
DeyanDanailov/SoftUni-OOP
InheritanceExercise/NeedForSpeed/Vehicle.cs
827
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Ogólne informacje o zestawie są kontrolowane poprzez następujący // zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje // powiązane z zestawem. [assembly: AssemblyTitle("141299")]...
40.324324
125
0.747319
[ "MIT" ]
zw1nc3k/OOP2019-1
zadania/Lesson2/141299/141299/Properties/AssemblyInfo.cs
1,539
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...
33.246575
101
0.650597
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/TargetMarshaller.cs
2,427
C#
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
58.926267
191
0.58231
[ "MIT" ]
Ahmed-Abdelhameed/EntityFramework-Plus
src/Z.Test.EntityFramework.Plus.EFCore.Shared/Audit/EntityAdded/Entity_Complex.cs
12,790
C#
using System; using System.Linq; namespace ToolBox.Runtime.Lookups { [Serializable] public sealed class EnumLookup<K, V> : Lookup<K, V> where K : Enum { protected override K[] GetKeys() => Enum.GetValues(typeof(K)).Cast<K>().ToArray(); protected override void Process(SerializedDictionary<K, V> lookup) { ...
20.541667
68
0.640974
[ "MIT" ]
IntoTheDev/Core
Runtime/Lookups/EnumLookup.cs
495
C#
#region Project Description [About this] // ================================================================================= // The whole Project is Licensed under the MIT License // ================================================================================= // =======================================...
52.59434
131
0.573274
[ "MIT" ]
DominikWiesend/wiesend
projects/Wiesend.IO/IO/Messaging/Module/MessagingModule.cs
5,577
C#
using RestSharp.Authenticators; namespace PandaSharp.Framework.Rest.Contract { public interface IRestAuthentication { IAuthenticator CreateAuthenticator(); void UseBasic(string userName, string userPassword); void UseOAuth( string consumerKey, string consumerS...
24.058824
60
0.665037
[ "MIT" ]
Metablex/PandaSharp.Framework
PandaSharp.Framework/Rest/Contract/IRestAuthentication.cs
411
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
38.881188
99
0.614464
[ "MIT" ]
AsimKhan2019/UWP-Shop-Analytics-Sample
UWPShop.Sensors/App.xaml.cs
3,929
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
63.986842
351
0.693091
[ "MIT" ]
Agazoth/azure-powershell
src/ResourceMover/generated/api/Models/Api20210801/MoveResourceDependencyOverride.PowerShell.cs
9,575
C#
using System; using Newtonsoft.Json; using NLog; namespace CodeSaw.Web.Serialization { public class RevisionIdConverter : JsonConverter { private static readonly Logger Log = LogManager.GetLogger("RevisionIdConverter"); public override void WriteJson(JsonWriter writer, object value, JsonSerial...
31.264706
124
0.631232
[ "MIT" ]
ChainsawDevelopment/CodeSaw
CodeSaw.Web/Serialization/RevisionIdConverter.cs
1,063
C#
// 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.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; namespace Microsoft.AspNetCore.Cryptography.SafeHandles { //...
33.846154
111
0.698864
[ "Apache-2.0" ]
belav/aspnetcore
src/DataProtection/Cryptography.Internal/src/SafeHandles/LocalAllocHandle.cs
880
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(Rg.Web.Startup))] namespace Rg.Web { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
18.4
57
0.597826
[ "MIT" ]
jenyayel/rgroup
src/Rg.Web/Startup.cs
278
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.MixedReality.WebRTC { /// <summary> /// Interface for audio sources, whether local sources/tracks or remote tracks. /// </summary> /// <seealso cref="AudioTrackSource"/> /// <seealso cref="LocalAudioTrack...
47.183673
125
0.639706
[ "MIT" ]
AltspaceVR/MixedReality-WebRTC
libs/Microsoft.MixedReality.WebRTC/IAudioSource.cs
2,312
C#
using System; using System.Collections.Generic; using DSerfozo.CefGlue.Contract.Common; using static DSerfozo.CefGlue.Contract.Common.CefFactories; namespace DSerfozo.RpcBindings.CefGlue.Common.Serialization { public sealed class ValueTypeSerializer : ITypeSerializer, ITypeDeserializer { public bool C...
33.263889
103
0.518163
[ "MIT" ]
rpc-bindings/cefglue
src/DSerfozo.RpcBindings.CefGlue/Common/Serialization/ValueTypeSerializer.cs
2,397
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...
56.635446
191
0.673493
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DataPipeline/Generated/_bcl35/AmazonDataPipelineClient.cs
100,981
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UIVisualizerService.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // --------------------------...
44.877778
193
0.59008
[ "MIT" ]
nix63/Catel
src/Catel.MVVM/Catel.MVVM.Shared/Services/UIVisualizerService.cs
24,236
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("Te...
39.216216
84
0.750517
[ "MIT" ]
AzureDay/2016-SocialCounter
TeamSpark.AzureDay.SocialCounter.Shared/Properties/AssemblyInfo.cs
1,454
C#
using System; using Xamarin.Forms; namespace Native2Forms { /// <summary> /// This Xamarin.Forms page will be opened from within a 'native' app on iOS and Android /// </summary> public class MySecondPage : ContentPage { public MySecondPage () { var label = new Label { Text = "This is the Xamarin.Forms...
18.428571
89
0.637597
[ "Apache-2.0" ]
Alshaikh-Abdalrahman/jedoo
Native2Forms/Native2Forms/MySecondPage.cs
518
C#
#region License // Copyright (c) 2011 Effort Team // // 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, modify...
41.35
84
0.754131
[ "MIT" ]
JonathanMagnan/effort
Main/Source/misc/Backup/Properties/AssemblyInfo.cs
2,483
C#
// Copyright (c) 2015 - 2018 Doozy Entertainment / Marlink Trading SRL. All Rights Reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms using QuickEditor; using UnityEditor.Ani...
35.637931
162
0.619739
[ "Apache-2.0" ]
endovitsky/Arkanoid
Assets/Packages/DoozyUI/Scripts/Editor/Windows/ControlPanelWindowUICanvases.cs
2,069
C#
using System.Data; using System.Management.Automation; using Sitecore; using Sitecore.ContentSearch.Utilities; using Sitecore.Install.Security; using Sitecore.Security.Accounts; using Spe.Commands.Security; namespace Spe.Commands.Packages { [Cmdlet(VerbsCommon.New, "SecuritySource",DefaultParameterSetName = "Filt...
43.597701
151
0.550751
[ "MIT" ]
PavloGlazunov/Console
src/Spe/Commands/Packages/NewSecuritySourceCommand.cs
3,797
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(".NE...
36.423077
77
0.75396
[ "Apache-2.0" ]
JakeLardinois/NetMF.Toolbox
Framework/NET.POP3_Client/Properties/AssemblyInfo (4.1).cs
948
C#
using System; namespace Programatica.Framework.Core.Adapter { public class AuthUserAdapter : IAuthUserAdapter { public AuthUserAdapter() : base() { } public string Name { get { return Environment.UserName; } ...
18.030303
52
0.435294
[ "MIT" ]
ruialexrib/Programatica.Framework
Programatica.Framework.Core/Adapter/AuthUserAdapter.cs
597
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Patterns { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => ...
24.52381
70
0.574757
[ "MIT" ]
xiaomi7732/CodeSaar
DI/src/Patterns/Program.cs
515
C#
using Amazon.JSII.Runtime.Deputy; namespace Amazon.JSII.Tests.CalculatorNamespace { /// <remarks> /// stability: Experimental /// </remarks> [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble), fullyQualifiedName: "jsii-calc.DoubleTrouble")] public class DoubleTrouble...
32.931818
135
0.599034
[ "Apache-2.0" ]
NyanKiyoshi/jsii
packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs
1,449
C#
using System; using System.Collections.Generic; using CodeHatch.Build; using CodeHatch.Engine.Networking; using CodeHatch.Engine.Core.Networking; using CodeHatch.Blocks; using CodeHatch.Blocks.Networking.Events; using CodeHatch.Networking.Events.Entities; using CodeHatch.Networking.Events.Entities.Players; using CodeHa...
24.2
59
0.689492
[ "MIT" ]
john-clark/rust-oxide-umod
oxide/plugins/other/JontysBlockProtection.cs
847
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
58.152902
556
0.659342
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.ErrorReporting.V1Beta1/Google.Cloud.ErrorReporting.V1Beta1/ErrorStatsServiceClient.g.cs
52,105
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using FluentAssertions; using NUnit.Framework; namespace Azure.IoT.TimeSeriesInsights.Tests ...
34.55625
110
0.539338
[ "MIT" ]
AzureAppServiceCLI/azure-sdk-for-net
sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/tests/TimeSeriesIdTests.cs
5,531
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * 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 must retain the above * copyright notice,...
36.185185
101
0.613101
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
xva_verify/verify_main.cs
2,933
C#
using System; namespace OpenCvSharp.ML { #if LANG_JP /// <summary> /// MLPモデルクラス /// </summary> #else /// <summary> /// Artificial Neural Networks - Multi-Layer Perceptrons. /// </summary> #endif public class ANN_MLP : StatModel { /// <summary> /// Track whether Dispose has been...
34.052045
175
0.544323
[ "MIT" ]
Atharvap14/SecondaryVision
DepthMap/Assets/OpenCV+Unity/Assets/Scripts/OpenCvSharp/modules/ml/ANN_MLP.cs
9,174
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace XeroApi.Model.Reporting { public class BankSummaryReport : DynamicReportBase { private readonly DateTime? _fromDate; private readonly DateTime? _toDate; ...
32.794872
100
0.632525
[ "MIT" ]
MatthewSteeples/XeroAPI.Net
source/XeroApi/Model/Reporting/BankSummaryReport.cs
1,281
C#
namespace Elsa.Attributes; [AttributeUsage(AttributeTargets.Property)] public class InboundAttribute : Attribute { }
19.5
43
0.82906
[ "MIT" ]
elsa-workflows/experimental
src/core/Elsa.Core/Attributes/InboundAttribute.cs
117
C#
using Business.Abstract; using DataAccess.Abstract; using Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Concrete { public class LastKmManager : ILastKmService { ILastKmDal lastKmDal; public Last...
20.540541
68
0.610526
[ "MIT" ]
jova/Rent-a-Car
RentACar/Business/Concrete/LastKmManager.cs
762
C#
using Avalonia; using Avalonia.Controls; using ReactiveUI; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using Avalonia.Xaml.Interactivity; namespace WalletWasabi.Fluent.Behaviors; public class CheckMarkVisibilityBehavior : Behavior<PathIcon> { private CompositeDisposable? _di...
25.42623
89
0.684075
[ "MIT" ]
CAnorbo/WalletWasabi
WalletWasabi.Fluent/Behaviors/CheckMarkVisibilityBehavior.cs
1,551
C#
using SwedbankPay.Sdk.PaymentInstruments; using System; using System.Collections.Generic; namespace SwedbankPay.Sdk { internal class TransactionListResponse : Identifiable, ITransactionListResponse { public TransactionListResponse(Uri id, List<ITransaction> transactionList) : base...
26.055556
84
0.66951
[ "Apache-2.0" ]
Nacorpio/swedbank-pay-sdk-dotnet
src/SwedbankPay.Sdk.Infrastructure/TransactionListResponse.cs
471
C#
using UnityEngine; namespace TopDownEngineExtensions { [CreateAssetMenu(menuName = "ScriptableCookbook/Damage Type")] public class DamageType : ScriptableObject {} }
22
66
0.772727
[ "MIT" ]
AlexanderGheorghe/TopDownEngineExtensions
TypedDamage/DamageType.cs
178
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Threading; using System.Diagnostics; using System; using System.Text; using System.Runtime.InteropServices; namespace QuickBuild { public class QBProcess { #if UNITY_EDITOR_WIN [DllImport("user32.dll", SetLastE...
36.217949
154
0.610619
[ "MIT" ]
Begounet/QuickBuild
Editor/QBProcess.cs
8,477
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 "license" fi...
33.198582
114
0.584063
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/DataSource.cs
9,362
C#
namespace LINGYUN.Abp.UI.Navigation { public interface INavigationDefinitionContext { void Add(params NavigationDefinition[] definitions); } }
21.375
61
0.690058
[ "MIT" ]
ZhaoYis/abp-next-admin
aspnet-core/modules/navigation/LINGYUN.Abp.UI.Navigation/LINGYUN/Abp/UI/Navigation/INavigationDefinitionContext.cs
173
C#
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace Elasticsearch.Net.Integration.Yaml.Update7 { public partial class Update7YamlTests { [NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")] public class ExternalVersion1Tests : YamlTestsBase { [Tes...
19.534247
68
0.576438
[ "Apache-2.0" ]
Bloomerang/elasticsearch-net
src/Tests/Elasticsearch.Net.Integration.Yaml/update/35_external_version.yaml.cs
1,426
C#
namespace GitVersion { using System; using System.Collections.Generic; public static class BuildServerList { static List<IBuildServer> BuildServers; public static Func<Arguments, IEnumerable<IBuildServer>> Selector = arguments => DefaultSelector(arguments); public ...
30.836364
139
0.503538
[ "MIT" ]
VSoftTechnologies/GitVersion
GitVersion/BuildServers/BuildServerList.cs
1,644
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Net.Http; using Messerli.LinqToRest.Test.Stub; using NSubstitute; using Xunit; namespace Messerli.LinqToRest.Test { public class ResourceRetrieverTest { [Fact] public async void ReturnsR...
32.915942
167
0.573353
[ "Apache-2.0", "MIT" ]
messerli-informatik-ag/LinqToRest
LinqToRest.Test/ResourceRetrieverTest.cs
11,356
C#
using CleanArchitectureTemplate.Application.Interfaces.Repositories; using CleanArchitectureTemplate.Domain.Entities; using CleanArchitectureTemplate.Infrastructure.Persistence.Contexts; using CleanArchitectureTemplate.Infrastructure.Persistence.Repository; using Microsoft.EntityFrameworkCore; using System.Threading.T...
34.307692
98
0.746637
[ "MIT" ]
GheorgheVolosenco/CleanArchitectureSolutionTemplate
src/Infrastructure.Persistence/Repositories/ProductRepositoryAsync.cs
894
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
41.217899
162
0.575569
[ "MIT" ]
IMaeland/IronSmalltalk
DLR/Microsoft.Dynamic/Interpreter/LightLambdaClosureVisitor.cs
10,595
C#
#region Copyright (c) 2003-2005, Luke T. Maxon /******************************************************************************************************************** ' ' Copyright (c) 2003-2005, Luke T. Maxon ' All rights reserved. ' ' Redistribution and use in source and binary forms, with or without modificat...
46.048387
118
0.65324
[ "BSD-3-Clause" ]
ChrisPelatari/XunitForms
source/XunitForms.Test/TestForms/RichTextBoxDataSetBindingTestForm.cs
2,855
C#
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.IO; using System.Linq; using System.Xml.Serialization; using JetBrains.Annotations; namespace Nuke.Common.IO { public static partial class Serialization...
26.978261
70
0.628525
[ "MIT" ]
Ceaphyrel/nuke
source/Nuke.Common/IO/SerializationTasks.Xml.cs
1,241
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// leadcompe...
30.166667
203
0.59769
[ "Apache-2.0" ]
danieltruong/ag-lclb-cllc-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMleadcompetitors.cs
1,991
C#
// 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, modify, merge, publish, // distribute, sublicense, and/or sell...
38.648649
73
0.758042
[ "Apache-2.0" ]
121468615/mono
mcs/class/Mono.WebBrowser/Mono.Mozilla/interfaces/extras/nsITimerCallbackDelegate.cs
1,430
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
40.210526
157
0.599913
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.461
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Designers/KryptonListBoxDesigner.cs
2,295
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
39.580645
148
0.620212
[ "Apache-2.0" ]
OctopusDeploy/azure-sdk-tools
WindowsAzurePowershell/src/Management.ServiceManagement/Model/RoleInstanceStatusInfo.cs
1,229
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Security.Cryptography.X509Certificates; using System.Text; using Huawei.SCCMPlugin.Models; using LogUtil; namespace Huawei.SCCMPlugin.DAO { /// <summary> /// eSight数据库管理类 ...
33.477273
153
0.636796
[ "MIT" ]
Huawei/Server_Management_Plugin_SCCM
src/Respository/Huawei.SCCMPlugin.DAO/HWESightHostDal.cs
1,513
C#
using UnityEngine; using System.Collections; public class SelfRotate : MonoBehaviour { public float rotateSpeed = 40.0f; //旋转速度 //每帧执行一次:物体自转 void Update () { //物体以世界坐标系的向上方向(正Y轴)方向,以rotateSpeed的速度进行顺时针自转 //Time.deltaTime表示该帧的执行时间,Time.deltaTime * rotateSpeed表示该帧总共自转的角度,Space.World表示世界坐标系 transform.Rotate ...
25.533333
86
0.767624
[ "MIT" ]
AidenFeng/The-Infinite-War-I---Origin-Standalone-
Assets/Scripts/SelfRotate.cs
535
C#
using System; using System.Net; using FluentFTP; using System.Security.Authentication; namespace Examples { internal static class SetEncryptionProtocolsExample { public static void ValidateCertificate() { using (var conn = new FtpClient()) { conn.Host = "localhost"; conn.Credentials = new NetworkCredent...
32.962963
89
0.721348
[ "MIT" ]
Mortens4444/FluentFTP
FluentFTP.Examples/SetEncryptionProtocols.cs
892
C#
// Copyright 2017 Quintonn Rothmann // 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, modify, merge, publish, distrib...
45.862069
465
0.628195
[ "MIT" ]
quintonn/QBic
BasicAuthentication/ControllerHelpers/Methods.cs
5,322
C#
using BanallyMe.UnException.ActionFilters.ExceptionHandling; using BanallyMe.UnException.DependencyInjection; using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using System; using System.Linq; using Xunit; namespace BanallyMe.Un...
38.773585
116
0.731873
[ "MIT" ]
BanallyMe/UnException
UnException/UnException.UnitTests/DependencyInjection/UnExceptionLoaderTests.cs
2,057
C#
using System; using System.Collections.Generic; // ReSharper disable once CheckNamespace class EyeDiabeticExam : BaseExam { public override DateTime NeedleRemovingMoment { get; set; } public override string Name => "Препроліферативна діабетична ретинопатія"; public override string LoadName => "EyeDiabeti...
30.864865
159
0.698774
[ "MIT" ]
levabd/dolls
Assets/Resources/Scripts/Exams/EyeDiabeticExam.cs
1,182
C#
namespace Draw_a_Filled_Square { using System; public class DrawAFilledSquare { static void Main() { int n = int.Parse(Console.ReadLine()); PrintDashes(n); PrintJaggedPart(n); PrintDashes(n); } private static void PrintJagge...
21.714286
54
0.405263
[ "MIT" ]
MihailDobrev/SoftUni
Tech Module/Programming Fundamentals/09. Methods. Debugging and Troubleshooting Code - Lab/04. Draw a Filled Square/DrawAFilledSquare.cs
762
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.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text...
36.355856
246
0.575517
[ "MIT" ]
Sergio0694/WindowsTemplateStudio
code/src/UI/ViewModels/NewItem/TemplateSelectionViewModel.cs
7,852
C#
using Model.Neg; using PagedList; using PlatinDashboard.Presentation.MVC.ApiServices; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; namespace PlatinDashboard.Presentation.MVC.Controllers { public class AbcFarmaController : Controller { private readonly ServicosApi _servico...
24
92
0.63141
[ "Apache-2.0" ]
TcavalcantiDesenv/RepasseApcd
src/APCD/src/PlatinDashboard.Presentation.MVC/Controllers/AbcFarmaController.cs
626
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 namespace DotNetNuke.Build.Tasks { using System; using System.IO; using System.Linq; using Cake.Comm...
54.984375
188
0.656152
[ "MIT" ]
Mariusz11711/DNN
Build/Tasks/CreateUpgrade.cs
3,521
C#
// *** 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...
24.821429
81
0.654676
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/V20180601/Outputs/VirtualHardDiskResponse.cs
695
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace Middleware.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Collecti...
25.761905
80
0.676525
[ "MIT" ]
ViniciusTavares/.Net-DDD-Sample
Middleware/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
541
C#
using System; using System.Collections.Generic; using AliCloudOpenSearch.com.API; using Newtonsoft.Json.Linq; using NUnit.Framework; namespace AliCloudAPITest { /// <summary> /// UnitTest1 的摘要说明 /// </summary> [TestFixture] public class CloudSearchApiTest : CloudSearchApiAliyunBase { ...
28.29661
94
0.537287
[ "Apache-2.0" ]
aliyun-beta/aliyun-opensearch-.net-sdk
AliCouldOpenSearchAPI_vs2015_2.1.3/AliCloudOpenSearchAPITest/CloudSearchApiTest.cs
3,441
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace AgendaDemo { // Learn more about making custom code visible in the Xamarin.Forms previewer // by visiting https://aka.ms/xamarinforms-...
22.909091
81
0.698413
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
srdelsalto/XamarinProject
Xamarin Curse/AgendaDemo/AgendaDemo/AgendaDemo/MainPage.xaml.cs
506
C#
using System; using System.Numerics; namespace TrentTobler.Algorithms.FourierTransform { public static class DiscreteFourierTransform { public static Complex[] Dft( this Complex[] x ) { var len = x.Length; var y = new Complex[len]; for( var k = 0; k < len; ++k ) { var dw = 2 * M...
19.941964
87
0.425565
[ "MIT" ]
trenttobler/FourierTransform
TrentTobler.Algorithms.FourierTransform/DiscreteFourierTransform.cs
4,469
C#
using Core.Entities.Abstract; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Core.DataAccess.EntityFramework { public class EfEntityRepositoryBase<TEntity, TContext> : IEntityRepository<TEntity> ...
30.693548
87
0.544404
[ "MIT" ]
mcaliskan7/CSharpCampReCapProject
Core/DataAccess/EntityFramework/EfEntityRepositoryBase.cs
1,905
C#
using System; using Common.Structure.Base; namespace Common.Structure { public class Status:BaseStatus { public override long Id { get; set; } public override DateTime LogTime { get; set; } public override long ItemCount { get; set; } public override long UserCount { get; set; } pu...
24.8
53
0.663978
[ "MIT" ]
ifdog/Queries
Queries/Common/Structure/Status.cs
374
C#
using System.Collections.Generic; using System.Threading.Tasks; using JetBrains.Space.Client; namespace JetBrains.Space.AspNetCore.Experimental.WebHooks; /// <inheritdoc/> public abstract class SpaceWebHookHandler : ISpaceWebHookHandler { /// <inheritdoc/> public virtual Task<Commands> HandleListCommandsA...
43.611111
123
0.751592
[ "Apache-2.0" ]
JetBrains/space-dotnet-sdk
src/JetBrains.Space.AspNetCore/Experimental/WebHooks/SpaceWebHookHandler.cs
2,355
C#
using System.Collections.Generic; using System.IO; using System.Text; using Netch.Controllers; using Netch.Models; namespace Netch.Servers.Shadowsocks { public class SSController : Guard, IServerController { public override string MainFile { get; protected set; } = "Shadowsocks.exe"; protected...
27.722892
149
0.527597
[ "MIT" ]
1pipi2/Netch
Netch/Servers/Shadowsocks/SSController.cs
2,301
C#
using Prism.Mvvm; using System.ComponentModel.Composition; namespace Tida.Canvas.Shell.Splash.ViewModels { [Export] public class SplashViewModel:BindableBase { private string _loadingText; public string LoadingText { get { return _loadingText; } set { SetProper...
23.125
57
0.640541
[ "MIT" ]
JanusTida/Tida.CAD
Tida.Canvas.Shell/Splash/ViewModels/SplashViewModel.cs
372
C#