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
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace Microsoft.EntityFrameworkCore.M...
35.790698
140
0.671865
[ "MIT" ]
Applesauce314/efcore
src/EFCore/Metadata/RuntimeSkipNavigation.cs
6,156
C#
using System.Threading.Tasks; namespace Dfc.SharedConfig.Services { public interface ISharedConfigurationService { Task<T> GetConfigAsync<T>(string serviceName, string keyName, bool isDataEncrypted = false); Task SetConfigAsync<T>(string serviceName, string keyName, string data, bool isDataEn...
31.363636
110
0.742029
[ "MIT" ]
SkillsFundingAgency/dfc-sharedconfig-pkg-netstandard
Dfc.SharedConfig/Services/ISharedConfigurationService.cs
347
C#
using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Wallhaven.API.Models { public partial class WallhavenImage { [JsonProperty("data")] public WallhavenImageData Data { get; set; } } ...
26.291045
157
0.570536
[ "MIT" ]
Venipa/Wallhaven.API
Models/WallhavenImage.cs
3,525
C#
using System.IO; using System.Linq; namespace AdventOfCode.Solutions.Day1 { internal class SolutionPart2 : IntSolution { private int[] _depths; public SolutionPart2() { LoadFile(); } public int Solve() { int increases ...
22.475
104
0.440489
[ "MIT" ]
janovrom/AdventOfCode
Solutions/Day1/SolutionPart2.cs
901
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.063291
161
0.622714
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IpSecurityProfileRequest.cs
10,443
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices.ComTypes; using System.Text; using MetaPrograms.Expressions; namespace MetaPrograms.Members { public class ImportDirective { public IEnumerable<LocalVariable> GetLocalVariables() { var result = new...
27.376623
93
0.499051
[ "MIT" ]
felix-b/MetaPrograms
Source/MetaPrograms/Members/ImportDirective.cs
2,110
C#
using SpiceSharp.ParameterSets; namespace SpiceSharp.Components.CurrentControlledVoltageSources { /// <summary> /// Base parameters for a <see cref="CurrentControlledVoltageSource"/> /// </summary> /// <seealso cref="ParameterSet"/> public class Parameters : ParameterSet { /// <summary...
28.761905
74
0.610927
[ "MIT" ]
Polyfly/SpiceSharp
SpiceSharp/Components/Voltagesources/CCVS/Parameters.cs
606
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace PyromancersJourney.Framework { internal struct VertexEverything : IVertexType { public Vector3 Position; public Color Color; public Vector3 Normal; public Vector2 Texture; VertexDeclaration...
37.516129
142
0.675838
[ "MIT" ]
ChulkyBow/StardewValleyMods
PyromancersJourney/Framework/VertexEverything.cs
1,163
C#
using System.Collections; public class Engine : IEnumerable<GameState> { private int Width { get; } private int Height { get; } private GameState _state; public Engine(int width, int height, IEnumerable<Coordinate> initialState) { Width = width; Height = height; ...
20.787879
79
0.561224
[ "MIT" ]
spadger/game-of-life
Engine.cs
688
C#
namespace OpenAFSClientManager { partial class CifsControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
49.165605
144
0.633372
[ "MIT" ]
asankah/openafsclientmmc
CifsControl.Designer.cs
7,721
C#
using Abp.MultiTenancy; using SimpleTask.Authorization.Users; namespace SimpleTask.MultiTenancy { public class Tenant : AbpTenant<User> { public Tenant() { } public Tenant(string tenancyName, string name) : base(tenancyName, name) { } ...
18.111111
54
0.564417
[ "MIT" ]
Thomasqhl/TaskSystem
SimpleTask.Core/MultiTenancy/Tenant.cs
328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SFML.System; using SFML.Graphics; namespace WGP { /// <summary> /// A capsule shaped hitbox. /// </summary> public class CapsuleHitbox : SingleShapeHitbox { #region Pri...
32.035461
167
0.546823
[ "MIT" ]
WildGoat07/WildGoatPackage.NET
CapsuleHitbox.cs
4,519
C#
// ContextError.cs // // Copyright 2010 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.apache.org/licenses/LICENSE-2.0 // // Unless required b...
31.215116
102
0.48184
[ "MIT" ]
4vz/jovice
Aphysoft.Share/External/AjaxMin/ContextError.cs
5,371
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.343972
282
0.616727
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/MTurk/Basic/Send-MTRWorkerNotification-Cmdlet.cs
13,069
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.Text; using Microsoft.ML.CommandLine; using Microsoft.ML.Internal.Utilities; using Micro...
29.860902
115
0.526375
[ "MIT" ]
GitHubPang/machinelearning
test/Microsoft.ML.TestFramework/SubComponent.cs
7,945
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> //--...
40.505263
180
0.568347
[ "MIT" ]
ANONGHOST666/Lime-Downloader
LimeDownloader/Properties/Resources.Designer.cs
3,850
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...
34.08
164
0.776995
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ProviderHub/Outputs/ResourceTypeRegistrationPropertiesResponseExtensionOptions.cs
852
C#
// Decompiled with JetBrains decompiler // Type: Functal.FnFunction_IsLessThanOrEqual_UInt64 // Assembly: Functal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 47DC2DAE-D56F-4FC5-A0C3-CC69F2DF9A1F // Assembly location: \\WSE\Folder Redirection\JP\Downloads\Functal-1_0_0\Functal.dll namespace Functal...
28.318182
85
0.738363
[ "MIT" ]
jpdillingham/Functal
src/FnFunction_IsLessThanOrEqual_UInt64.cs
625
C#
using Newtonsoft.Json.Linq; using PeterO.Cbor; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO.Pipes; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Timers; using X...
53.503268
180
0.381871
[ "MIT" ]
MotionFlex0/XOPE-.NET
src/XOPE_UI.Spy/NamedPipeServer.cs
16,374
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 NuGet.Common; using NuGet.Packaging.Core; namespace NuGet.Packaging.Signing { public static c...
45.971154
149
0.652374
[ "Apache-2.0" ]
CosminRadu/NuGet.Client
src/NuGet.Core/NuGet.Packaging/Signing/Utility/RepositorySignatureInfoUtility.cs
4,781
C#
namespace InControl.NativeProfile { using System; // @cond nodoc public class PowerAMiniProExControllerMacProfile : Xbox360DriverMacProfile { public PowerAMiniProExControllerMacProfile() { Name = "PowerA Mini Pro Ex Controller"; Meta = "PowerA Mini Pro Ex Controller on Mac"; Matchers = new[] { n...
18.176471
75
0.66343
[ "MIT" ]
BattlerockStudios/GGJ2019
Assets/InControl/Source/Native/DeviceProfiles/Generated/PowerAMiniProExControllerMacProfile.cs
618
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using CoreWCF.IdentityModel.Tokens; namespace CoreWCF.Security.Tokens { public delegate void IssuedSecurityTokenHandler(SecurityToken issuedToken, EndpointAddress tokenRequestor...
39.235294
117
0.8006
[ "MIT" ]
AlexanderSemenyak/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/Security/Tokens/IIssuanceSecurityTokenAuthenticator.cs
667
C#
using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HospitalMachine.entry { public class BaseResult { public int result { get; set; } public string message { get; set; } public Object data { get...
19.5
43
0.624542
[ "Apache-2.0" ]
HZRelaper2020/HospitalMachine
entry/ReplyResult.cs
548
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> //---...
40.833333
80
0.646939
[ "MIT" ]
SamB1990/MSSQL_CLR_Extractor
src/obj/Debug/netcoreapp3.0/ClrExtract.AssemblyInfo.cs
980
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.IoT.TimeSeriesI...
58.041026
369
0.65091
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/Generated/TimeSeriesHierarchiesRestClient.cs
11,318
C#
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.Conte...
39.810277
212
0.614774
[ "MIT" ]
schalleneider/irtaktiks
src/IRTaktiks/IRTaktiks/Components/Screen/ConfigScreen.cs
10,072
C#
using System.Reflection.Emit; using WebAssembly.Runtime.Compilation; namespace WebAssembly.Instructions { /// <summary> /// Compare equal to zero (return 1 if operand is zero, 0 otherwise). /// </summary> public class Int64EqualZero : SimpleInstruction { /// <summary> /// Always <se...
28.138889
78
0.604146
[ "Apache-2.0" ]
Astn/dotnet-webassembly
WebAssembly/Instructions/Int64EqualZero.cs
1,013
C#
#region License /* * All content copyright Terracotta, Inc., unless otherwise indicated. 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.ap...
40.165049
92
0.626058
[ "MIT" ]
TrevorDArcyEvans/EllieWare
Code/Quartz.NET/src/Quartz/SPI/IThreadPool.cs
4,137
C#
using System; using System.Linq; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.Extensions.Options; using Robotify.AspNetCore.Config; namespace Robotify.AspNetCore.MetaTags { public class RobotifyMetaTag...
36.761905
145
0.595855
[ "MIT" ]
rickbutterfield/robotify-netcore
src/Robotify.AspNetCore/MetaTags/RobotifyMetaTagHelperComponent.cs
1,546
C#
using System; using System.Linq; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Streams; namespace StreamsTest { [TestClass] public class StreamTest { [TestMethod] public void EmptyStreamStartsAtEnd() { Stream<int> stream = ...
34.725714
90
0.565411
[ "MIT" ]
RichoM/Streams
src/StreamsTest/StreamTest.cs
6,079
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.Jag.VictimServices.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Col...
28.96
144
0.627762
[ "Apache-2.0" ]
JonTaylorBCGov2/pssg-cscp-cpu
cpu-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMTraceInfo.cs
1,448
C#
using Twilio.Http; namespace Twilio.Clients { /// <summary> /// Interface for a Twilio Client /// </summary> public interface ITwilioRestClient { /// <summary> /// Get the account sid all requests are made against /// </summary> string AccountSid { get; } /...
25.333333
76
0.542105
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/Clients/ITwilioRestClient.cs
1,142
C#
using System.Threading.Tasks; namespace HotChocolate.Execution.Processing { /// <summary> /// Represents a deprioritized part of the query that will be executed after /// the main execution has finished. /// </summary> internal interface IDeferredExecutionTask { /// <summary> //...
31.333333
80
0.625
[ "MIT" ]
Asshiah/hotchocolate
src/HotChocolate/Core/src/Execution/Processing/IDeferredExecutionTask.cs
752
C#
using System; using System.Collections.Generic; #nullable disable namespace DemoInsertTown.Models { public partial class NamesWithSalary { public string FullName { get; set; } public decimal Salary { get; set; } } }
18.571429
45
0.646154
[ "MIT" ]
Katsarov/EF-Core
02.ORM_Lab/ORMLab/DemoInsertTown/Models/NamesWithSalary.cs
262
C#
using ManahostManager.Utils; using MsgPack.Serialization; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.Serialization; namespace ManahostManager.Domain.Entity { // Payment for accessing all Manahost features => VIP // No Hom...
28.657143
80
0.685942
[ "MIT" ]
charla-n/ManahostManager
ManahostManager.Domain/Entity/Payment.cs
1,005
C#
using System.IO; using System; using Aspose.Pdf; namespace Aspose.Pdf.Examples.CSharp.AsposePDF.DocumentConversion.PDFToHTMLFormat { public class SingleHTML { public static void Run() { try { // ExStart:SingleHTML // The path to the docume...
40.225
143
0.622126
[ "MIT" ]
Swisscard/Aspose.PDF-for-.NET
Examples/CSharp/AsposePDF/DocumentConversion/PDFToHTMLFormat/SingleHTML.cs
1,609
C#
using PlayFab.PfEditor.EditorModels; using System; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; namespace PlayFab.PfEditor { public class PlayFabEditorToolsMenu : UnityEditor.Editor { public static float buttonWidth = 200; public static Vector2 scroll...
47.151351
209
0.56758
[ "MIT" ]
BrianPeek/Scavenger
src/Unity/Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorToolsMenu.cs
8,723
C#
using FlatRedBall.Glue.Plugins.EmbeddedPlugins.ManagePlugins.ViewModels; using FlatRedBall.Glue.Plugins.ExportedImplementations; using FlatRedBall.Glue.Plugins.ExportedInterfaces; using FlatRedBall.IO; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using S...
32.409449
166
0.585034
[ "MIT" ]
coldacid/FlatRedBall
FRBDK/Glue/Glue/Plugins/EmbeddedPlugins/ManagePlugins/PluginView.xaml.cs
4,118
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...
48.072581
178
0.687301
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/ResourceRegistrationFailureException.cs
5,961
C#
using Mews.Fiscalizations.Core.Model; namespace Mews.Fiscalizations.Hungary.Models { public sealed class SupplierInfo : Info { public SupplierInfo(TaxpayerIdentificationNumber taxpayerId, Name name, SimpleAddress address, VatCode vatCode) : base(taxpayerId, name, address) { ...
27.3125
119
0.668192
[ "MIT" ]
MewsSystems/fiscalizations
src/Hungary/Mews.Fiscalizations.Hungary/Models/Invoice/SupplierInfo.cs
439
C#
using System; using System.Diagnostics; using System.Linq; using System.Reflection; namespace NSeed.Seeding.Extensions { internal static class TypeExtensions { public static bool IsSeedType(this Type type) { Debug.Assert(type != null); return !type.IsAbstr...
35.396226
107
0.569296
[ "MIT" ]
nseedio/nseed
lab/DynamicAssemblyLoading/nseed/NSeed.Seeding/Extensions/TypeExtensions.cs
1,878
C#
// Wi Advice (https://github.com/raste/WiAdvice)(http://www.wiadvice.com/) // Copyright (c) 2015 Georgi Kolev. // Licensed under Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; u...
42.472514
181
0.512586
[ "Apache-2.0" ]
raste/WiAdvice
Source/BusinessLayer/BusinessLog.cs
105,079
C#
using System; namespace Stencil.Native { public static partial class NativeAssumptions { public static string DEFAULT_ASSEMBLY_NAMESPACE = "Stencil.Native.Droid"; } }
17.272727
81
0.715789
[ "MIT" ]
DanMasterson1/stencil
Source/Stencil.Native/Stencil.Native.Droid/Core/NativeAssumptions.cs
192
C#
// Copyright (c) Duende Software. All rights reserved. // See LICENSE in the project root for license information. namespace IdentityServer.API.UI { public class ConsentOptions { public static bool EnableOfflineAccess = true; public static string OfflineAccessDisplayName = "Offline Access"; ...
38.352941
127
0.745399
[ "MIT" ]
BuiTanLan/trouble-training
Src/IdentityServer/API/Controlers/Consent/ConsentOptions.cs
652
C#
using System.Text.Json.Serialization; using BeeSharp.ApiComponents.ApiModels.JsonConverter.Annotations; using BeeSharp.HiveEngine.ApiComponents.ApiModels.JsonConverter.Annotations; namespace BeeSharp.HiveEngine.ApiComponents.ApiModels.BroadcastOps.CustomJson.HiveEngine.Contracts.Tokens { [HiveEngineContract("toke...
37.631579
105
0.731469
[ "Apache-2.0" ]
NorisBlockchainSolutions/BeeSharp.HiveEngine
BeeSharp.HiveEngine/ApiComponents/ApiModels/BroadcastOps/CustomJson/HiveEngine/Contracts/Tokens/HiveEngineTokensTransferOwnershipModel.cs
717
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22.827586
52
0.722054
[ "MIT" ]
PFC-acl-amg/GamaPFC
GamaPFC/Gama.Cooperacion.Wpf/Views/StatusBarView.xaml.cs
664
C#
using SimpleMigrations; namespace Athena.Data.Migrations { [Migration(20180329115355, "RefactorOfferings")] public class RefactorOfferings : ScriptMigration { public RefactorOfferings() : base("20180329115355_RefactorOfferings.sql") { } } }
24.333333
82
0.667808
[ "MIT" ]
athena-scheduler/athena
src/Athena.Data/Migrations/20180329115355_RefactorOfferings.cs
292
C#
using Omnius.Core.RocketPack.DefinitionCompiler.Models; using Omnius.Core.RocketPack.DefinitionCompiler.Parsers.Extensions; using Sprache; namespace Omnius.Core.RocketPack.DefinitionCompiler.Parsers; internal static class DefinitionParser { private static readonly NLog.Logger _logger = NLog.LogManager.GetCurrentC...
50.084746
184
0.684602
[ "MIT" ]
OmniusLabs/Omnix
src/Omnius.Core.RocketPack.DefinitionCompiler/Parsers/DefinitionParser.cs
14,879
C#
using System; using System.CodeDom; using System.CodeDom.Compiler; using System.CodeDom.CSharp; using System.IO; using System.Reflection; using System.Text; using Microsoft.CSharp; namespace ConsoleTester { public static class Program { public static void Main() { CodeCompileUnit u...
45.852273
117
0.273978
[ "MIT" ]
sped-mobi/System.CodeDom.Extensions
src/ConsoleTester/Program.cs
8,072
C#
using System; using static System.Console; using System.IO; using static System.IO.Directory; using static System.IO.Path; using static System.Environment; namespace WorkingWithFileSystem { class Program { static void Main(string[] args) { // OutputFileSystemInfo(); //W...
35.565217
106
0.557213
[ "MIT" ]
Narasegowda/CSharp-7.1-and-.NET-Core-2.0-Modern-Cross-Platform-Development-Third-Edition
VS2017/Chapter09/WorkingWithFileSystem/Program.cs
4,092
C#
using System; namespace DevStore.Infra { public class Class1 { } }
9
24
0.617284
[ "MIT" ]
lipegomes/csharp-studies
DevStore/DevStore.Infra/Class1.cs
83
C#
using Chilicki.Cantor.Domain.Entities; using Chilicki.Cantor.Infrastructure.Configurations.EntityConfigurations.Base; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Chilicki.Cantor.Infrastructure.Configurations.EntityConfigurations { public class WalletCurren...
34.851852
87
0.632306
[ "MIT" ]
mchilicki/cantor-backend
Chilicki.Cantor/Chilicki.Cantor.Infrastructure/Configurations/EntityConfigurations/WalletCurrencyConfiguration.cs
943
C#
using System.IO; using System; using Aspose.Pdf; using Aspose.Pdf.Facades; namespace Aspose.Pdf.Examples.CSharp.AsposePDFFacades.Forms { public class CopyOuterField { public static void Run() { try { // ExStart:CopyOuterField // The path t...
34.815789
230
0.57294
[ "MIT" ]
Swisscard/Aspose.PDF-for-.NET
Examples/CSharp/AsposePdfFacades/Forms/CopyOuterField.cs
1,323
C#
using Riven.Dtos; using System; using System.Collections.Generic; using System.Text; namespace Company.Project.Authorization.Roles.Dtos { public class RoleDto : EntityDto<Guid?> { /// <summary> /// 名称(编码)-不可被修改 /// </summary> public virtual string Name { get; set; } /...
20.96875
55
0.529061
[ "Apache-2.0" ]
rivenfx/ProjectQ
src/Company.Project.Application/Authorization/Roles/Dtos/RoleDto.cs
717
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
38.810345
201
0.674367
[ "Apache-2.0" ]
allenlooplee/tencentcloud-sdk-dotnet
TencentCloud/Cvm/V20170312/Models/ResetInstancesTypeRequest.cs
2,711
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...
77.032967
480
0.708916
[ "MIT" ]
AlanFlorance/azure-powershell
src/Kusto/generated/api/Models/Api20220201/ReadWriteDatabaseProperties.PowerShell.cs
13,839
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using MongoDB.Driver; using Shopping.Api.Data; using Shopping.Api.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Shopping.Api.Controllers { [ApiC...
26.906977
98
0.632671
[ "MIT" ]
Ibrahimayman/run-devops
Shopping/Shopping.Api/Controllers/ProductController.cs
1,159
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Torque2dMitToPhaserConverter.AbstractSyntaxTreeClasses { public class OpenCurlyBracket : CodeBlock { public override string ConvertToCode() { return "{"; ...
19.764706
64
0.690476
[ "MIT" ]
jeffmorettievermoregamestudios/Torque2dMitToPhaserConverter
Torque2dMitToPhaserConverter/Torque2dMitToPhaserConverter/AbstractSyntaxTreeClasses/OpenCurlyBracket.cs
338
C#
using UnityEngine; public class TestScript : ScriptableObject { void OnEnable () { Debug.Log("start"); } public void MetodTest() { Debug.Log("TEST TEST TEST"); } }
12.733333
43
0.612565
[ "MIT" ]
randalfien/scriptable-object-component
TestScript.cs
193
C#
namespace GvasFormat.Serialization.Game.Scenarios.POIs.Modern.Actors { public class ModernPOI_WindFarm_A_01_Small { } }
20
68
0.721429
[ "MIT" ]
SokolovPavel/gvas-converter
GvasFormat/Astroneer/Types/Game/Scenarios/POIs/Modern/Actors/ModernPOI_WindFarm_A-01_Small.cs
140
C#
using System.Linq; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Middleware; using JsonApiDotNetCore.Queries.Expressions; using JsonApiDotNetCore.Queries.Internal.Parsing; using JsonApiDotNetCore.Resources.Annotations; namespace JsonApiDotNetCore.QueryStrings.Internal { public abstract class Query...
38.235294
151
0.704615
[ "MIT" ]
jlits/JsonApiDotNetCore
src/JsonApiDotNetCore/QueryStrings/Internal/QueryStringParameterReader.cs
1,950
C#
using System.Collections.Generic; using UnityEngine; /// <summary> /// A very simples object pooling class /// </summary> public class SimpleObjectPool : MonoBehaviour { /// <summary> /// The prefab that this object pool returns instances of /// </summary> public GameObject prefab; /// <summary> ...
31.2375
102
0.619048
[ "MIT" ]
gafda/Tryouts
Assets/Scripts/MainMenu/SimpleObjectPool.cs
2,501
C#
// ---------------------------------------------------------------------------------------- // COPYRIGHT NOTICE // ---------------------------------------------------------------------------------------- // // The Source Code Store LLC // ACTIVEGANTT SCHEDULER COMPONENT FOR C# - ActiveGant...
19.743405
108
0.6558
[ "MIT" ]
jluzardo1971/ActiveGanttCSN
MSP2007/Task.cs
41,167
C#
using System; using Microsoft.Extensions.DependencyInjection; namespace DrawSequence.Infrastructure.Utility { public static class IServiceCollectionExtensions { public static IServiceCollection AddScopedLazy<TService, TImplementation>(this IServiceCollection services) where TService : class where TImp...
33.470588
178
0.692443
[ "MIT" ]
Wawrzyn321/Draw-Sequence
DrawSequence/Infrastructure/Utility/IServiceCollectionExtensions.cs
571
C#
using System; using Xamarin.Forms.Platform.iOS; using UIKit; using CoreGraphics; using Xamarin.Forms; using System.Linq; namespace SlideOverKit.iOS { public class SlideOverKitiOSHandler { PageRenderer _pageRenderer; ISlideOverKitPageRendereriOS _menuKit; IMenuContainerPage _basePage; ...
38.12894
172
0.571955
[ "Apache-2.0" ]
raver99/SlideOverKit
SlideOverKit.iOS/SlideOverKitiOSHandler.cs
13,309
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WhiteLotusYoga { public partial class Pricing : Page { protected void Page_Load(object sender, EventArgs e) { } } }
17.823529
60
0.686469
[ "MIT" ]
bennjs/whitelotusyoga
WhiteLotusYoga/Pricing.aspx.cs
305
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; namespace Microsoft.CSharp.RuntimeBinder { /// <summary> /// Represents an error that occurs while processing a dynamic bind in the C# runtime bi...
48.837209
178
0.682857
[ "MIT" ]
690486439/corefx
src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/RuntimeBinderInternalCompilerException.cs
2,100
C#
namespace Snittlistan.Web.Areas.V2.Controllers { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; using Snittlistan.Web.Areas.V2.Domain; using Snittlistan.Web.Areas.V2.Indexes; using Snittl...
36.28655
133
0.50701
[ "MIT" ]
dlidstrom/Snittlistan
Snittlistan.Web/Areas/V2/Controllers/PlayerController.cs
6,209
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using Microsoft.Xna.Framew...
35.510417
139
0.531534
[ "MIT" ]
MH15/monogame-web-scratch
MonoGame.Framework/Content/ContentReaders/ReflectiveReader.cs
6,818
C#
// Copyright (c) Valdis Iljuconoks. All rights reserved. // Licensed under Apache-2.0. See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Linq; using DbLocalizationProvider.Abstractions; using DbLocalizationProvider.Queries; namespace DbLocalizationProvider.A...
42.677419
148
0.57294
[ "Apache-2.0" ]
MattisOlsson/localization-provider-aspnet
src/DbLocalizationProvider.AspNet/Queries/GetAllTranslationsHandler.cs
1,325
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.IO; using System.Linq; using System.Threading; using BuildXL.Utilities; namespace BuildXL.Processes.Sideband { /// <summary...
39.15873
138
0.58634
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Engine/Processes/Sideband/SidebandReader.cs
4,936
C#
// // System.Globalization.CultureInfo Test Cases // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (c) 2005 Novell, Inc. (http://www.novell.com) // using System; using System.Globalization; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Threading; using NUnit....
30.500684
133
0.670793
[ "Apache-2.0" ]
DLBob/mono
mcs/class/corlib/Test/System.Globalization/CultureInfoTest.cs
22,296
C#
using Mccole.Geodesy.Calculator; using Mccole.Geodesy.Extension; using Mccole.Geodesy.Formatter; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Mccole.Geodesy.UnitTesting.Calculator { [TestClass] public class RhumbCalculator_Tests { private static double ConvertToBeari...
36.316667
121
0.612322
[ "MIT" ]
dungeym/Mccole.Geodesy
Mccole.Geodesy.UnitTesting/Calculator/RhumCalculator_Tests.cs
8,756
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22.62069
56
0.72561
[ "MIT" ]
toolandhelp/WPFStudyDemos
FileManager/UserControls/UCfileListControl.xaml.cs
668
C#
using Microsoft.CSharp; using NBi.Core.Injection; using NBi.Core.Scalar.Casting; using NBi.Core.Variable; using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Transformation.Transf...
27.673913
79
0.641005
[ "Apache-2.0" ]
TheAutomatingMrLynch/NBi
NBi.Core/Transformation/Transformer/NCalcTransformer.cs
1,275
C#
// ----------------------------------------------------------------------- // <copyright file="TypeExtensions.cs" company="Hybrid开源团队"> // Copyright (c) 2014-2015 Hybrid. All rights reserved. // </copyright> // <site>https://www.lxking.cn</site> // <last-editor>ArcherTrister</last-editor> // <last-date>2015-1...
33.598113
168
0.524681
[ "Apache-2.0" ]
ArcherTrister/ESoftor
src/Hybrid/Reflection/TypeExtensions.cs
18,963
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.Collections.Generic; namespace Microsoft.Extensions.FileSystemGlobbing.Internal { /// <summary> /// This API supports infrastructu...
33.352941
111
0.716049
[ "Apache-2.0" ]
188867052/Extensions
src/FileSystemGlobbing/src/Internal/ILinearPattern.cs
567
C#
namespace State { /// <summary> /// State that indicates the Account is not accruing interest. /// /// Behaves as a ConcreteState in the State pattern. /// </summary> internal class ZeroInterestAccountState : AccountState { private new const double InterestRate = 0; private...
27.474576
72
0.550895
[ "MIT" ]
GabeStah/Airbrake.io
Pitches/A Guide to Software Design Patterns/State/ZeroInterestAccountState.cs
1,623
C#
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Text; namespace Blazorade.Bootstrap.Components { /// <summary> /// The <see cref="DropdownMenu"/> component is uses as child component in a <see cref="Dropdown"/> component. /// It is the parent to one or m...
26.75
114
0.637072
[ "Apache-2.0", "MIT" ]
Blazorade/Blazorade-Bootstrap
Blazorade.Bootstrap.Components/DropdownMenu.razor.cs
644
C#
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; using System.Collections.Generic; using System.L...
49.284848
265
0.602927
[ "MIT" ]
augustoproiete-forks/dotnet--pinvoke
src/AdvApi32.Desktop/AdvApi32.Helpers.cs
8,134
C#
/* * CAMERA LOOK DETECTOR * Detects what the camera is looking at * If it is looking at something that has a collider, it will attempt * to tell the MouseCursor script to change its cursor * If the Interact key is pressed while looking at an object * it will attempt to run the 'Interact Function' of the targets...
26.054545
91
0.662945
[ "MIT" ]
CMD-Breda-Avans/CMD-First-Person-Controller
CameraLookDetector.cs
1,433
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.865169
143
0.65063
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/DeleteFunctionRequestMarshaller.cs
3,014
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Oscar.BL { public class Genres { // Data members. private Nullable<Guid> genreId; private string genreName = string.Empty; ////////////////////////////...
20.021739
54
0.457112
[ "MIT" ]
IVIvk/Oscar
Syntra.Oscar/Oscar.BL/Genres.cs
923
C#
using System; using System.Collections.Generic; using System.Data.Entity.Design.PluralizationServices; using System.Globalization; using System.IO; using System.Linq; using Microsoft.VisualStudio.Modeling.Diagrams; using Microsoft.VisualStudio.Modeling.Validation; using Sawczyn.EFDesigner.EFModel.Annotatio...
41.582524
208
0.503113
[ "MIT" ]
MagicAndre1981/EFDesigner
src/Dsl/CustomCode/Partials/ModelRoot.cs
25,700
C#
using Upgrade; namespace Ship { namespace SecondEdition.M12LKimogilaFighter { public class CartelExecutioner : M12LKimogilaFighter { public CartelExecutioner() : base() { PilotInfo = new PilotCardInfo( "Cartel Executioner", ...
24.521739
60
0.475177
[ "MIT" ]
GeneralVryth/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Pilots/M12LKimogilaFighter/CartelExecutioner.cs
566
C#
// <auto-generated /> namespace BellumGens.Api.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial clas...
28.5
106
0.636257
[ "MIT" ]
BellumGens/bellum-gens-api
BellumGens.Api/Migrations/202001141324006_ApplicationToTournament.Designer.cs
855
C#
namespace Machete.X12Schema.V5010 { using X12; public interface LoopSAC_860 : X12Layout { Segment<SAC> ServicePromotionAllowanceOrChargeInformation { get; } Segment<CUR> Currency { get; } } }
18.615385
74
0.623967
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/LoopSAC_860.cs
242
C#
///////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by Forge Partner Development // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provid...
37.902778
165
0.630634
[ "MIT" ]
efrenabella/model.derivative-csharp.webapi-viewer.sample
ASPNET.webapi/Controllers/JSTreeController.cs
2,731
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...
77.017699
306
0.716879
[ "MIT" ]
Agazoth/azure-powershell
src/ApplicationInsights/ApplicationInsights.Autorest/generated/api/Models/Api20180501Preview/WebTestPropertiesValidationRulesContentValidation.json.cs
8,591
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
37.321429
84
0.558852
[ "MIT", "Unlicense" ]
vgribok/Aspectacular
NET 4.0/Example.AdventureWorks2008_Dal.40/DbCtx/ErrorLog.cs
1,045
C#
using RestWithASPNET5Udemy.Configurations; using RestWithASPNET5Udemy.Data.VO; using RestWithASPNET5Udemy.Repositories; using RestWithASPNET5Udemy.Services; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; namespace RestWithASPNET5Udemy.Business.Impl...
32.53125
132
0.653218
[ "Apache-2.0" ]
fulviomanfrin/RestWithASP-NET5Udemy
02_RestWithASPNET5Udemy_Calculator/RestWithASPNET5Udemy/RestWithASPNET5Udemy/Business/Implementations/LoginBusinessImplementation.cs
2,084
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using ...
35.588235
323
0.599008
[ "MIT" ]
06012021-dotnet-uta/P2_PokeLoot
P2Project/P2Main/P2Api/Startup.cs
3,025
C#
using System; using System.Linq; using ApexSharp.ApexParser.Parser; using ApexSharp.ApexParser.Syntax; using ApexSharp.ApexParser.Toolbox; using NUnit.Framework; using Sprache; using static ApexSharp.ApexParser.Tests.Properties.Resources; namespace ApexSharp.ApexParser.Tests.Toolbox { [TestFixture] public cla...
42.463127
132
0.59479
[ "MIT" ]
apexsharp/apexparser
ApexSharp.ApexParser.Tests/Toolbox/ParseExtensionTests.cs
14,397
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace Webinar.TranslationDemo.Infrastructure.Common { public class DefinitionCulture { protected DefinitionCulture() { } private static List<CultureInfo> supportedCultures = n...
30.857143
85
0.621914
[ "MIT" ]
EstebanVallejoMorales/TranslationDemo
Webinar.TranslationDemo.Infrastructure.Common/DefinitionCulture.cs
1,298
C#
using System; class Program { static void Main(string[] args) { string personName = Console.ReadLine(); Ferrari ferrari = new Ferrari(personName); Console.WriteLine(ferrari); } }
19.636364
50
0.625
[ "MIT" ]
SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals
2018.02.12-OOPBasics/2018.02.27-InterfacesAbstrH5/Ferrari/Program.cs
218
C#
using IAttendanceWebAPI.Core.Entities; namespace IAttendanceWebAPI.Core.Repositories { public interface ICourseRepository : IRepository<Course> { } }
20.375
60
0.766871
[ "MIT" ]
ducmeit1/IAttendance-API
IAttendanceWebAPI/Core/Repositories/ICourseRepository.cs
165
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.Events; namespace PokemonBattele { public abstract class UseBagItem { public readonly bool canUseInBattle; public readonly bool canUseOutBattle; public readonly b...
30.108108
63
0.655296
[ "MIT" ]
Avatarchik/Pokemon_Unity3D_Entitas
Assets/Scripts/Data/Bag/UseBagIten/UseBagItem.cs
1,116
C#
// // SelectColorDialog.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // 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 res...
26.752475
120
0.679127
[ "MIT" ]
DavidKarlas/xwt
Xwt/Xwt/SelectColorDialog.cs
2,702
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ex...
38.945946
84
0.750173
[ "MIT" ]
juniorgasparotto/SysCommand
examples/Example.Initialization.MultiAction/Properties/AssemblyInfo.cs
1,444
C#
using System; using System.Collections; using System.IO; using MbUnit.Core.Framework; using MbUnit.Framework; using System.Reflection; using MbUnit.Core.Invokers; using MbUnit.Core; namespace MbUnit.Tests.Core.Invokers { /// <summary> /// <see cref="TestFixture"/> for the <see cref="MethodRunInvok...
27.011494
82
0.496596
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/mbunit/MbUnit.Tests/Core/Invokers/MethodRunInvokerTest.cs
2,352
C#