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 Microsoft.Identity.Client; using System; using System.Collections.Generic; using System.Linq; using System.Security; namespace Liberator.RESTore.Access { /// <summary> /// Base class for retrieving access tokens /// </summary> public class AzureToken : IToken { /// <summary> ...
34.042373
150
0.568086
[ "MIT" ]
LiberatorTestTools/RESTore
RESTore/Access/AzureToken.cs
4,019
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("di...
37.540541
84
0.743701
[ "MIT" ]
coshkun/ISMK.91114.Programming-Techniques
shares/shared-projects/dizileri/dizileri/Properties/AssemblyInfo.cs
1,392
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { Rigidbody m_Rigidbody; public float m_Thrust = 10f; public float speed = 1; bool isOnGround; bool jump_pressedLastFrame; // Start is called before the first frame update voi...
25.317647
121
0.539498
[ "MIT" ]
Intreix/P-SeminarSG
Assets/Player.cs
2,152
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YourNameHere { public class Definitions { public class Lettere { public string Letters { get; set; } public string Color { get; set; } ...
20.333333
60
0.577869
[ "MIT" ]
bonny1992/YourNameHere
YourNameHere/Definitions.cs
490
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Xunit; namespace NLog.Extensions.Logging.Tests { public class CustomBeginScopeTest : NLogTestBase { [Fact] public void TestNonSerializableSayHello()...
34.506024
122
0.517633
[ "BSD-2-Clause" ]
GitHubPang/NLog.Extensions.Logging
test/NLog.Extensions.Logging.Tests/CustomBeginScopeTest.cs
5,730
C#
// <auto-generated /> // Copyright (c) Six Labors and contributors. // See LICENSE for more details. #if !SUPPORTS_SERIALIZATION namespace System { /// <summary> /// Indicates that a class can be serialized. This class cannot be inherited. /// </summary> [AttributeUsage(AttributeTargets.Class | Attrib...
30.409091
141
0.68012
[ "Apache-2.0" ]
SixLabors/ZlibStream
src/ZlibStream/SerializableAttribute.cs
669
C#
namespace Microsoft.BotBuilderSamples { public class UserProfile { public string Name { get; set; } public int? Age { get; set; } public string Date { get; set; } } }
17.166667
40
0.57767
[ "MIT" ]
AdsTable/BotBuilder-Samples
samples/csharp_dotnetcore/44.prompt-users-for-input/UserProfile.cs
208
C#
using Ryujinx.Common.Logging; using Ryujinx.Graphics.GAL; using Ryujinx.Graphics.Gpu; using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger { class SurfaceFlinger : ...
29.059946
151
0.509892
[ "MIT" ]
derparb/h
Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
10,667
C#
using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; namespace FoxTool.Fox.Types.Structs { public class FoxMatrix4 : FoxStruct { public float Row1Value1 { get; set; } public float Row1Value2 { get; set; } public float Row1Value3 { get; set;...
49.168831
300
0.616086
[ "MIT" ]
Atvaark/FoxTool
FoxTool/Fox/Types/Structs/FoxMatrix4.cs
7,574
C#
using System.Collections.Generic; using Leak.Bencoding; using Leak.Common; using Leak.Events; using Leak.Extensions; using Leak.Peer.Coordinator.Core; namespace Leak.Peer.Coordinator { public class CoordinatorFacts { private readonly MoreContainer more; private MetafileVerified metadata; ...
23.65
83
0.527696
[ "MIT" ]
amacal/leak
sources/Leak.Glue/CoordinatorFacts.cs
2,367
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.Authorization; namespace Jewellery.Roles.Dto { [AutoMapFrom(typeof(Permission))] public class PermissionDto : EntityDto<long> { public string Name { get; set; } public string DisplayName { get; set; } public strin...
20.941176
48
0.671348
[ "MIT" ]
dedavidsilwal/JewelleryAbp
aspnet-core/src/Jewellery.Application/Roles/Dto/PermissionDto.cs
356
C#
// -------------------------------------------------------------------------------------------------- // <copyright file = "AssemblyInfo.cs" company="Nino Crudele"> // Copyright (c) 2013 - 2015 Nino Crudele. All Rights Reserved. // </copyright> // <summary> // The MIT License (MIT) // // Copyright (c) 2013 - 2015 N...
43.014706
102
0.69094
[ "MIT" ]
HydAu/GrabCasterSDKTriggers
EventHubsTrigger/Properties/AssemblyInfo.cs
2,928
C#
// <auto-generated /> // Built from: hl7.fhir.r5.core version: 4.6.0 // Option: "NAMESPACE" = "fhirCsR5" using fhirCsR5.Models; namespace fhirCsR5.ValueSets { /// <summary> /// This value set is suitable for use with the provenance resource. It is derived from, but not compatible with, the HL7 v3 Purpose of use...
28.375635
154
0.603757
[ "MIT" ]
microsoft-healthcare-madison/argonaut-subscription-server-proxy
argonaut-subscription-server-proxy/Fhir/R5/ValueSets/NhinPurposeofuse.cs
11,180
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.Diagnostics; nam...
29.05
71
0.635972
[ "MIT" ]
AlecPapierniak/tye
src/Microsoft.Tye.Hosting.Diagnostics/ReplicaInfo.cs
1,164
C#
namespace BuckarooSdk.Services.Sofort { public class SofortPayRemainderResponse { /// <summary> /// IBAN bank account number of the customer. /// </summary> public string CustomerIBAN { get; set; } } }
19.363636
47
0.699531
[ "MIT" ]
buckaroo-it/BuckarooSdk_DotNet
BuckarooSdk/Services/Sofort/SofortPayRemainderResponse.cs
213
C#
 namespace RohBot.Rooms.Script.Commands { public class Default : Command { public override string Type => "script_"; public override string Format(CommandTarget target, string type) { if (!target.IsRoom || !(target.Room is ScriptRoom)) return ""; ...
29.108108
94
0.572888
[ "MIT" ]
shadobaker/RohBot
RohBot/Rooms/Script/Commands/Default.cs
1,079
C#
namespace Parz.LambdaExpressions { public static class LambdaTokenType { /// <summary> /// A C# lambda expression type string. /// </summary> public static readonly TokenType LambdaExpression = nameof(LambdaExpression); } }
24.454545
85
0.635688
[ "MIT" ]
sj-freitas/parz
Parz.LambdaExpressions/LambdaTokenType.cs
271
C#
// // System.Data.OleDb.OleDbInfoMessageEventHandler // // Author: // Rodrigo Moya (rodrigo@ximian.com) // // Copyright (C) Rodrigo Moya, 2002 // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this sof...
35.976744
97
0.734324
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/System.Data/System.Data.OleDb/OleDbInfoMessageEventHandler.cs
1,547
C#
using System; namespace GiGraph.Dot.Output.Metadata { /// <summary> /// Assigns a DOT attribute value to an enumeration value. /// </summary> [AttributeUsage(AttributeTargets.Field)] public class DotAttributeValueAttribute : Attribute, IDotAttributeValueAttribute { /// <summary> ...
28.32
84
0.587571
[ "MIT" ]
mariusz-schimke/GiGraph
src/GiGraph.Dot.Output/Metadata/DotAttributeValueAttribute.cs
708
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...
27.741935
88
0.648837
[ "ECL-2.0", "Apache-2.0" ]
nvpnathan/pulumi-nsxt
sdk/dotnet/Inputs/PolicyContextProfileUrlCategoryGetArgs.cs
860
C#
using System; using System.Threading.Tasks; using NServiceBus; using ServiceControl.TransportAdapter; class Program { static async Task Main() { Console.Title = "Samples.ServiceControl.RabbitMQAdapter.Adapter"; #region AdapterTransport var transportAdapter = n...
30.447761
113
0.644608
[ "Apache-2.0" ]
fourpastmidnight/docs.particular.net
samples/servicecontrol/adapter-rabbitmq-different-topologies/SCTransportAdapter_2/Adapter/Program.cs
1,976
C#
namespace MassTransit.Topology { using GreenPipes; /// <summary> /// A pipe builder used by topologies, which indicates whether the message type /// is either delegated (called from a sub-specification) or implemented (being called /// when the actual type is a subtype and this is an implemented ...
32.685714
90
0.607517
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
src/MassTransit/Topology/ITopologyPipeBuilder.cs
1,146
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 ...
22.006849
128
0.663866
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-dcdn/Dcdn/Model/V20180115/BatchDeleteDcdnDomainConfigsRequest.cs
3,213
C#
using EV2.CodeAnalysis.Syntax; namespace EV2.CodeAnalysis.Binding { internal sealed class BoundIfStatement : BoundStatement { public BoundIfStatement(SyntaxNode syntax, BoundExpression condition, BoundStatement thenStatement, BoundStatement? elseStatement) : base(syntax) { ...
32.428571
138
0.678414
[ "MIT" ]
avishnyak/ev2
src/EV2/CodeAnalysis/Binding/BoundIfStatement.cs
681
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
35.485714
151
0.633655
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/GetTestGridProjectRequestMarshaller.cs
3,726
C#
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // 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, incl...
39.071429
75
0.650366
[ "MIT" ]
jnm2/nunit
src/NUnitFramework/tests/Assertions/AssertWarnTests.cs
2,190
C#
using System; using Microsoft.Extensions.CommandLineUtils; using Paradigm.Services.CLI; namespace Paradigm.Services.Tests.Fixtures.Tests.CLI { public class NullableArguments { [ArgumentOption("-byte", "--long-byte", "", CommandOptionType.SingleValue, 1)] public byte? Byte { get; set; } ...
41.6
107
0.626202
[ "MIT" ]
MiracleDevs/Paradigm.Services
src/Paradigm.Services.Tests.Fixtures/Tests/CLI/NullableArguments.cs
2,496
C#
//----------------------------------------------------------------------- // <copyright company="Sherlock"> // Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. // </copyright> //----------------------------------------------------------------------- using System; using Sherlock.Shar...
43.588235
120
0.595816
[ "Apache-2.0" ]
pvandervelde/Sherlock
src/service.master/TestCompletedNotification.cs
1,484
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Interactivity; using ReactiveUI; using Avalonia.ReactiveUI; using VMGuide; using System; using Avalonia.VisualTree; namespace app { public class ConfigView : ReactiveUserControl<ConfigViewModel> { public C...
25.454545
67
0.563095
[ "BSD-3-Clause" ]
driver1998/VMGuide.NetCore
app/ConfigView.xaml.cs
840
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using NFluent; using NUnit.Framework; using ZeroLog.Appenders; using ZeroLog.Config; using ZeroLog.ConfigResolvers; namespace ZeroLog.Tests { [TestFixture] public class LogManagerTests ...
35.136585
195
0.578925
[ "MIT" ]
y-skindersky/ZeroLog
src/ZeroLog.Tests/LogManagerTests.cs
7,205
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Storage { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public enum StorageLibrar...
28.795455
63
0.696133
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Storage/StorageLibraryChangeType.cs
1,267
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using RestWithASP_NET5Udemy.Model.Context; using RestWithASP_NET5Udemy.Business; usin...
31.578947
106
0.619
[ "Apache-2.0" ]
celsoliveira/RestWithASP-NET5Udemy
01_RestWithASP-NET5Udemy/RestWithASP-NET5Udemy/RestWithASP-NET5Udemy/Startup.cs
3,000
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MentorBot.Functions.Abstract.Services; using MentorBot.Functions.Models.Business; using MentorBot.Functions.Models.Domains; using MentorBot.Functions.Services; using MentorBot.Tests._Base; using MentorBot.Tests.Base...
34.594203
159
0.587977
[ "MIT" ]
MentorSource/mentorbot
tests/MentorBot.Tests/Business/Services/GoogleAccessTokenServiceTests.cs
4,776
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.215278
221
0.578028
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Web/V20181101/GetWebAppHostNameBindingSlot.cs
4,351
C#
// -------------------------------------------------------------------------------------------------------------------- // Copyright (c) Lead Pipe Software. All rights reserved. // Licensed under the MIT License. Please see the LICENSE file in the project root for full license information. // -------------------------...
40.684211
120
0.433376
[ "MIT" ]
LeadPipeSoftware/LeadPipe.Net
src/LeadPipe.Net.Domain.Tests/DomainEventingTests/TestDomainEvent.cs
775
C#
using System; using System.Drawing; using System.Diagnostics; using System.Collections; using System.Collections.Generic; using System.Windows.Forms; using System.Threading; using System.IO; using System.Text; using Microsoft.Win32; using System.Data; using System.Drawing.Imaging; using System.ComponentModel; using Sy...
29.751773
173
0.597139
[ "Apache-2.0" ]
yaksys/Remote-Control-Tools-YakSys-
Remote Control Tools ProcWindow/Remote Control Tools ProcWindow/WebCamLayer.cs
4,197
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ResetPosition : MonoBehaviour { private Vector3 savedPosition; private void Awake() { savedPosition = transform.position; } public void RestoreInitialPosition() { transform.position = s...
19
43
0.69883
[ "MIT" ]
Vildanix/Ludum-dare-47
Assets/Scripts/Support/ResetPosition.cs
344
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LoadStore : MonoBehaviour { public GameObject RestartButton; public GameObject LojaButton; public GameObject ImgMenu; public GameObject CarregarMenuLoja; }
20.307692
39
0.795455
[ "MIT" ]
geeox96/TheCosmos
Assets/Scripts/LoadStore.cs
266
C#
// <copyright file="GPGSIds.cs" company="Google Inc."> // Copyright (C) 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.o...
37.384615
81
0.730453
[ "Apache-2.0" ]
paidgeek/SimpleGameTemplate
Assets/Scripts/Social/GooglePlayIds.cs
972
C#
using System.Security.Claims; using System.Text; using HRM.Infra.CrossCutting.Identity.Interfaces; using HRM.Infra.CrossCutting.Identity.Interfaces.Services; using Microsoft.IdentityModel.Tokens; namespace HRM.Infra.CrossCutting.Identity.Auth { public class JwtTokenValidator : IJwtTokenValidator { pri...
33.548387
96
0.679808
[ "MIT" ]
Andyhacool/HRM
src/HRM.Infra.CrossCutting.Identity/Auth/JwtTokenValidator.cs
1,042
C#
namespace Blog.Services.Data { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AngleSharp.Css.Values; using Blog.Data.Common.Repositories; using Blog.Data.Models; using Blog.Services.Data.Common; using Blog.Services.Data.Contrac...
33.378505
92
0.51351
[ "MIT" ]
StoyanShopov/MyBlog
Blog/Services/Blog.Services.Data/PostsService.cs
7,145
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtim...
46.556604
246
0.723607
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingService.cs
4,937
C#
using Wollo.Base.Entity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Wollo.Base.LocalResource; namespace Wollo.Entities.Models { [DataContract] publi...
23.619048
54
0.731855
[ "MIT" ]
umangsunarc/OTH
Wollo.Entities/Models/Market_Rate_Details.cs
498
C#
using EddiEvents; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiShipMonitor { public class ShipShutdownEvent : Event { public const string NAME = "Ship shutdown"; public const string DESC...
26.892857
114
0.666667
[ "Apache-2.0" ]
cmdrmcdonald/EliteDangerousDataProvider
ShipMonitor/ShipShutdownEvent.cs
755
C#
using System; using System.Collections.Generic; using System.Linq; using Mono.Cecil; using NUnit.Framework; namespace NRoles.Engine.Test.Composition.SelfType { [TestFixture] public class Retrieve_Self_Types_From_Roles_Fixture : AssemblyReadonlyFixture { private IEnumerable<RoleSelfType> GetRolesA...
39.107143
113
0.710502
[ "MIT" ]
jordao76/nroles
src/NRoles.Engine.Test/Composition/SelfType/Retrieve_Self_Types_From_Roles_Fixture.cs
2,192
C#
namespace Escolas.Dominio.Shared { public struct Endereco { public Endereco(string rua, string numero, string complemento, string bairro, string cidade, string estado) : this() { Rua = rua; Numero = numero; Complemento = complemento; Bairro = bair...
26.333333
124
0.545886
[ "MIT" ]
gabriel-society/RegrasNegocioTalk
Demos/Ex01.Escolas/Escolas.Dominio/Shared/Endereco.cs
634
C#
/* * Copyright (C) 2014 Google 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 agree...
22.669173
96
0.506468
[ "Apache-2.0" ]
2035themes/play-games-plugin-for-unity
samples/CubicPilot/Source/Assets/CubicPilot/UtilCode/Countdown.cs
3,015
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.90625
109
0.675022
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Personalize/Generated/Model/DeleteSolutionRequest.cs
2,234
C#
using System; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using KS.Fiks.IO.Client.Amqp; using KS.Fiks.IO.Client.Catalog; using KS.Fiks.IO.Client.Configuration; using KS.Fiks.IO.Client.Dokumentlager; using KS.Fiks.IO.Client.Models; using KS.Fiks.IO.Client.Send; using KS.Fiks.IO...
32.972222
110
0.621735
[ "MIT" ]
jarped/fiks-io-client-dotnet
KS.Fiks.IO.Client.Tests/FiksIOClientFixture.cs
4,748
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.D...
37.557508
154
0.559823
[ "MIT" ]
0xblack/try
WorkspaceServer/Packaging/Package.cs
23,511
C#
// // Copyright 2020 Google LLC // // 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, Ver...
37.445361
119
0.570343
[ "Apache-2.0" ]
Mdlglobal-atlassian-net/iap-desktop
Google.Solutions.IapDesktop/Windows/MainForm.cs
18,163
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/gdipluseffects.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; usin...
34.906977
145
0.692205
[ "MIT" ]
tannergooding/terrafx.interop.windows
tests/Interop/Windows/Gdiplus/um/gdipluseffects/ColorMatrixEffectTests.cs
1,503
C#
#if LEGACY_NAMESPACE using AutoFilterer.Enums; #endif using AutoFilterer.Abstractions; using AutoFilterer.Attributes; using System.Data; using System.Linq; namespace AutoFilterer.Types; public class OrderableFilterBase : FilterBase, IOrderable { [IgnoreFilter] public virtual Sorting SortBy { get; set; } [Ig...
29.451613
102
0.743702
[ "MIT" ]
mehmetuken/AutoFilterer
src/AutoFilterer/Types/OrderableFilterBase.cs
915
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. namespace Nuget.PackageIndex.Logging { public interface ILogProvider { void WriteVerbose(string format, params object[] args); ...
34.615385
111
0.715556
[ "Apache-2.0" ]
ConnectionMaster/NuGet.PackageIndex
src/Nuget.PackageIndex/Logging/ILogProvider.cs
452
C#
using System.Collections.Generic; namespace Phytime.Models.Feed { public class Feed { public int Id { get; set; } public string Title { get; set; } public string Url { get; set; } public int ItemsCount { get; set; } public List<User> Users { get; set; } = new List<User>...
23.714286
65
0.578313
[ "Apache-2.0" ]
ArtemGontar/phytime
src/Models/Feed/Feed.cs
334
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; using Esfa.Recruit.Vacancies.Client.Infrastructure.Mongo; using Esfa.Recruit.Vacancies.Client.Infrastructure.QueryStore.Projections; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using ...
36.785714
153
0.61068
[ "MIT" ]
SkillsFundingAgency/das-recru
src/Shared/Recruit.Vacancies.Client/Infrastructure/QueryStore/MongoQueryStore.cs
5,150
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(1471006352)] public class TLPhoneCallDiscardReasonHangup : TLAbsPhoneCallDiscardReason { public override int Con...
17.525
77
0.589158
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLPhoneCallDiscardReasonHangup.cs
701
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; namespace CarDealer.Data.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable(...
39.976471
122
0.472042
[ "MIT" ]
mayapeneva/DATABASE-Advanced-Entity-Framework
10.XMLProcessing_CarDealer/CarDealer.Data/Migrations/20180730164323_initial.cs
6,798
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using NSuperTest.Server; using System; using System.Collections.Generic; using System.Text; namespace NSuperTest.Registration.NetCoreServer { public class NetCoreServerBuilder<T> : IServerBuilder where T : class {...
26.844828
72
0.538857
[ "MIT" ]
pshort/nsupertest
NSuperTest/Registration/NetCoreServer/NetCoreServerBuilder.cs
1,559
C#
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using Xunit; namespace Meziantou.Framework.Tests { public sealed class StreamExtensionsTests { [Theory] [InlineData(false)] [InlineData(true)] public ...
35.272727
122
0.586223
[ "MIT" ]
fasteddys/Meziantou.Framework
tests/Meziantou.Framework.Tests/StreamExtensionsTests.cs
4,270
C#
using System; using System.Buffers.Binary; using System.IO; namespace Subspace.Stun { public class StunRecordWriter { public static void Write(StunRecord record, Stream stream) { var padLen = record.MessageIntegrity is null ? 8 : 32; var bytes = new byte[StunConstants....
36.709677
155
0.566344
[ "MIT" ]
ztittle/Subspace
src/Subspace.Stun/StunRecordWriter.cs
2,278
C#
using System.IO; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.SignalRService; namespace ServerlessApp { public static...
33.8
94
0.637574
[ "MIT" ]
bibistroc/KMCraiova2018
src/backend/ServerlessApp/ChatFunction.cs
1,352
C#
using Pliant.Utilities; namespace Pliant.Languages.Regex { public abstract class RegexAtom : RegexNode { public override RegexNodeType NodeType { get { return RegexNodeType.RegexAtom; } } } public class RegexAtomAny : RegexAtom { const string Dot = ".";...
23.712575
64
0.527525
[ "MIT" ]
patrickhuber/Earley
libraries/Pliant/Languages/Regex/RegexAtom.cs
3,962
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Json; using System.Reflection; using System.Threading.Tasks; using BlazorShared; using BlazorShared.Attributes; using BlazorShared.Interfaces; using BlazorShared.Models; using Microsoft.Extensions.Logging; namespace Blaz...
32.581395
106
0.757316
[ "MIT" ]
ASauchanka/eShopOnWeb
src/BlazorAdmin/Services/CatalogLookupDataService.cs
1,403
C#
using System; using System.Collections.Generic; using System.Text; using SharpMedia.Components.TextConsole; using System.Reflection; using SharpMedia.Database; namespace SharpMedia.Tools.Parameters { /// <summary> /// Extracts parameters from tool. /// </summary> public static class ParameterProcesso...
32.031008
102
0.459826
[ "Apache-2.0" ]
zigaosolin/SharpMedia
SharpMedia.Tools/Parameters/ParameterProcessor.cs
4,134
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.083333
80
0.649087
[ "MIT" ]
viniciuspriori/exercises
code wars/cw_3e5_count/obj/Debug/net5.0/cw_3e5_count.AssemblyInfo.cs
986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using dotGit.Objects; using dotGit.Exceptions; using dotGit.Generic; namespace dotGit { public static class Extensions { /// <summary> /// Extension method for the String class to use instead of the String.Format method ...
19.565789
88
0.639543
[ "MIT" ]
henon/dotgit
dotGit/Generic/Extensions.cs
1,489
C#
using Atelie.Cadastro.Materiais.Componentes; using Atelie.Cadastro.Materiais.Fabricantes; using System; using System.Threading.Tasks; using System.Transactions; namespace Atelie.Cadastro.Materiais { public class ServicoDeCadastroDeMateriais : ICadastroDeMateriais { private readonly IUnitOfWork unitOfW...
27.114094
135
0.559901
[ "MIT" ]
mardsystems/atelie
src/Atelie.ApplicationModel/Cadastro/Materiais/ServicoDeCadastroDeMateriais.cs
4,042
C#
using Harmony; namespace AsLimc.commons { internal class VPatches { [HarmonyPatch(typeof(Db), "Initialize")] internal class Db_Initialize { private static void Postfix(Db __instance) { VLib.OnDbInitializeEnd(__instance); } } } }
25.083333
56
0.591362
[ "MIT" ]
jbboehr/oni-mods
src/commons/VPatches.cs
301
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("1.S...
37.621622
84
0.746408
[ "MIT" ]
BorisLechev/Programming-Basics
2. Simple Calculations/1.SquareArea/Properties/AssemblyInfo.cs
1,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LegoSharp { public class BrickColorFilter : PickABrickValuesFilter<BrickColor> { public BrickColorFilter() : base("variants.attributes.exactColour.en-US", "element.facet.colour") { } } ...
79.962025
139
0.722178
[ "MIT" ]
rolledback/LegoSharp
LegoSharp/PickABrick/BrickColorFilter.cs
6,319
C#
using System; namespace UnrealEngine { public partial class UInterface_CollisionDataProvider:UInterface { } }
11.8
65
0.779661
[ "MIT" ]
xiongfang/UnrealCS
Script/UnrealEngine/GeneratedScriptFile/UInterface_CollisionDataProvider.cs
118
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; using ...
26.454545
104
0.587629
[ "ECL-2.0", "Apache-2.0" ]
pulumiverse/pulumi-unifi
sdk/dotnet/Outputs/WlanSchedule.cs
1,164
C#
using System; using System.Threading.Tasks; using Commands.CodeBaseSearch; using Microsoft.CodeAnalysis; using Microsoft.VisualStudio.ComponentModelHost; namespace BeaverSoft.Text.Client.VisualStudio.Search { public class CurrentSolutionOpenStrategy : ISolutionOpenStrategy { private readonly IComponent...
31.153846
121
0.738272
[ "MIT" ]
Mechachleopteryx/texo.ui
BeaverSoft.Text.Client.VisualStudio/Search/CurrentSolutionOpenStrategy.cs
810
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis...
51.315068
296
0.682061
[ "Apache-2.0" ]
epananth/roslyn-analyzers
src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/DoNotPassTypesByReference.cs
3,748
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using UnityEngine; using Memoria; using Memoria.Data; using Memoria.Prime; using Memoria.Assets; using Object = System.Object; using System.Net.Mime; using Assets.Sources.Scripts.UI.Common; public static class AssetManager { ...
43.622851
276
0.709408
[ "MIT" ]
FlameHorizon/Memoria
Assembly-CSharp/Global/Asset/AssetManager.cs
43,143
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; /// <summary> /// System.Array.Reverse(System.Array) /// </summary> public class ArrayReverse1 { #...
27.966292
118
0.503549
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/CoreMangLib/cti/system/array/arrayreserse1.cs
7,467
C#
using PokemonBattele; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using MyUnityEventDispatcher; using System.Collections; using TinyTeam.UI; using Entitas; public sealed partial class BattleController : SingletonMonobehavior<BattleController>, IEndBattleEve...
32.887147
128
0.604804
[ "MIT" ]
Avatarchik/Pokemon_Unity3D_Entitas
Assets/Scripts/Controllers/BattleController.cs
21,576
C#
using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Facebook; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Nop.Core; using Nop.Plugin.ExternalAuth.Facebook.Models; using Nop.Serv...
44.322581
143
0.705386
[ "MIT" ]
EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin
src/Plugins/Nop.Plugin.ExternalAuth.Facebook/Controllers/FacebookAuthenticationController.cs
6,872
C#
namespace MLAPI.Serialization { /// <summary> /// Arithmetic helper class /// </summary> public static class Arithmetic { // Sign bits for different data types internal const long SIGN_BIT_64 = -9223372036854775808; internal const int SIGN_BIT_32 = -2147483648; inter...
48.333333
139
0.581488
[ "MIT" ]
0vjm3wfw9gqm4j/com.unity.multiplayer.mlapi
com.unity.multiplayer.mlapi/Runtime/Serialization/Arithmetic.cs
2,757
C#
using System; using Eto.Drawing; using System.Reflection; using Eto.Forms; using System.Collections.Generic; namespace Pablo.Formats.Rip.Tools { public class Bezier : TwoPointTool<Commands.Bezier> { int segments = 100; int? movingPoint; bool moving; Point? connectingPoint; public override string Descripti...
25.690265
102
0.650534
[ "MIT" ]
blocktronics/pablodraw
Source/Pablo/Formats/Rip/Tools/Bezier.cs
5,806
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using Trifolia.Authentication; using Trifolia.Shared; using Trifolia.Authorization; namespace Trifolia.Web { public class SecurableForm : Page { protected override void OnPreLoad(EventArgs e) ...
33.235294
187
0.618142
[ "Apache-2.0" ]
BOBO41/trifolia
Trifolia.Web/SecurableForm.cs
2,262
C#
namespace dotnet_dbinfo { public enum SupportedDatabaseType { SQLSERVER, DYNAMODB, COSMOSDB, MONGODB, SQLAZURE } }
14
37
0.553571
[ "MIT" ]
berkid89/dotnet-dbinfo
dotnet-dbinfo/SupportedDatabaseType.cs
170
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Sunny.UI; using DEETU.Map; using DEETU.Tool; using DEETU.Core; using DEETU.Source.Window.LayerAttributes; using System.Drawing.Dr...
46.00678
167
0.597333
[ "MIT" ]
GIS-design-application/DEETU
Source/Window/LayerAttributesForm/FillSymbolPage.cs
28,298
C#
namespace Peach.Core.Debuggers.DebugEngine.Tlb { using System; public enum __MIDL___MIDL_itf_DbgEng_0001_0077_0056 { DEBUG_DATA_MmModifiedPageListHeadAddr = 0x198 } }
18.454545
56
0.704433
[ "MIT" ]
FXTi/peachfuzz-code
Peach.Core.OS.Windows/Debuggers/DebugEngine/Tlb/__MIDL___MIDL_itf_DbgEng_0001_0077_0056.cs
203
C#
//_______________________________________________________________ // Title : Assembly info for: <Define Assembly Title> // System : Microsoft VisualStudio 2015 / C# // // Copyright (C) 2020 Mariusz Postol LODZ POLAND // +48 608 619 899 // mpostol@cas.eu // https://github.com/mpostol/OPC-UA-OOI //_____________...
39.269231
78
0.77571
[ "MIT" ]
BiancoRoyal/OPC-UA-OOI
CommonResources/T4Definitions/Template.AssemblyInfo.cs
1,023
C#
namespace OrderFulfillment.Core.Models.External.OrderProduction { public class OrderIdentity { public string PartnerCode { get; set; } public string PartnerSubCode { get; set; } public string PartnerRegionCode { get; set; } public string PartnerOrderId { get; set; } } }
29.090909
64
0.65625
[ "MIT" ]
jsquire/Portfolio
src/OrderFulfillment/Core/Models/External/OrderProduction/OrderIdentity.cs
322
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 Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.V...
25.731343
86
0.523782
[ "MIT" ]
333fred/roslyn
src/VisualStudio/Core/Def/Implementation/Utilities/TaskItemsEnum.cs
1,726
C#
namespace MusicHub.DataProcessor { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Xml.Serialization; using Data; using MusicHub.Data.Mode...
33.505455
138
0.462666
[ "MIT" ]
antoniovelev/Softuni
C#/Entity Framework/01. Model Defition_Skeleton + Datasets/MusicHub/DataProcessor/Deserializer.cs
9,216
C#
using System; using System.Collections.Generic; namespace DemoSite.Models { // Models returned by AccountController actions. public class ExternalLoginViewModel { public string Name { get; set; } public string Url { get; set; } public string State { get; set; } } public...
22.022727
87
0.638803
[ "Apache-2.0" ]
darcythomas/zxcvbn.net
DemoSite/Models/AccountViewModels.cs
971
C#
using System; using System.Threading.Tasks; using d60.Cirqus; using d60.Cirqus.Ntfs.Config; namespace Exchanger { class Program { static void Main(string[] args) { try { new Program().Run(args).Wait(); } catch (Aggr...
22.536585
63
0.428571
[ "MIT" ]
asgerhallas/Exchanger
src/Exchanger/Program.cs
926
C#
using System.Data.Entity.ModelConfiguration; namespace BloggerData { public class ArticleConfiguration : EntityTypeConfiguration<Article> { public ArticleConfiguration() { ToTable("Article"); Property(a => a.Title).IsRequired().HasMaxLength(100); Property(a ...
33.473684
72
0.61478
[ "Apache-2.0" ]
catalintomescu/OpenFx
OpenDataFx/BloggerData/ArticleConfiguration.cs
638
C#
using System; using System.Runtime.Serialization; namespace Neurocita.Reactive.Pipes { public static class ObservableExtensions { public static IDisposable ToPipeStream<T>(this IObservable<T> observable, string pipeName, IFormatter formatter = null) { return new PipeStreamServerPro...
35.833333
146
0.706977
[ "MIT" ]
neurocita/Reactive
Neurocita.Reactive/Neurocita.Reactive.Pipes/src/ObservableExtensions.cs
647
C#
using System.Threading; using Xunit; namespace STAExamples { public class Samples { [Fact] public static void Fact_OnMTAThread() { Assert.Equal(ApartmentState.MTA, Thread.CurrentThread.GetApartmentState()); } [STAFact] public static void STAFact_OnS...
23.607143
87
0.611195
[ "Apache-2.0" ]
AArnott/xunit.samples
STAExamples/Samples.cs
663
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...
27.38
81
0.589481
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Web/V20201001/Outputs/SkuCapacityResponse.cs
1,369
C#
using System; using System.Linq; using Xunit; namespace Nerven.CommandLineParser.Tests { public static class TestHelper { public static void TestCommandLineParser(ICommandLineParser parser, CommandLineSplitter splitter, string line, CommandLineItem[] expectedItems) { var _commandLi...
43.425532
151
0.654581
[ "MIT" ]
Nerven/CommandLineParser
tests/Nerven.CommandLineParser.Tests/TestHelper.cs
2,043
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...
39.54717
175
0.694179
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.ElastiCache/Model/CacheSubnetGroupNotFoundException.cs
2,096
C#
namespace TreniniDotNet.Application.Collecting.Shops { public static class NewShopAddressInput { public static readonly ShopAddressInput Empty = With(); public static ShopAddressInput With( string line1 = null, string line2 = null, string city = null, ...
29.521739
63
0.516937
[ "MIT" ]
CarloMicieli/TreniniDotNet
Tests/Application.UnitTests/Collecting/Shops/NewShopAddressInput.cs
679
C#
using System; using System.Runtime.ExceptionServices; using System.Threading.Tasks; namespace AdventOfCode.Solutions { public class Day10 { public static async Task Problem1() { var data = await Data.GetDataLines(); bool [,] space = new bool[data.Length,data[0].Length];...
33.302632
116
0.358751
[ "Unlicense" ]
ChadNedzlek/advent-of-code-2019
Solutions/Day10.cs
5,064
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity.Entities; using Unity.Transforms; using Unity.Mathematics; public class MoveForwardSystem : ComponentSystem { struct Group { public readonly int Length; public ComponentDataArray<Position> positio...
27.428571
89
0.641927
[ "Apache-2.0" ]
FantasyTianyu/UnityECSDemo
Assets/Scripts/ECS/System/MoveForwardSystem.cs
770
C#