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
// *** 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...
29.703704
94
0.581671
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Media/V20200501/Inputs/AudioArgs.cs
1,604
C#
// <auto-generated /> namespace Infrastructure.DataAccess.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed p...
27.9
96
0.62724
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Strongminds/kitos
Infrastructure.DataAccess/Migrations/201611161337177_Added HelpText.Designer.cs
837
C#
using System.IO; using Microsoft.AspNetCore.Hosting; namespace Contacts { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .U...
21.285714
64
0.516779
[ "Unlicense" ]
daliaramos/Address
Program.cs
447
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; using Azure.Core.TestFramework; using Azure.ResourceManager.Core; using Castle.DynamicProxy; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Reflectio...
38.618834
187
0.602531
[ "MIT" ]
OlhaTkachenko/azure-sdk-for-net
common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs
8,612
C#
/*! \file Copyright (C) 2016-2018 Verizon. 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 applicable law or a...
38.767857
114
0.699678
[ "Apache-2.0" ]
Verizon/AcUtils
AcUtilsException.cs
2,171
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using System; namespace Neo { /// <summary> /// Helper class for drawing text strings and sprites in one or more optimized batches. /// </summary> public class NeoBatch { readonly NeoB...
45.420465
219
0.467979
[ "MIT" ]
daglundberg/neo
Neo/NeoBatch.cs
48,827
C#
using System; namespace Lxdn.Core.Expressions.Exceptions { public abstract class ExpressionException : ApplicationException { protected ExpressionException(string message) : base(message) {} protected ExpressionException(string message, Exception inner) : base(message, inner) { } } }
24.307692
97
0.727848
[ "MIT" ]
lxdotnet/lxd-core
Lxdn.Core.Expressions/Exceptions/ExpressionException.cs
316
C#
using System; using System.Runtime.InteropServices; using System.Globalization; namespace WinSCP { [Guid("59B362D6-7FD3-4EF0-A3B6-E3244F793778")] [ClassInterface(Constants.ClassInterface)] [ComVisible(true)] public sealed class SessionLocalException : SessionException { internal SessionLoc...
31.428571
153
0.6875
[ "Apache-2.0" ]
danelkhen/fsync
lib-src/winscp/dotnet/SessionLocalException.cs
882
C#
using System; namespace UserService.Core.Entity { public class ContractSettingPropperty : BaseEntity { public string ContractName { get; set; } public byte Position { get; set; } public Guid ContractSettingLineId { get; set; } public ContractSettingLine ContractSettingLine { g...
22.666667
68
0.667647
[ "Apache-2.0" ]
BergenIt/user-service
UserService.Core/UserService.Core/DataPackage/Entities/ContractSettingPropperty.cs
342
C#
using System; using System.Collections.Generic; namespace SteamLib.Models { public class SteamReport : ISteamReport { private const string EventIDPrefix = "SteamReport_"; private const string EventIDSuffix = ""; public SteamReport() { Sessions = new List<GamingSess...
34.491228
138
0.584944
[ "MIT" ]
LazyTarget/MyLife
Libraries/Steam/SteamLib.Models/Models/SteamReport.cs
1,968
C#
using System; using System.Collections.Generic; using Equinox.Domain.Core.Events; namespace Equinox.Infra.EventBus.Repository { public interface IEventStoreRepository : IDisposable { void Store(StoredEvent theEvent); IList<StoredEvent> All(string aggregateId); } }
24.5
56
0.741497
[ "MIT" ]
Godricm/EquinoxProject
Equinox.Infra.EventBus/Repository/IEventStoreRepository.cs
296
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Foundatio.Metrics; using Foundatio.Utility; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Foundatio.Queues { public class MetricsQueueBehavior<T> : QueueBehaviorBase<T> where T : cla...
46.49635
166
0.671115
[ "Apache-2.0" ]
VFox-50ShadesOfMicrosoft/Foundatio
src/Foundatio/Queues/MetricsQueueBehavior.cs
6,370
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Mellowood.Migrations { public partial class addCMS : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( nam...
35.393939
122
0.5625
[ "MIT" ]
Carben-dev/Mellowood
src/Mellowood.EntityFrameworkCore/Migrations/20200224134938_add CMS.cs
1,170
C#
using Content.Server.Body; using Content.Server.Body.Mechanism; using Content.Server.Body.Part; using Content.Shared.Administration; using Robust.Shared.Console; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Localization; namespace Content.Server.Administration.Commands { [AdminComm...
33.333333
106
0.617647
[ "MIT" ]
Ephememory/space-station-14
Content.Server/Administration/Commands/RemoveMechanismCommand.cs
1,700
C#
using System.Threading; using System.Threading.Tasks; using Application.Common.Interfaces; using Common; using Domain.Common; using Domain.Entities; using IdentityServer4.EntityFramework.Options; using Microsoft.AspNetCore.ApiAuthorization.IdentityServer; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions...
39.30303
194
0.675405
[ "MIT" ]
destbg/TwitterRecreated
src/Persistence/TwitterDbContext.cs
2,596
C#
using System; using System.Collections.Generic; using System.Text; namespace DesignPattern.Adapter { public interface IUsb { void Request(); } }
13.916667
33
0.682635
[ "MIT" ]
ZShijun/DesignPattern
src/Patterns/7. Adapter/DesignPattern.Adapter/IUsb.cs
169
C#
// Copyright (c) Microsoft and contributors. 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...
42.805195
183
0.664745
[ "MIT" ]
dnelly/azure-sdk-for-net
src/Batch/Client/Src/GeneratedProtocol/Models/CertificateListNextOptions.cs
3,296
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Net.Http; using Microsoft.AspNetCore.Components; namespace ChartIntegration.Shared { public interface IDataLayer { Task<Country[]> FetchCountries(string sortField, bool sortDesc); } public class ...
24.34375
128
0.713736
[ "MIT" ]
snapservices/blazor-training-samples
WebAssembly/JavaScriptInterop/final/ChartIntegration/ChartIntegration/Shared/DataLayer.cs
781
C#
using System.Collections.Generic; using System; using Nancy; namespace BandTracker { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => View["index.cshtml"]; Get["/bands"] = _ => { List<Band> allBands = Band.GetAll(); return View["bands.cshtml", allBan...
38.435644
76
0.586038
[ "Unlicense" ]
JMDelight/c-sharp-band-tracker
Modules/HomeModule.cs
3,882
C#
using System; using System.Linq; using Obacher.RandomOrgSharp.Core.Parameter; namespace Obacher.RandomOrgSharp.Core.Response { public class ResponseHandlerFactory : IResponseHandlerFactory { private readonly IResponseHandler[] _responseHandlers; public ResponseHandlerFactory(params IResponseH...
35.487805
165
0.621306
[ "MIT" ]
gsteinbacher/RandomOrgSharp
Obacher.RandomOrgSharp.Core/Response/ResponseHandlerFactory.cs
1,457
C#
using Microsoft.EntityFrameworkCore; using Volo.Abp.AuditLogging.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; using Volo.Abp.FeatureManagement.EntityFrameworkCore; using Volo.Abp.Identity.EntityFrameworkCore; using Volo.Abp.IdentityServer.EntityFrameworkCore; using Volo.Abp.PermissionManagement.EntityFrame...
34.857143
82
0.744262
[ "MIT" ]
271943794/abp-samples
MicroserviceDemo/applications/AuthServer.Host/EntityFrameworkCore/AuthServerDbContext.cs
1,222
C#
using System; using System.Threading.Tasks; using CronSchedulerApp.Jobs.Startup; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace...
35.22973
93
0.527426
[ "MIT" ]
kdcllc/CronScheduler.AspNetCore
src/CronSchedulerApp/Program.cs
2,609
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using DotNetOpenAuth.OAuth; using DotNetOpenAuth.Messaging; using System.ServiceModel.Channels; using System.ServiceModel; using DotNetOpenAuth.OAuth.ChannelElements; using System.Configuration; using System.Net.Security; using System...
43.584746
188
0.65176
[ "MIT" ]
Globalcaching/applicationGlobalcaching
applicationGlobalcaching/Core/TokenManagerOP.cs
5,145
C#
using System; using JetBrains.Annotations; using WireMock.Matchers; namespace WireMock.RequestBuilders { /// <summary> /// The BodyRequestBuilder interface. /// </summary> public interface IBodyRequestBuilder { /// <summary> /// WithBody: IMatcher /// </summary> ///...
33.459016
68
0.55904
[ "Apache-2.0" ]
Brightspace/WireMock.Net
src/WireMock.Net/RequestBuilders/IBodyRequestBuilder.cs
2,043
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using RoslynPad.Roslyn; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Revit.ScriptCS.ScriptRunner { public...
38.354167
235
0.677892
[ "MIT" ]
chuongmep/Revit.ScriptCS
src/Revit.ScriptCS.ScriptRunner/RevitRoslynHost.cs
1,843
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...
29.846154
116
0.651203
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20191101/Outputs/KeyVaultAndKeyReferenceResponse.cs
1,164
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...
29.605263
107
0.736
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ApplicationDiscoveryService/Generated/Model/DeleteTagsResponse.cs
1,125
C#
using System.Threading; using System.Threading.Tasks; namespace ComX.Infrastructure.Distributed.Outbox { public interface IOutboxBrokerPublisher { /// <summary> /// Method used to publish the message to an actual broker /// </summary> /// <typeparam name="T">The message type</t...
34.058824
103
0.670121
[ "Apache-2.0" ]
ramihamati/distributed
ComX.Infrastructure.Distributed.Outbox/Abstractions/IOutboxBrokerPublisher.cs
581
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> //--...
39.592593
151
0.582788
[ "MIT" ]
slater1/HwndExtensions
HwndExtensions/Properties/Settings.Designer.cs
1,071
C#
using Microsoft.SharePoint.Client; using Microsoft.VisualStudio.TestTools.UnitTesting; using OfficeDevPnP.Core.Enums; using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers; using OfficeDevPnP.Core.Tests.Framework.Functional.Implementation; using OfficeDevPn...
30.684932
136
0.660268
[ "MIT" ]
CaPa-Creative-Ltd/PnP-Sites-Core
Core/OfficeDevPnP.Core.Tests/Framework/Functional/LanguageNoScriptTests.cs
2,242
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.Collections.Generic; using System.Threading.Tasks; using BasicWebSite.Models; using Microsoft.AspNetCore.Http; using Microsof...
32.434783
118
0.754692
[ "Apache-2.0" ]
aneequrrehman/Mvc
test/WebSites/BasicWebSite/Controllers/FiltersController.cs
746
C#
// Copyright 2016 Google Inc. 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 applic...
47.710345
158
0.589477
[ "Apache-2.0" ]
chrisdunelm/gcloud-dotnet
apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2/BigQueryParameter.cs
20,756
C#
using Grasews.Domain.Entities; using Grasews.Domain.Interfaces.Repositories; using System.Linq; namespace Grasews.Infra.Data.EF.SqlServer.Repositories { public class WsdlOperationRepository : BaseEntityRepository<WsdlOperation, int>, IWsdlOperationEntityRepository { public WsdlOperation GetWithNodePos...
42.837838
115
0.578549
[ "MIT" ]
mlcalache/grasews
Grasews.Infra.Data.EF.SqlServer/Repositories/WsdlOperationRepository.cs
1,587
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...
34.01476
185
0.566175
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/CreateDeploymentJobResponse.cs
9,218
C#
using HttPlaceholder.Domain.Enums; namespace HttPlaceholder.Domain; /// <summary> /// A class for storing whether a specific feature is enabled or not. /// </summary> public class FeatureResultModel { /// <summary> /// Constructs a <see cref="FeatureResultModel"/> instance. /// </summary> /// <param ...
27.419355
76
0.649412
[ "MIT" ]
dukeofharen/placeholder
src/HttPlaceholder.Domain/FeatureResultModel.cs
852
C#
using System; using EnvDTE; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace OpenPromptHere.Utils { public sealed class SolutionExplorer { public static Project GetSelectedProject() { return GetSelectedItem() as...
32.555556
115
0.612287
[ "Apache-2.0" ]
springcomp/OpenPromptHere
OpenPromptHere/Utils/SolutionExplorer.cs
1,467
C#
using Robust.Shared.Serialization; namespace Content.Shared.Shuttles.Events; /// <summary> /// Raised on the client when it's viewing a particular docking port to try and dock it automatically. /// </summary> [Serializable, NetSerializable] public sealed class AutodockRequestMessage : BoundUserInterfaceMessage { ...
26.692308
102
0.783862
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Shared/Shuttles/Events/AutodockRequestMessage.cs
347
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> //--...
34.387097
151
0.581614
[ "MIT" ]
TodorChapkanov/Excel-Parser
ExcelReader/Properties/Settings.Designer.cs
1,068
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.Protocols.TestTools.StackSdk; namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Cifs { /// <summary> /// Packets...
29.666667
111
0.595886
[ "MIT" ]
0neb1n/WindowsProtocolTestSuites
ProtoSDK/MS-CIFS/Messages/Com/SmbCreateTemporaryRequestPacket.cs
5,251
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _13.TriFunction { class Program { static void Main(string[] args) { Func<long, long, bool> CheckIt = (n, m) => n >= m; var num = long.Parse(Cons...
24.23913
100
0.468161
[ "MIT" ]
zrusev/SoftUni_2016
04. C# Advanced - May 2017/07. Functional-Programming/07. Functional-Programming - Exercise/13. TriFunction/13. TriFunction/Program.cs
1,117
C#
using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Neo4j.Driver; [assembly: FunctionsStartup(typeof(Neo4jDriver.AzureFunction.DependencyInjection.Startup))] namespace Neo4jDriver.AzureFunction.DependencyInjection { public class Startup : Funct...
33.25
110
0.681203
[ "MIT" ]
cskardon/Neo4jDriverWithAzureFunctionsDI
Neo4jDriver.AzureFunction.DependencyInjection/Startup.cs
665
C#
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; using System.Collections.Generic; using System.IO; using Mono.Collections.Generic; using Microsoft.Cci.Pdb; using Mono.Cecil.C...
28.704
163
0.691657
[ "MIT" ]
AlexanderTemnov/cecil
symbols/pdb/Mono.Cecil.Pdb/NativePdbReader.cs
10,764
C#
using System.Web; using System.Web.Optimization; namespace ConvoyServer { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Scri...
38.310345
112
0.578758
[ "Apache-2.0" ]
amirton/convoy-server
ConvoyServer/App_Start/BundleConfig.cs
1,113
C#
using System; class BitShooter { static void Main() { const int BITS = 64; ulong inputBits = ulong.Parse(Console.ReadLine()); ulong shootedBits = 0; for (int i = 0; i < 3; i++) { string shoot = Console.ReadLine(); string[] shootDetails = shoot.Sp...
29.865385
86
0.484868
[ "Apache-2.0" ]
genadi60/SoftUni
SoftUni_Exam/C# Basics Exam 14 April 2014 Morning/Problem05-Bit-Shooter/05.BitShooter-Solution.cs
1,553
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...
29.087719
81
0.604343
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerRegistry/V20201101Preview/Outputs/EventResponseMessageResponseResult.cs
1,658
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> //--...
39.098592
176
0.603026
[ "MIT" ]
Tonnilson/BnS-UE4Patcher
UE4Patcher/Properties/Resources.Designer.cs
2,778
C#
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Mono.Cecil; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Strong...
37.396552
203
0.596742
[ "MIT" ]
jesuissur/strongnamer
src/StrongNamer/AddStrongName.cs
6,509
C#
using System; using System.Globalization; using System.Linq; namespace MyLab.Search.Delegate.QueryTools { class RangeDateQueryExpressionFactory : IQueryExpressionFactory { public bool TryCreate(string literal, out IQueryExpression queryExpression) { queryExpression = null; ...
32.962963
149
0.644944
[ "MIT" ]
mylab-search-fx/delegate
src/MyLab.Search.Delegate/QueryTools/RangeDateQueryExpressionFactory.cs
892
C#
namespace RawData { public class Tyre { private double pressure; private int age; public Tyre(double pressure, int age) { this.Pressure = pressure; this.Age = age; } public double Pressure { get { return this.pressur...
18.666667
45
0.454365
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#Fundamentals/C#OOP-Basics/01DefiningClasses/src/DefiningClassesExercise/RawData/Tyre.cs
506
C#
/* * Original author: Nicholas Shulman <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2015 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
43.564103
146
0.610065
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/Skyline/TestA/MSstats/MsStatsTestUtil.cs
3,400
C#
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 // // U...
32.25
76
0.710963
[ "Apache-2.0" ]
w-bonelli/sensus
Sensus.Shared.Android/IAndroidSensusServiceHelper.cs
905
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.Globalization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing.Matching; namespace Microsoft.AspNetCore.Routing.Constraints; /// <sum...
32.545455
102
0.590782
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Http/Routing/src/Constraints/FileNameRouteConstraint.cs
5,012
C#
/* * Copyright (c) 2020 Microsoft Corporation. All rights reserved. * Modified work Copyright (c) 2008 MindTouch. 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 ...
29.421053
68
0.731664
[ "Apache-2.0" ]
carbon/SgmlReader
SgmlReader/AssemblyInfo.cs
559
C#
// // Copyright (c) Trafikselskabet Movia. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Linq; using ServiceStack.Countdown.TestClient.Services; namespace ServiceStack.Countdown.TestClient { class Pro...
38.916667
157
0.493148
[ "MIT" ]
movia/servicestack-countdown-testclient
src/ServiceStack.Countdown.TestClient/Program.cs
4,672
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.TimeManagemen...
28.565217
65
0.770167
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/TimeManagement/Native/FixedFrameRateCustomTimeStep.cs
657
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Windows.ApplicationModel.Resources; using Windows.ApplicationModel.Resources.Core; // Given_Sto...
28.485207
143
0.702742
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI.RuntimeTests/Tests/Windows_Storage/Given_StorageFile2.cs
4,814
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConvertSpeedUnits { class Program { static void Main(string[] args) { float distanceInMeters = float.Parse(Console.ReadLine()); int hours = int....
33.2
110
0.646586
[ "MIT" ]
yani-valeva/Programming-Fundamentals
DataType/ConvertSpeedUnits/Program.cs
998
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xunit; namespace GraphLite.Tests { [Collection(TestFixtureCollection.Name)] public class GraphClientQueryTests { private readonly GraphApiClient _client; private readonly TestClientFixtur...
41.465517
180
0.639709
[ "MIT" ]
JonasSyrstad/GraphLite
src/GraphLite.Tests/GraphClientQueryTests.cs
4,812
C#
namespace BgPeople.Services { using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas()...
29.95
70
0.681135
[ "MIT" ]
TsvetanKT/BgPeopleWebApi
BgPeopleWebApi.Services/Global.asax.cs
601
C#
using System; using Windows.Networking.PushNotifications; using Windows.UI.Popups; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Microsoft.WindowsAzure.MobileServices; namespace MFAzureNotificationWin8 { /// <summary> /// An empty page that can be used on its own or navigated to withi...
30.87037
93
0.580684
[ "MIT" ]
mobernberger/netmf-ams-notifications
MFAzureNotificationWin8/MainPage.xaml.cs
1,669
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SendingAnEmailWithoutDI { public class Program { ...
26.111111
70
0.651064
[ "MIT" ]
AnzhelikaKravchuk/asp-dot-net-core-in-action-2e
Chapter10/A_SendingAnEmailWithoutDI/SendingAnEmailWithoutDI/Program.cs
705
C#
// https://magi82.github.io/process-thread/ // http://www.albahari.com/threading/part2.aspx using System; using System.Threading; class MainClass { public static void Main (string[] args) { Action<object> print = Console.WriteLine; print("Thread Id: " + Thread.CurrentThread.ManagedThreadId); var t = n...
26
88
0.645433
[ "MIT" ]
Bomnamul/DataStructureAlgoCSharp
Class/63-Thread-1-Introduction/main.cs
872
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> //--...
43.031746
183
0.622648
[ "MIT" ]
JustIntroverted/TaskbarCustomizer
TaskbarCustomizer/Properties/Resources.Designer.cs
2,713
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GameTest.Game.PickUps { class HealthPickup : PickUp { public HealthPickup(int x, int y, Game g) : base(x,y,30,30,g) { } ...
21.448276
91
0.567524
[ "BSD-3-Clause" ]
Markus-A-Huber/FightingSquares
SourceCode/GameTest/Game/PickUps/EffectPickups/HealthPickup.cs
624
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("Sha...
37.459459
84
0.746753
[ "BSD-3-Clause" ]
rvrsh3ll/SharpSSDP
SharpSSDP/Properties/AssemblyInfo.cs
1,389
C#
// Url:https://leetcode.com/problems/line-reflection /* 356. Line Reflection Medium // {{ MISSING QUESTION }} */ using System; namespace InterviewPreperationGuide.Core.LeetCode.problem356 { public class Solution { public void Init () { } } }
14.263158
62
0.660517
[ "MIT" ]
tarunbatta/ipg
core/leetcode/356.cs
271
C#
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using NBitcoin; using NBitcoin.Policy; using Xels.Bitcoin.Builder; using Xels.Bitcoin.Builder.Feature; using Xels.Bitcoin.Configuration.Logging; using Xels.Bitcoin.Conne...
41.0625
315
0.633435
[ "MIT" ]
xels-io/SideChain-SmartContract
src/Xels.Bitcoin.Features.Wallet/WalletFeature.cs
7,886
C#
//----------------------------------------------------------------------------- // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIE...
35.899795
111
0.664135
[ "MIT" ]
13294029724/ET
Unity/Assets/ThirdParty/ILRuntime/Mono.Cecil/symbols/pdb/Microsoft.Cci.Pdb/CvInfo.cs
87,416
C#
using System.Configuration; using System.IO; using System.Web.Mvc; using Dongle.Serialization; using Meganium.Api.Managers; using Meganium.Api.Trash; using Meganium.Api.ViewModels; using Meganium.Api.Web; using Meganium.Installer; namespace Meganium.Site.Areas.Admin.Controllers { public class InstallController : ...
29.236364
129
0.630597
[ "MIT" ]
afonsof/meganium
Site/Areas/Admin/Controllers/InstallController.cs
1,610
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Petminder_RestApi.Models { [Table("pets")] public partial class Pets { public Pets() { Exercises = new HashSet<Exercises>()...
28.68
69
0.566248
[ "MIT" ]
bricklerjustin/Petminder-Project
Petminder-RestApi/Models/Pets.cs
1,436
C#
using System; using System.Collections; using UnityEngine; using Valve; public class RayPointer : MonoBehaviour { #region Variables //paint brush A_PaintBrush paintBrush; PaintPaletteVolume PPV; bool palleteHover; public GameObject objectHit; GameObject lastObjectHit; //raycas...
33.519737
145
0.512856
[ "MIT" ]
InsilicoStudios/Virtual-Studio
Assets/Virtual Studio/Scripts/RayPointer.cs
10,192
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...
36.345679
188
0.605978
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.ElasticLoadBalancing/Model/Internal/MarshallTransformations/BackendServerDescriptionUnmarshaller.cs
2,944
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.Goog...
34.45283
188
0.657174
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Redis/V1Beta1/Outputs/MaintenancePolicyResponse.cs
1,826
C#
using System; namespace MicroRabbit.Domain.Core.Events { public abstract class Event { public DateTime Timestamp { get; protected set; } protected Event() { Timestamp = DateTime.Now; } } }
17.642857
57
0.578947
[ "MIT" ]
stanbeamish/MicroRabbit
MicroRabbit/MicroRabbit.Domain.Core/Events/Event.cs
249
C#
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-editio...
36.05
110
0.698336
[ "CC0-1.0" ]
ciusji/gridgain
modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataRegionConfigurationParityTest.cs
1,444
C#
using Contracts.Components; using Contracts.Dtos; using FluentValidation; using MediatR; using Shared.Exceptions; using Shared.Models; using Shared.Validation; using System; using System.Net; using System.Threading; using System.Threading.Tasks; namespace AirportService.BLL.Contexts.Airports.Queries { /// <summar...
29.768116
131
0.604187
[ "MIT" ]
NickMaev/MSA-Sample
Services/AirportService/AirportService.BLL/Contexts/Airports/Queries/GetInfo.cs
2,056
C#
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.IO; namespace UnrealBuildTool { class MacPlatformContext : UEBuildPlatformContext { public MacPlatformContext(FileReference InProjectFile) : base(...
34.850498
200
0.742326
[ "MIT" ]
armroyce/Unreal
UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealBuildTool/Mac/UEBuildMac.cs
10,490
C#
#nullable enable using System.Collections.Generic; namespace DotVVM.Framework.Controls { public class PostBackHandlerCollection : List<PostBackHandler> { } }
17.1
66
0.760234
[ "Apache-2.0" ]
AMBULATUR/dotvvm
src/DotVVM.Framework/Controls/PostBackHandlerCollection.cs
171
C#
using System; namespace Ganss.Excel { /// <summary> /// A caching factory of <see cref="TypeMapper"/> objects. /// </summary> public interface ITypeMapperFactory { /// <summary> /// Creates a <see cref="TypeMapper"/> for the specified type. /// </summary> /// <param...
35.916667
96
0.587007
[ "MIT" ]
BeyondMySouls/ExcelMapper
ExcelMapper/ITypeMapperFactory.cs
864
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Net; using System.Globalization; namespace Google { /// <summary> /// Wrapper class for a Blog on Google Blogger /// API reference at https://developers.google.com/blogger/ /// </s...
34.928571
150
0.535787
[ "MIT" ]
FileMeta/FMPostToBlogger
GoogleBlogger.cs
7,826
C#
using ColossalFramework.UI; using CSM.Commands; using CSM.Commands.Data.Internal; using CSM.Container; using CSM.Helpers; using CSM.Networking; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using ColossalFramework; using UnityEngine; namespace CSM....
39.712855
132
0.507735
[ "MIT" ]
1000-8/CSM
src/Panels/ChatLogPanel.cs
23,791
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1013_b052-b3634777")] public void Method_1013_b052() { ii(0x1013_b052, 5); push(0x24); ...
69.613636
114
0.411035
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1013-b052.cs
3,063
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.735294
153
0.64156
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/DeviceAppManagementManagedEBookCategoriesCollectionResponse.cs
1,487
C#
using Microsoft.EntityFrameworkCore.ChangeTracking; using SF.Core.Abstraction.Resolvers; using SF.Entitys.Abstraction; using System; namespace SF.Core.Interceptors { /// <summary> /// 对象编辑拦截器,拦截对象BaseEntity,处理创建日期、创建人、更新日期、更新人 /// </summary> public class AuditableInterceptor : ChangeInterceptor<Base...
33.133333
104
0.599598
[ "Apache-2.0" ]
linrb/SF-Boilerplate
SF.Data/Interceptors/AuditableInterceptor.cs
2,080
C#
using System.Collections.Generic; namespace Orckestra.Composer.Search.ViewModels { public class AutoCompleteViewModel { public List<ProductSearchViewModel> Suggestions { get; set; } } }
23
69
0.7343
[ "MIT" ]
InnaBoitsun/BetterRetailGroceryTest
src/Orckestra.Composer.Search/ViewModels/AutoCompleteViewModel.cs
209
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
39.451613
234
0.63982
[ "ECL-2.0", "Apache-2.0" ]
JakeGinnivan/pulumi-aws
sdk/dotnet/Msk/Inputs/ClusterBrokerNodeGroupInfoGetArgs.cs
2,446
C#
using System; using System.Runtime.InteropServices; using Urho.Physics; using Urho.Navigation; using Urho.Network; using Urho.Urho2D; using Urho.Gui; using Urho.Actions; using Urho.Audio; using Urho.Resources; using Urho.IO; #pragma warning disable CS0618, CS0649 namespace Urho { [UnmanagedFunctionPointer(CallingConv...
59.363394
233
0.635699
[ "MIT" ]
sweep3r/urho
Bindings/Portable/Generated/Object.Events.cs
312,014
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class spinal : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() ...
19.625
78
0.617834
[ "Apache-2.0" ]
ankiii07/Automate-Diagnosis
Augmented Reality Integration With Machine Learning/Assets/scripts/spinal.cs
471
C#
using System; using System.Text; using Nuuvify.CommonPack.Middleware.Abstraction; using Nuuvify.CommonPack.UnitOfWork.Oracle.xTest.Arrange; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Moq; namespace Nuuvify.CommonPack.UnitOfWork.Oracle.xTest.Fixtures { public class AppDbC...
31.8
113
0.550764
[ "MIT" ]
lzocateli00/Lzfy.DevPack
test/Nuuvify.CommonPack.UnitOfWork.Oracle.xTest/Fixtures/AppDbContextFixture.cs
3,340
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
41.477707
187
0.575246
[ "MIT" ]
thomasclaudiushuber/roslyn
src/EditorFeatures/Core/Tagging/AbstractAsynchronousTaggerProvider.TagSource.cs
13,026
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.ADODBApi.Enums { /// <summary> /// SupportByVersion ADODB 2.5 /// </summary> [SupportByVersion("ADODB", 2.5)] [EntityType(EntityType.IsEnum)] public enum StreamTypeEnum { /// <summary> /// SupportByVersion ADODB 2.5 /// <...
21.148148
35
0.637478
[ "MIT" ]
DominikPalo/NetOffice
Source/ADODB/Enums/StreamTypeEnum.cs
573
C#
using System; using System.Security; using System.Runtime.InteropServices; using Stride.Core.Mathematics; using Stride.Graphics; namespace Alembic { [SuppressUnmanagedCodeSecurity] internal static class NativeMethods { [DefaultDllImportSearchPaths(DllImportSearchPath.AssemblyDirectory)] #r...
29.329545
109
0.67377
[ "MIT" ]
torinos-yt/VL.Alembic
src/NativeMethods.cs
2,581
C#
using Plugin.Logger.Abstractions; using System; namespace Plugin.Logger { /// <summary> /// Cross platform Logger implemenations /// </summary> public class CrossLogger { public static Lazy<ILogger> Implementation = new Lazy<ILogger>(() => CreateLogger(), System.Threading.LazyThreadSafetyMode.Pub...
25.522727
259
0.658059
[ "MIT" ]
AnvithaSA/XamarinCrossLogger
Logger/Plugin.Logger.Android/CrossLogger.cs
1,125
C#
/* [REMOVE THIS LINE] * [REMOVE THIS LINE] To use this template, make a copy and remove the lines that start * [REMOVE THIS LINE] with "[REMOVE THIS LINE]". Then add your code where the comments indicate. * [REMOVE THIS LINE] using UnityEngine; using System.Collections; using PixelCrushers.DialogueSystem; publi...
40.415584
104
0.676414
[ "MIT" ]
BigBroken/sLord
Assets/Dialogue System/Scripts/Templates/PersistentDataTemplate.cs
3,114
C#
namespace Nager.Country.Currencies { public class BovCurrency : ICurrency { public string Symbol => null; ///<inheritdoc/> public string Singular => null; ///<inheritdoc/> public string Plural => null; ///<inheritdoc/> public string IsoCode => "BOV"; ...
21.043478
60
0.549587
[ "MIT" ]
Tri125/Nager.Country
src/Nager.Country/Currencies/BovCurrency.cs
486
C#
using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; namespace FlyingDutchman { public class FlyTypePointToBottom : IFlyType { public void DrawFly(Image<Rgba32> image, int left, int top) { image[left + 0, top] = Rgba32.Red; image[left + 1, top] = Rgba32....
28.545455
67
0.509554
[ "MIT" ]
sandervandevelde/FlyingDutchmanImageGenerator
FlyTypePointToBottom.cs
944
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web; namespace ChoixRestaurant.Models { public class Dal : IDal { private MyDbContext db; public Dal() { db = new MyDbContext(); }...
30.222222
132
0.498663
[ "MIT" ]
y3lousso/OpenClassroom_AspDotNet_MVC
ChoixResto/Models/Dal.cs
5,989
C#
using System; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace DSharp.Compiler.Preprocessing.Lowering { public class ImplicitArrayCreationRewriter : CSharpSyntaxRewriter, ILowerer ...
41.692308
134
0.741082
[ "Apache-2.0" ]
isc30/dsharp
src/DSharp.Compiler/Preprocessing/Lowering/ImplicitArrayCreationRewriter.cs
1,628
C#
using Model; using Newtonsoft.Json; using System.Collections.Generic; using System.IO; namespace Repository { public class DijagnozaRepozitorijum { private string lokacija; public DijagnozaRepozitorijum() { this.lokacija = @"..\..\..\Data\dijagnoza.json"; } ...
25.75
89
0.526214
[ "MIT" ]
AleksaPapovic/HealthCareSystem
ZdravoKorporacija/ZdravoKorporacija/Repository/DijagnozaRepozitorijum.cs
1,545
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("SA4TSP")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: As...
35.962963
82
0.741504
[ "MIT" ]
yasserglez/metaheuristics
Problems/TSP/SA4TSP/AssemblyInfo.cs
971
C#