content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using 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: AssemblyTi...
37.588235
85
0.725352
[ "MIT" ]
jcouv/VsVimExt
VsVimExtCommands/Properties/AssemblyInfo.cs
1,280
C#
using STRINGS; using UnityEngine; public class IronCometConfig : IEntityConfig { public static string ID = "IronComet"; public string[] GetDlcIds() { return DlcManager.AVAILABLE_ALL_VERSIONS; } public GameObject CreatePrefab() { GameObject gameObject = EntityTemplates.CreateEntity(ID, UI.SPACEDESTINATIONS....
34.627451
103
0.779728
[ "MIT" ]
undancer/oni-data
Managed/main/IronCometConfig.cs
1,766
C#
using System.Net.Http; using System.Threading.Tasks; #nullable enable namespace Guppi.Domain.Interfaces { public interface IHttpRestService { HttpClient Client { get; } Task<T?> GetData<T>(string url); void AddHeader(string name, string? value); Task<HttpResponseMessage> Sen...
20.095238
72
0.687204
[ "MIT" ]
rprouse/guppi
Guppi.Domain/Interfaces/IHttpRestService.cs
422
C#
using System.Collections.Generic; using Abp.Application.Features; using Abp.AutoMapper; using Abp.UI.Inputs; using Castle.Components.DictionaryAdapter; using NorthLion.Zero.Editions.CustomEditionManager.CustomObj; namespace NorthLion.Zero.Editions.Dto { [AutoMap(typeof(Feature), typeof(TenantFeature))] public...
35.952381
117
0.709934
[ "MIT" ]
CodefyMX/NorthLionAbpZero
NorthLion.Zero.Application/Editions/Dto/FeatureForEditionInput.cs
757
C#
using System; using System.Drawing; namespace MSR.CVE.BackMaker.ImagePipeline { public class SizeParameter : ImmutableParameter<Size> { public SizeParameter(Size value) : base(value) { } public override void AccumulateRobustHash(IRobustHash hash) { hash.Accumulate(base.value); } } }
19.8125
62
0.709779
[ "MIT" ]
QualitySolution/-GMap.NET
Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SizeParameter.cs
317
C#
using CSharpFunctionalExtensions; using System.Text.RegularExpressions; namespace SimpleValidatorBuilder.Parser; public sealed class StringContainsOnlyAlphabetCharacters<TError> : IParser<string, TError> { private readonly Func<TError> _errorFactory; internal StringContainsOnlyAlphabetCharacters(Func<TError...
39.5
141
0.76985
[ "MIT" ]
gagnedavid25/SimpleValidatorBuilder
src/SimpleValidatorBuilder/Parser/StringContainsOnlyAlphabetCharacters.cs
871
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
30.4
142
0.69969
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-multimediaai/Multimediaai/Model/V20190810/CreateFaceGroupRequest.cs
2,584
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using SharpGL.SceneGraph.Core; namespace SharpGL.SceneGraph.Primitives { /// <summary> /// A simple cube polygon. /// </summary> [Serializable] public class Cube : ...
33.376344
79
0.465206
[ "MIT" ]
DanFTRX/sharpgl
source/SharpGL/Core/SharpGL.SceneGraph/Primitives/Cube.cs
3,104
C#
namespace AGS.API { /// <summary> /// Event arguments for inventory interaction /// </summary> public class InventoryInteractEventArgs : ObjectEventArgs { /// <summary> /// Initializes a new instance of the <see cref="T:AGS.API.InventoryInteractEventArgs"/> class. /// </summary...
27.483871
103
0.600939
[ "Artistic-2.0" ]
OwenMcDonnell/MonoAGS
Source/AGS.API/Objects/Interactions/InventoryInteractEventArgs.cs
854
C#
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2017 // by DotNetNuke Corporation // // 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 restri...
34.464646
116
0.703986
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Providers/HtmlEditorProviders/RadEditorProvider/ImageTester.aspx.cs
3,415
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Mspr.Reseau.Auth.Api.Services; using Mspr.Reseau.Auth.Api.Services.Interfaces; namespace Mspr.Reseau.Auth.Api { ...
28.745455
106
0.609108
[ "Apache-2.0" ]
MidiasAndromeda/mspr-reseau-interface-auth
Mspr.Reseau.Auth.Api/Startup.cs
1,581
C#
using System; namespace UnleashedDDD.Sales.Domain.Model { public class MonetaryValue { public decimal Amount { get; private set; } public Currency Currency { get; private set; } public MonetaryValue(decimal amount, Currency currency) { Amount = amount; ...
28.791667
87
0.586107
[ "MIT" ]
zdeneksejcek/DDDwithOrleans
src/UnleashedDDD/Sales/Domain.Model/MonetaryValue.cs
693
C#
using System; namespace DbTransmogrifier.Database { public class DbTransmogrifierException : Exception { public DbTransmogrifierException(string message) : this(message, null) { } public DbTransmogrifierException(string message, Exception innerException) ...
22.411765
82
0.629921
[ "BSD-2-Clause" ]
jeffdoolittle/DbTransmogrifier
src/DbTransmogrifier/Database/DbTransmogrifierException.cs
383
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Numerics; using GFDLibrary.Common; using GFDLibrary.IO; namespace GFDLibrary.Models { public sealed class Model : Resource { public override ResourceType ResourceType => ResourceType.Model; ...
38.991543
166
0.447107
[ "MIT" ]
D3fau4/image2gnf
GFD-Studio/GFDLibrary/Models/Model.cs
18,481
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...
47.298387
178
0.680477
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SecretsManager/Generated/Model/LimitExceededException.cs
5,865
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Graph.Rbac; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Resources; usin...
44.95935
163
0.640868
[ "MIT" ]
BaherAbdullah/azure-sdk-for-net
sdk/keyvault/Azure.ResourceManager.KeyVault/tests/VaultOperationsTestsBase.cs
5,530
C#
using System.Threading; using FinancialTransactionsApi.V1.UseCase; using Bogus; using FluentAssertions; using Microsoft.Extensions.HealthChecks; using Moq; using Xunit; namespace FinancialTransactionsApi.Tests.V1.UseCase { public class DbHealthCheckUseCaseTests { private Mock<IHealthCheckService> _moc...
31.170213
120
0.681911
[ "MIT" ]
LBHackney-IT/financial-transactions-api
FinancialTransactionsApi.Tests/V1/UseCase/DbHealthCheckUseCaseTests.cs
1,465
C#
using AventStack.ExtentReports.Core; using AventStack.ExtentReports.MediaStorage; using AventStack.ExtentReports.Model; using MongoDB.Bson; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; namespace AventStack.ExtentReports.Reporter { public class ExtentKlovReporter : Abs...
40.021898
115
0.583926
[ "Apache-2.0" ]
JeevaSanthosh/AutomationPractice
ExtentReports/Reporter/ExtentKlovReporter.cs
16,451
C#
/* Copyright © 2010 Richard G. Todd. * Licensed under the terms of the Microsoft Public License (Ms-PL). */ using System; using System.Windows; namespace Prolog { /// <summary> /// Contains state information passed to a <see cref="RoutedClauseEventHandler"/>. /// </summary> public class RoutedClaus...
21.507463
91
0.536433
[ "MIT" ]
craigbridges/TaskFlow.NET
docs/Research/AI/Prolog/Prolog.NET/Prolog/Prolog/RoutedClauseEventArgs.cs
1,444
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using CsvHelper.Configuration; namespace MOE.Common.Models { public class ApproachYellowRedActivationAggregation : Aggregation { //[Key] //[DatabaseGenerated(DatabaseGeneratedOption...
31.833333
109
0.588714
[ "Apache-2.0" ]
AndreRSanchez/ATSPM
MOE.Common/Models/ApproachYellowRedActivationsAggregation.cs
1,721
C#
namespace Adapter { public interface ITarget { string GetRequest(); } }
13.142857
29
0.586957
[ "MIT" ]
luiscarlosjunior/courses-content-dotnet
.Net core/DesignPattern/Adapter/ITarget.cs
92
C#
namespace CAS.Master { partial class FrmMasterProsenBOP { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.08
167
0.604225
[ "MIT" ]
husniaditya/it-inventory
Master/FrmMasterProsenBOP.Designer.cs
4,308
C#
using System; using System.Threading.Tasks; using AspNetCore.Proxy.Builders; using AspNetCore.Proxy.Options; using Xunit; namespace AspNetCore.Proxy.Tests.Unit { public class HttpProxy { [Fact] public async Task CanExerciseHttpProxyBuilder() { const string endpoint = "any"; ...
32.341463
105
0.607843
[ "MIT" ]
scherenhaenden/AspNetCore.Proxy
src/Test/Unit/HttpProxy.cs
1,326
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
47.247748
229
0.586758
[ "MIT" ]
andrei-bozhilov/Phone-Management-System
PhoneManagementSystem.WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,978
C#
using Microsoft.DotNet.PlatformAbstractions; using Microsoft.EntityFrameworkCore; using Microsoft.OpenApi.Models; using MyServiceBroker; using Newtonsoft.Json; using OpenServiceBroker; using OpenServiceBroker.Catalogs; using OpenServiceBroker.Instances; var builder = WebApplication.CreateBuilder(args); // ...
29.833333
143
0.750466
[ "MIT" ]
AXOOM/OpenServiceBroker
template/Program.cs
1,611
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> //---...
42.583333
82
0.658513
[ "MIT" ]
SamIge7/SideWork
ExtensionMethods/ExtensionMethods.Library/obj/Debug/netstandard2.0/ExtensionMethods.Library.AssemblyInfo.cs
1,022
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace InterativeErosionProject { /// <summary> /// Represents 1 layer /// </summary> [System.Serializable] public class Layer { ///<summary>r - height; g, b - velocity; a - temp...
43.286154
154
0.644655
[ "MIT" ]
LiamFallon213/Interactive-Erosion
Assets/InteractiveErosion/Scripts/Layer.cs
14,070
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. #nullable disable using System; using System.Composition; using System.Collections.Immutable; using System.Threadi...
35.833333
116
0.749767
[ "MIT" ]
333fred/roslyn
src/EditorFeatures/Test/CodeFixes/ErrorCases/CodeFixExceptionInRegisterMethodAsync.cs
1,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ShareLink.Areas.AutoTool.ViewModels { public class NhanDienShareLinkViewModel { public List<ShareLinkSimple> ListLink { get; set; } public string Template { get; set; } public ...
22.772727
91
0.670659
[ "MIT" ]
HoangnguyenDev/ShareLink
Code/ShareLink/ShareLink/Areas/AutoTool/ViewModels/NhanDienShareLinkViewModel.cs
503
C#
#region License // /* // * ###### // * ###### // * ############ ####( ###### #####. ###### ############ ############ // * ############# #####( ###### #####. ###### ############# ############# // * ###### #####( ###### #####. ###### ##### ###### ##...
39.346154
119
0.424242
[ "MIT" ]
AlexandrosMor/adyen-dotnet-api-library
Adyen/Model/Nexo/CardReaderInitResponse.cs
2,048
C#
#region MIT License // // Filename: ICellBitmapCell.cs // // Copyright © 2011-2013 Felix Concordia SARL. All rights reserved. // Felix Concordia SARL, 400 avenue Roumanille, Bat 7 - BP 309, 06906 Sophia-Antipolis Cedex, FRANCE. // // Copyright © 2005-2011 MEDIT S.A. All rights reserved. // MEDIT S.A., 2 rue du Belvede...
39.517241
101
0.72164
[ "MIT" ]
stewartadcock/meddatagrid
Cells/ICellBitmapCell.cs
2,295
C#
using System; using System.Linq; using SystemDot.Messaging.Packaging; using SystemDot.Messaging.RequestReply.ExceptionHandling; using SystemDot.Messaging.Specifications.publishing; using SystemDot.Messaging.Storage; using Machine.Specifications; namespace SystemDot.Messaging.Specifications.exception_replying_for_requ...
39.375
98
0.654603
[ "Apache-2.0" ]
SystemDot/SystemDotServiceBus
SystemDotMessaging/Projects/SystemDot.Messaging.Specifications/exception_replying_for_request_reply/when_failing_the_handling_of_a_request.cs
1,577
C#
// Copyright (c) 2011-2019 Roland Pheasant. All rights reserved. // Roland Pheasant licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using DynamicData.Kernel; namespace DynamicData.Cache.Int...
41.245902
146
0.516693
[ "MIT" ]
EmilienDup/DynamicData
src/DynamicData/Cache/Internal/SizeLimiter.cs
2,518
C#
using NServiceBus; public class Usage { void Basic(Configure configure) { #region rabbitmq-config-basic configure.UseTransport<NServiceBus.RabbitMQ>(); #endregion } void CustomConnectionString(Configure configure) { #region rabbitmq-config-connection...
23.1
91
0.650794
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
Snippets/Rabbit/Rabbit_1/Usage.cs
666
C#
using System; using RuneForge.Game.Entities; namespace RuneForge.Game.Components.Implementations { public class MeleeCombatComponent : Component { public decimal AttackPower { get; } public TimeSpan CycleTime { get; } public TimeSpan ActionTime { get; } public Entity Target...
24.571429
97
0.592054
[ "MIT" ]
RuneForge/RuneForge
Source/RuneForge.Game/Components/Implementations/MeleeCombatComponent.cs
1,034
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.IO; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Jso...
44.736301
558
0.586236
[ "Apache-2.0" ]
AvePoint/cloud-governance-client
csharp-netstandard/src/Cloud.Governance.Client/Model/ApplyGroupPolicyModel.cs
13,063
C#
using System.Reflection; 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("04. ExtractIntrNumbers")] [assembly: Assem...
38.138889
84
0.745084
[ "MIT" ]
PhilipYordanov/Software-University-C-Fundamentals-track
CSharpAdvance/Regular Expressions - Lab/RegularExpressions - Lab/04. ExtractIntrNumbers/Properties/AssemblyInfo.cs
1,376
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2019 // // 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 r...
44.259259
81
0.67364
[ "MIT" ]
Y-Less/SharpVk
src/SharpVk/Interop/Khronos/DisplayPresentInfo.gen.cs
3,585
C#
 namespace EntityFramework.Utilities { public class QueryInformation { public string Schema { get; set; } public string Table { get; set; } public string Alias { get; set; } public string WhereSql { get; set; } } }
22.583333
45
0.575646
[ "Apache-2.0" ]
mvondracek/NetfoxDetective
Misc/EntityFramework.Utilities/EntityFramework.Utilities/EntityFramework.Utilities/QueryInformation.cs
273
C#
namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayCommerceIotMdeviceprodDevicelogUploadResponse. /// </summary> public class AlipayCommerceIotMdeviceprodDevicelogUploadResponse : AlipayResponse { } }
24.5
85
0.734694
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayCommerceIotMdeviceprodDevicelogUploadResponse.cs
247
C#
/* * Copyright (c) 2007-2008, openmetaverse.org * 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, this...
41.405996
154
0.526014
[ "BSD-3-Clause" ]
logicmoo/libopenmetaverse
OpenMetaverse/Login.cs
66,291
C#
namespace NirDobovizki.PiGpio { public enum PullMode { None, PullUp, PullDown } }
13.111111
30
0.533898
[ "MIT" ]
nirdobovizki/PiGpio
PiGpio/PullMode.cs
120
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("08...
38.081081
84
0.745919
[ "MIT" ]
yangra/SoftUni
ProgrammingBasics/03.SimpleConditions/08.MetricConverter/Properties/AssemblyInfo.cs
1,412
C#
using System; namespace UltimaOnline.Items { public class BarrelLid : Item { [Constructable] public BarrelLid() : base(0x1DB8) { Weight = 2; } public BarrelLid(Serial serial) : base(serial) { } public override void Se...
21.982609
84
0.498418
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Items/Construction/Misc/BarrelParts.cs
2,528
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
33.115942
138
0.701094
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-imageseg/Imageseg/Model/V20191230/SegmentAnimalRequest.cs
2,285
C#
using System; using System.ComponentModel; using NLua; using BizHawk.Emulation.Common; using BizHawk.Emulation.Common.IEmulatorExtensions; using BizHawk.Common.BufferExtensions; // ReSharper disable UnusedMember.Global namespace BizHawk.Client.Common { [Description("These functions behavior identically t...
37.163814
407
0.691316
[ "MIT" ]
warmCabin/BizHawk
BizHawk.Client.Common/lua/EmuLuaLibrary.Memory.cs
15,202
C#
namespace Stump.DofusProtocol.Messages { using System; using System.Linq; using System.Text; using Stump.DofusProtocol.Types; using Stump.Core.IO; [Serializable] public class ClientUIOpenedByObjectMessage : ClientUIOpenedMessage { public new const uint Id = 6463; public...
23.292683
70
0.579058
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.DofusProtocol/Messages/Messages/Game/Ui/ClientUIOpenedByObjectMessage.cs
957
C#
using System; using UnityEngine; using System.Collections.Generic; using SCIP_library; using System.Threading; using System.Text; using System.IO.Ports; namespace URG { [Serializable] public class SerialURG : URGDevice { [SerializeField] readonly string portName; [SerializeField] ...
31.884793
116
0.401214
[ "MIT" ]
PetitDevil/ShinnUST
Assets/Plugin/URG_org/Scripts/SerialURG.cs
6,921
C#
namespace DELTation.UI.Screens.Raycasts { public sealed class NullRaycastBlocker : IRaycastBlocker { public bool Active { get; set; } } }
22.571429
60
0.677215
[ "MIT" ]
Delt06/computer-battle
Assets/Plugins/DELTation/UI/Screens/Raycasts/NullRaycastBlocker.cs
160
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace Uno { public static class Extensions { public static char First(this string str) { return str[0]; } publi...
29.354839
96
0.401677
[ "MIT" ]
devadiab/uno
src/common/Uno.Common/Extensions.cs
17,292
C#
using UnityEngine; using MoreMountains.Tools; using System.Collections; using UnityEngine.UI; namespace MoreMountains.Tools { /// <summary> /// Add this component to an object and it will show a healthbar above it /// You can either use a prefab for it, or have the component draw one at the start /// ...
40.204082
291
0.680838
[ "MIT" ]
DuLovell/Battle-Simulator
Assets/Imported Assets/Feel/MMTools/Tools/MMGUI/MMHealthBar.cs
15,762
C#
using Sitecore.Diagnostics; using System.Collections; using System.Collections.Generic; using Sitecore.ExperienceForms.Models; using System; namespace Sitecore.HabitatHome.Feature.Forms.SubmitActions { internal static class FormFieldExtensions { internal static string GetValue(this IViewModel fieldMod...
29.522727
77
0.56736
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
DmytroYachnyi/Sitecore.HabitatHome.Platform
src/Feature/Forms/code/Extensions/FormFieldExtensions.cs
1,301
C#
using Mono.Cecil; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generater { public class TypeResolver { public static bool WrapperSide; public static BaseTypeResolver Resolve(TypeReference _type, IMemberDefinition ...
31.907643
155
0.521509
[ "MIT" ]
kkvskkkk/PureScript
BindGenerater/Generater/CSharp/TypeResolver.cs
20,040
C#
namespace Keyboard_Locker { partial class Form1 { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } ...
55.15528
163
0.643468
[ "MIT" ]
limanson/Keyboard-Locker
Project/Keyboard Locker/Form1.Designer.cs
8,885
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...
38.6
194
0.643998
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/DescribePartnerEventSourceResponseUnmarshaller.cs
4,632
C#
using JetBrains.Annotations; namespace GenericExtensions.Interfaces { public interface ILoader { bool State { get; } void Loading(bool state); void Flush(); } }
14.357143
38
0.616915
[ "MIT" ]
arijoon/FreeFall-Unity3D-Game
Assets/GenericExtensions/Interfaces/ILoader.cs
203
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
47.349057
153
0.644551
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookChartFontRequest.cs
5,019
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Day21 { public static class Program { private static readonly Item[] ShopItems = new[] { // ReSharper disable StringLiteralTypo new Item(ItemType.Weapon, "Dagger", 8, 4, 0), ...
37.515957
153
0.525308
[ "MIT" ]
pseale/advent-of-advent-of-code
2015-csharp/Day21/Program.cs
7,055
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 ...
40.821918
120
0.622483
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/retail/v2alpha/google-cloud-retail-v2alpha-csharp/Google.Cloud.Retail.V2Alpha.StandaloneSnippets/ProductServiceClient.ListProductsSnippet.g.cs
2,980
C#
using Microsoft.Extensions.Options; using OrchardCore.Environment.Extensions; namespace OrchardCore.Tests.Stubs { public class StubManifestOptions : IOptions<ManifestOptions> { private ManifestOption[] _options; public StubManifestOptions(params ManifestOption[] options) { ...
23.965517
67
0.548201
[ "BSD-3-Clause" ]
VladislavPPetrov/Moa-CMS
test/OrchardCore.Tests/Stubs/StubManifestOptions.cs
697
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Alipay.AopSdk.Domain { /// <summary> /// KbdishInfo Data Structure. /// </summary> [Serializable] public class KbdishInfo : AopObject { /// <summary> /// 分类字典大类的id /// </summary> ...
25.428571
70
0.498723
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/KbdishInfo.cs
4,294
C#
using Content.Shared.ActionBlocker; using Content.Shared.Hands.Components; using Content.Shared.Hands.EntitySystems; using Content.Shared.Interaction; using Content.Shared.Interaction.Events; using Content.Shared.Popups; using Content.Shared.Sound; using Content.Shared.Verbs; using Robust.Shared.Audio; using Robust.Sha...
40.067881
161
0.577579
[ "MIT" ]
KIBORG04/space-station-14
Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs
24,201
C#
using System.Reflection; 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("AWSSDK.PrometheusService")] [assembly: Ass...
49.03125
298
0.758445
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/PrometheusService/Properties/AssemblyInfo.cs
1,569
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Duality.Animation { /// <summary> /// The keyframe of an <see cref="AnimationTrack{T}"/>, which is essentially a key/value pair mapped from time to value. /// </summary> /// <typeparam name="T">The Type of the animated...
24.65625
121
0.665399
[ "MIT" ]
BraveSirAndrew/duality_onikira
Duality/Utility/Animation/AnimationKeyFrame.cs
1,580
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 requi...
29.245283
76
0.652258
[ "MIT" ]
AzCisHelsinki/azure-sdk-for-net
src/Graph.RBAC/Graph.RBAC/Generated/Models/GroupGetResult.cs
1,550
C#
using Discord; using Discord.Commands; using Kotocorn.Extensions; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Kotocorn.Common.Attributes; namespace Kotocorn.Modules.Administration { public pa...
36.272031
151
0.367593
[ "MIT" ]
Erencorn/Kotocorn
NadekoBot.Core/Modules/Administration/LocalizationCommands.cs
9,601
C#
/* Copyright 2010-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
38.752817
171
0.553335
[ "Apache-2.0" ]
591094733/mongo-csharp-driver
tests/MongoDB.Driver.Legacy.Tests/Operations/BulkWriteOperationTests.cs
51,580
C#
using CrossoutLogView.GUI.Helpers; using System; using System.Collections.Generic; using System.Text; using System.Windows; namespace CrossoutLogView.GUI.Events { public delegate void SessionClickEventHandler(object sender, SessionClickEventArgs e); public class SessionClickEventArgs : RoutedEventArgs {...
24.083333
90
0.681661
[ "MIT" ]
ProphetLamb-Organistion/CrossoutLogViewer
CrossoutLogViewer.GUI/Events/SessionClickEvent.cs
580
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; namespace AckSharp { public abstract partial class EngineObject { private static Dictionary<IntPtr, EngineObject> registry = new Dictionary<IntPtr, Engine...
24.875346
174
0.632294
[ "MIT" ]
MasterQ32/AckNET
AckSharp/EngineObject.cs
8,982
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...
30.119565
110
0.579574
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20171001/Outputs/RouteTableResponse.cs
2,771
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Transport.Channels { /// <summary> /// Allocates a new receive buffer whose capacity is probably large enough to read all inbound data a...
40.777778
124
0.677112
[ "MIT" ]
15000775075/DotNetty
src/DotNetty.Transport/Channels/IRecvByteBufAllocator.cs
736
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license or other governing licenses that can be found in the LICENSE.md file or at * https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE */ #endregion using System; using System.Runtime.InteropServices; name...
32.5
107
0.589525
[ "BSD-3-Clause" ]
Krypton-Suite/Extended-Toolk
Source/Krypton Toolkit/Shared/Krypton.Toolkit.Suite.Extended.Utilities/Classes/System/SAPI/Synthesis/Internal/WAVEFORMATEX.cs
3,057
C#
using UnityEngine; using System; //http://albatrus.com/main/unity/5698 public class CameraFade : MonoBehaviour { private static CameraFade mInstance = null; private static CameraFade instance { get { if (mInstance == null) { mInstance ...
38.635135
174
0.588784
[ "MIT" ]
0V/TwitterTimeLineShooter
Assets/Scripts/CameraFade.cs
8,579
C#
version https://git-lfs.github.com/spec/v1 oid sha256:ed90e3d047b1000157a86321a109dfdbcd496d97330b19bbfe46a32cdfec7661 size 5256
32.25
75
0.883721
[ "MIT" ]
bakiya-sefer/bakiya-sefer
Assets/Plugins/DarkTonic/MasterAudio/Scripts/Events/ButtonClicker.cs
129
C#
namespace SyncIO.Transport.Encryption { using System; public interface ISyncIOEncryption : IDisposable { byte[] Encrypt(byte[] data); byte[] Decrypt(byte[] data); } }
18.272727
52
0.626866
[ "MPL-2.0" ]
versx/SyncIO
SyncIO/Transport/Encryption/ISyncIOEncryption.cs
203
C#
using Bigtree.Algorithm.HiddenMarkovModel.MathUtils; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bigtree.Algorithm.HiddenMarkovModel.MathHelpers { public class Gamma { /// <summary> /// Natural logarithm of the gamma function. /// <...
27.12963
105
0.353174
[ "Apache-2.0" ]
Oceania2018/Bigtree.Algorithm
Bigtree.Algorithm/HiddenMarkovModel/MathHelpers/Gamma.cs
7,327
C#
using Newtonsoft.Json; using System; using stellar_dotnet_sdk.responses.effects; using stellar_dotnet_sdk.responses.operations; using stellar_dotnet_sdk.responses.page; namespace stellar_dotnet_sdk.responses { public class TransactionResponse : Response, IPagingToken { [JsonProperty(PropertyName = "ha...
37.459119
286
0.55591
[ "Apache-2.0" ]
alphapoint/dotnet-stellar-sdk
stellar_dotnet_sdk_4.5.2/responses/TransactionResponse.cs
5,958
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...
26.18
81
0.592819
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataBoxEdge/Latest/Outputs/ContactDetailsResponse.cs
1,309
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
66.19846
679
0.685512
[ "MIT" ]
amar-sagare/azure-sdk-for-net
sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountResource.cs
77,386
C#
// ----------------------------------------------------------------------- // <copyright file="CSharpCodeGenerator.cs" company="sped.mobi"> // Copyright (c) 2019 Brad Marshall. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using System.Collections;...
31.94087
226
0.436341
[ "MIT" ]
sped-mobi/System.CodeDom.Extensions
src/System.CodeDom.Extensions/CodeDom/CSharp/CSharpGenerator.cs
110,198
C#
using Cofoundry.Core; using Cofoundry.Domain; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; namespace Cofoundry.Web.Internal { /// <summary> /// Service for retreiving connection information about a client connected /// to the application e.g. IPAddre...
29.456522
86
0.6369
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Web/Framework/ClientConnection/WebClientConnectionService.cs
1,357
C#
namespace LearningSystem.Models.ViewModels { public class CourseViewModel { public int Id { get; set; } public string Name { get; set; } } }
17.1
43
0.608187
[ "MIT" ]
ivajlotokiew/CSharp_ASP.NET_MVC
Learning_System/LearningSystem.Models/ViewModels/CourseViewModel.cs
173
C#
using System; using System.Collections.Generic; #nullable disable namespace EFCoreMySql.Models { public partial class Order { public Order() { OrderDetails = new HashSet<OrderDetail>(); } public int OrderId { get; set; } public int? CustomerId { get; set; ...
23.125
74
0.609009
[ "MIT" ]
sinhdev/dotnet-core
EFCoreMySql/Models/Order.cs
557
C#
using System; using System.Threading.Tasks; using Locust.Model; using Locust.ServiceModel; using Locust.ServiceModel.Babbage; using Locust.Modules.Location.Model; namespace Locust.Modules.Location.Strategies { public partial class CountryDeleteByIdStrategy : CountryDeleteByIdStrategyBase { protected void Init() ...
22.333333
79
0.791045
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Location/Service/Country/DeleteById/Strategy.Customized.cs
335
C#
namespace Binance.Net.Objects.Other { internal class BinanceExchangeApiWrapper<T> { public int Code { get; set; } public string Message { get; set; } = string.Empty; public string MessageDetail { get; set; } = string.Empty; public T Data { get; set; } = default!; publi...
25.5
65
0.59944
[ "MIT" ]
CarlPrentice/Binance.Net
Binance.Net/Objects/Other/BinanceExchangeApiWrapper.cs
359
C#
using System.Collections.Generic; namespace ATF.Scripts.Helper { public static class DictionaryBasedIdGenerator { private static int _idCounter; private static Dictionary<string, int> _ids; public static int GetNewId(string displayName) { if (_ids =...
23.3125
60
0.486595
[ "MIT" ]
GoldenSylph/Unity3DAutoTestFramework
Assets/BedrinAssetPublishing/ATF/Scripts/Helper/DictionaryBasedIdGenerator.cs
748
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.777778
151
0.596944
[ "MIT" ]
daveaperez/extensiongrabber
ExtensionGrabber/Properties/Settings.Designer.cs
1,049
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...
83.227642
497
0.708655
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Models/Api20210501/ServerBackup.PowerShell.cs
20,229
C#
using System.Collections; using ComBlitz.ConstantData; using UnityEngine; namespace ComBlitz.Factories { public class FactoriesCreator : MonoBehaviour { [Header("Spawn Objects")] public Transform spawnTransform; public GameObject unit; public GameObject spawnEffect; [Header("S...
29.977778
110
0.642698
[ "MIT" ]
Rud156/ComBlitz
Assets/Scripts/Factories/FactoriesCreator.cs
1,351
C#
#region Copyright /*Copyright (C) 2015 Konstantin Udilovich 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 applicab...
34.947368
151
0.679719
[ "Apache-2.0" ]
Kodestruct/Kodestruct.Design
Kodestruct.Steel/AISC/AISC360v10/J_Connections/AffectedMembers/BeamCope/BeamCopeFactory.cs
1,992
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.471/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; namespace KryptonExplorer.UX { ...
22.769231
90
0.670608
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.471
Source/Krypton Toolkit Suite Extended/Applications/Krypton Explorer/UX/MainWindow.cs
594
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OgreIdleState : IOgreState { private Ogre enemy; public void Enter(Ogre enemy) { this.enemy = enemy; enemy.armature.animation.timeScale = 1f; } public void Execute() { Idle(); ...
18.688889
60
0.545779
[ "Apache-2.0" ]
MadGriffonGames/BiltyBlop
Assets/Scripts/Enemies&States/Ogre/OgreIdleState.cs
843
C#
using LitJson; using System; namespace LitJson.Benchmarks { public class BenchmarkLitJson { [Benchmark] public static void LitJsonReaderNumbers () { for (int i = 0; i < Common.Iterations; i++) { JsonReader reader = new JsonReader (Common.JsonNumbers); ...
26.77027
72
0.44422
[ "Unlicense" ]
JEphron/UnityLitJson
benchmarks/BmLitJsonReader.cs
1,981
C#
using System.Collections.Generic; using DeconTools.Workflows.Backend.Results; namespace DeconTools.Workflows.Backend.FileIO { public class TopDownTargetedResultFromTextImporter:TargetedResultFromTextImporter { #region Constructors public TopDownTargetedResultFromTextImporter(string f...
27.615385
97
0.685237
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/DeconTools
DeconTools.Workflows/DeconTools.Workflows/Backend/FileIO/TopDownTargetedResultFromTextImporter.cs
720
C#
namespace AnnoSavegameViewer.Structures.Savegame.Generated { using AnnoSavegameViewer.Serialization.Core; public class HarborHandler { #region Public Properties [BinaryContent(Name = "SecurityFactor", NodeType = BinaryContentTypes.Attribute)] public object SecurityFactor { get; set; } #endregion...
26.461538
85
0.764535
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/HarborHandler.cs
344
C#
using System; using System.Collections.Generic; using AGO.Core.Model.Dictionary.Projects; using AGO.Core.Attributes.Constraints; using AGO.Core.Attributes.Mapping; using AGO.Core.Attributes.Model; using AGO.Core.Model.Security; using Newtonsoft.Json; namespace AGO.Core.Model.Projects { public class ProjectModel : C...
32.036585
127
0.751047
[ "MIT" ]
olegsmetanin/apinet-server
AGO.Core/Model/Projects/ProjectModel.cs
2,629
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace SemVer { /// <summary> /// A semantic version. /// </summary> public class Version : IComparable<Version>, IEquatable<Version> { private readonly string _inputString; ...
32.414035
112
0.497077
[ "MIT" ]
TommasoPieroncini/semver.net
src/SemVer/Version.cs
9,240
C#
/* * Copyright (c) 2019 Robotic Eyes GmbH software * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A * PARTICULAR PURPOSE. * */ using System; using System...
38.448276
175
0.606726
[ "Apache-2.0" ]
alexanderzimmerman/upm-rex-rexfile-io
Assets/package/Runtime/RexFileReader/DataBlocks/RexDataMesh.cs
8,922
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HashTableNamespace { /// <summary> /// interface for hashfunction /// </summary> public interface IHashFunction { /// <summary> /// make hash function ...
21.045455
42
0.606911
[ "Apache-2.0" ]
Vinogradov-Mikhail/University-part2
3_2/3_2/IHashFunction.cs
465
C#
using System.Web.Mvc; using EssentialTools.Models; namespace EssentialTools.Controllers { public class HomeController : Controller { private IValueCalculator calc; private Product[] products = { new Product {Name = "Kayak", Category = "Watersports", Price = 275M}, new Prod...
32.206897
88
0.611349
[ "MIT" ]
hwebz/pro-aspnet-mvc-5-fifth-edition
pro-asp.net-mvc-5/Chapter 06/EssentialTools/EssentialTools/Controllers/HomeController.cs
936
C#