content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.925424
153
0.576407
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/DeviceRequest.cs
12,368
C#
using System; using Deeproxio.Asset.BLL.Contract.Services; namespace Deeproxio.Asset.BLL.Services { internal class StorageItemPathProvider : IStorageItemPathProvider { public string GeneratePath(string storePrefix) { return $"{storePrefix}:{Guid.NewGuid():N}".ToLowerInvariant(); ...
24
74
0.681548
[ "MIT" ]
Deeproxio/dpio-file-management-api
Deeproxio.Asset.BLL/Services/StorageItemPathProvider.cs
338
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JetBrains.Annotations; namespace Yargon.Parsing { /// <summary> /// A token. /// </summary> public interface IToken : ISymbol { /// <summary> /// Gets the locat...
26.4
99
0.585859
[ "Apache-2.0" ]
Virtlink/yargon-parser
src/Yargon.Parsing/IToken.cs
794
C#
using System; namespace Sharptile { [Serializable] public struct WangTile { public bool dflip; public bool hflip; public int tileid; public bool vflip; public int[] wangid; } }
15.6
28
0.581197
[ "MIT" ]
mminer/sharptile
WangTile.cs
234
C#
using System; using System.Diagnostics; using System.IO; using K4os.Compression.LZ4.Internal; using K4os.Compression.LZ4.Streams; using K4os.Hash.xxHash; namespace K4os.Compression.LZ4.Roundtrip { class Program { static void Main(string[] args) { foreach (var filename in args) foreach (var level in new[] ...
26.25
78
0.670696
[ "MIT" ]
MiloszKrajewski/K4os.Compression.LZ4
src/K4os.Compression.LZ4.Roundtrip/Program.cs
2,732
C#
using NSubstitute; using PactNet.Mocks.MockHttpService.Comparers; using PactNet.Mocks.MockHttpService.Models; using PactNet.Reporters; namespace PactNet.Tests.IntegrationTests.Specification.Models { public class ResponseTestCase : IVerifiable { private readonly IProviderServiceResponseCompare...
32.657895
112
0.603546
[ "MIT" ]
xelibrion/pact-net
PactNet.Tests/IntegrationTests/Specification/Models/ResponseTestCase.cs
1,243
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace ZubMvvmc.Core { public class ViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public void OnPropertyChanged(string propertyName) { ...
24.210526
82
0.695652
[ "MIT" ]
ZubMadbrain/mvvm
ZubMvvmc/Core/ViewModel.cs
462
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis { internal static class PrimaryWorkspace { private static readonly ReaderWriterLockSlim registryGate = new ReaderWriterLockSlim(LockRecursionPo...
31.836735
179
0.491346
[ "Apache-2.0" ]
pottereric/roslyn
src/Workspaces/Core/Portable/Workspace/PrimaryWorkspace.cs
3,122
C#
using System; using System.Collections.Generic; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; using RI.Framework.Collections; using RI.Framework.Composition.Model; namespace RI.Test.Framework { [Export] public abstract class TestModule { #region Instance Methods protected v...
19.516667
155
0.736123
[ "Apache-2.0" ]
gosystemsgmbh/RI_Framework
RI.Test.Framework.Unity/TestModule.cs
1,173
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v1/services/account_budget_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.P...
39.438144
231
0.71324
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V1/Stubs/AccountBudgetService.cs
7,651
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
55.137255
312
0.780228
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/LocationService/Properties/AssemblyInfo.cs
2,812
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.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using ...
45.161593
553
0.570888
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/Customaddresscontactbusinessaddress.cs
19,284
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Interpolation utility functions: easing, bezier, and catmull-rom. * Consider using Unity's Animation curve editor and AnimationCurve class * before scripting the desired behaviour using this utility. * * Interpolation fun...
41.283212
138
0.614201
[ "MIT" ]
Seth-W/SmallMarlin
Assets/Scripts/Libraries/Interpolate.cs
28,281
C#
namespace teknikservis.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfiguration<TeknikServis.Data.DataContext.TeknikContext> { public Configuration() { ...
32.1875
112
0.568932
[ "MIT" ]
necipcanguler/teknik-servis
teknikservis/Migrations/Configuration.cs
1,030
C#
using GostCryptography.Tests.Properties; using GostCryptography.Xml; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.Xml; using System.Text; using System.Threading.Tasks; using System.Xml; ...
36.103448
121
0.672397
[ "MIT" ]
IronRate/GostCryptography
Source/GostCryptography.Tests/Xml/Sign/SignedXmlCertificate2012_256_Test.cs
3,577
C#
using System; using System.Collections.Generic; using System.Text; namespace Domain.Enumeration { public enum MessageRecordSendMethod { Undefined = 0, EMail = 1, SMS = 2 } }
15.142857
39
0.632075
[ "MIT" ]
asheng71/WebProjectTemplate
Domain/Enumeration/MessageRecordSendMethod.cs
214
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;...
40.239437
126
0.59398
[ "MIT" ]
U-C-S/Something
Something/MainPage.xaml.cs
2,859
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
49.523364
189
0.66371
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ITermsAndConditionsAcceptanceStatusesCollectionRequest.cs
5,299
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.Linq; using System.Reflection.Internal; using System.Text; using Xunit; namespace System.Reflection.Metadata.Tests { public class MemoryBlockTests { [Fa...
34.471264
111
0.421565
[ "MIT" ]
belav/runtime
src/libraries/System.Reflection.Metadata/tests/Utilities/MemoryBlockTests.cs
32,989
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ef_GoldBehavior : MonoBehaviour { private int carryGold; private Transform goldCollecter; public int CarryGold { get { return carryGold; } set { ...
19.333333
124
0.615987
[ "MIT" ]
shien091090/FishMaster
Assets/Scnipts/Effect/Ef_GoldBehavior.cs
640
C#
using System; using System.Windows.Forms; namespace EmployeeRegister { // Generated when form is created, it is public, partial which means there is another file with // additional code, and it inherits from a class called form which is part of .NET public partial class FrmEmployeeDetails : Form ...
51.212121
174
0.662327
[ "CC0-1.0" ]
bob-mccone/Employee-Register
EmployeeRegister/FrmEmployeeDetails.cs
5,072
C#
using Minimundo.Domain.Entities.Authentication; using Minimundo.Domain.Interfaces.Repositories; using Minimundo.Domain.Interfaces.Services; namespace Minimundo.Service.Service { public class CredencialService : BaseService<credencial>, ICredencialService { private readonly ICredencialRepository _repos...
28.75
80
0.745652
[ "MIT" ]
Gerjunior/MinimundoV2
Minimundo.Service/Service/CredencialService.cs
462
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.AIModule { ...
24.863636
59
0.696527
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/AIModule/EAILockSource.cs
547
C#
// ------------------------------------------------------------------------------------------------- // <copyright file="ReqIFHeaderTestFixture.cs" company="RHEA System S.A."> // // Copyright 2017 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
37.070423
119
0.581307
[ "Apache-2.0" ]
RHEAGROUP/reqifsharp
ReqIFSharp.Tests/ReqIFHeaderTestFixture.cs
2,634
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.444444
81
0.632353
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/AppConfiguration/Latest/Outputs/UserIdentityResponse.cs
952
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.404878
327
0.528676
[ "EPL-1.0" ]
VIQET/VIQET-Desktop
VIQET-UI/ViqetDesktop/Properties/Resources.Designer.cs
28,214
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.Concurrent; using System.Collections.Generic; using System.Linq; using System...
42.802469
159
0.527113
[ "MIT" ]
ehtick/Uno.WindowsCommunityToolkit
UnitTests/UnitTests.UWP/Markdown/TestBase.cs
6,934
C#
namespace Husky.TaskRunner; public enum ArgumentTypes { Static, CustomArgument, File, StagedFile, CustomVariable }
11.909091
27
0.725191
[ "MIT" ]
Xemrox/Husky.Net
src/Husky/TaskRunner/ArgumentTypes.cs
131
C#
namespace DataManager.Models.CarraraSQL { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class ApplicationError { public int Application...
24.2
55
0.657851
[ "Apache-2.0" ]
kazunetakeda25/data-manager
DataManager/Models/CarraraSQL/ApplicationError.cs
605
C#
namespace HireAProfessional.Services.Data { using System; using System.Collections.Generic; using System.Text; using HireAProfessional.Web.ViewModels.Countries; public interface ICountriesService { IEnumerable<T> GetAllCountries<T>(); } }
19.857143
53
0.708633
[ "MIT" ]
TodorNedkovski/HireAProfessional
src/Services/HireAProfessional.Services.Data/ICountriesService.cs
280
C#
namespace Spect.Net.SpectrumEmu.Abstraction.Configuration { /// <summary> /// This interface defines the configuration data for the ROM /// </summary> public interface IRomConfiguration: IDeviceConfiguration { /// <summary> /// The number of ROM banks /// </summary> ...
26.347826
65
0.556106
[ "MIT" ]
Dotneteer/spectnetide
Core/Spect.Net.SpectrumEmu/Abstraction/Configuration/IRomConfiguration.cs
608
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace TumblThree.Presentation.Converters { public class NullToVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { ...
32.083333
141
0.672727
[ "Apache-2.0", "MIT" ]
Grukz/TumblThree
src/TumblThree/TumblThree.Presentation/Converters/NullToVisibilityConverter.cs
772
C#
using Newtonsoft.Json; using System; namespace Stripe { public class StripeEventListOptions { [JsonProperty("type")] public string Type { get; set; } [JsonProperty("created")] public StripeDateFilter Created { get; set; } } }
17.285714
47
0.702479
[ "Apache-2.0" ]
iATN/stripe.net
src/Stripe/Services/Events/StripeEventListOptions.cs
244
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("SMLHelperExamples")] [assembly: AssemblyDe...
38.971429
84
0.747067
[ "MIT" ]
Metious/MrPurple6411-Subnautica-Mods
CustomHullPlates/Properties/AssemblyInfo.cs
1,367
C#
using Library; using LiteDB; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.IO; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; using System.Timers; namespace Jira_Monitor { publi...
21.625
99
0.633526
[ "MIT" ]
douglasilva/jira-monitor
Jira-Monitor/Service1.cs
1,732
C#
using GWebsite.AbpZeroTemplate.Application.Share.AssetCategories.Dto; namespace GWebsite.AbpZeroTemplate.Application.Share.AssetCategories.Dto { public class UpdateAssetCategoryInput : CreateAssetCategoryInput { } }
25.555556
72
0.813043
[ "Apache-2.0" ]
NTD98/ASP_ANGULAR
asset-management-api/src/GWebsite.AbpZeroTemplate.Application.Share/AssetCategories/Dto/UpdateAssetCategoryInput.cs
232
C#
namespace MyApp.Tasks { #region Using Directives using MyApp.Domain; using MyApp.Domain.Contracts.Tasks; using MyApp.Infrastructure; #endregion public class PersonTasks : IPersonTasks { public void Process(Person person) { new PersonRepository().Save(person); ...
18.722222
48
0.626113
[ "BSD-3-Clause" ]
5eba51ian/Sharp-Architecture
Artefacts/package-samples/sample-mvc-app/files/MyApp/MyApp.Tasks/PersonTasks.cs
339
C#
using Avalonia.Media; using AvalonStudio.Languages; using AvalonStudio.MVVM; namespace AvalonStudio.Controls.Standard.CodeEditor.Completion { public class CompletionDataViewModel : ViewModel<CodeCompletionData> { public CompletionDataViewModel(CodeCompletionData model) : base(model) { ...
22.546875
78
0.465696
[ "MIT" ]
juanfranblanco/AvalonStudio
AvalonStudio/AvalonStudio.Controls.Standard/CodeEditor/Completion/CompletionDataViewModel.cs
1,443
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.290323
151
0.580433
[ "MIT" ]
add1ct3d/BruteEth
NextPlan/Properties/Settings.Designer.cs
1,065
C#
//------------------------------------------------------------------------------ // 此代码版权(除特别声明或在RRQMCore.XREF命名空间的代码)归作者本人若汝棋茗所有 // 源代码使用协议遵循本仓库的开源协议及附加协议,若本仓库没有设置,则按MIT开源协议授权 // CSDN博客:https://blog.csdn.net/qq_40374647 // 哔哩哔哩视频:https://space.bilibili.com/94253567 // Gitee源代码仓库:https://gitee.com/RRQM_Home // Gi...
34.365591
262
0.495792
[ "Apache-2.0" ]
850wyb/RRQMSocket
RRQMCore/XREF/Newtonsoft.Json/JsonWriter.cs
64,134
C#
namespace TCC.Controls.Classes { /// <summary> /// Logica di interazione per BerserkerBar.xaml /// </summary> public partial class BerserkerBar { public BerserkerBar() { InitializeComponent(); } } }
18.571429
51
0.561538
[ "MIT" ]
Seyuna/Tera-custom-cooldowns
TCC.Core/Controls/Classes/BerserkerBar.xaml.cs
262
C#
/* Copyright 2010-2016 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 writi...
26.863636
93
0.503215
[ "Apache-2.0" ]
joeenzminger/mongo-csharp-driver
src/MongoDB.Bson/ObjectModel/BsonType.cs
2,957
C#
using Cpp2IL.Core; namespace Cpp2IL { public struct Cpp2IlRuntimeArgs { //To determine easily if this struct is the default one or not. public bool Valid; //Core variables public int[] UnityVersion; public string PathToAssembly; public string PathToMeta...
27.916667
71
0.671642
[ "MIT" ]
NeoZion/Cpp2IL
Cpp2IL/Cpp2IlRuntimeArgs.cs
1,007
C#
using Abp.Authorization.Users; using Abp.Extensions; using FuelWerx.MultiTenancy; using Microsoft.AspNet.Identity; using System; using System.Runtime.CompilerServices; namespace FuelWerx.Authorization.Users { public class User : AbpUser<FuelWerx.MultiTenancy.Tenant, User> { public const int MinPlainPasswordLength ...
19.571429
94
0.701773
[ "MIT" ]
zberg007/fuelwerx
src/FuelWerx.Core/Authorization/Users/User.cs
959
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipaySocialBaseChatGmemberDeleteResponse. /// </summary> public class AlipaySocialBaseChatGmemberDeleteResponse : AopResponse { /// <summary> /// 删除结果 /// </summary> [XmlEle...
22.111111
72
0.623116
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Response/AlipaySocialBaseChatGmemberDeleteResponse.cs
406
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 * ...
30.034483
81
0.623995
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Tke/V20180525/Models/AddVpcCniSubnetsRequest.cs
1,786
C#
using Domain; namespace MadMaxGui.Helper { public class ParamCreator { private string param; public ParamCreator() { } public string Create(Config config) { if (config is null) return null; param += config.Numbe...
35.78125
113
0.525764
[ "MIT" ]
Muslix/MadMaxGui_byMuslix
MadMaxGui/Helper/ParamCreator.cs
1,147
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Xania.Graphs.EntityFramework.Tests.Relational.Queries { public class VertexQuery : IQueryable<Elements.Vertex> { private readonly IQueryable<Vertex> ...
25.852941
66
0.67008
[ "MIT" ]
ibrahimbensalah/Xania
Xania.Graphs.EntityFramework.Tests/Relational/Queries/VertexQuery.cs
881
C#
// <auto-generated> // 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 // re...
31.88
74
0.711418
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/redis/Microsoft.Azure.Management.Redis/src/Generated/Models/PrivateEndpointConnectionProvisioningState.cs
797
C#
using System; namespace PlusCommon.Log { /// <summary> /// BaseLog 的摘要说明 /// 保存日志到文本的接口类 /// </summary> public class BaseLog { /// <summary> /// 文件夹名称 /// </summary> protected string MFolderName = string.Empty; /// <summary> /// 缺省构造器 //...
30.685484
131
0.498817
[ "MIT" ]
jessegame/plusgame
PlusCommon/Log/BaseLog.cs
4,211
C#
// <copyright file="OtlpMetricExporterExtensions.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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...
46.135593
165
0.673953
[ "Apache-2.0" ]
TylerHelmuth/opentelemetry-dotnet
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpMetricExporterExtensions.cs
5,444
C#
using System.Text; namespace PaySharp.Core.Utils { public enum StringCase { /// <summary> /// 蛇形策略 /// </summary> Snake, /// <summary> /// 骆驼策略 /// </summary> Camel, /// <summary> /// 小写策略 /// </summary> Lower, ...
25.609589
79
0.33057
[ "MIT" ]
Abbotton/PaySharp
src/PaySharp.Core/Utils/StringUtil.cs
3,831
C#
// // Utilities.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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, includin...
25.881132
112
0.629219
[ "Apache-2.0" ]
Sectoid/debian-mono
mcs/class/Mono.Cecil/Mono.Cecil.Metadata/Utilities.cs
13,717
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Devices.Midi { #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class MidiControlChangeMessage : global::Windows.Devices.Midi.IMidi...
54.444444
126
0.803401
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.Midi/MidiControlChangeMessage.cs
1,470
C#
namespace WSF.Shell.Interop { using WSF.Shell.Enums; using System; /// <summary> /// Contains information used by ShellExecuteEx. /// </summary> internal struct SHELLEXECUTEINFO { /// <summary> /// Required. The size of this structure, in bytes. /// </summary> ...
61.131868
642
0.683983
[ "MIT" ]
Dirkster99/WSF
source/WSF/Shell/Interop/SHELLEXECUTEINFO.cs
5,565
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
37.065574
463
0.755418
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/Sources/System.Security.Principal.IIdentity.cs
2,261
C#
using System; using System.IO; namespace Protobuild { internal class DefaultCommand : ICommand { private readonly IActionDispatch m_ActionDispatch; private readonly IKnownToolProvider _knownToolProvider; private readonly ExecuteCommand _executeCommand; private readonly IAutom...
30.236364
182
0.597715
[ "MIT" ]
Protobuild/Protobuild
Protobuild.Internal/CommandLine/DefaultCommand.cs
3,328
C#
using Box2DSharp.Collision.Shapes; using Box2DSharp.Dynamics; using OpenToolkit.Windowing.Common; using OpenToolkit.Windowing.Common.Input; using Testbed.Basics; using Debug = System.Diagnostics.Debug; using Vector2 = System.Numerics.Vector2; namespace Testbed.Tests { [TestCase("Stacking", "Boxes")] public cla...
29.186441
77
0.434379
[ "MIT" ]
Lordinarius/Box2DSharp
test/Testbed/Tests/BoxStack.cs
3,444
C#
using System; namespace sistema_bodega.Data { public class ProductoBodegaEmpleado { public int Id { get; set; } public int ProductoId { get; set; } public Producto Producto { get; set; } public int BodegaId { get; set; } public Bodega Bodega { get; set; } public ...
28.764706
46
0.591002
[ "MIT" ]
Matthew-Gonzalez/sistema-bodega-middleware
sistema_bodega/Data/ProductoBodegaEmpleado.cs
489
C#
namespace Arduino.Firmata.Protocol.Firmata { /// <summary> /// Identifies the Arduino board's firmware. /// </summary> public struct Firmware { /// <summary> /// Gets the major version number. /// </summary> public int MajorVersion { get; internal set; } ///...
26.107143
61
0.534884
[ "BSD-2-Clause" ]
mccj/Arduino.Firmata
src/Arduino.Firmata/Protocol/Firmata/Response/Firmware.cs
733
C#
using Microsoft.Sample.Automation.Scheduling.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Sample.Automation.Scheduling { public class ToolRepository : GenericRepository<Tool> { public ToolRepository(Sc...
31.866667
93
0.67364
[ "Apache-2.0" ]
leo-leong/wwt-scheduler
Microsoft.Sample.Automation/Scheduling/ToolRepository.cs
958
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using System; using Syst...
39.8
98
0.518216
[ "MIT" ]
carlosanjos/Oryx
tests/Oryx.Integration.Tests/Php/PhpSqlServerIntegrationTests.cs
3,107
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...
91.925316
297
0.595902
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/UpdateDistributionRequestMarshaller.cs
72,621
C#
using Ryujinx.Common; using Ryujinx.HLE.Utilities; using System; using System.IO; using System.Runtime.InteropServices; using System.Text; using static Ryujinx.HLE.HOS.Services.Time.TimeZone.TimeZoneRule; namespace Ryujinx.HLE.HOS.Services.Time.TimeZone { public class TimeZone { private const int Tim...
32.07303
191
0.391878
[ "MIT" ]
312811719/Ryujinx
Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZone.cs
55,777
C#
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Threading.Tasks; using JetBrains.Annotations; using MarginTrading.TradingHistory.Core.Domain; namespace MarginTrading.TradingHistory.Core.Repositories { ...
41.285714
112
0.70519
[ "MIT-0" ]
LykkeBusiness/MarginTrading.TradingHistory
src/MarginTrading.TradingHistory.Core/Repositories/IDealsRepository.cs
1,447
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
33.180328
84
0.512352
[ "MIT" ]
leodark85/WCF-train
CompanyService/CompanyServiceClient/CompanyFormclient.aspx.designer.cs
2,026
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Text; using System.Threading.Tasks; namespace OnceMi.Framework.Util.Api.Email { public class SendEmail { /// <summary> /// 邮件主机 /// </summary> private string Host { get; set; ...
29.39604
104
0.4968
[ "MIT" ]
oncemi/OnceMi.Framework
src/OnceMi.Framework.Util/Api/Email/SendEmail.cs
3,155
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Globalization; namespace ExtensionMethods { public static class StringExtensionMethods { //Tries to parse the string to a credit amount. Accepts formats: "x", "x,...
32.655738
113
0.419679
[ "MIT" ]
Hejsil/2.-Semester-Examen
ExtensionMethods/StringExtensionMethods.cs
1,994
C#
using System; using System.Collections.Generic; namespace Project0.DataAccess.Entities { public partial class Inventory { public int InventoryId { get; set; } public int ProductId { get; set; } public int Stock { get; set; } public int? LocationId { get; set; } public ...
24.764706
54
0.629454
[ "MIT" ]
1909-sep30-net/marielle-project0
Project0.DataAccess/Entities/Inventory.cs
423
C#
//Copyright 2019 Volodymyr Podshyvalov // //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 t...
31.61
124
0.487346
[ "Apache-2.0" ]
ElbyFross/doloro-networking-framework
Core/UniformQueries/Query.cs
12,646
C#
// <auto-generated /> using System; using EPlast.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace EPl...
36.027451
125
0.46679
[ "MIT" ]
Toxa2202/plast
EPlast/EPlast.DataAccess/Migrations/20200302143114_Init.Designer.cs
45,937
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. // // // // Description: Figure length implementation // // // using MS.Internal; using System.ComponentModel; usi...
36.522059
108
0.538655
[ "MIT" ]
56hide/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/figurelength.cs
9,934
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace EvolFx.TMovie.Website { public class MvcApplication : System.Web.HttpApplication { protected void Applica...
27.875
70
0.713004
[ "Apache-2.0" ]
supernebula/evol-core
src/EvolFx.TMovie.Website/Global.asax.cs
671
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 Microsoft.Data.Entity.ChangeTracking.Internal; using Microsoft.Data.Entity.Infrastructure; using M...
62.210526
174
0.685956
[ "Apache-2.0" ]
suryasnath/csharp
test/EntityFramework.Relational.Tests/Update/ModificationCommandComparerTest.cs
5,910
C#
using System; using Automata.Properties; namespace Automata { public class Rule { private int[] _testCase = {0, 0, 0}; private string _name = "Rule"; /// <summary> /// Default constructor for Rule class. /// </summary> public Rule() { // Use...
31.831683
104
0.508865
[ "MIT" ]
ARMmaster17/Automata
Automata/Rule.cs
3,217
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> //--...
35.365854
213
0.541881
[ "MIT" ]
PeterSorokac/Sage300-SDK
resources/Sage300Resources/Sage.CA.SBS.ERP.Sage300.AP.Resources/Forms/GLIntegrationResx.Designer.cs
15,952
C#
using System.Text.Json.Serialization; using Jobba.Core.Extensions; using Jobba.MassTransit.Extensions; using Jobba.Redis; using Jobba.Store.Mongo.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; ...
38.537313
124
0.623548
[ "MIT" ]
firebend/jobba
Jobba.Web.Sample/Startup.cs
2,582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SensorTag { public static class ConversionExtensions { public static double ToFahrenheit(this double celcius) { return 32.0 + (celcius * 9) / 5; } ...
18.222222
62
0.655488
[ "Apache-2.0" ]
clovett/SensorTag-for-Windows
SensorTag/SharedControls/Helpers/ConversionExtensions.cs
330
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseGame : MonoBehaviour { public GameObject PausePanel; public bool paused = false; void Start() { PausePanel.SetActive (false); } void Update() { if (Input.GetButtonDown ("Pause")) { paused = !paused; } ...
18.688525
69
0.695614
[ "MIT" ]
gabrielgrs/Elementals
src/Assets/Scripts/UI/PauseGame.cs
1,142
C#
using FubuDocs; namespace FubuValidation.Docs.Customization { public class ConfiguringWhichRoutesHaveValidation : Topic { public ConfiguringWhichRoutesHaveValidation() : base("Configuring which routes have validation") { } } }
22
104
0.708333
[ "Apache-2.0" ]
DovetailSoftware/fubuvalidation
src/FubuValidation.Docs/Customization/ConfiguringWhichRoutesHaveValidation.cs
264
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; namespace DotNetNuke.ExtensionPoints { public interface IEditPagePanelControlActions { void SaveAction(int portalId, int ta...
29.875
101
0.717573
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Library/ExtensionPoints/IEditPagePanelControlActions.cs
480
C#
// -------------------------------------------------------------------------------------------- #region // Copyright (c) 2022, SIL International. All Rights Reserved. // <copyright from='2011' to='2022' company='SIL International'> // Copyright (c) 2022, SIL International. All Rights Reserved. // // Distributable und...
30.596491
112
0.676606
[ "MIT" ]
sillsdev/HearThis
src/HearThis/Script/BookInfo.cs
5,232
C#
using System; using System.IO; using BenchmarkDotNet.Characteristics; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.DotNetCli; using JetBrains.Annotations; namespace Bench...
48.985075
186
0.705058
[ "MIT" ]
kevinmiles/BenchmarkDotNet
src/BenchmarkDotNet/Toolchains/CsProj/CsProjCoreToolchain.cs
3,284
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.228311
153
0.579909
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/EducationRootUsersCollectionRequest.cs
8,810
C#
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Rocks.SimpleInjector.NotThreadSafeCheck; using Rocks.SimpleInjector.NotThreadSafeCheck.Models; using SimpleInjector; using SimpleInjector.Diagnostics; using SimpleInjector.Lifestyles; using Xunit; namespace Rocks.Profilin...
41.842593
136
0.545253
[ "MIT" ]
MichaelLogutov/Rocks.Profiling
src/Rocks.Profiling.Tests/DependencyInjectionConfigTests.cs
4,521
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.492823
141
0.588927
[ "ECL-2.0", "Apache-2.0" ]
pulumi-bot/pulumi-azure
sdk/dotnet/MariaDB/FirewallRule.cs
8,254
C#
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Net.Wifi; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms.Platform.Android; using ZeroconfTest.Xam; namespace ZeroconfTest.Xamarin.Droid { [Activity (Label = "Zero...
27.270833
142
0.677617
[ "MIT" ]
SpencerBurgess/Zeroconf
ZeroconfTest.Xamarin/ZeroconfTest.Xamarin.Android/MainActivity.cs
1,311
C#
#region License // Copyright(c) 2020 GrappTec // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify,...
34.830189
93
0.71506
[ "MIT" ]
GrappTec/DotNetAppBase
src/DotNetAppBase.Std.Extensions/XObjectExtensions.Value.cs
1,848
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 ...
32.82
95
0.731261
[ "Apache-2.0" ]
LuthienTinuvielShouko/plc4x
sandbox/mqtt/mqtt-cs/drivers/mqtt/src/drivers/mqtt/readwrite/model/MQTT_ControlPacket_DISCONNECT.cs
1,641
C#
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProAgil.Domain.Identity { public class Role : IdentityRole<int> { public List<UserRole> UserRoles { get; set; } } }
20.066667
53
0.730897
[ "MIT" ]
FelipeCabralz/ProAgil
ProAgil.Domain/Identity/Role.cs
303
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LS_SetFont : MonoBehaviour { // instance variables public Font otherFont; public Color fontColor = new Color32(225, 188, 222, 255); // sets font to the font attached to the sc...
24.235294
63
0.60801
[ "MIT" ]
rijdmc419/EducationalRecyclingGame
EducationalRecyclingGame/Assets/MenuAssets/LS_SetFont.cs
826
C#
namespace Sap.telas.login { partial class login { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
52.118211
137
0.613069
[ "Apache-2.0" ]
Learnandmake/Projetos-c-sharp
Sap/Sap/telas/login/login.Designer.cs
16,315
C#
//------------------------------------------------------------------------------ // <copyright file="DepthCamSensorTypes.cs" company="Microsoft Corporation"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------...
46.039568
237
0.567388
[ "MIT" ]
slgrobotics/TrackRoamer
src/TrackRoamer/TrackRoamerBehaviors/Kinect/SkeltonJointPoints.cs
12,801
C#
using AutoMapper; using X.Api.Entities; namespace X.Api.Source.Domain.UsesCases.Queries { public class GetAllStatesByProjectIdMapper : Profile { public GetAllStatesByProjectIdMapper() { CreateMap<State, GetAllStatesByProjectIdDto>() .ForMember(dest => dest.CanUpdate, opt => opt.MapFrom(src => src.StateNa...
24.6875
135
0.711392
[ "MIT" ]
mfcguru/xsk.framework
X.Framework/X.Api/Source/Domain/UsesCases/Queries/GetAllStatesByProjectId/GetAllStatesByProjectIdMapper.cs
397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CSharp_Edition { static class Program { /// <summary> /// Główny punkt wejścia dla aplikacji. /// </summary> [STAThread] static void Ma...
22.434783
65
0.620155
[ "MIT" ]
ParrotTeam/Rewolucja
CSharp_Edition/Program.cs
521
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Foundation; using UIKit; namespace MemoryLeakSample { public class DammyViewController : UIViewController { public override void ViewDidLoad() { base.ViewDidLoad(); var dismiss...
22.84
79
0.67951
[ "MIT" ]
TomohiroSuzuki128/Xamarin-iOSLeakSample
MemoryLeakSample/Dammy.cs
573
C#
// Url: https://leetcode.com/problems/add-two-numbers/ /* 2. Add Two Numbers Medium You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. You may assum...
27.717949
219
0.504625
[ "MIT" ]
tarunbatta/ipg
core/leetcode/2.cs
2,162
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace RxReactiveStreamsCSharp.Disposables { public sealed class BooleanDisposable : IDisposable { Action action; static readonly Action DISPOSED = (...
20.608696
63
0.507384
[ "Apache-2.0" ]
akarnokd/RxReactiveStreamsCSharp
RxReactiveStreamsCSharp/RxReactiveStreamsCSharp/Disposables/BooleanDisposable.cs
950
C#
namespace Replay_sorter { public class Replay_info { public string clientVersionFromExe { get; set; } public byte battleType { get; set; } } }
21.375
56
0.631579
[ "MIT" ]
CWTracker/ReplaySorter
Replay_info.cs
173
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанные с этой сборкой. [assembly: AssemblyTitle("ConsoleApp1")] [...
38.891892
93
0.763725
[ "MIT" ]
bsv798/dedupe-archiever
ConsoleApp1/Properties/AssemblyInfo.cs
2,023
C#