content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
// ********************************************************************************** // Copyright (c) 2015-2021, Dmitry Merzlyakov. All rights reserved. // Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer. // // This file is part of NLedger th...
34.363636
122
0.547619
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
VagyokC4/nledger
Source/NLedger/Utility/Rnd/BoolGenerator.cs
1,136
C#
namespace ClassLib007 { public class Class042 { public static string Property => "ClassLib007"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib007/Class042.cs
120
C#
using EPAS.DataEntity.Entity.Common; using System.ComponentModel; namespace EPAS.DataEntity.Enum { //出入库策略 public enum IOStrategy { [DescriptionAttribute("zh-CN,无策略;en-US,NoStrategy;")] NoStrategy = 0, [DescriptionAttribute("zh-CN,先进先出;en-US,FIFO;")] FIFO = 1 ...
14.347826
61
0.609091
[ "MPL-2.0" ]
whw0828/EPASServer
EPASFramework/EPAS.DataEntity/Enum/IOStrategy.cs
356
C#
using System; namespace JSONAPI.Tests.Models { enum SampleEnum { Value1 = 1, Value2 = 2 } class Sample { public string Id { get; set; } public Boolean BooleanField { get; set; } public Boolean? NullableBooleanField { get; set; } public SByte SByteFi...
39.571429
72
0.619907
[ "MIT" ]
csantero/JSONAPI.NET
JSONAPI.Tests/Models/Sample.cs
1,941
C#
namespace PT_Camping.Views.UserControls { partial class EmployeesUserControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
55.910064
172
0.64098
[ "Apache-2.0" ]
Minestro/DUTS4-PT-Camping
PT_Camping/Views/UserControls/EmployeesUserControl.Designer.cs
26,118
C#
namespace Library_MS { partial class return_books { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
49.309322
173
0.597147
[ "Apache-2.0" ]
SanjulaD/Library-Management-System
return_books.Designer.cs
11,639
C#
using System.Collections.Generic; namespace HCEngine.DefaultImplementations { /// <summary> /// Source reader which buffers the result of another source reader when needed and can loop over the buffer. /// </summary> public class LoopedSourceReader : ISourceReader { private int m_Curre...
29.442623
130
0.522272
[ "MIT" ]
IfElseSwitch/hc-engine
HCEngine/HCEngine/DefaultImplementations/LoopedSourceReader.cs
3,594
C#
namespace Incoding.CQRS { #region << Using >> using System; using System.Runtime.Serialization; using System.Threading.Tasks; using Incoding.Block.IoC; using Incoding.Data; using Incoding.Maybe; using Incoding.Quality; using Newtonsoft.Json; #endregion public abstract...
29.898734
167
0.573666
[ "Apache-2.0" ]
Incoding-Software/Incoding-Framework
src/Incoding/CQRS/Core/MessageBase.cs
4,726
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("Se...
38.891892
84
0.748436
[ "Apache-2.0" ]
dazinator/sinks-rollingfile
test/Serilog.Sinks.RollingFileAlternate.Tests/Properties/AssemblyInfo.cs
1,442
C#
using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; namespace Microsoft.Recognizers.Text.Number.Dutch { public class IntegerExtractor : BaseNumberExtractor { int...
58.451613
190
0.686534
[ "MIT" ]
Josverl/Recognizers-Text
.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/IntegerExtractor.cs
3,626
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Touchdown.Core; using Touchdown.SensorAbstraction; using System.Threading.Tasks; namespace Touchdown.Win.UI.UserControls.InitWizzard { public part...
29.488889
118
0.709872
[ "Apache-2.0" ]
papauorg/touchdown
src/Touchdown.Win.UI/UserControls/InitWizzard/TouchAreaSelectionControl.cs
3,983
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 NoRainForum.Computer.FrontWeb { public class Pro...
30.02439
127
0.596263
[ "Apache-2.0" ]
MapleWithoutWords/NoRainForum-MicroService
NoRainForum/NoRainForum.Computer.FrontWeb/Program.cs
1,233
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Geta.InstantTemplates.Sample.Models.Pages; using EPiServer; using EPiServer.Core; using EPiServer.Filters; using EPiServer.Shell.Configuration; using EPiServer.Web; namespace Geta.InstantTemplates.Sample.Business { ...
39.330435
152
0.58103
[ "Apache-2.0" ]
Geta/InstantTemplates
samples/Geta.InstantTemplates.Sample/Business/ContentLocator.cs
4,523
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
44.734694
84
0.729015
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/Code/ProviderControls/IPackageSettingsEditorControl.cs
2,192
C#
using System; namespace Tizen.NUI.Binding { [TypeConverter(typeof(FlowDirectionConverter))] internal enum FlowDirection { MatchParent = 0, LeftToRight = 1, RightToLeft = 2, } [Xaml.TypeConversion(typeof(FlowDirection))] internal class FlowDirectionConverter : TypeConverter { public override object Conv...
28.65625
119
0.739368
[ "Apache-2.0" ]
mk5004lee/TizenFX
src/Tizen.NUI/src/internal/XamlBinding/FlowDirection.cs
917
C#
namespace MassTransit.RabbitMqTransport.Integration { using System.Threading; using System.Threading.Tasks; using Contexts; using GreenPipes; using GreenPipes.Agents; using GreenPipes.Internals.Extensions; using Internals.Extensions; using RabbitMQ.Client; public class ScopeModelCo...
39.202899
127
0.693161
[ "ECL-2.0", "Apache-2.0" ]
CodeNotFoundException/MassTransit
src/MassTransit.RabbitMqTransport/Integration/ScopeModelContextFactory.cs
2,705
C#
using System; namespace S7evemetry.Core.Enums.F1 { /// <summary> /// Bit flags specifying which buttons are being pressed currently /// </summary> [Flags] public enum Buttons { /// <summary> /// No buttons pressed /// </summary> None = 0x0000, /// <summ...
19.586957
70
0.415649
[ "MIT" ]
LuckyNoS7evin/s7evemetry
src/S7evemetry.Core/Enums/F1/Buttons.cs
1,804
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Albarnie.Interaction2D { public interface IInteractable2D { float InteractionTime { get; } Transform GetTransform(); void OnFinishInteract(Interaction2D user); void OnStartInteract(Interac...
25.526316
50
0.71134
[ "MIT" ]
Albarnie/Interaction-2D
Scripts/IInteractable2D.cs
487
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: AssemblyTit...
38.648649
85
0.729371
[ "MIT" ]
nvimai/COMP1030-Assignment2-MealPlanOrder
SourceCode/MealPlanOrder/Properties/AssemblyInfo.cs
1,433
C#
using System; namespace Stack { /// <summary> /// 栈接口 实现顺序栈 链式栈 /// </summary> /// <typeparam name="T"></typeparam> interface IStack<T> { /// <summary> /// 清空栈 /// </summary> void Clear(); /// <summary> /// 判断元素是否在栈内 /// </summary> ...
18.6875
40
0.386845
[ "BSD-3-Clause" ]
xjlonly/DataStructure
Stack/IStack.cs
993
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace mantis_tests { [TestFixture] public class ProjectCreationTests : AuthTestBase { [Test] public void ProjectCreationTest() { ...
29.771429
121
0.663148
[ "Apache-2.0" ]
DievaAlexandra/csharp_training
mantis_tests/mantis_tests/Tests/ProjectCreationTests.cs
1,044
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using taskt.Core.Automation.Commands; usi...
27.447826
330
0.554887
[ "Apache-2.0" ]
Faro1991/taskt
taskt/UI/Forms/frmSequenceRecorder.cs
6,315
C#
using System; using Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Models; using Lykke.AlgoStore.CSharp.AlgoTemplate.Models.Repositories; using Moq; using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json; using Xunit; namespace Lykke.AlgoStore.Service.AlgoTrades.Tests.Mocks { public sta...
36.957627
130
0.6072
[ "MIT" ]
LykkeCity/Lykke.AlgoStore.Job.AlgoTrades
tests/Lykke.AlgoStore.Service.AlgoTrades.Tests/Mocks/AlgoInstanceTradesRepositoryMock.cs
4,363
C#
namespace BrightstarDB.Storage { /// <summary> /// Enumeration of the different types of store supported by B* /// </summary> internal enum StoreType { Standard = 0 } }
20.1
67
0.60199
[ "MIT" ]
BrightstarDB/BrightstarDB
src/core/BrightstarDB.Core/Storage/StoreType.cs
201
C#
/* Copyright (c) 2017 ExT (V.Sigalkin) */ using UnityEngine; using extOSC.Core.Events; namespace extOSC.Components.Events { [AddComponentMenu("extOSC/Components/Receiver/Double Event")] public class OSCReceiverEventDouble : OSCReceiverEvent<OSCEventDouble> { #region Protected Methods pro...
22.185185
74
0.590985
[ "MIT" ]
mpinner/RealsenseOscMulticast
UnityRealsenseOscMulticastInterface/OscMulticast/Assets/extOSC/Scripts/Compontents/Events/OSCReceiverEventDouble.cs
599
C#
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System; namespace Tomlyn.Syntax { /// <summary> /// A TOML key = value syntax node. /// </summary> public sealed class KeyV...
30.930435
94
0.538375
[ "BSD-2-Clause" ]
0xced/Tomlyn
src/Tomlyn/Syntax/KeyValueSyntax.cs
3,557
C#
using Esri.ArcGISRuntime.Controls; using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Layers; using Esri.ArcGISRuntime.Symbology; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace ArcGISRunt...
37.508197
144
0.59222
[ "Apache-2.0" ]
boonyachengdu/arcgis-runtime-samples-dotnet
src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Geometry/Relate.xaml.cs
4,578
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using NDream.AirConsole; using Newtonsoft.Json.Linq; public class TotalDeviceText : MonoBehaviour { UnityEngine.UI.Text thisText; // Use this for initialization void Start() { thisText = GetComponent<UnityEngine.UI...
20.0625
104
0.609034
[ "MIT" ]
Caseyfam/Falling-Fighters
Assets/Scripts/Menu Scripts/Debug Scripts/TotalDeviceText.cs
644
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Security.Principal; using Syste...
44.212569
153
0.583344
[ "MIT" ]
H-Ahmadi/GodOfWar
STS/src/Skoruba.IdentityServer4.STS.Identity/Quickstart/Account/AccountController.cs
23,921
C#
// // System.ComponentModel.InvalidEnumArgumentException test cases // // Authors: // Gert Driesen (drieseng@users.sourceforge.net) // // (c) 2007 Gert Driesen // using System; using System.ComponentModel; using System.Globalization; using NUnit.Framework; namespace MonoTests.System.ComponentModel { [TestFixture] ...
38.143885
113
0.667673
[ "Apache-2.0" ]
AvolitesMarkDaniel/mono
mcs/class/System/Test/System.ComponentModel/InvalidEnumArgumentExceptionTest.cs
5,302
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.056911
140
0.642606
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/IoTSiteWise/Generated/Model/BatchGetAssetPropertyAggregatesResponse.cs
4,558
C#
using System; namespace Artist_Manager_Bot { public sealed class UserChangedEventArgs : EventArgs { public int Id { get; private set; } public string Param { get; private set; } public UserChangedEventArgs(int id, string param) { Id = id; Param = param;...
19.941176
57
0.572271
[ "MIT" ]
Quantum-0/ArtistManagerVkBot
Artist Manager Bot/UserChangedEventArgs.cs
341
C#
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2016 Baldur Karlsson * Copyright (c) 2014 Crytek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
35.70247
182
0.520714
[ "MIT" ]
kvark/renderdoc
renderdocui/Code/Core.cs
32,311
C#
using Newtonsoft.Json; namespace ProPublica.Congress { public class Lobbyist { [JsonProperty] public string Name { get; set; } [JsonProperty("covered_position")] public string Position { get; set; } } }
19.153846
44
0.614458
[ "MIT" ]
mattheiler/ProPublica.Congress
ProPublica.Congress/Lobbyist.cs
251
C#
using System; using System.Globalization; using System.Text.RegularExpressions; using Xamarin.Forms; using Xamarin.Forms.Internals; using smiqs.Controls; using smiqs.ViewModels.Forms; namespace smiqs.Converters { /// <summary> /// This class have methods to convert the Boolean values to color objects. //...
36.057692
160
0.561067
[ "MIT" ]
yehiaraslan85/SmiqsMobileApp
smiqs/smiqs/Converters/ErrorValidationColorConverter.cs
3,752
C#
using System; using System.Collections.Generic; using UnityEngine; public class PayAct : GameAct { private void Start() { this.Init(); base.GetComponentInChildren<CancelButton>().GameAct = this; this.CancelButton = base.GetComponentInChildren<CancelButton>(); this.InputSlots = new List<CardSlot>(); CardSl...
28.275
145
0.748011
[ "Apache-2.0" ]
Shadowrabbit/BigBiaDecompilation
Source/Assembly-CSharp/PayAct.cs
1,133
C#
using System; using System.Collections.Generic; namespace Equinox.API.Filters { public class ApiException : Exception { public int StatusCode { get; set; } public List<ValidationError> Errors { get; set; } public ApiException(string message, int statusCode = 500, List<ValidationError...
23.96
104
0.595993
[ "MIT" ]
duyxaoke/DEV
src/Equinox.API/Filters/ApiException.cs
599
C#
using System; using System.Threading; using System.Threading.Tasks; namespace VinylStore.Catalog.Domain.Infrastructure.Repositories { public interface IUnitOfWork : IDisposable { Task<int> SaveChangesAsync(CancellationToken cancellationToken = default(CancellationToken)); Task<bool> SaveEntiti...
33.5
103
0.783582
[ "MIT" ]
samueleresca/Hands-On-RESTful-Web-Services-with-ASP.NET-Core
Chapter 10/Catalog/src/VinylStore.Catalog.Domain/Infrastructure/Repositories/IUnitOfWork.cs
404
C#
using System; using System.Collections.Generic; using Restaurant.Objects; namespace Restaurant { public class Display: Restaurant { public static void ShowEventList() { Console.Write("Lista czasów eventow :"); foreach (var Event in eventList) { ...
25.59322
66
0.474834
[ "MIT" ]
kuba5522/Computer-simulation
Restauracja/Display.cs
1,513
C#
//----------------------------------------------------------------------- // <copyright file="DefaultMathContext.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the accompanying file // LICENSE...
29.735294
88
0.589021
[ "MIT" ]
Sphere10/Framework
src/Sphere10.Framework.DotNet/MathRuntime/Runtime/DefaultMathContext.cs
2,022
C#
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; ...
55.5125
248
0.802297
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/engine-spring/core/src/test/java/org/camunda/bpm/engine/spring/test/servicetask/ServiceTaskSpringDelegationTest.cs
4,443
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...
50.056818
162
0.659554
[ "Apache-2.0" ]
sudoudaisuke/aws-sdk-net
sdk/src/Services/IdentityStore/Generated/_bcl35/AmazonIdentityStoreClient.cs
26,430
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. // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaini...
41.797688
159
0.630342
[ "MIT" ]
AntonLandor/corefx
src/System.Text.Json/tests/NewtonsoftTests/DateTimeConverterTests.cs
7,231
C#
namespace OutputFileCSVPlugin { partial class SettingsForm_OutputFileCSV { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
52.347594
175
0.61753
[ "MIT" ]
BUTTER-Tools/OutputFileCSV
SettingsForm_OutputFileCSV.Designer.cs
9,791
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using NationalInstruments.Vision; using NationalInstruments.Vision.Analysis; using System.Collections.ObjectModel; // Blob Analysis example // // This exa...
34.557692
193
0.589872
[ "MIT" ]
ni/vdm-dotnet
examples/dotNET/2. Functions/Binary Analysis/Blob Analysis/cs/Form1.cs
5,391
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Configuration.Environment { using System; using System.Collections.Generic; [AttributeUsage( AttributeTargets.Class | AttributeTargets.Field )] public sealed class DisplayN...
19.516129
64
0.540496
[ "MIT" ]
NETMF/llilum
Zelig/Zelig/RunTime/Zelig/Common/Configuration/Attributes/DisplayNameAttribute.cs
605
C#
namespace Aviant.Application.Commands; using MediatR; public interface ICommand<out TResponse> : IRequest<TResponse> { } public interface ICommand : ICommand<Unit> { }
17.1
62
0.777778
[ "MIT" ]
panosru/Aviant
src/Kernel/Application/Commands/ICommand.cs
171
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("Ht...
37.459459
84
0.746032
[ "MIT" ]
JWatsonADI/hightemp
ht_daq_viewer/Properties/AssemblyInfo.cs
1,388
C#
using System; using Microsoft.AspNetCore.Hosting; namespace Dbosoft.Hosuto.Modules.Hosting { internal class DelegateWebModuleWebHostBuilderFilter : IWebModuleWebHostBuilderFilter { private readonly Action<IWebModule, IWebHostBuilder> _configureDelegate; public DelegateWebModuleWebHostBuilderF...
31.291667
107
0.668442
[ "MIT" ]
dbosoft/Hosuto
src/Hosuto.Hosting.AspNetCore/Modules/Hosting/DelegateWebModuleWebHostBuilderFilter.cs
753
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using MixedRealityExtension.App; using MixedRealityExtension.IPC; // TODO: Objects should not be visible until synchronization is complete. namespace MixedRealityExtension.Messaging.Protocols { internal class Idle : Proto...
19.793103
73
0.749129
[ "MIT" ]
Djmondoent/mixed-reality-extension-unity
MREUnityRuntimeLib/Messaging/Protocols/Idle.cs
574
C#
// *********************************************************************** // Assembly : Invisionware.Settings // Author : Shawn Anderson (sanderson@eye-catcher.com) // Created : 04-09-2017 // // Last Modified By : Shawn Anderson (sanderson@eye-catcher.com) // Last Modified On : 04-09-2017 /...
36.619048
75
0.486346
[ "Apache-2.0" ]
Invisionware/Invisionware.Settings
src/Invisionware.Settings/Interfaces/Override/ISettingsValueOverride.cs
771
C#
using System; using System.IO; using NAudio.Wave; namespace Discord.Soundboard { public class SoundboardEffect { public string Name { get; set; } public string Path { get; set; } public TimeSpan Duration { get; set; } public DateTime DateLastModified { get; s...
25.613636
80
0.500444
[ "Apache-2.0" ]
chutchinson/discord-soundboard
Discord.Soundboard/SoundboardEffect.cs
1,129
C#
/* * Copyright 2012-2016 The Asn1Net Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
30.795918
100
0.61332
[ "Apache-2.0" ]
Asn1Net/Asn1Net
test/Asn1Net.Test/Integration/AlgorithmIdentifierAsn1Net.cs
3,020
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MasterDetailDemo.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class LoadingIndicatorPage1 : ContentPage { publi...
19.3
57
0.784974
[ "MIT" ]
higedamc/HigeDevelopment
MasterDetailDemo/MasterDetailDemo/Yokuwakaran/LoadingIndicatorPage1.xaml.cs
388
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( "N...
39.108108
84
0.734623
[ "MIT" ]
bswanson58/NoiseMusicSystem
Noise.Core.Tests/Properties/AssemblyInfo.cs
1,450
C#
using System.Threading.Tasks; using Microsoft.Playwright.Testing.Xunit; using Microsoft.Playwright.Tests.Attributes; using Microsoft.Playwright.Tests.BaseTests; using Xunit; using Xunit.Abstractions; namespace Microsoft.Playwright.Tests { [Collection(TestConstants.TestFixtureBrowserCollectionName)] public clas...
34.051282
98
0.570281
[ "MIT" ]
hardkoded/playwright-sharp
src/Playwright.Tests/PageDialogTests.cs
3,984
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to us...
41.624486
185
0.545713
[ "Apache-2.0" ]
curiosity-ai/h5
External/NRefactory/ICSharpCode.NRefactory/TypeSystem/Implementation/DefaultResolvedTypeDefinition.cs
40,461
C#
namespace Bike.Interpreter { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Ast; using Builtin; internal class ClrImportContext : ImportContext { private static readonly ISet<Assembly...
32.179487
107
0.582736
[ "MIT" ]
buunguyen/bike
src/Bike/Interpreter/Context/ClrImportContext.cs
3,767
C#
using System; using System.Collections.Generic; namespace Bonobo.Git.Server.Data.Update { public static class UpdateScriptRepository { /// <summary> /// Creates the list of scripts that should be executed on app start. Ordering matters! /// </summary> public static IEnumerable<...
39.765957
108
0.489032
[ "MIT" ]
16it/Bonobo-Git-Server
Bonobo.Git.Server/Data/Update/UpdateScriptRepository.cs
1,871
C#
/// /// See COPYING file for licensing information /// using System; namespace com.mosso.cloudfiles.exceptions { /// <summary> /// This exception is thrown when the user attempts to delete a container that still has storage objects associated with it /// </summary> public class ContainerNotEmptyExcept...
26.466667
127
0.617128
[ "Apache-2.0" ]
seanlinmt/tradelr
com.mosso.cloudfiles/Exceptions/ContainerNotEmptyException.cs
794
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using DxLibDLL; namespace Charlotte { /// <summary> /// Confused by ConfuserElsa /// </summary> public class ReleaseAccessibleSwordService { /// <summary> /// Confused by ConfuserElsa /// </summary> ...
32.482456
348
0.771064
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_02/tmpsol/Elsa20200001/AgreeIncompatibleErbiumConsole.cs
14,814
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Tailwind.Traders.Profile.Api.DTOs; namespace Tailwind.Traders.Profile.Api.Models { public class Profiles { public int Id { get; set; } public string Name { get; set; } public string A...
32.1875
86
0.586408
[ "MIT" ]
NileshGule/TailwindTraders-Backend
Source/Services/Tailwind.Traders.Profile.Api/Models/Profiles.cs
1,032
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Orchard.Caching; using Orchard.Data; using Orchard.Localization.Records; namespace Orchard.Localization.Services { public class DefaultCultureManager : ICultureManager { private readonly IRepository<CultureRecord> _...
33.323232
140
0.60291
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard/Localization/Services/DefaultCultureManager.cs
3,301
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pixel { private Vector2 position; private Color color; private bool isCorner = true; public Pixel(Vector2 position, Color color) { this.position = position; this.color = color; } publ...
29.518519
87
0.640527
[ "MIT" ]
TimBouwman/KlauterGame
admin/Ouput-KG/Assets/QRToMap/objects/Pixels/Pixel.cs
1,596
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.Diagnostics; using System.Linq; using System.Text; using Microsoft.CodeAnalysis.Text; using Rosl...
36.453846
179
0.46979
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/Core/Portable/Syntax/SyntaxDiffer.cs
28,436
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Xenko.Core.Presentation.Behaviors; using Xceed.Wpf.DataGrid; namespace Xenko.Core.Assets.Edit...
36.512821
114
0.691011
[ "MIT" ]
Aminator/xenko
sources/editor/Xenko.Core.Assets.Editor/View/Behaviors/XceedDataGridBindableSelectedItemsBehavior.cs
1,424
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
30.111111
81
0.597786
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IHealthcareApisManagementClient.cs
2,981
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayFinancialnetAuthPaymentNotifyResponse. /// </summary> public class AlipayFinancialnetAuthPaymentNotifyResponse : AlipayResponse { /// <summary> /// 响应结果码 /// </summar...
24.931034
77
0.573997
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayFinancialnetAuthPaymentNotifyResponse.cs
763
C#
using JobToolkit.DBRepository; using ORMToolkit.Core; using System; using System.Runtime.Serialization; namespace JobToolkit.Oracle { public class OracleJobRepository : DBJobRepository { public OracleJobRepository(string connectionString) : base(new DataManagerNoConfilict(connectionString,...
37.434783
146
0.743322
[ "MIT" ]
InfoTechBridge/JobToolkit
JobToolkit.Oracle/OracleJobRepository.cs
863
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fil...
41.411765
85
0.745265
[ "Apache-2.0" ]
YAFNET/YAFNET-UnitTests
YAF.UnitTests/YAF.Tests.UserTests/Properties/AssemblyInfo.cs
2,116
C#
// MIT License // Copyright (c) 2016 Geometry Gym Pty Ltd // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modi...
60.171717
570
0.755917
[ "MIT" ]
jmirtsch/GeometryGymIFC
Core/IFC/STEP/IFC U STEP.cs
5,957
C#
using System; using System.Collections.Concurrent; using System.Linq; using Jasily.FunctionInvoker.ArgumentsResolvers; using JetBrains.Annotations; namespace Jasily.Awaitablify.Internal { internal class AwaitableAdapterResolver { private readonly Func<Type, Lazy<IAwaitableAdapter>> _factory; p...
39.978723
118
0.662054
[ "MIT" ]
Jasily/jasily.awaitablify-csharp
Jasily.Awaitablify/Internal/AwaitableAdapterResolver.cs
1,881
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using RimWorld; using UnityEngine; using FertilityMapMode.Coloring; namespace FertilityMapMode { public static class FertilityDrawer { private static List<Thing> fertilityCountedThings = new List<Thing>(); privat...
23.947368
164
0.694505
[ "MIT" ]
SaucyPigeon/RW_ShowFertility
Source/FertilityMapMode/FertilityMapMode-RW1.1/FertilityDrawer.cs
2,277
C#
using UnityEngine; using System.Collections; public class Rotator : MonoBehaviour { // Update is called once per frame void Update () { transform.Rotate (new Vector3 (15, 30, 45) * Time.deltaTime); } }
19.181818
63
0.706161
[ "MIT" ]
rahatm1/learning-unity
Roll a Ball/Assets/Scripts/Rotator.cs
213
C#
using System.Net.Http; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; using HttpMethodConstraint = System.Web.Http.Routing.HttpMethodConstraint; namespace EventEmitter.Api { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { ...
26.375
99
0.593997
[ "MIT" ]
Stelmashenko-A/EventEmitter
EventEmitter.Api/App_Start/RouteConfig.cs
635
C#
// Generated by UblXml2CSharp using System.Xml; using UblLarsen.Ubl2; using UblLarsen.Ubl2.Cac; using UblLarsen.Ubl2.Ext; using UblLarsen.Ubl2.Udt; namespace UblLarsen.Test.UblClass { internal class UBLOrderCancellation21Example { public static OrderCancellationType Create() { var d...
36.848214
119
0.355222
[ "Unlicense" ]
Gammern/ubllarsen
UblLarsen/UblLarsen.IntegrationV2_1.Test/UblClass/UBL-OrderCancellation-2.1-Example.cs
4,127
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
36.536842
157
0.580524
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.461
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawMenuSeparator.cs
3,474
C#
using System.Collections.Generic; using Moq; using Transmogrifier.Chrysalis; namespace Transmogrifier.StylesheetCompilerTests { public class ChrysalisMockFactory { public static IChrysalis CreateChrysalis(IChrysalisFactory factory = null) { if (factory == null) factory = new Chrysa...
35.764957
104
0.483929
[ "MIT" ]
hellourgo/Transmogrifier
StylesheetCompilerTests/ChrysalisMockFactory.cs
8,371
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections.Concurrent; namespace Triton.Utility { /// <summary> /// Provides lookups from hashed strings to the actual string /// This class will also detect hash collisions /// </summ...
23.538462
110
0.728758
[ "BSD-3-Clause" ]
johang88/triton
Triton/Utility/HashedStringTable.cs
920
C#
/*** * * Title: "SUIFW"UI框架项目 * 主题: UI遮罩管理 * Description: * 功能: 实现对于任何对象的监听处理。 * Date: 2019 * Version: 0.1版本 * Modify Recoder: * * */ using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using UnityEngine; namespace UIFrame { ...
33.130233
119
0.477467
[ "MIT" ]
petergjh/-c-sharpcrash
Assets/Scripts/UIFramework/Helps/UIMaskManager.cs
7,637
C#
using System; using System.Threading.Tasks; using uhttpsharp; namespace Server.Web.Handlers { public class ExceptionHandler : IHttpRequestHandler { public async Task Handle(IHttpContext context, Func<Task> next) { try { await next().ConfigureAwait(false)...
28.692308
140
0.569705
[ "MIT" ]
211network/LunaMultiplayer
Server/Web/Handlers/ExceptionHandler.cs
748
C#
namespace Journey.Data.Models { using System.Collections.Generic; using Journey.Data.Common.Models; public class Publisher : BaseDeletableModel<int> { public Publisher() { this.Games = new HashSet<Game>(); } public string Name { get; set; } public...
19.315789
52
0.588556
[ "MIT" ]
stefandenchev/Journey
Data/Journey.Data.Models/Publisher.cs
369
C#
using HyperSlackers.Bootstrap.Core; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using HyperSlackers.Bootstrap.Extensions; namespace HyperSlackers.Bootstrap.Builders { ...
30.210396
95
0.574273
[ "Apache-2.0" ]
dmayhak/HyperSlackers.Bootstrap
Bootstrap/Table/TableBuilder.cs
12,205
C#
//****************************************************************************************************** // Command.cs - Gbtc // // Copyright © 2016, James Ritchie Carroll. All Rights Reserved. // MIT License (MIT) // // Code Modification History: // -------------------------------------------------------...
28.166667
106
0.426036
[ "MIT" ]
ritchiecarroll/AlexaDo
src/AlexaDoPlugin/Commands/Command.cs
1,862
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
30.884615
124
0.723537
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Packages/V1Alpha1/Inputs/PackageSpecControllerDeploymentSpecTemplateSpecInitContainersEnvValueFromFieldRefArgs.cs
803
C#
using System; using NetOffice; namespace NetOffice.OutlookApi.Enums { /// <summary> /// SupportByVersion Outlook 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff869828.aspx </remarks> [SupportByVersionAttribute("Outlook", ...
29.291667
119
0.633713
[ "MIT" ]
brunobola/NetOffice
Source/Outlook/Enums/OlPane.cs
1,408
C#
using System; using System.Linq; using System.Reflection; using Weikio.PluginFramework.TypeFinding; namespace Weikio.PluginFramework.Context { public class MetadataTypeFindingContext : ITypeFindingContext { private readonly MetadataLoadContext _metadataLoadContext; public MetadataTypeFindingC...
27.833333
108
0.651839
[ "MIT" ]
ApocDev/PluginFramework
src/Weikio.PluginFramework/Context/MetadataTypeFindingContext.cs
1,171
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("Br...
37.756757
84
0.745168
[ "MIT" ]
deostroll/WebBrowserBrowser
MockBrowser/BrowserShell/BrowserShell/Properties/AssemblyInfo.cs
1,400
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
39.953846
121
0.635734
[ "Apache-2.0" ]
CircleOnCircles/Lean
Indicators/LogReturn.cs
2,599
C#
using Agree.Accord.SharedKernel.Data; namespace Agree.Accord.Domain.Identity.Dtos { public class SearchAccountsDto : Pagination { public string Query { get; set; } } }
20.888889
47
0.696809
[ "MIT" ]
vassourita/agree
apps/accord/src/Agree.Accord.Domain/Identity/Dtos/SearchAccountsDto.cs
188
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...
32.317536
226
0.553014
[ "ECL-2.0", "Apache-2.0" ]
tumblewader/pulumi-ovh
sdk/dotnet/GetMePaymentMeanCreditCard.cs
6,819
C#
using System; using System.Collections.Generic; namespace StackOverflowDumpCodeBuilder { public class User { private List<Badge> badges; public int Id { get; set; } public int Reputation { get; set; } public string DisplayName { get; set; } public D...
32.377778
146
0.530542
[ "MIT" ]
kinshuk4/Coursera
k2e/dev/languages/csharp/Linq-Reference/StackOverflowDumpCodeBuilder/StackOverflowDumpCodeBuilder/Entities/User.cs
1,459
C#
namespace DotNet.Testcontainers.Images { public interface IDockerImage { /// <summary>Gets the Docker image repository name.</summary> /// <value>Returns the Docker image repository name.</value> string Repository { get; } /// <summary>Gets the Docker image name.</summary> /// <value>Returns th...
37.909091
147
0.678657
[ "MIT" ]
SbiCA/dotnet-testcontainers
src/DotNet.Testcontainers/Images/IDockerImage.cs
834
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Questionnaire.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNe...
42.907473
108
0.494816
[ "Apache-2.0" ]
mariusmoe/ever-questionnaire
Questionnaire/Data/Migrations/00000000000000_CreateIdentitySchema.cs
12,059
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.516129
151
0.583178
[ "MIT" ]
EminentTechnology/JobHelper
samples/JobHelperSample/Properties/Settings.Designer.cs
1,072
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using LibGit2Sharp.Tests.TestHelpers; using Xunit; using Xunit.Extensions; namespace LibGit2Sharp.Tests { public class RepositoryFixture : BaseFixture { private const string commitSha = "8496071c1b46c854b31185ea97743be...
36.878827
152
0.577353
[ "MIT" ]
7b3cbaf1/GTA
LibGit2Sharp.Tests/RepositoryFixture.cs
28,915
C#
// <copyright file="AspNetMvc5.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. // </copyright> #if NET461 using System; us...
42.803419
249
0.696685
[ "Apache-2.0" ]
ganeshkumarsv/dd-trace-dotnet
test/Datadog.Trace.Security.IntegrationTests/AspNetMvc5.cs
5,008
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
35.766667
151
0.585275
[ "MIT" ]
vacnex/C--WPF-Client-Server-chat-application
WPFChatClientServer/Properties/Settings.Designer.cs
1,075
C#
using System.Threading.Tasks; namespace AdjustNamespace.Adjusting.Fixer { public interface IFixer { void AddSubject(object o); Task FixAsync(string filePath); } }
15
41
0.671795
[ "MIT" ]
lsoft/AdjustNamespace
AdjustNamespace.VsixShared/Adjusting/Fixer/IFixer.cs
197
C#
using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; namespace EasyAbp.EShop.Baskets.EntityFrameworkCore { [ConnectionStringName(BasketsDbProperties.ConnectionStringName)] public interface IBasketsDbContext : IEfCoreDbContext { /* Add DbSet for each Aggregate Root here. Example: * DbS...
28.538462
68
0.714286
[ "Apache-2.0" ]
p041911070/EShop
modules/EasyAbp.EShop.Baskets/src/EasyAbp.EShop.Baskets.EntityFrameworkCore/EntityFrameworkCore/IBasketsDbContext.cs
373
C#