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
#region Using Directives using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Threading; using System.Windows.F...
41.314937
196
0.590913
[ "MIT" ]
TommasoBelluzzo/MacroUO
Solution/ApplicationDialog.cs
56,147
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace CRM.Interface.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; ...
44.542308
2,446
0.662378
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/Models/MicrosoftDynamicsCRMmsdynTour.cs
11,581
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using Orchard.DisplayManagement.Descriptors; using Orchard.DisplayManagement.Shapes; using Orchard.DisplayManagement.Theming; namespace Orchard.DisplayManagement.Implementation { public class DefaultShapeFactory : DynamicObjec...
32.625
150
0.57043
[ "BSD-3-Clause" ]
hishamco/Orchard2
src/OrchardCore/Orchard.DisplayManagement/Implementation/DefaultShapeFactory.cs
4,437
C#
using System; using System.ComponentModel.DataAnnotations; namespace Api.Domain.Entities { public class CepEntity : BaseEntity { [Required] [MaxLength(10)] public string Cep { get; set; } [Required] [MaxLength(60)] public string Logradouro { get; set; } ...
20.4
54
0.588235
[ "MIT" ]
JoaoDiasDev/Projetos
api_net_coreMVC_5/src/Api.Domain/Entities/CepEntity.cs
510
C#
// LICENSE: // // 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, modify, merge, publish, distribute, subli...
41.108108
87
0.729126
[ "MIT" ]
DarthStem/trinity-rdf
Trinity/Query/BindingSet.cs
1,523
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 Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.Uni...
25.423792
160
0.58298
[ "Apache-2.0" ]
drieseng/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/DefaultKeywordRecommenderTests.cs
6,839
C#
// Copyright (c) Microsoft. All rights reserved. namespace SampleUnitTestProject3 { using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using System.Reflection; using System.Threading; [TestClass] public class UnitTest1 { [TestMethod] publ...
25.388889
135
0.610503
[ "MIT" ]
eerhardt/vstest
test/TestAssets/SimpleTestProject3/UnitTest1.cs
914
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Cli.Telemetry { internal interface IDockerContainerDetector { IsDockerContainer IsDockerContainer(); ...
29.818182
101
0.753049
[ "MIT" ]
01xOfFoo/sdk
src/Cli/dotnet/Telemetry/IDockerContainerDetector.cs
330
C#
namespace WebServer { using System; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using Http; using Http.Contracts; using Http.Response; using Common; using Contracts; public class ConnectionHandler { private reado...
30.468531
101
0.558871
[ "MIT" ]
msotiroff/Softuni-learning
C# Web Module/CSharp-Web-Development-Basics/10.ExamPreparation_1/Resourses/MVCServer/WebServer/ConnectionHandler.cs
4,359
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PubnubApi.Interface; using System.Threading.Tasks; using System.Threading; using System.Net; using Newtonsoft.Json; namespace PubnubApi.EndPoint { public class ManageChannelMembersOperation : PubnubCoreBase { p...
48.08078
389
0.612189
[ "MIT" ]
StockDrops/c-sharp
src/Api/PubnubApi/EndPoint/Objects/ManageChannelMembersOperation.cs
17,263
C#
using System; using System.Net; namespace Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes { /// <summary> /// This represents the attribute entity for HTTP triggers to define response body payload. /// </summary> [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = fals...
32.952381
102
0.617775
[ "MIT" ]
2gplus/azure-functions-openapi-extension
src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Attributes/OpenApiResponseWithoutBodyAttribute.cs
1,384
C#
namespace SharedServices.Interfaces { public interface IActionValidator { #region Current Type Interface bool GetIsEnabled(int actionId); #endregion } }
19
40
0.663158
[ "MIT" ]
artakhak/IoC.Configuration
TestProjects.SharedServices/Interfaces/IActionValidator.cs
192
C#
namespace ServiceSentry.Testing { public partial class Tests { private const string Alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; private const string AlphaNumeric = Alpha + "1234567890"; private const string AtomChars = AlphaNumeric + "!#$%&'*+-/=?^_`{|}~"; ...
32.6
92
0.650307
[ "MIT" ]
auturge/servicesentry
tests/ServiceSentry.Testing/Testing Framework/Randoms/Sets.cs
328
C#
#region → Usings . using citPOINT.eNeg.Common; using citPOINT.eNeg.ViewModel; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Messaging; using System.ComponentModel.Composition; using System.Windows.Controls; using Telerik.Windows.Controls; using System; #endregion #region → History . /* Date User ...
26.414508
113
0.531581
[ "MIT" ]
ivconsult/eNeg
citPoint.eNeg.Client/Views/AuthenticationViews/QuickRegister.xaml.cs
5,126
C#
using TdLib; using Tel.Egram.Model.Messenger.Explorer.Messages; using Tel.Egram.Model.Messenger.Explorer.Messages.Basic; using Tel.Egram.Services.Messaging.Messages; namespace Tel.Egram.Model.Messenger.Explorer.Factories { public class BasicMessageModelFactory : IBasicMessageModelFactory { public Basic...
25.885714
69
0.587196
[ "MIT" ]
ForNeVeR/egram.tel
src/Tel.Egram.Model/Messenger/Explorer/Factories/BasicMessageModelFactory.cs
906
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace elibarymanagementsystem { public partial class viewbooks : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
20.235294
61
0.668605
[ "Apache-2.0" ]
Hasan-Uz-Zaman-Piyas/Elibary-Management-System
viewbooks.aspx.cs
346
C#
using System.IO; namespace GameSpec.Tes.Formats.Records { public class HAIRRecord : Record, IHaveEDID, IHaveMODL { public override string ToString() => $"HAIR: {EDID.Value}"; public STRVField EDID { get; set; } // Editor ID public STRVField FULL; public MODLGroup MODL ...
39.928571
102
0.561717
[ "MIT" ]
bclnet/GameSpec
Tes/GameSpec.Tes/Formats/Records/040-HAIR.Hair.cs
1,120
C#
using System; using System.Threading.Tasks; using Nethereum.Contracts.Constants; using Nethereum.Contracts.Services; using Nethereum.Contracts.Standards.ENS.PublicResolver.ContractDefinition; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.RPC.Eth.DTOs; namespace Nethereum.Contracts.Standards.ENS { ...
51.816
155
0.724564
[ "MIT" ]
GitHubPang/Nethereum
src/Nethereum.Contracts/Standards/ENS/ENSService.cs
6,479
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Runtime.CompilerServices; public static class Tests { ...
51.992032
100
0.625517
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/Generics/Conversions/Boxing/box_isinst_unbox.cs
13,050
C#
using System; using System.Threading.Tasks; using Discord; using NadekoBot.Extensions; using NadekoBot.Core.Services.Database.Models; using NadekoBot.Core.Services.Database; using Discord.WebSocket; namespace NadekoBot.Core.Services { public class CurrencyService : INService { private readonly IBotCon...
37.832061
192
0.548023
[ "MIT" ]
BraveNetwork/LinBot
NadekoBot.Core/Services/CurrencyService.cs
4,958
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
41.362745
189
0.563641
[ "MIT" ]
Ethereal77/stride
sources/editor/Stride.Editor/EditorGame/ContentLoader/LoaderReferenceManager.cs
8,438
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; namespace SnapshotTests.Snapshots { internal static class ValueComparer { private static readonly MethodInfo UseComparerMethod; internal static IComparer<object> Comparer = new ComparerImpl(); ...
29.449275
131
0.562008
[ "MIT" ]
jamie-davis/SnapshotTests
src/SnapshotTests/Snapshots/ValueComparer.cs
2,034
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("Ja...
36.676471
84
0.744988
[ "Apache-2.0" ]
bradlee2018/JavaScriptRegions
src/Properties/AssemblyInfo.cs
1,249
C#
using BigTycoon.Celle; using BigTycoon.Celle.Edifici; using BigTycoon.Generale; using BigTycoon.Oggetti; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; ...
39.086239
211
0.557976
[ "MIT" ]
Men-Who-Sold-The-World/BigTycoon
BigTycoon/Form1.cs
21,310
C#
using UnityEngine; using System.Collections; using GameFramework.GameStructure.GameItems.Components.AbstractClasses; using GameFramework.GameStructure.GameItems.ObjectModel; using GameFramework.GameStructure.PlayerGameItems.ObjectModel; public abstract class GameItemInstanceHolder<T> : ShowPrefab<T> where T : GameIte...
31.4
82
0.785563
[ "Unlicense" ]
tiwater/GameFramework
Scripts/GameStructure/GameItems/Components/AbstractClasses/GameItemInstanceHolder.cs
473
C#
using System.Collections.Generic; using System.Linq; namespace Simple.Permissions { /// <summary> /// Storage for calculations /// </summary> public class PermissionsCalculationContext<TIdentity> { /// <summary> /// The permission cache /// </summary> private readon...
40.046512
111
0.655633
[ "MIT" ]
georgemcz/SimplePermissions
Simple.Permissions/Implementation/PermissionsCalculationContext.cs
1,724
C#
using System.Collections.Generic; using System.Linq; using System.Text; namespace pgdiff.schema { public class PgSchema { private readonly List<PgFunction> _functions = new List<PgFunction>(); private readonly List<PgIndex> _indexes = new List<PgIndex>(); private readonly List<PgConst...
34.311321
140
0.632664
[ "MIT" ]
hryz/apgdiff.net
src/pgdiff/schema/PgSchema.cs
3,637
C#
using DevIO.Api.Extensions; using DevIO.Data.Context; using HealthChecks.UI.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInje...
33.140351
112
0.55532
[ "MIT" ]
Rafael955/ApiCompleta
src/DevIO.Api/Configuration/ApiConfig.cs
3,785
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. // // Generated on 2020 October 09 04:45:51 UTC // </auto-generated> //--------------...
34.370968
113
0.587987
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/runtime/defs_linux_arm64_sockaddr_unStruct.cs
2,131
C#
using System.Threading.Tasks; using Tweetinvi.Core.Iterators; using Tweetinvi.Core.Web; using Tweetinvi.Models.DTO; using Tweetinvi.Models.DTO.QueryDTO; using Tweetinvi.Parameters; namespace Tweetinvi.Client.Requesters { /// <summary> /// A client providing all the methods related with tweets. /// The resu...
52.08
140
0.678571
[ "MIT" ]
IEvangelist/tweetinvi
src/Tweetinvi.Core/Public/Client/Requesters/ITweetsRequester.cs
5,208
C#
// This file has been generated by the GUI designer. Do not modify. namespace Moscrif.IDE.Controls { public partial class NewFileDialog { private global::Gtk.Notebook notebook1; private global::Gtk.VBox vbox2; private global::Gtk.HBox hbox1; private global::Gtk.ScrolledWindow GtkScrolledWindow; private glo...
44.105469
126
0.699407
[ "BSD-3-Clause" ]
moscrif/ide
gtk-gui/Moscrif.IDE.Controls.NewFileDialog.cs
11,295
C#
using HotChocolate; namespace Example { public class FooDirective { } }
10.5
29
0.666667
[ "MIT" ]
PascalSenn/hotchocolate-directive-example
FooDirective.cs
84
C#
using System.Threading; using System.Windows.Forms; using Glyssen.Controls; using Glyssen.Utilities; using NUnit.Framework; namespace GlyssenTests.Controls { [TestFixture] [Apartment(ApartmentState.STA)] public class BrowserTests { [Test] [Explicit] // By hand public void Navigate() { using (var form =...
18.270833
74
0.641961
[ "MIT" ]
sillsdev/Glyssen
GlyssenTests/Controls/BrowserTests.cs
879
C#
using System.Collections.Generic; using System.Net.Http; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Requests.Abstractions; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using Telegram.Bot.Types.InputFiles; using Telegram.Bot.Types.ReplyMarkups; // ReSharper disable once ...
46.11828
109
0.662625
[ "MIT" ]
AKomyshan/Telegram.Bot
src/Telegram.Bot/Requests/Available methods/Messages/SendPhotoRequest.cs
4,289
C#
using System; using System.Globalization; using GeoAPI.Geometries; using Proj4Net.Utility; namespace Proj4Net.Projection { /// <summary> /// List of named meridians /// </summary> public enum NamedMeridian { /// <summary> /// Undefined /// </summary> Undefined = 0, ...
29.353623
111
0.487509
[ "Apache-2.0" ]
jugstalt/gview5
gView.Proj/Proj4Net/Projection/Meridian.cs
10,129
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...
28.402174
184
0.573287
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cache/V20171001/GetFirewallRule.cs
2,613
C#
using System; using System.Linq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Models; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Dtos; using Umbraco.Core.Persistence.Repositories; using Umbraco.Core.Persistence.Repositories.Implement; using Umbraco.Core.Sc...
35.646396
146
0.552095
[ "MIT" ]
AndersBrohus/Umbraco-CMS
src/Umbraco.Tests/Persistence/Repositories/MediaTypeRepositoryTest.cs
15,829
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.MSTestAdapter.UnitTests { extern alias FrameworkV1; extern alias FrameworkV2; using System; u...
50.616564
212
0.690322
[ "MIT" ]
AF250329/testfx
test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Helpers/ReflectHelperTests.cs
16,501
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...
32.631579
109
0.650403
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/DetachLoadBalancerTargetGroupsRequest.cs
2,480
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using Jasper.Logging; using Jasper.Transports; namespace Jasper.Runtime.WorkerQueues { public class InlineWorkerQueue : IListeningWorkerQueue { private readonly IHandlerPipeline _pipeline; private readonly ITransportLogger _l...
31.380282
152
0.576302
[ "MIT" ]
JasperFx/jasper
src/Jasper/Runtime/WorkerQueues/InlineWorkerQueue.cs
2,228
C#
namespace Microsoft.AspNetCore.Mvc { using System; using System.Collections.Generic; using System.Threading.Tasks; using Extensions.Primitives; using Http; using Net.Http.Headers; /// <summary> /// A <see cref="StatusCodeResult"/> that when executed will produce an empty /// <see c...
35.983607
169
0.631891
[ "MIT" ]
Magicianred/AspNetCore.Mvc.HttpActionResults
src/AspNetCore.Mvc.HttpActionResults.ClientError/RequestedRangeNotSatisfiableResult.cs
2,197
C#
using System; namespace Ockham.Reflection { /// <summary> /// Static utility methods for inspecting types /// </summary> public static class TypeUtil { public static bool IsStaticClass(Type type) => throw null; public static bool IsIntegerType(Type type) => throw null; pu...
50.791667
124
0.701395
[ "MIT" ]
joshua-honig/ockham.net.data
src/ref/Reflection/TypeUtil.cs
1,221
C#
using System; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; // ReSharper disable once CheckNamespace namespace ProgressOnderwijsUtils { public interface IValueConverterSource<TModel, TProvider> { ValueConverter<TModel, TProvider> GetValueConverter(...
36.166667
92
0.717742
[ "Apache-2.0" ]
progressonderwijs/ProgressOnderwijsUtils
src/ProgressOnderwijsUtils/Pocos/IValueConverterSource.cs
868
C#
namespace Microsoft.ApplicationInsights.Metrics.Extensibility { /// <summary> /// /// </summary> public interface IMetricValueFilter { /// <summary> /// /// </summary> /// <param name="dataSeries"></param> /// <param name="metricValue"></param> /// ...
28.041667
70
0.543834
[ "MIT" ]
Bhaskers-Blu-Org2/ApplicationInsights-SDK-Labs
Metrics/Microsoft.ApplicationInsights.Metrics.Core/Public/Microsoft.ApplicationInsights.Metrics.Extensibility/IMetricValueFilter.cs
675
C#
// <auto-generated /> // https://github.com/dotnet/corefx/blob/1597b894a2e9cac668ce6e484506eca778a85197/src/Common/src/CoreLib/System/Index.cs // https://github.com/dotnet/corefx/blob/1597b894a2e9cac668ce6e484506eca778a85197/src/Common/src/CoreLib/System/Range.cs #pragma warning disable CS0436 // Type conflicts with i...
40.640569
156
0.587391
[ "MIT" ]
devlooped/MSBuild.Json
src/JsonPoke/Range.cs
11,422
C#
// <copyright file="IMMALConvert.cs" company="Techyian"> // Copyright (c) Ian Auty. All rights reserved. // Licensed under the MIT License. Please see LICENSE.txt for License info. // </copyright> using System.Threading.Tasks; namespace MMALSharp.Components { /// <summary> /// Supports converting user provid...
29.304348
84
0.645401
[ "MIT" ]
mike-moede/MMALSharp
src/MMALSharp/Components/EncoderComponents/IMMALConvert.cs
676
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { using System; using System.Collections.Generic; using System.Collections.ObjectMode...
44.114504
251
0.604356
[ "MIT" ]
askazakov/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/CosmosClientOptions.cs
40,455
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace QDMarketPlace.Data.Entities { public class Permission { public int Id { get; set; } //[Required] ...
23.722222
54
0.600703
[ "MIT" ]
quocitspkt/QDMarketPlaceNew1
QDMarketPlace.Data/Entities/Permission.cs
856
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "newLookForPlayerStateData", menuName = "Data/State Data/Look For Player State")] public class D_LookForPlayer : ScriptableObject { public int amountOfTurns = 2; public float timeBetweenTurns = 0.75f; }
29
109
0.783699
[ "MIT" ]
ab-gregor/ProjectCelest
ProjectCelest/Assets/Scripts/Enemies/States/Data/D_LookForPlayer.cs
319
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace RFIDTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Ma...
22.043478
65
0.609467
[ "Apache-2.0" ]
dingfeng/rfid
RFIDApplication/RFIDTest/Program.cs
509
C#
using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Swashbuckle.AspNetCore.Annotations; using vr.mock.api.Dtos; using vr.mock.api.Services; namespace vr.mock.api.Controllers { [Route("api/[controller]")] public class StrategyController : Con...
32.122807
88
0.639541
[ "MIT" ]
birajbhow/VRCapital.TradingApi
vr.mock.api/Controllers/StrategyController.cs
1,833
C#
#region Using using Android.App; using Android.Views; using Android.Widget; using System.Collections.Generic; using System.Linq; using Users.Common.Helpers; using Users.Common.Models; #endregion namespace Users.Droid.CustomAdapters { public class UsersListAdapter : BaseAdapter<User> { #region Proper...
24.131579
86
0.571974
[ "MIT" ]
dawidborycki/Users-Xamarin
Users.Droid/CustomAdapters/UsersListAdapter.cs
1,836
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
30.304348
78
0.449067
[ "MIT" ]
Imato/squidex
src/Squidex.Domain.Apps.Entities/Schemas/Commands/SchemaCommand.cs
700
C#
//---------------------- // <auto-generated> // Generated by T4FluentNH. // </auto-generated> //---------------------- // ReSharper disable All using System; using System.Collections.Generic; using System.ComponentModel; using System.CodeDom.Compiler; using System.Linq; using System.Linq.Expressions; using System.Re...
35.580645
387
0.721668
[ "MIT" ]
maca88/PowerArhitecture
Source/SharperArchitecture.Authentication/UserSetting.generated.cs
1,103
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net; using System.Threading; using System.Threading.Tasks; using Octokit.Internal; namespace Octokit { /// <summary> /// A connection for making API requests against URI endpoints. /// Provides type-friendly...
48.531014
177
0.616946
[ "MIT" ]
fathym-it/octokit.net
Octokit/Http/ApiConnection.cs
32,081
C#
using SuperSocket.JTT.JTTBase.Interface; using SuperSocket.JTT.JTTBase.Model; using System; using System.Buffers; using System.Collections.Generic; using System.Text; namespace SuperSocket.JTT.JTT808 { public class JTT808PackageInfo : IJTTPackageInfo { public ReadOnlySequence<byte> Buffer { get; set; ...
33.815789
140
0.628016
[ "Apache-2.0" ]
Lc3586/SuperSocket.JTT
src/Protocols/JTT808/JTT808PackageInfo.cs
1,339
C#
using LagoVista.Core; using LagoVista.Core.Attributes; using LagoVista.Core.Interfaces; using LagoVista.Core.Models; using LagoVista.Core.Validation; using LagoVista.IoT.Deployment.Models.Resources; using LagoVista.IoT.DeviceManagement.Core.Models; using LagoVista.IoT.Pipeline.Admin.Models; using LagoVista.IoT.Pipelin...
59.72
357
0.715296
[ "MIT" ]
LagoVista/Deployments
src/LagoVista.IoT.Deployment.Models/DeploymentInstance.cs
23,890
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RosettaCode.RankingMethods { public class StandardScoreToRankTransformer : IScoreToRankTransformer { public List<IHasRank> ComputeRank( List<IHasScore> itemsWithScore ) { ...
35.84
121
0.61756
[ "MIT" ]
alexboia/Code-Fun
Rosetta-Code/Ranking-Methods/C_Sharp/RosettaCode.RankingMethods/RosettaCode.RankingMethods/Transformers/StandardScoreToRankTransformer.cs
2,690
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("01....
38.108108
84
0.74539
[ "MIT" ]
bobo4aces/02.SoftUni-TechModule
01. PF - 98. Labs/01.23.2018/01. Debit Card Number/Properties/AssemblyInfo.cs
1,413
C#
using System; using System.Collections.Immutable; using System.IO; using AngleSharp; using AngleSharp.Html; using AngleSharp.Html.Dom; using AngleSharp.Html.Parser; using Markdig.Syntax.Inlines; namespace ITGlobal.MarkDocs.Format.Impl.Extensions.IncludeHtml { internal sealed class HtmlImageRenderer : IImageRendere...
29.772152
103
0.558248
[ "MIT" ]
ITGlobal/MarkDocs
src/ITGlobal.MarkDocs.Markdown/Format/Impl/Extensions/IncludeHtml/HtmlImageRenderer.cs
2,352
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Logging.Testing; using Moq; using Xunit; namespace Microsoft.Extensions.Logging.Test { ...
34.854054
176
0.607165
[ "MIT" ]
ARhj/runtime
src/libraries/Microsoft.Extensions.Logging/tests/Common/LoggerFactoryExtensionsTest.cs
6,448
C#
// Copyright 2021 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 ...
50.443441
244
0.589449
[ "Apache-2.0" ]
arithmetic1728/google-api-dotnet-client
Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.cs
268,006
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; ...
35.909091
163
0.721519
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/delegate/BaseDelegateExecution.cs
1,582
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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. [ass...
38.368421
84
0.755144
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter03/NamedFontSizes/NamedFontSizes/NamedFontSizes.WinPhone/Properties/AssemblyInfo.cs
1,461
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ScratchNet { public class SizeExpression : Expression { public override string ReturnType { get { return "number"; } } protected override Completion ExecuteImpl(Executio...
22.804878
82
0.53369
[ "MIT" ]
HenJigg/WPF-Blocky
demo/ScratchNet/appearance/SizeExpression.cs
937
C#
using System; using System.Collections.Generic; namespace FieldVisitHotFolderService { public class Context { public string Server { get; set; } public string Username { get; set; } = "admin"; public string Password { get; set; } = "admin"; public string HotFolderPath { get; se...
54.676471
181
0.668101
[ "Apache-2.0" ]
RamonRakowAI/aquarius-field-data-framework
src/FieldVisitHotFolderService/Context.cs
1,861
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HitPS : VolatilizeVisualEffect { }
16
43
0.820313
[ "MIT" ]
kevin41307/Pong
Assets/Scripts/HitPS.cs
128
C#
// <copyright file="NotificationDataRepository.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // </copyright> namespace Microsoft.Teams.Apps.DIConnect.Common.Repositories.NotificationData { using System; using System.Collections.Generic; usi...
45.633094
204
0.616033
[ "MIT" ]
cristianoag/microsoft-teams-apps-diversityandinclusion-dev
Source/DIConnect.Common/Repositories/NotificationData/NotificationDataRepository.cs
12,688
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.553571
108
0.680815
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/PurchaseOfferingResponse.cs
1,767
C#
using System.Collections.Generic; using System.Linq; using Klei.AI; namespace Database { public class PlantMutations : ResourceSet<PlantMutation> { public PlantMutation moderatelyLoose; public PlantMutation moderatelyTight; public PlantMutation extremelyTight; public PlantMutation bonusLice; public Pla...
62.402062
294
0.778787
[ "MIT" ]
undancer/oni-data
Managed/main/Database/PlantMutations.cs
6,053
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // NullableLongSumAggre...
41.214286
130
0.487175
[ "MIT" ]
2E0PGS/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Inlined/NullableLongSumAggregationOperator.cs
5,770
C#
using MongoDB.Driver; using System; using System.Collections.Generic; using System.Threading.Tasks; using TaskoMask.Domain.Core.Data; using TaskoMask.Domain.Core.Models; using TaskoMask.Infrastructure.Data.Common.DbContext; namespace TaskoMask.Infrastructure.Data.Common.Repositories { public class BaseRepository<...
20.89
121
0.558162
[ "MIT" ]
GhalamborM/TaskoMask
Src/Libraries/1-Infrastructure/Infrastructure.Data/Common/Repositories/BaseRepository.cs
2,091
C#
using System; class NullValuesArithmetic { static void Main() { string firstName = "Georgi"; string middleName = "Peshov"; string lastname = "Ivanov"; long balance = 123456789; string bankName = "UniCredit Bulbank "; string iBan = "BG67UNCR90874638205765"; ...
28.764706
53
0.627812
[ "MIT" ]
Supbads/Softuni-Education
00. Basics/03. CSharpTypes/BankAccountData/BankAccountData.cs
491
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace ToeKnife.Common.Transport { /// <summary> /// Represents a serialised object with basic features similar to XML. /// </summary> [Serializable] public class SerialisedObject : ISerializable { /...
32.22
134
0.60149
[ "BSD-3-Clause" ]
The-Next-Big-Team/ToeKnife
ToeKnife.Common/Transport/SerialisedObject.cs
1,613
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
34.419355
84
0.741331
[ "MIT" ]
slimCODE/slim-lib
src/samples/Seclusion/Seclusion.Droid/Properties/AssemblyInfo.cs
1,070
C#
using EPiServer.Framework; using EPiServer.Framework.Initialization; using EPiServer.ServiceLocation; using EPiServer.Web; namespace AdvancedExternalReviews.BlocksPreview { /// <summary> /// Module for support external blocks rendering. /// </summary> [ModuleDependency(typeof(EPiServer.Web.Initializat...
29.935484
82
0.688578
[ "Apache-2.0" ]
Halloweenh20/advanced-reviews
src/external-reviews/BlocksPreview/BlockPreviewInitialization.cs
930
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...
36.043165
147
0.603393
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CostExplorer/Generated/Model/Internal/MarshallTransformations/GetUsageForecastRequestMarshaller.cs
5,010
C#
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Identity; namespace IdentitySample.Authentication.Entities { public class ApplicationUser : IdentityUser<Guid> { public string FirstName { get; set; } public string LastName { get; set; } public string Refresh...
24.8
79
0.697581
[ "MIT" ]
diegosilvestri/IdentitySample
IdentitySample/IdentitySample.Authentication/Entities/ApplicationUser.cs
498
C#
using System; using RabbitMQ.Client; using System.Text; class NewTask { public static void Main(string[] args) { var factory = new ConnectionFactory() { HostName = "localhost" }; using(var connection = factory.CreateConnection()) using(var channel = connection.CreateModel()) { ...
31.411765
123
0.617978
[ "Apache-2.0" ]
Leslie1sMe/rabbitmq-tutorials
dotnet/NewTask/NewTask.cs
1,068
C#
using YAF.Lucene.Net.Analysis.TokenAttributes; namespace YAF.Lucene.Net.Analysis.Hi { /* * 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. ...
40.372881
107
0.638539
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Hi/HindiNormalizationFilter.cs
2,326
C#
using Org.Codecop.Dependencies.ExtractAndOverrideCall; using Xunit; namespace Org.Codecop.Dependencies.ExtractAndOverrideCall.Tests { public class CheckoutTest { [Fact] public void Test3() { var checkout = new Checkout(); checkout.CreateReceipt(new Money(12)); ...
22.058824
63
0.621333
[ "BSD-3-Clause" ]
afhswe/dependency-breaking-katas
CSharp/DependencyBreakingTests/ExtractAndOverrideCall/CheckoutTest.cs
377
C#
namespace HealthyNutGuysAPI.Auth.Jwt { public static class Constants { public static class Roles { public const string AdminRole = "admin"; public const string UserRole = "user"; } public static class Strings { public const string TokenName = "jwt"; public static class J...
22.88
103
0.615385
[ "MIT" ]
omikolaj/healthy-nut-guys-api
HealthyNutGuysAPI/Auth/Jwt/Constants.cs
572
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using Fissoft.LinqIndex.Indexes; namespace Fissoft.LinqIndex.Internal { internal class InternalIndexCollection<T> : IEnumerable<DictionaryHashIndex<T>> { private readonly Dictionary<string, DictionaryHashIndex<T>> _internal...
30.08
116
0.652926
[ "MIT" ]
fissoft/Fissoft.Core
src/Fissoft.Core/LinqIndex/Internal/InternalIndexCollection.cs
1,506
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyIn...
34.909091
171
0.654514
[ "MIT" ]
ThandiTQ/sequel
src/MyTimesheet/MyTimesheet/Startup.cs
2,306
C#
using System; using System.Collections.Generic; using System.Linq; namespace CoreSchematic.Parser { public class ResolveComponentEventArgs : EventArgs { public ResolveComponentEventArgs(string[] path) { this.Path = path.ToArray(); } public Component Component { get; set; } public IReadOnlyList<string...
18.888889
51
0.735294
[ "BSD-3-Clause" ]
MasterQ32/CoreSCM
CoreSchematic/Parser/ResolveComponentEventArgs.cs
342
C#
using FluentNHibernate.Cfg.Db; using FluentNHibernate.Testing; using Fohjin.Core.Config; using Fohjin.Core.Domain; using NUnit.Framework; namespace Fohjin.IntegrationTests.Domain_Persistence { public class PersistenceTesterContext<ENTITY> where ENTITY : DomainEntity, new() { private ...
33.645161
128
0.644295
[ "Apache-2.0" ]
Anupam-/fubumvc-contrib
samples/Fohjin/Fohjin.IntegrationTests/Domain_Persistence/PersistenceTesterContext.cs
1,043
C#
using PrzychodniaPOZ.DAL; using PrzychodniaPOZ.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace PrzychodniaPOZ { public class MvcApplication :...
25.703704
71
0.682997
[ "MIT" ]
dpetasz/ProjektZespolowy
PrzychodniaPOZ/PrzychodniaPOZ/Global.asax.cs
696
C#
using BaGet.Core; using Microsoft.EntityFrameworkCore; using MySql.Data.MySqlClient; namespace BaGet.Database.MySql { public class MySqlContext : AbstractContext<MySqlContext> { /// <summary> /// The MySQL Server error code for when a unique constraint is violated. /// </summary> ...
34.258065
94
0.676083
[ "MIT" ]
AChehre/BaGet
src/BaGet.Database.MySql/MySqlContext.cs
1,062
C#
/* * Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace SafeExamBrowser....
33.727273
137
0.727763
[ "MPL-2.0" ]
RickAllMighty8195/seb-win-refactoring
SafeExamBrowser.Communication.Contracts/Hosts/IHostObjectFactory.cs
745
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace CBAPI_Insights.API { ...
28.398936
75
0.659299
[ "MIT" ]
smarenich/CBAPI_Insights
CBAPI_Insights/CBAPI_Insights/API/Contact.cs
10,680
C#
#if XENKO_GRAPHICS_API_DIRECT3D //------------------------------------------------------------------------------ // <auto-generated> // Xenko Effect Compiler File Generated: // Effect [HandEffect] // // Command Line: D:\Xenko\sources\engine\Xenko.Graphics\Shaders.Bytecodes\..\..\..\..\sources\assets\Xenko....
234.747758
442
0.462437
[ "MIT" ]
guygodin/xenko
sources/engine/Xenko.Graphics/Shaders.Bytecodes/HandEffect.bytecode.Direct3D11.Level_11_0.cs
209,397
C#
using System.IO; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditorInternal; using RectEx; using System; namespace OneLine.Settings { [CustomEditor(typeof(Settings))] public class SettingsEditor : Editor { private const String SETTINGS...
38.633094
204
0.622533
[ "MIT" ]
Team-on/SeriousGameJam
SeriousGameJam/Assets/Plugins/one-line/Editor/Scripts/Settings/SettingsEditor.cs
5,372
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.195876
342
0.608118
[ "MIT" ]
Joey35233/FoxKit-3
FoxKit/Assets/FoxKit/Fox/Generated/Fox/Core/TransformRTEntity.generated.cs
4,287
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Forms; namespace CapsLockMacros { class LowLevelKeyboard : IDisposable { #region constants private const int KEYEVENTF_KEYUP = 0x2; private const int KEY...
29.697368
123
0.56934
[ "MIT" ]
Thomi7/CapsLockMacros
CapsLockShortcuts/LowLevelKeyboard.cs
4,516
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Net.Http; namespace Yarp.ReverseProxy.Forwarder { /// <summary> /// Config for <see cref="IHttpForwarder.SendAsync"/> /// </summary> public sealed record ForwarderRequestConfig { /// <summ...
33.12
132
0.599839
[ "MIT" ]
ScriptBox21/reverse-proxy
src/ReverseProxy/Forwarder/ForwarderRequestConfig.cs
2,484
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TietoCRM.Models { public class ExportSentOffersToExcel { } }
15.363636
40
0.745562
[ "MIT" ]
AndreasBlom/TSS
TESS/Models/ExportSentOffersToExcel.cs
171
C#
// <copyright file="EbayPurchase_Without_PurchaseFaceade_Tests.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet 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 Licens...
40.079208
155
0.624012
[ "Apache-2.0" ]
AutomateThePlanet/AutomateThePlanet-Learning-Series
dotnet/Design-Architecture-Series/FacadeDesignPattern/EbayPurchase_Without_PurchaseFaceade_Tests.cs
4,050
C#
using ApplicationCore.DTOs; using ApplicationCore.Entities; using ApplicationCore.Interfaces.Repositories; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using System.Linq.Dynamic.Core; namespace Infr...
35.865306
196
0.537612
[ "Apache-2.0" ]
lisansojib/portfolio
Infrastructure/Data/Repositories/EfRepository.cs
8,789
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace DbapyInc { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Ma...
22.217391
65
0.612524
[ "MIT" ]
ron-popov/FinalProject
Code/DbapyInc/DbapyInc/Program.cs
513
C#
using System; using System.Text; using System.Linq; using System.Collections.Generic; using Phantasma.Core; using Phantasma.Core.Log; using Phantasma.Storage; using Phantasma.Numerics; using Phantasma.VM; using Phantasma.VM.Utils; using Phantasma.Core.Types; using Phantasma.Blockchain.Contracts; using Phantasma.Cryptog...
34.834613
207
0.529829
[ "MIT" ]
sfichera/PhantasmaChain
Phantasma.Blockchain/Chain.cs
49,918
C#