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
// 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 Xunit; namespace System.Text.Tests { public class UTF8EncodingGetMaxByteCount { [Theory] ...
35.961538
94
0.660963
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingGetMaxByteCount.cs
935
C#
// ================================================================================================= // // Hammerc Library // Copyright 2015 hammerc.org All Rights Reserved. // // See LICENSE for full license information. // // ===========================================================================================...
25.609195
101
0.48474
[ "MIT" ]
hammerc/hammerc-framework-unity3d
unitysource/4.x/Assets/HammercLib/Utils/CoroutineHelper.cs
2,406
C#
#region License // /* // Microsoft Public License (Ms-PL) // MonoGame - Copyright © 2009 The MonoGame Team // // All rights reserved. // // This license governs use of the accompanying software. If you use the software, you accept this license. If you do not // accept the license, do not use the software. //...
64.407407
280
0.76222
[ "MIT" ]
Adrriii/MonoGame
MonoGame.Framework/Net/NetworkSessionJoinError.cs
3,479
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 P03_SalesDatabase.Data; namespac...
46.506098
125
0.50885
[ "MIT" ]
AscenKeeprov/Databases-Advanced
Exercise4-CodeFirst/P03_SalesDatabase.Data/Migrations/20180707191221_SalesAddDateDefault.Designer.cs
7,629
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class PlayerData { private int currentLvl { get; set; } private int maxLvlRich { get; set; } //private int[] collectable { get; set; } private int[] nbTries { get; set; } private int[] bestN...
24.479167
48
0.598298
[ "MIT" ]
remi-espie/KJam-WonderJam
Assets/Scripts/PlayerData.cs
1,177
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Threading.Tasks; namespace GBX.NET.Json { public class GameBoxContractResolver : DefaultContractResolver { ...
29.269231
86
0.668857
[ "Unlicense" ]
ThaumicTom/gbx-net
GBX.NET.Json/GameBoxContractResolver.cs
763
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using Phonebook.Source.PeopleSoft.Models; using Phonebook.Source.PeopleSoft.Models.Context; namespace Phonebook.Source.PeopleSoft.Repositorie...
40.554054
120
0.593802
[ "MIT" ]
T-Systems-MMS/phonebook
Phonebook.Source.PeopleSoft/src/Phonebook.Source.PeopleSoft/Repositories/OrgUnitRepository.cs
3,003
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; namespace Atata.WebDriverSetup.IntegrationTests { public class DriverSetupTests : IntegrationTestFixture { [TestCase(BrowserNames.Chrome)] public void...
38.985714
108
0.647856
[ "Apache-2.0" ]
atata-framework/atata-webdriversetup
test/Atata.WebDriverSetup.IntegrationTests/DriverSetupTests.cs
5,460
C#
using System; using Asn1; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Security.Principal; using System.DirectoryServices; using System.DirectoryServices.AccountManagement; namespace Rubeus { public class Roast { public static void ASRepRoast(stri...
44.17378
194
0.436469
[ "BSD-3-Clause" ]
mark-s/Rubeus
Rubeus/lib/Roast.cs
14,491
C#
// Seq Client for .NET - Copyright 2014 Continuous IT Pty Ltd // // 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...
35.716667
161
0.654223
[ "Apache-2.0" ]
Mpdreamz/serilog
src/Serilog.Sinks.Seq/Sinks/Seq/DurableSeqSink.cs
2,145
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace NettyRPC.Core { /// <summary> /// 表示Api行为表 /// </summary> internal class ApiActionTable { /// <summary> /// Api行为字典 /// </summary> pr...
28.472527
105
0.536086
[ "MIT" ]
wangweinjcn/nettyRpc
spNettyRPC/Core/Internal/ApiActionTable.cs
2,707
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: AssemblyTi...
38.459459
85
0.724526
[ "BSD-2-Clause" ]
reddaiahece/bo-utils
bo-test120/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class StartUp { public static void Main() { var people = new List<Person>(); var searchedPersonParam = Console.ReadLine(); while (true) { var input = Console.ReadLine(); ...
30.188976
90
0.460616
[ "MIT" ]
Shtereva/CSharp-OOP-Basics
Defining Classes/13. Family Tree/StartUp.cs
3,836
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Dom...
43.066667
103
0.692337
[ "Apache-2.0" ]
3plcoins/coin-exchange-backend
src/Trades/CoinExchange.Trades.Application/OrderServices/Commands/CancelOrderCommand.cs
2,586
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace WebAppTokenVault { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.136364
70
0.709565
[ "MIT" ]
galiniliev/app-service-msi-tokenvault-dotnet
WebAppTokenVault/WebAppTokenVault/Global.asax.cs
577
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.Resources.Models { public partial...
46.531609
532
0.465633
[ "MIT" ]
yifan-zhou922/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableApplicationData.Serialization.cs
16,193
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5472 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
39.481481
150
0.581614
[ "BSD-3-Clause" ]
pradeepkodical/ExtDesigner
PKExtDesigner/Properties/Settings.Designer.cs
1,068
C#
using System; using Newtonsoft.Json; using PipelineFramework; using System.Diagnostics; using System.Threading.Tasks; using System.Collections.Generic; namespace ItemBuilder.Middleware { public class PrintMiddleware : BaseMiddleware { public PrintMiddleware() : base("Print Middleware", "PMW") { } ...
33.581818
87
0.507309
[ "MIT" ]
patrickCode/Design-Patterns
PipelineFramework/ServiceBuilder/Middleware/PrintMiddleware.cs
1,849
C#
using AI.BackEnds.DSP.NWaves.FeatureExtractors.Base; using AI.BackEnds.DSP.NWaves.FeatureExtractors.Options; using AI.BackEnds.DSP.NWaves.Filters; using AI.BackEnds.DSP.NWaves.Filters.Fda; using AI.BackEnds.DSP.NWaves.Transforms; using AI.BackEnds.DSP.NWaves.Utils; using AI.BackEnds.DSP.NWaves.Windows; using System; u...
32.81
135
0.495504
[ "Apache-2.0" ]
AIFramework/AIFrameworkOpen
AI/BackEnds/DSP/NWaves/FeatureExtractors/PlpExtractor.cs
13,126
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...
34.456522
147
0.649842
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/ListInputDevicesRequestMarshaller.cs
3,170
C#
using System; namespace FontAwesome { /// <summary> /// The unicode values for all FontAwesome icons. /// <para/> /// See https://fontawesome.com/cheatsheet /// <para/> /// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github...
38.196721
154
0.606438
[ "MIT" ]
michaelswells/FontAwesomeAttribute
FontAwesome/FontAwesome.CommentAltMedical.cs
2,330
C#
using System.Configuration; namespace RemoteAgent.Service.Configuration { public class ClosableProcessSettings : ConfigurationElement { [ConfigurationProperty("namePattern")] public string NamePattern { get => base["namePattern"] as string; set => base["namePattern"] = value; } } }
21.5
60
0.737542
[ "Apache-2.0" ]
taori/PCRemoteController
src/RemoteAgent.Service/RemoteAgent.Service/Configuration/ClosableProcessSettings.cs
303
C#
using GraphQL.Types; using NetGraphQL.Shared; namespace NetGraphQL.GraphQL.Types.Response { public class AddNewUserResponseType : ObjectGraphType<ServiceResponse<int>> { public AddNewUserResponseType() { Name = nameof(AddNewUserResponseType); Field(f => f.Messages); ...
23.473684
79
0.59417
[ "MIT" ]
bayupuspanugraha/netgraphql
src/NetGraphQL.GraphQL/Types/Response/AddNewUserResponseType.cs
448
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
33.259259
106
0.672606
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/CodeDiscussionSnippet.generated.cs
1,796
C#
namespace Atlas.Core.Objects.Update { public enum TimeStep { None, Fixed, Variable } }
10.666667
36
0.6875
[ "MIT" ]
RSGMercenary/Atlas
Core/Objects/Update/TimeStep.cs
98
C#
namespace Smellyriver.TankInspector.Pro.Modularity.Input { public interface IRepositoryCommand : ICommand { } }
17.857143
57
0.736
[ "MIT" ]
smellyriver/tank-inspector-pro
src/Smellyriver.TankInspector.Pro/Modularity/Input/IRepositoryCommand.cs
127
C#
using Unity.Burst; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Transforms; using Unity.Collections; using Unity.Rendering; using UnityEngine; /* /// <summary> /// update Live from NextState and add ChangedTag /// </summary> [AlwaysSynchronizeSystem] [UpdateBefore(typeof(UpdateNex...
37.296188
115
0.648687
[ "MIT" ]
ryuuguu/Unity-ECS-Life
Assets/Life/ECSLife/Stashed T4 stuff/GridSystemsT4.cs
12,720
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...
36.447619
148
0.616148
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ComprehendMedical/Generated/Model/Internal/MarshallTransformations/DetectEntitiesV2RequestMarshaller.cs
3,827
C#
using FluentAssertions; using SlipeServer.Packets.Builder; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Numerics; using System.Security.Cryptography; using System.Text; using Xunit; namespace SlipeServer.Packets.Tests; public class PacketBuilderTests { [F...
31.673797
131
0.633463
[ "MIT" ]
correaAlex/Slipe-Server
SlipeServer.Packets.Tests/PacketBuilderTests.cs
5,925
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Drawing; using System.Web.UI.DataVisualization.Charting; using MOE.Common.Models; namespace MOE.Common.Business { public class LinkPivotPair { public LinkPivotPair(Approach signalApproach, Approach downSignalAppro...
48.52071
127
0.55322
[ "Apache-2.0" ]
KimleyHorn/ATSPM
MOE.Common/Business/LinkPivotPair.cs
41,002
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("En...
37.675676
84
0.745337
[ "MIT" ]
StatTag/StatTag
EngineTests/Properties/AssemblyInfo.cs
1,397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.ComponentModel; using System.Windows.Data; namespace Dependencies { public class ModuleSearchResult { public string ModuleFilePath { get; set; } public ModuleSearchStrategy SearchStrategy ...
30.191489
137
0.684989
[ "MIT" ]
ChristianGutman/Dependencies
DependenciesGui/ModuleSearchOrder.xaml.cs
1,421
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Sean Boettger <sean@whypenguins.com> // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Stride.Shaders; namespace Stride.Rendering.Voxels.Debug { public partial class VoxelVisualizationRawSh...
36.153846
126
0.774468
[ "MIT" ]
Aggror/Stride
sources/engine/Stride.Voxels/Voxels/GraphicsCompositor/DebugVisualizations/Shaders/VoxelVisualizationRawShaderKeys.cs
472
C#
/* * Copyright © 2008, Textfyre, Inc. - All Rights Reserved * Please read the accompanying COPYRIGHT file for licensing resstrictions. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FyreVM { internal struct HeapEntry { public uint Sta...
34.824841
91
0.482213
[ "MIT" ]
ChicagoDave/Zifmia
Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/Textfyre.Zifmia.Service/HeapAllocator.cs
10,938
C#
using System; using System.Collections.Generic; namespace NeuralNetworkLibrary { public class JordanContextLayer { private static Queue<double[]> values; private static int neurons, layers; private static double[] current; public int Neurons => neurons; publi...
25.25
90
0.549505
[ "MIT" ]
astrihale/neuralnetwork-maturski
NeuralNetwork/NeuralNetworkLibrary/JordanContextLayer.cs
1,414
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.265625
157
0.683857
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Personalize/Generated/Model/DeleteSolutionRequest.cs
2,385
C#
// Copyright 2007 Alp Toker <alp@atoker.com> // 2011 Bertrand Lorentz <bertrand.lorentz@gmail.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using NUnit.Framework; usin...
22.91601
119
0.643225
[ "MIT" ]
AaltoNEPPI/dbus-sharp
tests/ExportInterfaceTest.cs
8,731
C#
using System.Reflection; [assembly: AssemblyTitle(HSUS.HSUS.Name)] [assembly: AssemblyDescription("Useful Stuff for Studio and Maker")] [assembly: AssemblyCompany("https://github.com/IllusionMods/HSPlugins")] [assembly: AssemblyProduct(HSUS.HSUS.Name)] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: Ass...
39.222222
72
0.787535
[ "MIT" ]
IllusionMods/HSPlugins
UsefulStuff.Core/AssemblyInfo.cs
356
C#
using System.Linq; using System.Threading.Tasks; using Serilog; using Witsml; using Witsml.ServiceReference; using WitsmlExplorer.Api.Jobs; using WitsmlExplorer.Api.Models; using WitsmlExplorer.Api.Query; using WitsmlExplorer.Api.Services; namespace WitsmlExplorer.Api.Workers { public class DeleteWellWorker : Base...
36.912281
138
0.650665
[ "Apache-2.0" ]
AtleH/witsml-explorer
Src/WitsmlExplorer.Api/Workers/DeleteWellWorker.cs
2,104
C#
/* * Authentication.cs * * Authors: * Rolf Bjarne Kvinge (RKvinge@novell.com) * * Copyright 2009 Novell, Inc. (http://www.novell.com) * * See the LICENSE file included with the distribution for details. * */ using System; using System.Collections.Generic; using System.Web; using Monkey...
25.9
84
0.710425
[ "MIT" ]
rolfbjarne/monkeywrench
MonkeyWrench.Web.UI/Code/Authentication.cs
1,038
C#
// ----------------------------------------------------------------------- // <copyright file="EventStream.cs" company="Asynkron AB"> // Copyright (C) 2015-2020 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- // ReSharper disable once Che...
38.199219
139
0.531445
[ "Apache-2.0" ]
dhavalgajera/protoactor-dotnet
src/Proto.Actor/EventStream/EventStream.cs
9,781
C#
using System; using System.Linq; using Avalonia.Controls.Primitives; using Avalonia.Controls.Templates; using Avalonia.Input; using Avalonia.Media; using Xunit; namespace Avalonia.Controls.UnitTests.Primitives { public class ScrollBarTests { [Fact] public void Setting_Value_Should_Update_Track_...
30.5
93
0.525584
[ "MIT" ]
0x0ade/Avalonia
tests/Avalonia.Controls.UnitTests/Primitives/ScrollBarTests.cs
6,039
C#
using Newtonsoft.Json; using System; using System.Globalization; namespace JGantt.DataModels { public class JsonHoliday { [JsonProperty("Date")] public string DateString { get; set; } [JsonIgnore] public DateTime Date { get { ...
21.695652
101
0.543086
[ "MIT" ]
SimonPStevens/JGantt
JGantt/DataModels/JsonHoliday.cs
501
C#
using System; using System.Runtime.InteropServices; using System.Threading.Tasks; using CoreAnimation; using CoreGraphics; using Foundation; using UIKit; using Xunit; using Xunit.Sdk; namespace Microsoft.Maui.DeviceTests { internal static partial class AssertionExtensions { public static string CreateColorAtPoint...
32.402174
130
0.734094
[ "MIT" ]
3DSX/maui
src/Core/tests/DeviceTests/AssertionExtensions.iOS.cs
8,945
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ConsoleWebServer.Application")] [assembly:...
39.685714
84
0.75018
[ "MIT" ]
dushka-dragoeva/TelerikSeson2016
Exam Preparations/HQC -Part 2/ConsoleWebServer/ConsoleWebServer/ConsoleWebServer.Application/Properties/AssemblyInfo.cs
1,392
C#
using System; using DotNetCore.CAP.Models; namespace DotNetCore.CAP.Processor.States { public class FailedState : IState { public const string StateName = "Failed"; public TimeSpan? ExpiresAfter => TimeSpan.FromDays(15); public string Name => StateName; public void Apply(Cap...
23.363636
87
0.66537
[ "MIT" ]
hybirdtheory/CAP
src/DotNetCore.CAP/Processor/States/IState.Failed.cs
516
C#
namespace VstsPipelineSync { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using DevOpsLib; using Microsoft.Azure.Services.AppAuthentication; using Microsoft.Azure.KeyVault; class Program { static async Task Main(string...
49.656716
189
0.661557
[ "MIT" ]
kajakIYD/iotedge
tools/IoTEdgeDevOps/VstsPipelineSync/Program.cs
3,327
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Admissions { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, ...
20.95082
136
0.730829
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.AdmissionsService/Engagement_Action_Item_AssignableObjectIDType.cs
1,278
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// <summary>Database connection string information.</summary> public partial class ConnStringInfo { /// <summary> /// <c>A...
72.714286
298
0.68854
[ "MIT" ]
Arsasana/azure-powershell
src/Functions/generated/api/Models/Api20190801/ConnStringInfo.json.cs
7,531
C#
//------------------------------------------------------------------------------ // Copyright (c) 2014-2016 the original author or authors. All Rights Reserved. // // NOTICE: You are permitted to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. //---...
33.894737
81
0.576087
[ "MIT" ]
KieranBond/robotlegs-sharp-framework
src/Robotlegs/Bender/Extensions/Mediation/API/IEventView.cs
644
C#
// See LICENSE file in the root directory // using System; using UnityEditor; namespace LGK.Inspector.StandardDrawer { public class BoolTypeDrawer : ITypeDrawer { public Type TargetType { get { return typeof(bool); } } public object Draw(IMemberInfo memberInfo, obj...
21.78125
84
0.545194
[ "MIT" ]
NED-Studio/LGK.Inspector
LGK.Inspector/Editor/StandardDrawer/BoolTypeDrawer.cs
697
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections; using System.Collections.Generic; using System.Linq; using Microsoft.TestCommon; namespace System.Web.Mvc.Test { public class SelectListTest { ...
38.053846
133
0.564686
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Mvc.Test/Test/SelectListTest.cs
9,896
C#
using System.Linq.Expressions; namespace Apaf.NFSdb.Core.Queries.Queryable.Expressions { public class ComparisonExpression: QlExpression { public ComparisonExpression(Expression left, ExpressionType operation, Expression right, QlToken token) : base(token) { Left = left...
28.137931
111
0.591912
[ "Apache-2.0" ]
NFSdb/nfsdb-csharp
Apaf.NFSdb.Core/Queries/Queryable/Expressions/ComparisonExpression.cs
818
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("OsEngine")] [assembly: AssemblyDesc...
41.092593
102
0.769265
[ "Apache-2.0" ]
gridgentoo/OsEngine.ADO.NET
project/OsEngine/Properties/AssemblyInfo.cs
3,208
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text.RegularExpressions; namespace Roslynator.CSharp.Refactorings.Tests { internal class SplitSwitchLabelsRefactoring { public s...
32.931034
160
0.58534
[ "Apache-2.0" ]
ADIX7/Roslynator
src/Tests/Refactorings.Tests.Old/SplitSwitchLabelsRefactoring.cs
957
C#
// Part of FreeLibSet. // See copyright notices in "license" file in the FreeLibSet root directory. using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; using System.Data; using System.ComponentModel; using FreeLibSet.IO; using FreeLibSet.Formatting; usi...
32.33763
165
0.634126
[ "BSD-2-Clause" ]
a94827/FreeLibSet
ExtForms/EFPControls/EFPDataGridView.cs
371,255
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.System.Diagnostics { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class ProcessDiskUsageReport { #if __ANDROID__ || __IOS__ |...
35.012821
142
0.751373
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.System.Diagnostics/ProcessDiskUsageReport.cs
2,731
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services // // Microsoft Cognitive Services (formerly Project Oxford) GitHub: // https://github.com/Microsoft/Cognitive-Face-Windows /...
34.526316
103
0.697154
[ "MIT" ]
AlejandroRuiz/XamarinFestLive
Cognitive Services/CognitiveServices/Microsoft.ProjectOxford.Face/Contract/FaceList.cs
1,970
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Net5MvcApp { public class Program { ...
26.592593
71
0.62117
[ "MIT" ]
AdrianaDJ/Oryx
tests/SampleApps/DotNetCore/Net5MvcApp/Program.cs
692
C#
using System.Collections.Generic; namespace dotdigital.Api.Resources.Models { public class ApiDocumentFolder { public int Id { get; set; } public string Name { get; set; } public ApiDocumentFolderList ChildFolders { get; set; } } }
14.705882
43
0.712
[ "MIT" ]
cookfood/dotdigitaldotnet
dotMailer.Api/Resources/Models/ApiDocumentFolder.cs
250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace PostgreSQL.Demo.Models { // Add profile data for application users by adding properties to the ApplicationUser class public class ApplicationUser : IdentityUser {...
23.5
95
0.775076
[ "MIT" ]
0xRumple/postgres-aspcore-docker-demo
Models/ApplicationUser.cs
331
C#
using Microsoft.EntityFrameworkCore; namespace Centeva.Data { public abstract class DbContextMiddleware { public virtual void BeforeModelCreating(DbContext context, ModelBuilder modelBuilder) { } public virtual void AfterModelCreating(DbContext context, ModelBuilder modelBuilder) { } public virtual void B...
39.181818
92
0.791183
[ "MIT" ]
Centeva/Centeva.Data.EfCore
DbContextMiddleware.cs
431
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Management.Automation.Runspaces; using System.Threading; namespace ScriptHost { public class PowerShell { public Runspace Runspace { get; set; } public Pipeline Pipeline { get; ...
32.129032
96
0.550703
[ "MIT" ]
minute/mpv.net
mpv.net/Scripting/PowerShell.cs
3,986
C#
using System.Drawing; using System.Collections.Generic; using MonoTouch.UIKit; using MonoTouch.CoreGraphics; namespace UIKitPlayground.UIGravityBehaviorRecipe { public class ChangingGravityViewController : UIViewController { UIDynamicAnimator animator; UIGravityBehavior gravity; re...
44.525424
83
0.582033
[ "MIT" ]
patridge/UIGravityBehaviorRecipe
UIGravityBehaviorRecipe/ChangingGravityViewController.cs
2,627
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
37.666667
151
0.580138
[ "MIT" ]
soi013/ShowMeTheXAMLTest
ShowMeTheXAMLTest -Source/ShowMeTheXAMLTest/Properties/Settings.Designer.cs
1,191
C#
/****************************************************** * ROMVault3 is written by Gordon J. * * Contact gordon@romvault.com * * Copyright 2010 * ******************************************************/ using System; using System.Diagnostics...
32.26674
141
0.553904
[ "Apache-2.0" ]
mnadareski/RVWorld
ROMVault/FrmMain.cs
29,395
C#
using Uv2ray.ViewModels; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Uv2ray.Views { // TODO WTS: Change the URL for your privacy policy in the Resource File, currently set to https://YourPrivacyUrlGoesHere public sealed partial class SettingsPage : Page { public Se...
25.791667
125
0.66559
[ "MIT" ]
AngelBeats-Kanade/Uv2ray
Uv2ray/Uv2ray/Views/SettingsPage.xaml.cs
621
C#
//----------------------------------------------------------------------------- // FILE: WorkflowFutureReadyReply.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
34.089552
115
0.642732
[ "Apache-2.0" ]
codelastnight/neonKUBE
Lib/Neon.Cadence/Internal/WorkflowMessages/WorkflowFutureReadyReply.cs
2,286
C#
using System; using System.Data; namespace SelectStar { public class SelectStarDbAccess { public SelectStarDbAccess () { } public static SelectStarDbAccess CreateSelectStarDbAccess(SelectStarDbAccessKind kind) { switch (kind) { case SelectStarDbAccessKind.Npgsql: return new SelectStarDbAccess...
20.541176
88
0.686712
[ "MIT" ]
MichaelKremser/selectstar
SelectStarDbAccess.cs
1,746
C#
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ #pragma warning disable CS0618, CS0649, CS1574, CS1580, CS1581, CS15...
33.888889
150
0.698239
[ "Apache-2.0" ]
DataDog/dd-trace-csharp
tracer/src/Datadog.Trace/Vendors/dnlib/DotNet/ManifestResource.cs
8,235
C#
using System; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using OpenTK.Input; namespace OpenTkEssTest { //[Example("VBO Dynamic", ExampleCategory.OpenGL, "1.x", 4, Documentation = "VBODynamic")] class T09_VBO_Dynamic : GameWindow { /// <summary>Creates a 800x600 window wit...
39.18232
149
0.579385
[ "MIT" ]
PaintLab/PixelFarm.External
src/MiniOpenTk/OpenTkEssTest/02_VertextBuffer/VBODynamic.cs
7,094
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Cookbook.Entities; namespace Cookbook.Repositories { public interface IItemsRepository { Task<Item> GetItemAsync(Guid id); Task<IEnumerable<Item>> GetItemsAsync(); Task CreateItemAsync(Item item); ...
23.647059
48
0.70398
[ "MIT" ]
shaneconwell/cookbook-api
Repositories/IItemsRepository.cs
402
C#
// ----------------------------------------------------------------------------------- // // GRABCASTER LTD CONFIDENTIAL // ___________________________ // // Copyright © 2013 - 2016 GrabCaster Ltd. All rights reserved. // This work is registered with the UK Copyright Service: Registration No:284701085 // // // NOT...
32.775
128
0.589626
[ "MIT" ]
debiaggi/GrabCaster
Framework.Contracts/Messaging/SkeletonMessage.cs
2,625
C#
using System.ComponentModel; using UnityEngine.InputSystem.Controls; using UnityEngine.Scripting; #if UNITY_EDITOR using UnityEngine.InputSystem.Editor; #endif namespace UnityEngine.InputSystem.Interactions { /// <summary> /// Performs the action if the control is pressed held for at least the set /// dura...
39.714286
148
0.604092
[ "Apache-2.0" ]
AhmadAlrifa1/Shooter-Game
Library/PackageCache/com.unity.inputsystem@1.3.0/InputSystem/Actions/Interactions/TapInteraction.cs
4,448
C#
using Engine.Tween; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Engine.PostProcessing.Tween { /// <summary> /// Tween collection for post processing parameters /// </summary> class DrawerPostProcessParamsTweenCollection : ITweenColl...
29.424242
183
0.48644
[ "MIT" ]
Selinux24/SharpDX-Tests
Engine/PostProcessing/Tween/DrawerPostProcessParamsTweenCollection.cs
2,915
C#
using ProtoBuf; using System; using System.Collections.Generic; namespace GameData { [ProtoContract(Name = "DiaoLuoZu_ARRAY")] [Serializable] public class DiaoLuoZu_ARRAY : IExtensible { private readonly List<DiaoLuoZu> _items = new List<DiaoLuoZu>(); private IExtension extensionObject; [ProtoMember(1, Nam...
20.366667
83
0.741408
[ "MIT" ]
corefan/tianqi_src
src/GameData/DiaoLuoZu_ARRAY.cs
611
C#
using NUnit.Framework; using static Yoga.Net.YogaGlobal; namespace Yoga.Net.Tests { [TestFixture] public class YGStyleTest { [Test] public void copy_style_same() { YogaNode node0 = YGNodeNew(); YogaNode node1 = YGNodeNew(); Assert.IsFalse(node0.I...
34.265823
105
0.611378
[ "MIT" ]
NZMob/Yoga.Net
Yoga.Net.Tests/Functional/YGStyleTest.cs
2,707
C#
using Bitstamp.Client.Websocket.Utils; using Xunit; namespace Bitstamp.Client.Websocket.Tests { public class BitstampAuthenticationTests { [Fact] public void CreateSignature_ShouldReturnCorrectString() { var nonce = BitstampAuthentication.CreateAuthNonce(123456); ...
33.222222
104
0.715719
[ "Apache-2.0" ]
ColossusFX/bitstamp-client-websocket
test/Bitstamp.Client.Websocket.Tests/BitstampAuthenticationTests.cs
598
C#
/// <summary> /// The inspector for the GA prefab. /// </summary> using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; using System.Reflection.Emit; using System.Reflection; using System; using GameAnalyticsSDK.Utilities; using GameAnalyticsSDK.Setup; using System.Text.Regu...
47.421947
327
0.520822
[ "MIT" ]
vahaponur/SassyCookies
Assets/GameAnalytics/Editor/GA_SettingsInspector.cs
133,967
C#
using System; namespace Rx { /// <summary> /// Represents the result of an asynchronous operation. /// </summary> [Imported] public class AsyncSubject : Observable, ISubject { /// <summary> /// Creates a subject that can only receive one value and that value is cached for all f...
24.759259
115
0.534031
[ "Apache-2.0" ]
Reactive-Extensions/IL2JS
Reactive/ScriptSharp/AsyncSubject.cs
1,339
C#
using System.Windows; using System.Windows.Media; namespace EarTrumpet.Services { public class ThemeService { public static bool IsWindowTransparencyEnabled { get { return !SystemParameters.HighContrast && UserSystemPreferencesService.IsTransparencyEnabled; } } pub...
43.086957
139
0.667339
[ "MIT" ]
wolfreak99/EarTrumpet
EarTrumpet/Services/ThemeService.cs
2,975
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...
40.632813
206
0.642953
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/ListUserPoolsResponseUnmarshaller.cs
5,201
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.529412
81
0.642903
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Live/V20180801/Models/DescribeLiveTranscodeRulesResponse.cs
1,629
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using WpfUi.Models; using WpfUi.ViewModels; namespace WpfUi.Helpers { public class BookListFilter { private readonly BookCardViewModel...
27.094737
167
0.757964
[ "MIT" ]
basaif/ReadingChecklist
WpfUi/Helpers/BookListFilter.cs
2,576
C#
using System; namespace Magnesium.Vulkan { internal enum VkPipelineCacheHeaderVersion : uint { PipelineCacheHeaderVersionOne = 1, } }
14
50
0.778571
[ "MIT" ]
tgsstdio/Mg
Magnesium.Vulkan/Enums/VkPipelineCacheHeaderVersion.cs
140
C#
// =========== // DO NOT EDIT - this file is automatically regenerated. // =========== using System.Collections.Generic; using Unity.Entities; namespace Improbable.Gdk.Tests.NonblittableTypes { public partial class NonBlittableComponent { public class CommandSenders { public struct...
55.069307
172
0.672959
[ "MIT" ]
filod/gdk-for-unity
test-project/Assets/Generated/Source/improbable/gdk/tests/nonblittabletypes/NonBlittableComponentCommandComponents.cs
5,562
C#
using Lucene.Net.Analysis; using Lucene.Net.Analysis.TokenAttributes; using Lucene.Net.QueryParsers.Flexible.Core.Nodes; using Lucene.Net.QueryParsers.Flexible.Core.Processors; using Lucene.Net.QueryParsers.Flexible.Standard.Config; using Lucene.Net.QueryParsers.Flexible.Standard.Nodes; using Lucene.Net.Support; using...
40.883178
124
0.420791
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.QueryParser/Flexible/Standard/Processors/AnalyzerQueryNodeProcessor.cs
17,500
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.075758
157
0.624493
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DeviceConfigurationAssignmentsCollectionRequestBuilder.cs
2,711
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Common { using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Threading; #if NE...
34.11293
165
0.543684
[ "MIT" ]
CIPop-test/azure-iot-sdk-csharp
iothub/service/src/Common/AsyncResult.cs
20,843
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/winioctl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
54.263158
153
0.777401
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/winioctl/STORAGE_DISK_OPERATIONAL_STATUS.cs
2,064
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InstancedColor : MonoBehaviour { [SerializeField] private Color color = Color.white; static MaterialPropertyBlock propertyBlock; static int colorID = Shader.PropertyToID("_Color"); void Start() { }...
23.08
69
0.689775
[ "MIT" ]
Kasugalex/KasugRenderPipeline
Assets/2.CatlikeSRP/2.CustomShader/Scripts/InstancedColor.cs
579
C#
namespace UAlbion.Formats.AssetIds { public enum TacticId // TODO: Add this info to a JSON file and then auto-generate the enum. { Unknown0 = 0, Unknown1 = 1, Unknown2 = 2, Unknown3 = 3, Unknown4 = 4, Unknown5 = 5, Unknown6 = 6, Unknown7 = 7, ...
23.769231
95
0.470874
[ "MIT" ]
mrwillbarnz/ualbion
Formats/AssetIds/TacticId.cs
1,854
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("Ren...
36.137931
84
0.744275
[ "MIT" ]
joaodfmota/RenaultCodeRadio
windows/RenaultCodeRadio/Properties/AssemblyInfo.cs
1,049
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...
35.629545
157
0.494546
[ "BSD-3-Clause" ]
Carko/Krypton-Toolkit-Suite-NET-Core
Source/Truncated Namespaces/Source/Krypton Components/Krypton.Toolkit/View Draw/ViewDrawContent.cs
15,680
C#
namespace IIIF.Presentation { /// <summary> /// Contains JSON-LD Contexts for IIIF Presentation API. /// </summary> public static class Context { /// <summary> /// JSON-LD context for IIIF presentation 2. /// </summary> public const string V2 = "http://iiif...
30.833333
83
0.563964
[ "MIT" ]
wellcomecollection/iiif-builder
src/Wellcome.Dds/IIIF/Presentation/Context.cs
557
C#
namespace WebApplication.Enums { public enum Color { Primary, Info, Default, Warning, Danger } }
13.454545
30
0.5
[ "MIT" ]
marcio-eric/adminlte3-netcore
src/WebApplication/Enums/Color.cs
148
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Text.RegularExpressions; using System.Windows.Forms; namespace TextAnalysis { public partial class frm_main : Form { public frm_main() { ...
30.6
238
0.510836
[ "Apache-2.0" ]
lxepoo/TextAnalysis
TextAnalysis/frm_main.cs
3,371
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Cy.WeChat.Hosting { public class Program { pub...
25.888889
70
0.645207
[ "MIT" ]
jonny-xhl/Cy.WeChat
Cy.WeChat.Hosting/Program.cs
699
C#
/* Copyright 2016 Christian Klemm 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...
35.195122
108
0.707554
[ "Apache-2.0" ]
Victor1890/YTMusicDownloader
src/YTMusicDownloader/Views/Converters/PageDisplayConverter.cs
1,445
C#
using Abp.Domain.Services; using Cinotam.FileManager.Contracts; namespace Cinotam.FileManager.Local.LocalFileManager { public interface ILocalFileManager : IFileManagerServiceProvider, IDomainService { string SaveFileFromBase64String(string base64String, string overrideFormat); } }
27.727273
84
0.796721
[ "MIT" ]
TacoDevs/AbpZero-SPA-only
Cinotam.FileManager.Local/LocalFileManager/ILocalFileManager.cs
307
C#