content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Dup...
38.378378
84
0.751408
[ "CC0-1.0" ]
shreeharshas/DuplicateFilesRemover
DuplicateFilesManager.Core/Properties/AssemblyInfo.cs
1,423
C#
using System.Collections.Generic; namespace Yorozu.UI { public static class YorozuButtonManager { private static List<YorozuButton> _activeButtons = new List<YorozuButton>(20); public static IEnumerable<YorozuButton> Buttons => _activeButtons; private static float _clickLockTime = 0.5f; /// <summary> //...
21
108
0.716083
[ "MIT" ]
yayorozu/UnityUIButton
Script/YorozuButtonManager.cs
1,201
C#
using System; using HotChocolate.Language; using HotChocolate.Properties; #nullable enable namespace HotChocolate.Types { public abstract class FloatTypeBase<TRuntimeType> : ScalarType<TRuntimeType> where TRuntimeType : IComparable { protected FloatTypeBase( NameString name, ...
29.230366
94
0.54057
[ "MIT" ]
Asshiah/hotchocolate
src/HotChocolate/Core/src/Types/Types/Scalars/FloatTypeBase.cs
5,583
C#
using System; using System.Collections.Generic; using System.Reflection; namespace ILRuntime.Runtime.Generated { class CLRBindings { //will auto register in unity #if UNITY_5_3_OR_NEWER [UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)] #endif st...
74.068421
270
0.781354
[ "MIT" ]
ErQing/ILRuntime
ILRuntimeTest/AutoGenerate/CLRBindings.cs
14,073
C#
using BlogApp.Dotnet.API.IntegrationTests.Helpers; using BlogApp.Dotnet.ApplicationCore.DTOs; using Microsoft.AspNetCore.Mvc.Testing; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xunit; namespace Blog...
39.344681
103
0.624378
[ "Unlicense" ]
44m0n/blog-app
BlogApp/BlogApp.Dotnet.API.IntegrationTests/CommentsTests.cs
9,248
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Project_UI { public class Program { p...
23.038462
61
0.662771
[ "MIT" ]
AlexanderAnishchik/ASP-Core-API-Template
Core/Project.UI/Program.cs
599
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Sql; using Microsoft.Azure.Management.Sql.Models; using System; using System.Collect...
41.05
152
0.646772
[ "MIT" ]
DiogenesPolanco/azure-sdk-for-net
src/ResourceManagement/SqlManagement/Sql.Tests/UsageScenarioTests.cs
1,644
C#
// Copyright (c) Microsoft Corporation // The Microsoft Corporation 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.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Text; ...
22.542553
106
0.411751
[ "MIT" ]
01DKAC/PowerToys
src/core/Microsoft.PowerToys.Settings.UI.Lib/ImageSize.cs
4,240
C#
using System.Collections; using System.Collections.ObjectModel; using TLCGen.Helpers; using TLCGen.Plugins; namespace TLCGen.ViewModels { [TLCGenTabItem(index: 1, type: TabItemTypeEnum.OVTab)] public class OVOverzichtTabViewModel : TLCGenTabItemViewModel { #region Fields private ObservableCollectio...
26.472826
121
0.6434
[ "MIT" ]
LexTrafico/TLCGen
TLCGen/Views/Tabs/OVTab/Tabs/OVOverzichtTabViewModel.cs
4,873
C#
using System; using System.Collections.Generic; using System.Text; namespace Core.Entities { public class UserLike { public AppUser SourceUser { get; set; } public int SourceUserId { get; set; } public AppUser LikedUser { get; set; } public int LikedUserId { get; set; } } ...
20.125
47
0.636646
[ "MIT" ]
ritchie200/datingwebsite
Core/Entities/UserLike.cs
324
C#
using UnityEngine; using System.Collections; public abstract class LeverAction : MonoBehaviour { #region Fields protected LeverPull leverScript; private bool performedAction; #endregion #region Mandatory To Implement abstract protected void Action(); #endregion #region Optional To Implement vir...
13.491525
52
0.672111
[ "MIT" ]
AmalJossy/ARTreasureHunt
Assets/Assets/Lever/Materials/Materials/LeverAction.cs
798
C#
namespace Magellan.Framework { /// <summary> /// The action invoker that is used by the <see cref="Controller"/> to process the request. /// </summary> public interface IActionInvoker { /// <summary> /// Executes the action on the specified controller. /// </summary> ...
40.4375
119
0.652241
[ "MIT" ]
rog1039/magellan-framework
src/Magellan/Framework/IActionInvoker.cs
649
C#
namespace Sqlbi.Bravo.Infrastructure { using Sqlbi.Bravo.Infrastructure.Extensions; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Text.Json.Serialization; using System.Threading.Tasks; /// <summary> /// Represents unexpected er...
38.241228
216
0.635738
[ "MIT" ]
isdataninja/Bravo
src/Infrastructure/AppExceptions.cs
8,721
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; using System.Runtime.InteropServices; using EnvDTE; using VSLangProj; namespace Microsoft.VisualStudioTools.Project.Automation { /...
30.448276
169
0.594564
[ "Apache-2.0" ]
Abd-Elrazek/nodejstools
Nodejs/Product/Nodejs/SharedProject/Automation/VSProject/OAVSProject.cs
4,271
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...
36.694444
178
0.706283
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementNotStatementStatementGeoMatchStatementForwardedIpConfig.cs
1,321
C#
// // TextureBuffer.cs // // Copyright (C) 2018 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // using System; using ObjectTK.Buffers; using OpenTK.Graphics.OpenGL; namespace ObjectTK.Textures { /// <summary> /// Represents...
37.852459
131
0.638805
[ "MIT" ]
JcBernack/ObjectTK
ObjectTK/Textures/TextureBuffer.cs
2,311
C#
using Rogue.Serializables; using UnityEngine; namespace Rogue.Items { public class WeaponItem : MonoBehaviour { #region VARIABLES [Header("Weapon Properties")] public Weapon WeaponData; #endregion #region UNITY METHODS private void OnTriggerEnter2D(Collider2D...
15.555556
55
0.597619
[ "MIT" ]
Macawls/vega_project_2A
Assets/_Project/Scripts/Runtime/Items/WeaponItem.cs
420
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.125
96
0.721068
[ "MIT" ]
Arsync/wpfchrometabs-mvvm
Arsync.SharedResources/Properties/AssemblyInfo.cs
2,362
C#
using System; using System.Net; using System.Net.Sockets; using System.Text; namespace BluetoothDevicePairing { class PairingServer { private const int SERVICE_PORT = 11000; private const int BUF_SIZE = 4 * 1024; private readonly Socket ServerSocket = new(AddressFamily.InterNetwork, So...
35.21875
134
0.557232
[ "MIT" ]
BeneyKim/BluetoothDevicePairing
Src/PairingServer.cs
3,383
C#
using Microsoft.Xna.Framework; namespace P3D.Legacy.MapEditor.Data { public class EntityNPCInfo : EntityInfo { public string Name { get; set; } public string TextureID { get; set; } public string Movement { get; set; } public Rectangle[] MoveRectangles { get; set; } pub...
30.1875
73
0.619048
[ "MIT" ]
P3D-Legacy/P3D-Legacy-MapEditor
P3D-Legacy-MapEditor/Data/EntityNPCInfo.cs
485
C#
using GAAPICommon.Architecture; using GACore.Architecture; using GACore.Extensions; using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; namespace GACore.Controls.View { public class RadToDegStringConverter : IValueConverter { public object Convert(object value, Type ta...
37.35
139
0.807898
[ "MIT" ]
GuidanceAutomation/GACore
src/GACore.Controls/View/Converters.cs
2,990
C#
using Netch.Models; namespace Netch.Servers { public class Socks5Server : Server { /// <summary> /// 密码 /// </summary> public string? Password { get; set; } /// <summary> /// 账号 /// </summary> public string? Username { get; set; } ...
22.6
114
0.504425
[ "MIT" ]
C0S1N3/Netch
Netch/Servers/Socks5/Socks5Server.cs
1,027
C#
using InTheHand.Net; using InTheHand.Net.Bluetooth; using InTheHand.Net.Sockets; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO.Ports; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; usi...
30.357143
158
0.583137
[ "Apache-2.0" ]
tylim2946/Foot-Controller-Mk-I
FC-Options/DeviceOpt.cs
2,552
C#
namespace Zu.ChromeDevTools.Page { using Newtonsoft.Json; /// <summary> /// Forces compilation cache to be generated for every subresource script. /// </summary> public sealed class SetProduceCompilationCacheCommand : ICommand { private const string ChromeRemoteInterface_CommandName = "...
26.21875
119
0.618594
[ "Apache-2.0" ]
DoctorDump/AsyncChromeDriver
ChromeDevToolsClient/Page/SetProduceCompilationCacheCommand.cs
839
C#
// *********************************************************************** // Copyright (c) Charlie Poole and TestCentric contributors. // Licensed under the MIT License. See LICENSE in root directory. // *********************************************************************** using System.IO; using System.Reflection;...
52.492308
111
0.599062
[ "MIT" ]
TestCentric/tc-lite
src/tclite.tests/Internal/AssemblyHelperTests.cs
3,414
C#
/* Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com) This file is part of Highlander Project https://github.com/alexanderwatt/Hghlander.Net Highlander is free software: you can redistribute it and/or modify it under the terms of the Highlander license. You should have received a copy of the license along wit...
33.630435
110
0.645766
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
Metadata/FpML.V5r10/FpML.V5r10.Reporting/QuotedCurrencyPair.cs
1,549
C#
using System; using System.Collections.Generic; using System.Reflection; namespace Neemo { public static class EnumerableExtensions { public static void ForEach<T>(this IEnumerable<T> items, Action<T> action) { foreach (var i in items) { action(i); ...
19.277778
82
0.56196
[ "MIT" ]
wijayakoon/Unixmo
Neemo.Web/Neemo/Extensions/EnumerableExtensions.cs
349
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using DreamClient.Models; using Microsoft.AspNetCore.Authorization; namespace DreamClient.Controllers { public class DreamsController : Controller { public IActionResult Index() { var allDreams = Dream.GetDreams(); ...
26.575
90
0.557855
[ "MIT" ]
fetonecontrol/DreamClient
Controllers/DreamsController.cs
1,063
C#
using System.IO; namespace Xameleon.Function { public static class HttpWebResponseStream { ///<summary> ///</summary> ///<param name="stream"></param> ///<returns></returns> public static string GetResponseString ( Stream stream ) { using (StreamRea...
24.555556
69
0.533937
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
linux-distro/package/nuxleus/Source/Xameleon/Function/HttpWebResponseStream.cs
444
C#
using System.Linq; using HotChocolate.Execution; using NodaTime.Text; using Xunit; namespace HotChocolate.Types.NodaTime.Tests { public class OffsetDateTimeTypeExtendedIntegrationTests { private readonly IRequestExecutor testExecutor; public OffsetDateTimeTypeExtendedIntegrationTests() ...
39.217391
95
0.566297
[ "MIT" ]
dan-ferguson-unanet/hotchocolate
src/HotChocolate/Core/test/Types.NodaTime.Tests/OffsetDateTimeTypeExtendedIntegrationTests.cs
4,510
C#
namespace BullOak.Test.Benchmark.Behavioural { using System; public interface IInterface { int Count { get; set; } string Name { get; set; } } internal class TestClass : IInterface { public bool canEdit = false; private int _count; public int Count ...
20.866667
93
0.5
[ "MIT" ]
BullOak/BullOak
src/BullOak.Test.Benchmark/Behavioural/TestClass.cs
628
C#
using System; namespace Peddler { /// <summary> /// A base exception for when an <see cref="IComparableGenerator{T}" /> /// or <see cref="IDistinctGenerator{T}" /> is unable to generate values /// because their internal constraints are incompatible with the value provided. /// </summary> ...
43.788235
92
0.607738
[ "MIT" ]
invio/Peddler
src/Peddler/UnableToGenerateValueException.cs
3,722
C#
///------------------------------------------------------------------------------------------------- // file: Elements\BasicElements\Segment.razor.cs // // summary: Implements the segment.razor class ///------------------------------------------------------------------------------------------------- using Microsoft.A...
37.6
104
0.520686
[ "MIT" ]
DotFomanticNet/fomantic-blazor
src/Fomantic.Blazor.UI/Components/BasicComponents/SegmantComponent/Segment.razor.cs
1,694
C#
using System; namespace Fault { public interface Locateable { Location getLocation(); Locateable getParent(); } }
15
30
0.733333
[ "Apache-2.0" ]
YourWishes/FaultEnginev3
Fault/FaultEngine/Location/Locateable.cs
120
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> //----------------------------------------...
30.56
84
0.465969
[ "MIT" ]
mind0n/hive
Product/Website/Portal/Portal/Testing/TestRequest.aspx.designer.cs
766
C#
using System; using System.Web.UI.WebControls; using CMS.FormEngine.Web.UI; using CMS.Helpers; /// <summary> /// FormEngine control to select a period of time /// </summary> public partial class CMSModules_SharePoint_FormControls_TimeIntervalSelector : FormEngineUserControl { private const string MINU...
25.8125
101
0.531073
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSModules/Sharepoint/FormControls/TimeIntervalSelector.ascx.cs
3,719
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.806452
151
0.586654
[ "MIT" ]
RenePeuser/MarkupExtensionConverter
MarkupExtensionConverter/MarkupExtensionConverter/Properties/Settings.Designer.cs
1,081
C#
/* Copyright 2014 Rustici Software 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...
25.4
76
0.542782
[ "Apache-2.0" ]
cawerkenthin/xAPI.Net
Verb.cs
1,907
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 ...
26.463855
78
0.651946
[ "Apache-2.0" ]
VAllens/aliyun-openapi-sdk-net-core
src/aliyun-net-sdk-cdn/Model/V20141111/DescribeDomainConfigsResponse.cs
4,393
C#
 using System; using System.Text; namespace Animals { public class Cat : Animal { public Cat(string name, string favouriteFood) : base(name, favouriteFood) { } public override string ExplainSelf() { return base.ExplainSelf() + Envir...
17.333333
70
0.538462
[ "MIT" ]
DeyanDanailov/SoftUni-OOP
Polymorphism/Animals/Cat.cs
366
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> //--...
44.687296
197
0.609884
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/SystemNotification.cs
13,721
C#
namespace DEVisIT.SiFatto.ApplicationCore.Interfaces.Services { public interface IQuestionService { } }
16.714286
62
0.74359
[ "MIT" ]
andreadottor/DEVisIT.SiFatto
src/DEVisIT.SiFatto.ApplicationCore/Interfaces/Services/IQuestionService.cs
119
C#
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Shouldly; using Xunit; using Abp.Application.Services.Dto; using SE347.L11_HelloWork.Users; using SE347.L11_HelloWork.Users.Dto; namespace SE347.L11_HelloWork.Tests.Users { public class UserAppService_Tests : L11_HelloWorkTestBase { ...
28.45283
123
0.558355
[ "MIT" ]
NgocSon288/HelloWork
aspnet-core/test/SE347.L11_HelloWork.Tests/Users/UserAppService_Tests.cs
1,510
C#
using System.Linq; using BenchmarkDotNet.Environments; using JetBrains.Annotations; namespace BenchmarkDotNet.Reports { public static class BenchmarkReportExtensions { private const string DisplayedRuntimeInfoPrefix = "// " + BenchmarkEnvironmentInfo.RuntimeInfoPrefix; private const string Dis...
40.407407
129
0.718607
[ "MIT" ]
AlexGhiondea/BenchmarkDotNet
src/BenchmarkDotNet.Core/Reports/BenchmarkReportExtensions.cs
1,093
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DS4WinWPF; using Nefarius.ViGEm.Client; using Nefarius.ViGEm.Client.Targets; using Nefarius.ViGEm.Client.Targets.Xbox360; namespace DS4Windows { public class Xbox360OutDevice : OutputDevice ...
47.737931
244
0.613984
[ "MIT" ]
counter185/DS4Windows_Scriptable_Lightbar
DS4Windows/DS4Control/Xbox360OutDevice.cs
6,924
C#
using Agencia.Infra.CrossCutting.DependencyRegistration; using AutoMapper; using Bankflix.API.Configurations; using Bankflix.API.Mapper; using Bankflix.API.Models; using Clientes.Infra.CrossCutting.DependencyRegistration; using Core.Domain.CommandHandlers; using Core.Domain.Interfaces; using Core.Domain.Notifications; ...
34.584416
102
0.686819
[ "MIT" ]
alexandrebeato/bankflix
server/src/Bankflix.API/Startup.cs
2,663
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace ThriveDevCenter.Server.Migrations { public partial class AddExternalServerModel : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
52.538462
125
0.591874
[ "MIT" ]
Revolutionary-Games/ThriveDevCenter
Server/Migrations/20210815094057_AddExternalServerModel.cs
2,734
C#
using System; using System.IO; using System.Linq; namespace _02LineNumbers { class Program { static void Main(string[] args) { string textPath = "text.txt"; string outputPath = "output.txt"; var textLines = File.ReadAllLines(textPath); int line...
24.233333
136
0.555708
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-Advanced/Homeworks-And-Labs/04StreamsAndFilesExercise/02LineNumbers/Program.cs
729
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 Microsoft.AspNetCore.Mvc; namespace ControllersFromServicesClassLibrary { public class Inventory : ResourcesController { [HttpGet...
27.5
111
0.675
[ "Apache-2.0" ]
06b/AspNetCore
src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs
440
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace FrenchPhraseBook { [Reg...
20.380952
84
0.738318
[ "Apache-2.0" ]
TheArchitect123/Tongue-Twister-
CategoryControllers/WorkController.designer.cs
428
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.Compiler.Framework.CIL { /// <summary> /// Load Instruction /// </summary> /// <seealso cref="Mosa.Compiler.Framework.CIL.BaseCILInstruction" /> public class LoadInstruction : BaseCILInstruction { #region Construction /// <su...
25.857143
76
0.674033
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Compiler.Framework/CIL/LoadInstruction.cs
907
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.909091
164
0.610552
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WindowsPhone81CertificateProfileBaseRequestBuilder.cs
2,085
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 "li...
35.794118
141
0.67009
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/MultiplexProgramServiceDescriptorMarshaller.cs
2,434
C#
namespace MassTransit.JobService.Components { using System; using System.Threading.Tasks; using GreenPipes.Internals.Extensions; public class ConsumerJobHandle<T> : JobHandle where T : class { readonly ConsumeJobContext<T> _context; public ConsumerJobHandle(Consum...
22.875
88
0.556284
[ "ECL-2.0", "Apache-2.0" ]
AhmedKhalil777/MassTransit
src/MassTransit/JobService/Components/ConsumerJobHandle.cs
917
C#
namespace DEVisIT.SiFatto.Infrastructure { using DEVisIT.SiFatto.ApplicationCore.Interfaces.Repositories; using DEVisIT.SiFatto.ApplicationCore.Interfaces.Services; using DEVisIT.SiFatto.Infrastructure.Repositories; using DEVisIT.SiFatto.Infrastructure.Services; using Microsoft.Extensions.Dependenc...
33.272727
81
0.67623
[ "MIT" ]
andreadottor/DEVisIT.SiFatto
src/DEVisIT.SiFatto.Infrastructure/DependencyInjection.cs
734
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.ComponentModel; using System.Drawing; namespace Yggdrasil.Controls { class GridEditControl : Panel { public event EventHandler<TileClickEventArgs> TileClick; protected override CreateP...
31.008734
172
0.704126
[ "MIT" ]
xdanieldzd/Yggdrasil
Yggdrasil/Controls/GridEditControl.cs
7,103
C#
using System.Collections.Generic; using Shouldly.Tests.TestHelpers; namespace Shouldly.Tests.ShouldBe.EnumerableType { public class IgnoreOrderIEnumerableMethodYieldReturn : ShouldlyShouldTestScenario { protected override void ShouldPass() { GetEnumerable().ShouldBe(new[] {1}, true...
26.058824
109
0.603837
[ "BSD-3-Clause" ]
augustoproiete-forks/shouldly--shouldly
src/Shouldly.Tests/ShouldBe/EnumerableType/IgnoreOrderIEnumerableMethodYieldReturn.cs
888
C#
using Pat.Subscriber.IoC; using StructureMap; namespace Pat.Subscriber.StructureMap4DependencyResolution { public class StructureMapDependencyResolver : StructureMapDependencyScope, IMessageDependencyResolver { public StructureMapDependencyResolver(IContainer container) : base(container) ...
27.25
105
0.697248
[ "Apache-2.0" ]
Bigtalljosh/Pat.Subscriber
Pat.Subscriber.StructureMap4DependencyResolution/StructureMapDependencyResolver.cs
547
C#
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
54.759786
231
0.678473
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V2/Stubs/DynamicSearchAdsSearchTermViewServiceClient.cs
30,775
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...
37.724138
193
0.644881
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/Internal/MarshallTransformations/ListApplicationsResponseUnmarshaller.cs
4,376
C#
using System; using ProtoCore.AssociativeGraph; namespace ProtoScript.Runners { public partial class LiveRunner { private abstract class Task { protected LiveRunner runner; protected Task(LiveRunner runner) { this.runner = runner; ...
21.277778
45
0.561358
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
src/Engine/ProtoScript/Runners/LiveRunnerTasks.cs
383
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/winnt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServices...
27.558621
145
0.667167
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/winnt/IMAGE_LOAD_CONFIG_DIRECTORY64.cs
3,998
C#
using Newtonsoft.Json; using Switcheo.Net.Converters; namespace Switcheo.Net.Objects { /// <summary> /// Result of asking balances of a contract /// </summary> [JsonConverter(typeof(BalancesListConverter))] public class SwitcheoBalancesList { /// <summary> /// Confirming balanc...
24.354839
65
0.576159
[ "MIT" ]
Switcheo/Switcheo.Net
Switcheo.Net/Objects/SwitcheoBalancesList.cs
757
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FileHandler2.Api.Helpers { public class DbHelper { } }
14.666667
34
0.738636
[ "MIT" ]
marcinru/filehandler
FileHandler2/FileHandler2.Api/Helpers/DbHelper.cs
178
C#
using NetModular.Lib.Data.Abstractions; namespace NetModular.Module.Admin.Infrastructure.Repositories.PostgreSQL { public class AccountConfigRepository : SqlServer.AccountConfigRepository { public AccountConfigRepository(IDbContext context) : base(context) { } } }
25.25
76
0.735974
[ "MIT" ]
380138129/NetModular
src/Admin/Library/Infrastructure/Repositories/PostgreSQL/AccountConfigRepository.cs
305
C#
// ReSharper disable All namespace OpenTl.Schema.Account { using System; using System.Collections; using OpenTl.Schema; public interface IPasswordInputSettings : IObject { BitArray Flags {get; set;} byte[] NewSalt {get; set;} byte[] NewPasswordHash {get; set;} byte[] Hin...
18.1875
53
0.609966
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/Account/PasswordInputSettings/IPasswordInputSettings.cs
584
C#
using System; using System.IO; using System.Threading; namespace SazPatcher { class Program { static void Main() { Console.WriteLine("SazPatcher started."); if (!Directory.Exists(Utils.patchPath)) { Console.WriteLine("No Patch folder in curr...
23.257143
112
0.528256
[ "MIT" ]
Sazails/SazPatch
SazPatcher/Program.cs
816
C#
namespace Template.UI.Controllers { #region << Using >> using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Incoding.MvcContrib; using Template.UI.Models; #endregion public class DataController : IncControllerBase { #region H...
37.049383
184
0.398201
[ "Apache-2.0" ]
IncodingSoftware/Template
Template.UI/Controllers/DataController.cs
3,003
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. /****************************************************************************** * This file is auto-generated from ...
42.870091
156
0.582664
[ "MIT" ]
ruben-ayrapetyan/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Sse41/RoundToZeroScalar.Double.cs
14,190
C#
using System; namespace Wolfgang { public abstract class ArcBase : IArc { private readonly INet _net; private readonly IToken _token; private readonly int _quantity; public IPlace Place { get; } public ITransition Transition { get; } public IToke...
28.434783
118
0.566514
[ "MIT" ]
gerolds/Wolfgang
Wolfgang/ArcBase.cs
1,308
C#
namespace AgileObjects.AgileMapper.UnitTests.Dictionaries { using System.Collections.Generic; using System.Collections.ObjectModel; using Common; using TestClasses; #if !NET35 using Xunit; #else using Fact = NUnit.Framework.TestAttribute; [NUnit.Framework.TestFixture] #endif public cla...
39.767123
125
0.635894
[ "MIT" ]
WeiiWang/AgileMapper
AgileMapper.UnitTests/Dictionaries/WhenViewingDictionaryMappingPlans.cs
2,905
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Microsoft.V...
42.248227
273
0.630351
[ "Apache-2.0" ]
PooyaZv/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/TempPE/DesignTimeInputsBuildManagerBridgeTests.cs
5,819
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayBox : MonoBehaviour { public Spawner spawner; public AudioSource audioSource; public AudioClip explosionClip; public GameObject explosionEffect; public GameObject text; // Start is called before...
20.022222
86
0.619312
[ "MIT" ]
TayoTwo/Unstable
Assets/PlayBox.cs
901
C#
using System.Linq; using Umbraco.Core.Models.Membership; namespace Umbraco.Core.Services { public static class ContentServiceExtensions { /// <summary> /// Remove all permissions for this user for all nodes /// </summary> /// <param name="contentService"></param> ...
37.473684
146
0.616573
[ "MIT" ]
ClaytonWang/Umbraco-CMS
src/Umbraco.Core/Services/ContentServiceExtensions.cs
1,424
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; public partial class JPReg : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
35.409091
129
0.543432
[ "MIT" ]
itskrrish/online-job-portal
JPReg.aspx.cs
2,339
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
72.692308
373
0.719224
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Support/GeoRedundantBackup.Completer.cs
2,797
C#
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Shapes; using Tektosyne.Geometry; using Tektosyne.Windows; using Tektosyne.Xml; namespace Tektosyne.GuiTest { /// <summary> /// Provides a <see cref="Window"/> for ...
32.054945
99
0.567707
[ "MIT" ]
prepare/Tektosyne.NET
Tektosyne.GuiTest/IntersectionTest.xaml.cs
5,836
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using KS.Fiks.ASiC_E.Crypto; using KS.Fiks.ASiC_E.Manifest; using KS.Fiks.ASiC_E.Sign; using NLog; using Org.BouncyCastle.Crypto.IO; using Org.BouncyCastle.Security; namespace KS.Fiks.ASi...
41.985401
161
0.64847
[ "MIT" ]
ks-no/fiks-asice-dotnet
KS.Fiks.ASiC-E/Model/AsiceArchive.cs
5,752
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...
29.025641
81
0.659011
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/SecurityInsights/V20210301Preview/Outputs/MSTIDataConnectorDataTypesResponseBingSafetyPhishingURL.cs
1,132
C#
namespace MusicPlayerTests3.Models { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MusicPlayer.Models; internal class DummySound : ISound { private string url; private bool noticedNe...
24.321429
123
0.487885
[ "MIT" ]
UmsrAkne/MusicPlayer
MusicPlayerTests3/Models/DummySound.cs
2,726
C#
// // Copyright (C) DataStax 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 la...
31.4
83
0.693206
[ "Apache-2.0" ]
mintsoft/csharp-driver
src/Cassandra/Requests/IRequest.cs
942
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Repository; namespace Repository...
34.710526
117
0.489765
[ "MIT" ]
chrishaland/az-resource-scheduler
Repository/Migrations/20210406093716_Add_environment_schedule.Designer.cs
3,959
C#
using System; using System.Collections; using System.Linq; using System.Drawing; using Console = Colorful.Console; namespace DeviceDice { //TODO: Define 'business logic' in a separate classs file (number of dice to play with, etc). //TODO: Version 2: Make it so we can play with multiple dice sides (e.g. di...
33.84585
185
0.433259
[ "MIT" ]
qhcode/DeviceDice
DeviceDice/Program.cs
17,131
C#
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ // Copyright 2013-2015 Serilog Contributors // // Licensed under the...
40.969072
106
0.629844
[ "Apache-2.0" ]
AJJLVizio/signalfx-dotnet-tracing
src/Datadog.Trace/Vendors/Serilog/Configuration/LoggerFilterConfiguration.cs
3,974
C#
 namespace LFHotfixHelper { partial class MainForm { /// <summary> ///Gerekli tasarımcı değişkeni. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ///Kullanılan tüm kaynakları temizleyin. /// </summary...
42.878261
141
0.57899
[ "MIT" ]
Lufzys/HotfixHelper
HotfixHelper/LFHotfixHelper/MainForm.Designer.cs
4,954
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class W3PointOfInterestMappinEntity : CR4MapPinEntity { public W3PointOfI...
31.608696
141
0.753783
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/W3PointOfInterestMappinEntity.cs
705
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código foi gerado por uma ferramenta. // Versão de Tempo de Execução: 4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for re...
40.625
184
0.620171
[ "MIT" ]
aline0liveira/GitC
2 a 9 de agosto/MeuFormularioCarro/Properties/Resources.Designer.cs
2,940
C#
using System; using System.Linq; using ManagementStocks.Core.Entities; using ManagementStocks.Core.Interfaces; using ManagementStocks.MVC.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using StockManagement.Utils.QueryUtils; namespace ManagementStocks.MVC.Controllers { public class P...
32.303318
122
0.512471
[ "MIT" ]
oanaspoiala/Stock-Management
StockMVC/Controllers/ProductsController.cs
6,818
C#
/* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2016 Dominik Reichl <dominik.reichl@t-online.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either versio...
27.163265
82
0.698937
[ "BSD-3-Clause" ]
FDlucifer/KeeThief
KeePass-2.34-Source-Patched/KeePass/Forms/CharPickerForm.cs
9,317
C#
// Copyright 2020 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 agreed to in ...
34.72
99
0.552803
[ "ECL-2.0", "Apache-2.0" ]
andysim3d/dotnet-docs-samples
dlp/api/Snippets/InspectCloudDataStore.cs
5,208
C#
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace LinqToDB.Expressions { using LinqToDB.Extensions; using Linq; using Linq.Builder; using Mapping; using ...
29.854905
210
0.65066
[ "MIT" ]
ozergurbanov1/linq2db
Source/LinqToDB/Expressions/InternalExtensions.cs
35,004
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...
31.293103
110
0.666116
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/GetPermissionPolicyRequest.cs
1,815
C#
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using System.Linq; using System.Threading; using System.Media; using NAudio.Wave; using System.Diagnostics; using System.ComponentModel; using System.Reflection; namespace AudioHotkeySoundboard { public partial class Main...
36.961538
284
0.540875
[ "MIT" ]
deathart/AudioHotkey-Soundboard
MainForm.cs
30,754
C#
using System; // ReSharper disable once CheckNamespace namespace Binance { /// <summary> /// Account commissions. /// </summary> public sealed class AccountCommissions { #region Public Properties /// <summary> /// Get the maker commission in basis points (bips). //...
31.407895
135
0.577294
[ "MIT" ]
MyJetWallet/Binance
src/Binance/Account/AccountCommissions.cs
2,389
C#
using System; using Windows.UI.Xaml.Data; namespace DandD_Desktop_v2.Helpers { public class EnumToBooleanConverter : IValueConverter { public Type EnumType { get; set; } public object Convert(object value, Type targetType, object parameter, string language) { if (paramete...
30.769231
115
0.618333
[ "MIT" ]
CoderMP/D-and-D-Desktop-Companion
DandD_Desktop_v2/Helpers/EnumToBooleanConverter.cs
1,202
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("St...
37.583333
84
0.747967
[ "MIT" ]
XSockets/XVA
XVA-01-05-StatePubSub/StatePuSub/StatePuSub/Properties/AssemblyInfo.cs
1,356
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Text; namespace DougMurphy.SourceGenerators.ArgumentNullException { [Generator] ...
38.254902
121
0.774987
[ "MIT" ]
Doug-Murphy/SourceGenerator.ArgumentNullException
src/DougMurphy.SourceGenerators.ArgumentNullException/ThrowArgumentNullExceptionGenerator.cs
1,953
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.96
105
0.725322
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Security/Outputs/AutomationRuleSetResponse.cs
699
C#
namespace DapperExtensions.Test.Data.Common { public class Car { public string Id { get; set; } public string Name { get; set; } } }
18
44
0.58642
[ "Apache-2.0" ]
balchen/Dapper-Extensions
DapperExtensions.Test/Data/Common/Car.cs
164
C#
using System.Collections.Generic; using FriendOrganizer.Domain; namespace FriendOrganizer.UI.Data { public interface IFriendDataService { IEnumerable<Friend> GetAll(); } }
19.3
39
0.73057
[ "MIT" ]
feliperomero3/FriendOrganizer
FriendOrganizer.UI/Data/IFriendDataService.cs
195
C#