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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlizzardApiReader.WorldOfWarcraft.Models { public class CharacterFeedItem { //Type: ACHIEVEMENT public string Type { get; set; } //TODO: Review the formating of...
25.625
52
0.615854
[ "MIT" ]
avivbiton/BlizzardApiReader
BlizzardApiReader.WorldOfWarcraft/Models/CharacterFeedItem.cs
822
C#
using System; using System.IO; using System.Reflection; namespace QuadrantsImageComparerLib.Core { /// <summary> /// Les méthodes d'extensions lié au 'Path' /// </summary> public static class PathExtension { /// <summary> /// La longueur maximal d'un path sur ce système ///...
27.243243
79
0.534722
[ "MIT" ]
Berreip/QuadrantsImageComparer
QuadrantsImageComparerLib/Core/PathExtension.cs
1,014
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnyStore.BLL { class transactionsBLL { public int id { get; set; } public string type { get; set; } public int dea_cust_id { get; set; } ...
25.625
57
0.635772
[ "MIT" ]
GodloveMark/OneStore
AnyStore/BLL/transactionsBLL.cs
617
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System.Collections.Generic; using System.IO; using System.Text; using System.Xml.Linq; namespace Twilio.TwiML.Voice { /// <summary> /// Task TwiML Noun /// </summary> public class Tas...
30.582418
122
0.519224
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/TwiML/Voice/Task.cs
2,783
C#
using uScoober.Text; namespace uScoober.Extensions { public static class StringExtensions { public static bool Contains(this string value, string option) { return new StringContainsResult(value, option).IsMatch; } public static bool Contains(this string value, out StringCo...
33.55
117
0.547442
[ "MIT" ]
EddieGarmon/uScoober
Core/uScoober/Shared/uScoober/Extensions/StringExtensions.cs
2,015
C#
namespace Raymaker.HttpClientDotnetFramework { public class Config : IConfig { public string HmacKey { get; set; } = "3adb14c908032c1b001dbc86315cda6f97098b4d5f764ac540afdbdfb40b8e84"; } }
26.25
113
0.738095
[ "MIT" ]
MunroRaymaker/Raymaker.HttpClientFactoryExample
Raymaker.HttpClientDotnetFramework/Config.cs
212
C#
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; namespace Log4Net.CommonBLL { public static class SyndicationFeedFacade { public static SyndicationFeed GetLog() { string urlOfList = string.Format("{0}{1}/{2...
46.470588
201
0.672152
[ "MIT" ]
ntierontime/Log4Net
Log4Net/Services/CommonBLL/SyndicationFeedFacade.cs
2,370
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using System.Threading.Tasks; using Hapil.Members; using Hapil.Operands; namespace Hapil.Statements { internal class RawILStatement : StatementBase { private readonly Action<ILGenerator> m_Script; ...
27.947368
153
0.420904
[ "MIT" ]
felix-b/Hapil
Source/Hapil/Statements/RawILStatement.cs
1,064
C#
using System; using System.IO; using NewLife; using NewLife.Serialization; using Xunit; namespace XUnitTest.Serialization { public class BinaryTests { [Fact] public void Fast() { var model = new MyModel { Code = 1234, Name = "Stone" }; var pk = Binary.FastWrite(...
26.972222
68
0.556128
[ "MIT" ]
NewLifeX/X
XUnitTest.Core/Serialization/BinaryTests.cs
973
C#
using System; using System.Collections.Generic; using System.Text; namespace IC.Tests.App.UIAccessibility.Appium.Interfaces { public interface IViewFeatBlue : IViewDefBlue { } }
17.454545
56
0.755208
[ "BSD-3-Clause" ]
aurnoi1/IC-Navigation
tests/IC.Tests.App.UIAccessibility/Appium/Interfaces/IViewFeatBlue.cs
194
C#
using System; using System.Collections.Generic; namespace KeyPayV2.Sg.Enums { public enum LeaveCategoryTypeEnum { Standard, LongServiceLeave, StatutorySickLeave, StatutoryMaternityLeave, PersonalCarersLeave, StatutoryAdoptionLeave, StatutoryP...
21.611111
42
0.660668
[ "MIT" ]
KeyPay/keypay-dotnet-v2
src/keypay-dotnet/Sg/Enums/LeaveCategoryTypeEnum.cs
389
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.ComponentModel { /// <summary> /// Specifies the default property for a component. /// </summary> [AttributeUsage(AttributeTargets.Class)] public...
35.05
147
0.630528
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/DefaultPropertyAttribute.cs
1,402
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> //---...
41.708333
80
0.654346
[ "MIT" ]
spdeux/GraphQL
GraphQLDotNetCore/GraphQLDotNetCore/obj/Debug/netcoreapp2.2/GraphQLDotNetCore.AssemblyInfo.cs
1,001
C#
using SuperSocket.JTT.JTTBase.Interface; using System; using System.Collections.Generic; using System.Text; namespace SuperSocket.JTT.JTT1078.MessageBody.Internal { /// <summary> /// 远程录像下载控制请求应答消息数据体 /// </summary> /// <remarks> /// <para>业务类:<see cref="Const.DataType.UP_DOWNLOAD_MSG"/></para> ...
28.472222
88
0.596098
[ "Apache-2.0" ]
Lc3586/SuperSocket.JTT
src/Protocols/JTT1078/MessageBody/Internal/DownloadControlReplyBody.cs
1,249
C#
#region copyright /* * * * * * * * * * * * * * * * * * * * * * * * * */ /* Carl Zeiss Industrielle Messtechnik GmbH */ /* Softwaresystem PiWeb */ /* (c) Carl Zeiss 2021 */ /* * * * * * * * * * * * * * * * * * * * * * * * * */ #endregion namespa...
28.196532
105
0.608446
[ "BSD-3-Clause" ]
ZEISS-PiWeb/PiWeb-MeshModel
src/Tests/ReaderWriterExtensionsTest.cs
4,708
C#
/* Copyright 2021-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 wr...
49.779141
264
0.639142
[ "Apache-2.0" ]
MikalaiMazurenka/mongo-csharp-driver
tests/MongoDB.Driver.Tests/Specifications/crud/prose-tests/CrudProseTests.cs
8,116
C#
using System; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using OldBoardGamesNeedLoveToo.Auth; namespace OldBoardGamesNeedLoveToo.Web.Account { public partial class ManagePassword : System.Web.UI.Page { protected string SuccessMessage { ...
32.639175
130
0.516425
[ "MIT" ]
TheFTeam/OldBoardGamesNeedLoveToo
OldBoardGamesNeedLoveToo/OldBoardGamesNeedLoveToo.Web/Account/ManagePassword.aspx.cs
3,168
C#
using System; namespace BaiduPanDownloadWpf.Infrastructure.Exceptions { public class LoginException: Exception { public ClientLoginStateEnum LoginType { get; private set; } public LoginException(string message, ClientLoginStateEnum loginType) : base(message) { LoginType = ...
23.266667
93
0.676218
[ "MIT" ]
GoingTime/Accelerider.Windows
BaiduPanDownloadWpf.Infrastructure/Exceptions/LoginException.cs
351
C#
using System; using System.Xml; using YaCloudKit.Core; using YaCloudKit.MQ.Model; using YaCloudKit.MQ.Model.Responses; namespace YaCloudKit.MQ.Marshallers { public class SendMessageBatchResponseUnmarshaller : ResponseUnmarshaller { public override T Unmarshall<T>(IResponseContext context) { ...
43.361702
130
0.619235
[ "MIT" ]
gkurbesov/YaCloudKit
src/YaCloudKit.MQ/Marshallers/SendMessageBatchResponseUnmarshaller.cs
2,040
C#
// <auto-generated /> using System; using AccountingSystems.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AccountingSystems.Migrations ...
36.655464
113
0.440433
[ "MIT" ]
CorinthDev-Github/Invoice-and-Accounting-System
aspnet-core/src/AccountingSystems.EntityFrameworkCore/Migrations/20200415103255_CreatorUsername_toOtherTbls.Designer.cs
134,161
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection; using ILRuntime.C...
47.449275
255
0.610721
[ "MIT" ]
Misaka-Mikoto-Tech/ILRuntime
ILRuntimeTest/AutoGenerate/System_Collections_Generic_Dictionary_2_Int64_Int32_Binding.cs
6,548
C#
using System; using System.Runtime.InteropServices; using System.Threading.Tasks; using System.Windows.Forms; using static Vanara.PInvoke.User32; namespace Coffee { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentMo...
36.236994
140
0.557824
[ "MIT" ]
sergiibratus/coffeemachine
Coffee/MainForm.Designer.cs
6,271
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> //--...
38.116129
176
0.574306
[ "MIT" ]
2E0PGS/corefx
src/System.ComponentModel.TypeConverter/tests/Resources/TestResx.Designer.cs
5,910
C#
using Sharpen; namespace android.opengl { [Sharpen.NakedStub] public class ETC1Util { [Sharpen.NakedStub] public class ETC1Texture { } } }
10.857143
26
0.703947
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/android/opengl/ETC1Util.cs
152
C#
using System; using System.Threading.Tasks; using commercetools.Sdk.Client; using commercetools.Sdk.Domain; using commercetools.Sdk.Domain.Stores; using static commercetools.Sdk.IntegrationTests.GenericFixture; namespace commercetools.Sdk.IntegrationTests.Stores { public static class StoresFixture { #r...
36.486486
141
0.652963
[ "Apache-2.0" ]
commercetools/commercetools-dotnet-core-sdk
commercetools.Sdk/IntegrationTests/commercetools.Sdk.IntegrationTests/Stores/StoresFixture.cs
2,700
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...
34.234043
172
0.626787
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/WAF/Generated/Model/RegexPatternSetUpdate.cs
3,218
C#
namespace AspectInjector.SampleApps.NotifyPropertyChanged { public class AppViewModel { [Notify(NotifyAlso = nameof(Fullname))] public string FirstName { get; set; } [Notify(NotifyAlso = nameof(Fullname))] public string LastName { get; set; } public string Fu...
28.153846
61
0.620219
[ "Apache-2.0" ]
venux/aspect-injector
samples/NotifyPropertyChanged/AppViewModel.cs
368
C#
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace MyCompany.MyProject.AppHost.HostedServices { public class DefaultTimedHostedService : HostedServiceBase { ...
29.046512
112
0.657326
[ "Apache-2.0" ]
tairan/aspnetboilerplate
templates/Abp.Template.Vuejs/Content/aspnet-core/src/MyCompany.MyProject.AppHost/HostedServices/DefaultTimedHostedService.cs
1,251
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.MTurk")] [assembly: AssemblyDescrip...
48.40625
290
0.752098
[ "Apache-2.0" ]
motoko89/aws-sdk-net-xamarin
sdk/code-analysis/ServiceAnalysis/MTurk/Properties/AssemblyInfo.cs
1,549
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.668539
402
0.600875
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Insights/GetScheduledQueryRule.cs
6,171
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Security; using System.Runtime.InteropServices; namespace Microsoft.Win32.SafeHandles { [SecurityCritical] internal sealed class Saf...
24.580645
101
0.628609
[ "MIT" ]
690486439/corefx
src/Common/src/Microsoft/Win32/SafeHandles/SafeX509NameHandle.Unix.cs
762
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.user.invite.offlinesummary.query /// </summary> public class AlipayUserInviteOfflinesummaryQueryRequest : IAlipayRequest<AlipayUserInvi...
22.951613
121
0.552706
[ "MIT" ]
Msy1989/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserInviteOfflinesummaryQueryRequest.cs
2,872
C#
using SharpDX; using SharpDX.Direct3D11; #if DX11_1 using Device = SharpDX.Direct3D11.Device1; using DeviceContext = SharpDX.Direct3D11.DeviceContext1; #endif #if NETFX_CORE namespace HelixToolkit.UWP.Render #else namespace HelixToolkit.Wpf.SharpDX.Render #endif { using Utilities; using Shaders; /// <summ...
33.797386
110
0.585187
[ "MIT" ]
crack521/helix-toolkit
Source/HelixToolkit.SharpDX.Shared/Render/DeviceContextProxy.cs
5,171
C#