content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; 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 JOGAPRAOLX { public class Program { public sta...
25.62963
70
0.644509
[ "MIT" ]
LissaDias/HackaTudo_OLX_2DLV_2021
JOGAPRAOLX/Program.cs
692
C#
using System.Collections.Generic; using Samples.Specifications.Data.Contracts.Dto; using Samples.Specifications.Data.Fake.Containers.Contracts; namespace Samples.Specifications.Data.Fake.Containers { public interface IWarehouseContainer : IDataContainer { IEnumerable<WarehouseItemDto> WarehouseItems {...
33
95
0.733586
[ "MIT" ]
dmitrybublik/Samples.Specifications.Core
Samples.Specifications.Data.Fake.Containers/WarehouseContainer.cs
794
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.239 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
40.407407
152
0.567369
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/MSConvertGUI/Properties/Settings.Designer.cs
1,093
C#
using System.Data.Common; using System.Data.Entity.Core.EntityClient; using System.Data.Entity.Infrastructure; using System.Data.SqlClient; using System.Data.SqlServerCe; using MySql.Data.MySqlClient; using Npgsql; using Oracle.ManagedDataAccess.Client; namespace WebMoney.Services.DataAccess.EF { internal class P...
29.263158
80
0.678957
[ "MIT" ]
MarketKernel/webmoney-business-tools
Src/WebMoney.Services/DataAccess.EF/ProviderFactoryResolver.cs
1,114
C#
// // Copyright 2010-2017 Deveel // // 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 applica...
30.273973
90
0.723529
[ "Apache-2.0" ]
deveel/deveeldb.core
src/DeveelDb.Core/Data/Diagnostics/ScopeExtensions.cs
2,212
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
36.456265
139
0.593671
[ "ECL-2.0", "Apache-2.0" ]
johnktims/pulumi-aws
sdk/dotnet/Ses/ReceiptRule.cs
15,421
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.AspNetCore.SignalR.Protocol; namespace Microsoft.AspNetCore.SignalR.StackExchangeRedis.Internal { ...
36.724138
111
0.690141
[ "Apache-2.0" ]
1175169074/aspnetcore
src/SignalR/server/StackExchangeRedis/src/Internal/RedisInvocation.cs
1,065
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.305556
153
0.589901
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IMuteParticipantOperationRequestBuilder.cs
1,307
C#
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Threading; using System.Threading.Tasks; namespace TypedWorkflow.Common { internal class TwContainer : ITwContainer { private readonly ObjectPool<TwContext> _factory; private readonl...
39.136095
178
0.647415
[ "MIT" ]
bopohaa/TypedWorkflow
TypedWorkflow/Common/TwContainer.cs
6,616
C#
#region License // Copyright (c) 2007 James Newton-King // // 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, /...
33.538462
90
0.699083
[ "MIT" ]
thirumg/Avro.NET
lang/dotnet/src/contrib/Json35r6/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs
2,182
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using Rebus.Activation; using Rebus.Config; using Rebus.Persistence.InMem; using Rebus.Tests.Contracts; using Rebus.Tests.Contracts.Extensions; using Rebus.Transport.InMem; #pragma warning disable 1998...
33.895833
132
0.64413
[ "MIT" ]
AndoxADX/Rebus
Rebus.Tests/Timeouts/TestInternalTimeoutManager.cs
1,629
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// Animated cursor is a c...
37.482993
148
0.586751
[ "MIT" ]
ActiveNick/HoloBot
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Cursors/AnimatedCursor.cs
5,512
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.Goog...
32.967742
173
0.727984
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Dialogflow/V2Beta1/Outputs/GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponse.cs
1,022
C#
/* MIT License Copyright (c) 2019 Jeff Campbell 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,...
32.517588
107
0.713955
[ "MIT" ]
jeffcampbellmakesgames/unity-asset-validator
Unity/Assets/JCMG/AssetValidator/Editor/Tools/ProjectTools.cs
6,473
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Muebles_JJ.Infrastructure.Data; using Muebles_JJ.Infrastructure; using Microsoft.AspNetCore.Http; using Muebles_JJ.Web.Models; using Microsoft.AspN...
36.11215
104
0.593168
[ "MIT" ]
Juancholaya/Muebles_JJ
Muebles_JJ/src/Muebles_JJ.Web/Controllers/InsumoController.cs
3,878
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Linq; using Microsoft.Practices.Unity.TestSupport; using Microsoft.Practices.Unity.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Practices.Unity.In...
42.614754
124
0.55126
[ "Apache-2.0", "MIT" ]
drcarver/unity
source/Unity.Interception/Tests/Tests.Unity.Interception/ParameterCollectionFixture.cs
5,201
C#
using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.Items.Weapons.Melee { public class CobaltZweihander : ModItem { public override void SetStaticDefaults() { DisplayName.SetDefault("Cobalt Zweihander"); Tooltip.SetDefault(""); } public override void SetDefaults() ...
24.666667
64
0.547695
[ "MIT" ]
RecursiveCollapse/tsorcRevamp
Items/Weapons/Melee/CobaltZweihander.cs
1,258
C#
using System; using System.Collections.Generic; namespace ate.Templating { public class RenderContext { public object CurrentObject { get; set; } public string CurrentDirectory { get; set; } public string CurrentFile { get; set; } public string CurrentText { get; set...
23.703704
62
0.584375
[ "MIT" ]
DavidPeterWatson/ate
src/Templating/Context.cs
640
C#
using System; using GovApi.Core.Converters; using Newtonsoft.Json; namespace GovApi.FoodDataCentral.Search { public class Food { /// <summary> /// Unique ID of the food. Pass this to the Detail endpoint /// </summary> [JsonProperty("fdcId")] public long FdcId { get; set...
34.034884
94
0.591391
[ "MIT" ]
Eonasdan/GovApi.Net
GovApi/GovApi.FoodDataCenteral/Search/Food.cs
2,929
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Text; namespace System.Net.Http.Headers { public...
35.530201
134
0.610314
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Net.Http/src/System/Net/Http/Headers/TransferCodingHeaderValue.cs
5,294
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CRM.Areas.AppPage.Controllers { public class DatosAfiliadosController : Controller { // GET: AppPage/DatosAfiliados public ActionResult Index(string RutBuscar) { ...
21
54
0.666667
[ "MIT" ]
cmunoz780/MDN
CRM/Areas/AppPage/Controllers/DatosAfiliadosController.cs
359
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.TelstraTPN.Model { /// <summary> /// /// </summary> [DataContract] public class Link66 { /// <summary> /// Identifier of a link //...
26.090909
68
0.620906
[ "Apache-2.0" ]
telstra/Programmable-Network-SDK-dotnet
src/main/CsharpDotNet2/IO/TelstraTPN/Model/Link66.cs
1,435
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SEIDR.Doc { public partial class DocSorter<G> { class sortInfoCache { public List<CacheEntry> list { get; private set; } List<int> pages = new L...
33.283784
89
0.394438
[ "MIT" ]
maron6/SEIDR
SEIDR/Doc/DocSorter.Cache.cs
4,928
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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...
38.487179
85
0.732845
[ "MIT" ]
cschleiden/outlock
WinRTLockscreen/Properties/AssemblyInfo.cs
1,504
C#
using BepuPhysics.Collidables; using BepuUtilities; using System.Numerics; namespace BepuPhysics.CollisionDetection.SweepTasks { public struct CapsulePairDistanceTester : IPairDistanceTester<CapsuleWide, CapsuleWide> { public void Test(in CapsuleWide a, in CapsuleWide b, in Vector3Wide offsetB, in Qua...
63.368421
191
0.639812
[ "Apache-2.0" ]
TraistaRafael/bepuphysics2
BepuPhysics/CollisionDetection/SweepTasks/CapsulePairDistanceTester.cs
3,614
C#
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Azure.IoTSolutions.AsaManager.Services.Diagnostics; using Microsoft.Azure.IoTSolutions.AsaManager.Services.Exceptions; usin...
36.181208
110
0.563346
[ "MIT" ]
Azure-Samples/AI-Video-Intelligence-Solution-Accelerator
pcs/services/asa-manager/Services/Runtime/ConfigData.cs
5,391
C#
using System; using System.Collections; using System.Collections.Generic; namespace Core.Linq.Memory { class Grouping<TKey,TElement> : IGrouping<TKey,TElement> { IEnumerable<TElement> elements; TKey key; internal Grouping(TKey key, IEnumerable<TElement> elements) { ...
20.411765
67
0.560519
[ "MIT" ]
HolisticWare/HolisticWare.Core.Linq
source/HolisticWare.Core.LINQ/netstandard1.1/Core/Linq/Memory/Grouping.cs
696
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; us...
58.462136
488
0.666036
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/monitor/Azure.ResourceManager.Monitor/src/Generated/DataCollectionRuleResource.cs
30,108
C#
using System; using System.Collections.Generic; using System.Text; namespace Swashbuckle.AspNetCore.Swagger.ExportExtension.Models { internal class ResponseModelInfo : BaseModelInfo { } }
18.363636
63
0.772277
[ "MIT" ]
Snuger/Swashbuckle.AspNetCore.Swagger.ExportExtension
src/Swashbuckle.AspNetCore.Swagger.ExportExtension/Models/ResponseModelInfo.cs
204
C#
// // Copyright (C) 2010 Novell Inc. http://novell.com // // 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...
40.119379
176
0.653243
[ "Apache-2.0" ]
dvmarshall/mono
mcs/class/System.Xaml/Test/System.Xaml/XamlReaderTestBase.cs
98,132
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 JetBrains.Annotations; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle...
34.724138
92
0.744786
[ "MIT" ]
AlitzelMendez/arcade-services
src/Maestro/Microsoft.AspNetCore.ApiVersioning.Swashbuckle/VersioningOperationFilter.cs
1,007
C#
using System; using Machine.Fakes; using Machine.Specifications; namespace SpeakEasy.Specifications { [Subject(typeof(ResourceMerger))] class ResourceMergerSpecs : WithSubject<ResourceMerger> { static Resource resource; static Resource merged; static Exception exception; ...
32.287879
108
0.533787
[ "Apache-2.0" ]
hhansell/SpeakEasy
src/SpeakEasy.Specifications/ResourceMergerSpecs.cs
4,262
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayFinancialnetAuthEcsignDataprepareCreateModel Data Structure. /// </summary> [Serializable] public class AlipayFinancialnetAuthEcsignDataprepareCreateModel : AopObject { /// <summa...
25.328358
80
0.494991
[ "Apache-2.0" ]
alipay/alipay-sdk-net
AlipaySDKNet.Standard/Domain/AlipayFinancialnetAuthEcsignDataprepareCreateModel.cs
1,801
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.DocAsCode.DataContracts.Common { using System; using Newtonsoft.Json; using YamlDotNet.Serialization; [Serializable] public cl...
28.857143
101
0.644554
[ "MIT" ]
ghuntley/docfx
src/Microsoft.DocAsCode.DataContracts.Common/SpecViewModel.cs
1,010
C#
using mouse_keyboard_bot.App; using mouse_keyboard_bot.HostActions; using mouse_keyboard_bot.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace mouse_keyboard_bot.Recorder { public class Replier { ...
25.87931
86
0.519654
[ "MIT" ]
Aknilam/mouse-keyboard-bot
mouse-keyboard-bot/Recorder/Replier.cs
1,503
C#
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; namespace DumpDiag.Impl { internal static class DotNetToolFinder { internal static bool TryFind( string toolName, [NotNullWhen(true)] out string? executablePath, [NotNullWhen(fa...
33.73913
148
0.545747
[ "MIT" ]
kevin-montrose/DumpDiag
DumpDiag/Impl/DotNetToolFinder.cs
1,554
C#
using System.Collections.Generic; using System.Diagnostics; using System.IO; using UnityEngine; public class SceneSerializer : MonoBehaviour { private void Start() { StartCoroutine(DelayedStart()); } private IEnumerator<YieldInstruction> DelayedStart() { yield return new WaitForSeconds(1); ...
20.47619
109
0.627907
[ "MIT" ]
willem88836/ktanemodkit
Assets/Mods/GenericScripts/SceneSerializer.cs
1,292
C#
using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayMobileShakeUserQueryResponse. /// </summary> public class AlipayMobileShakeUserQueryResponse : AlipayResponse { /// <summary> /// 对应的业务信息 /// </summary> [JsonProp...
23.914286
68
0.537634
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayMobileShakeUserQueryResponse.cs
915
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...
26.2625
104
0.589243
[ "Apache-2.0" ]
woellij/aws-sdk-net
sdk/src/Services/StepFunctions/Generated/AmazonStepFunctionsConfig.cs
2,101
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.Data.Tests { public class FacadeTest { [Theory] [InlineData("Microsoft.SqlServer.Server.SqlMetaData")] // Type from System.Data...
32.7
97
0.666667
[ "MIT" ]
71221-maker/runtime
src/libraries/System.Data.Common/tests/System/Data/FacadeTest.cs
654
C#
using BrightstarDB.EntityFramework; namespace BrightstarDB.Portable.Tests.EntityFramework.Model { [Entity] public interface IIdentityClashTest { string Id { get; } } [Entity] public interface IIdentityClashTestLevel1 : IIdentityClashTest { //[Identifier] //string M...
19.038462
72
0.634343
[ "MIT" ]
rajcybage/BrightstarDB
src/portable/Test/BrightstarDB.Portable.Store.Tests/EntityFramework/Model/IIdentityClashTest.cs
497
C#
using System.Collections.Generic; using Tonsil.Files; namespace Tonsil.Processes.Downloaders { public class Esentutl : Downloader { public override string ImagePath { get; } = @"c:\windows\system32\esentutl.exe"; public override List<FilePathType> ValidSourcePathTypes { get; } = new List<File...
47.176471
163
0.685786
[ "MIT" ]
CreatePhotonW/tonsil
Tonsil/Processes/Downloaders/Esentutl.cs
804
C#
using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace FreeSql.Tests.Odbc.SqlServerExpression { [Collection("SqlServerCollection")] public class StringTest { ISelect<Topic> select => g.sqlserver.Select<Topic>(); [Table(Name...
54.274914
168
0.516652
[ "MIT" ]
Coldairarrow/FreeSql
FreeSql.Tests/FreeSql.Tests.Provider.Odbc/SqlServer/SqlServerExpression/StringTest.cs
15,794
C#
using System; using System.Linq; namespace OddFilter { class Program { static void Main(string[] args) { int[] nums = Console.ReadLine() .Split() .Select(int.Parse) .Where(num => num % 2 == 0) .ToArray(); ...
20.315789
54
0.382124
[ "MIT" ]
MartsTech/IT-Career
02. Programming/07 - Dictionaries-and-hash-tables/30. Lambda expressions and dictionaries/02. OddFilter/Program.cs
774
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
39.756098
161
0.641411
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/Internal/MarshallTransformations/ModifyCacheSubnetGroupRequestMarshaller.cs
3,260
C#
 // BlastCommand.cs // Copyright (c) 2014+ by Michael Penner. All rights reserved. using System.Diagnostics; using Eamon.Game.Attributes; using EamonRT.Framework.Commands; using EamonRT.Framework.Primitive.Enums; using static StrongholdOfKahrDur.Game.Plugin.PluginContext; namespace StrongholdOfKahrDur.G...
24.017241
143
0.687724
[ "MIT" ]
skyhoshi/Eamon-CS
Adventures/StrongholdOfKahrDur/Game/Commands/Interactive/BlastCommand.cs
1,338
C#
using System; using System.Collections.Generic; using System.Linq; using PlayMe.Common.Model; using PlayMe.Plumbing.Diagnostics; using PlayMe.Server.Interfaces; using PlayMe.Server.PlayMeCallbackServiceReference; namespace PlayMe.Server { public class CallbackClient : ICallbackClient { private readonl...
27.333333
90
0.52439
[ "MIT" ]
Jono120/PlayMe
PlayMe.Server/CallbackClient.cs
1,806
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace UOP1.StateMachine.ScriptableObjects { [CreateAssetMenu(fileName = "New Transition Table", menuName = "State Machines/Transition Table")] public class TransitionTableSO : ScriptableObject { [SerializeField] private Tra...
30.545455
132
0.720569
[ "Apache-2.0" ]
Alan-mag/open-project-1
UOP1_Project/Assets/Scripts/StateMachine/ScriptableObjects/TransitionTableSO.cs
3,026
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 Balivo.AppCenterClient.Models { using Newtonsoft.Json; using System.Linq; public partial class ErrorRetenti...
27.433962
90
0.584594
[ "MIT" ]
balivo/appcenter-openapi-sdk
generated/Models/ErrorRetentionSettings.cs
1,454
C#
using System; class FormatNumber { static void Main() { int number =int.Parse(Console.ReadLine()); Console.WriteLine("{0,15:D}",number);// Decimal number Console.WriteLine("{0,15:X}",number);// Hexadecimal number Console.WriteLine("{0,15:P}",number);// Percentage Cons...
21.611111
67
0.606684
[ "MIT" ]
DanielaIvanova/04.CSharp-Advanced
06. StringsAndTextProcessing/11.FormatNumber/FormatNumber.cs
391
C#
using System; using System.Collections.Generic; using System.Text; namespace Arrest.Internals { public class RestClientEventArgs : EventArgs { public readonly RestCallData CallData; internal RestClientEventArgs(RestCallData callData) { CallData = callData; } } public class RestClientEvents {...
34.277778
80
0.767423
[ "MIT" ]
rivantsov/arrest
Arrest/Internals/RestClientEvents.cs
1,236
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Innovator.Client; using System.ComponentModel; using Microsoft.VisualBasic; namespace InnovatorAdmin.Scripts { [DisplayName("Generate CT+ Class"), Description("Generate a CT+ class file for the ...
48.770903
303
0.600343
[ "MIT" ]
GCAE/InnovatorAdmin
InnovatorAdmin/Scripts/GenerateCtClass.cs
29,167
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace MailChimp.Lists { [DataContract] public class StaticSegmentMembersAddResult { /// <summary> /// the total number of successful updates (will include members already in the segment) /// </summary...
22.2
96
0.531532
[ "MIT" ]
IDisposable/MailChimp.NET
MailChimp/Lists/StaticSegmentMembersAddResult.cs
668
C#
using FlashpackerFlights.Core.Interfaces.Persistance; using FlashpackerFlights.Core.Model; using Solution.Base.Interfaces.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlashpackerFlights.Core.Interfaces.Services { public int...
22.882353
60
0.791774
[ "MIT" ]
davidikin45/DigitalNomadDave
DND.Core/Interfaces/Services/ICityService.cs
391
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BikeSharing.Clients.Core.Models.Dashboard { public class Trends { public string Age1 { get; set; } public string Age2 { get; set; } public string AgeRange { ge...
20.684211
53
0.648855
[ "MIT" ]
SowmyaA/DellI
src/BikeSharing.Clients.Core/Models/Dashboard/Trends.cs
395
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace W...
36.778846
185
0.556863
[ "MIT" ]
Lapig/WzComparerR2
WzComparerR2.Avatar/Properties/Resources.Designer.cs
4,263
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Xml; using System.Linq; using ICSharpCode.SharpZipLib.Zip; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Packaging; using umbraco.cms.businesslogic.web; using umbraco.cms...
45.424501
233
0.561277
[ "MIT" ]
AdrianJMartin/Umbraco-CMS
src/umbraco.cms/businesslogic/Packager/Installer.cs
31,888
C#
//----------------------------------------------------------------------- // <copyright file="BlobWriteStreamBase.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
38.26183
192
0.573172
[ "Apache-2.0" ]
asorrin-msft/azure-storage-net
Lib/Common/Blob/BlobWriteStreamBase.cs
12,131
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V28.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V28.Segment{ ///<summary> /// Represents an HL7 DB1 message segment. /// This segment has the following fields:<ol> ///<li>DB1-1: Set ID - DB1 (SI)</li> ///<li>...
32.97786
121
0.662638
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V28/Segment/DB1.cs
8,937
C#
// /******************************************************** // * * // * Copyright (C) Microsoft. All rights reserved. * // * Licensed under the MIT license. * // * * // ***********...
33.1
90
0.437059
[ "Apache-2.0" ]
00mjk/KqlTools
Source/Rx.Kql/Functions/StrlenFunction.cs
995
C#
// ----------------------------------------------------------------------- // <copyright file="GetCustomerSkus.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Microsoft.Stor...
42.219512
171
0.601386
[ "MIT" ]
Bhaskers-Blu-Org2/Partner-Center-DotNet-Samples
sdk/SdkSamples/CustomerProducts/GetCustomerSkus.cs
1,733
C#
using System; namespace ColorHelper { public static partial class ColorGenerator { public static T GetRandomColor<T>() where T: IColor { return GetRandomColor<T>(GetColorFilter(ColorThemesEnum.Default)); } public static T GetLightRandomColor<T>() where T : IColor ...
33.314815
131
0.538633
[ "MIT" ]
DenisMtfl/ColorHelper
ColorHelper/Generator/ColorGenerator.cs
3,600
C#
using Microsoft.Toolkit.Mvvm.ComponentModel; using Microsoft.Toolkit.Mvvm.Input; using Snap.Core.DependencyInjection; using Snap.Net.Afdian; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Input; namespace DGP.Genshin.ViewModel { [ViewModel(InjectAs.Transient)] internal cl...
28.313725
100
0.59903
[ "MIT" ]
uranium2333/Snap.Genshin
DGP.Genshin/ViewModel/SponsorViewModel.cs
1,446
C#
// Copyright (c) 2012 Markus Jarderot // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; namespace AndroidXml.Res { /// <summary> /// Not sure this class is correct, since the original code dealing /// with this is ...
28.978261
92
0.473868
[ "Apache-2.0" ]
Ticomware/AstoriaUWP
AndroidXmlBackup/Res/ResTable_map.cs
4,001
C#
namespace Dfc.CourseDirectory.FindACourseApi.Features.CourseRunDetail { public class RegionViewModel { public string RegionId { get; set; } public string Name { get; set; } } }
22.888889
70
0.669903
[ "MIT" ]
SkillsFundingAgency/dfc-coursedirectory
src/Dfc.CourseDirectory.FindACourseApi/Features/CourseRunDetail/RegionViewModel.cs
208
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DualMonitor.Controls; using System.Drawing; namespace DualMonitor.Entities { public class ProcessGroup : List<BaseTaskbarButton> { public Rectangle GetBounds() { var buttons = this.Where(tb ...
31.163265
104
0.600524
[ "MIT" ]
zhanghb1994/DualMonitorTaskbar
DualMonitorSolution/Entities/ProcessGroup.cs
1,529
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.Entities { public class Customer { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public st...
23.526316
49
0.635347
[ "MIT" ]
mirusser/Learning-dontNet
src/RepoPatternRedisHangfireDemo/Core/Entities/Customer.cs
449
C#
using System; using System.Collections.Generic; using System.Linq; using Nop.Core; using Nop.Core.Caching; using Nop.Core.Data; using Nop.Core.Domain.Catalog; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Security; using Nop.Services.Events; namespace Nop.Services.Security { /// <summary> /// ACL serv...
32.77907
112
0.561547
[ "MIT" ]
andri0331/cetaku
Libraries/Nop.Services/Security/AclService.cs
8,457
C#
using System; namespace EasyNetQ { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false)] public class QueueAttribute : Attribute { internal static readonly QueueAttribute Default = new QueueAttribute(null); public QueueAttribute(string queueName) ...
24.35
96
0.661191
[ "MIT" ]
LegitSecurity/EasyNetQ
Source/EasyNetQ/QueueAttribute.cs
487
C#
using System; namespace FactoryPattern { public class Circle : IShape { public void Draw() { Console.WriteLine("Drawing a circle"); } } }
14.461538
50
0.537234
[ "MIT" ]
Divya1384/designpatterns
Creational/FactoryPattern/Circle.cs
190
C#
using System; using System.Collections.Generic; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class WidgetImpl { [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_WidgetImpl_SWIG...
72.454545
258
0.788234
[ "Apache-2.0" ]
dalinui/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.WidgetImpl.cs
7,175
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using System; using System.Linq; namespace MvcCustomRouting.Mvc { public static class FeatureRoutingExtensions { public static ControllerActionEndpointConventionBuilder MapFeatureCon...
35.08
114
0.63854
[ "MIT" ]
jasselin/MvcCustomRouting
MvcCustomRouting/Mvc/FeatureRoutingExtensions.cs
1,756
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.16129
151
0.578848
[ "MIT" ]
W-angler/Biba
Biba/Properties/Settings.Designer.cs
1,061
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...
32.296774
105
0.554535
[ "Apache-2.0" ]
Spinks90/YAFNET
yafsrc/YetAnotherForum.NET/Dialogs/ReplaceWordsEdit.ascx.cs
4,855
C#
using System; namespace Alturos.Yolo.Model { internal class YoloTrackingItemExtended : YoloItem { public string ObjectId { get; } public int ProcessIndex { get; set; } public double TrackingConfidence { get; private set; } public YoloTrackingItemExtended(YoloItem ite...
22.571429
71
0.504219
[ "MIT" ]
AlgirdasKartavicius/Yolo.Net
src/Alturos.Yolo/Model/YoloTrackingItemExtended.cs
950
C#
using System.Globalization; using IbanNet.Registry.Patterns; namespace IbanNet.Registry.Swift { public class SwiftPatternTokenizerTests { private readonly SwiftPatternTokenizer _sut; public SwiftPatternTokenizerTests() { _sut = new SwiftPatternTokenizer(); } #if !...
33.580247
153
0.559926
[ "Apache-2.0" ]
French-Coders-Organization/IbanNet
test/IbanNet.Tests/Registry/Swift/SwiftPatternTokenizerTests.cs
2,722
C#
using System.Net; namespace Payabbhi.Error { public class SignatureVerificationError : BaseError { public SignatureVerificationError(string description, string field, PayabbhiResponse payabbhiResponse, HttpStatusCode httpStatusCode = HttpStatusCode.Unused) :base(description, field, payabbhi...
32.363636
165
0.764045
[ "MIT" ]
paypermint/payabbhi-dotnet-1
src/Errors/SignatureVerificationError.cs
356
C#
using CreateVmSample.Common; using Microsoft.Azure.Management.Profiles.hybrid_2019_03_01.Compute; using Microsoft.Azure.Management.Profiles.hybrid_2019_03_01.Network; using Microsoft.Azure.Management.Profiles.hybrid_2019_03_01.ResourceManager; using Microsoft.Azure.Management.Profiles.hybrid_2019_03_01.ResourceManage...
40.120968
146
0.583786
[ "MIT" ]
aasahu-msft/azure-stack-edge-deploy-vms
dotnetSamples/LocalArm/CreateVmSample/CreateVmSample/Program.cs
14,927
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace izBackend.Models.Common { public class APIResponse<T> : ActionResult { public bool Success { get; set; } public string m...
22.081395
57
0.485519
[ "MIT" ]
izzatshehadeh/automatic-pancake
izBackend/Models/Common/APIResponse.cs
1,901
C#
using System.Threading.Tasks; using Microsoft.Identity.Client; namespace AP.AzureADAuth.Services { internal interface IAuthenticationService { Task<AuthenticationResult> LoginAsync(); Task<AuthenticationResult> LoginSilentAsync(); Task LogoutAsync(); } }
19.666667
54
0.715254
[ "MIT" ]
AvantiPoint/AP.AzureADAuth
src/AP.AzureADAuth/Services/IAuthenticationService.cs
297
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Mettle.Sdk; using Xunit.Abstractions; using Xunit.Sdk; namespace Mettle { /// <summary> /// The default <see cref="IServiceProvider" /> implementation that ships ...
35.564912
139
0.54854
[ "MIT" ]
nerdymishka/home-lab
nmfx/Mettle/src/SimpleServiceProvider.cs
10,136
C#
/* * ETML * Clément Sartoni * 22.03.2021 * Projet P_OO-Smart-Thésaurus * Form d'héritage représentant toutes les vues. */ using System.Windows.Forms; using P_Thesaurus.Controllers; namespace P_Thesaurus.Views { /// <summary> /// View that reproups all the common fields and methods of the views /// <...
25.108108
94
0.594187
[ "MIT" ]
Mathias-ETML/P_OO_Thesaurus
P_Thesaurus/Views/BaseView.cs
937
C#
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.IO; using System.Windows.Forms; using System.Xml; using System.Xml.Serialization; using SqlWrangler.Properties; namespace SqlWrangler { public partial class FrmMain : Form { public IDbConnection Conn...
28.36129
111
0.432439
[ "MIT" ]
dshifflet/SqlWrangler
SqlWrangler/SqlWrangler/FmMain.cs
4,398
C#
/* RecordField.cs - поле библиографической записи * Ars Magna project, http://arsmagna.ru */ #region Using directives using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Xml.Serialization; using Newtonsoft.Json; #endregion ...
27.855735
81
0.409657
[ "MIT" ]
amironov73/ManagedClient.3
ManagedClient/RecordField.cs
32,428
C#
using Discord.Audio; using System.Threading.Tasks; namespace Discord { /// <summary> /// Represents a generic audio channel. /// </summary> public interface IAudioChannel : IChannel { /// <summary> /// Gets the RTC region for this audio channel. /// </summary> ...
37.375
109
0.59398
[ "MIT" ]
XenotropicDev/Discord.Net-Labs
src/Discord.Net.Core/Entities/Channels/IAudioChannel.cs
1,495
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.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Glob...
46.141921
157
0.595703
[ "MIT" ]
Roibal/corefx
src/System.Net.HttpListener/src/System/Net/WebSockets/WebSocketHelpers.cs
21,133
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
44.848101
137
0.593283
[ "MIT" ]
ChimpPACS/dicom-server
src/Microsoft.Health.Dicom.Operations/Indexing/QueryTagIndexingOptions.cs
3,545
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("MatchNumbers")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assem...
36.222222
82
0.742331
[ "MIT" ]
nikolayvutov/CSharp
08.RegEx/MatchNumbers/Properties/AssemblyInfo.cs
980
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace TestAPI.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Collection<...
25.619048
80
0.674721
[ "MIT" ]
OasesOng/TestVS
TestAPI/TestAPI/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
538
C#
using MindKeeper.Domain.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace MindKeeper.Api.Services.Domains { public interface IDomainService { Task<List<DomainEntity>> GetAll(); } }
19.75
42
0.738397
[ "MIT" ]
vashov/mindkeeper-api
Source/MindKeeper.Api/Services/Domains/IDomainService.cs
239
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.288889
153
0.619097
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IGroupMemberOfCollectionWithReferencesRequestBuilder.cs
1,948
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
50.166667
80
0.745293
[ "BSD-3-Clause" ]
mdickson/opensim
OpenSim/Services/Interfaces/IBakedTextureService.cs
1,806
C#
using UIKit; namespace SaveImageToDatabaseSampleApp.iOS { public class Application { static void Main(string[] args) => UIApplication.Main(args, null, nameof(AppDelegate)); } }
19.9
95
0.693467
[ "MIT" ]
CSharped/SaveImageToDatabaseSampleApp
SaveImageToDatabaseSampleApp.iOS/Main.cs
201
C#
using System; using System.Collections.Generic; using System.Linq; namespace CountOfOccurrences { class StartUp { static void Main() { var numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToArray(); var list = new int[1000];...
20.151515
71
0.4
[ "MIT" ]
SonicTheCat/Data-Structures
02.Linear Data Structures Lists - Exercise/05.01.CountOfOccurrences/StartUp.cs
667
C#
 #region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. 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 // // ...
44.346154
107
0.647875
[ "MIT" ]
2E0PGS/Emby.Plugins
MediaBrowser.Plugins.Lastfm/Providers/MoreEnumerable.cs
4,614
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("Re...
38.297297
84
0.747354
[ "MIT" ]
erenken/redfieldweather
RedfieldWeather/RedfieldWeather.Common/Properties/AssemblyInfo.cs
1,420
C#
namespace Xamarin.iOS.Tasks { public class CompileEntitlements : CompileEntitlementsTaskBase { } }
14.714286
63
0.786408
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
msbuild/Xamarin.iOS.Tasks/Tasks/CompileEntitlements.cs
105
C#
using System; using System.Collections.Generic; using System.IO; using ApprovalTests.Reporters; using Exceptionless.Api.Tests.Utility; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models; using Exceptionless.Core.Plugins.Formatting; using Newtonsoft.Json; using Xunit; namespace Exceptionless.Api.Test...
36.309524
132
0.59082
[ "Apache-2.0" ]
ToddZhao/Exceptionless
Source/Tests/Plugins/SummaryDataTests.cs
3,052
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.KeyVault.Fluent { using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; usin...
44.705584
249
0.647326
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/KeyVault/Domain/InterfaceImpl/SecretImpl.cs
8,807
C#
using System.Windows.Documents; namespace DaveSexton.XmlGel.Maml.Documents.Visitors { internal sealed class FlowDocumentToReferenceWithSyntaxDocumentVisitor : FlowDocumentToMamlVisitor { public FlowDocumentToReferenceWithSyntaxDocumentVisitor(FlowDocument flowDocument, MamlDocument document) : base(flowDocumen...
28.75
107
0.831884
[ "Apache-2.0" ]
RxDave/XMLGel
Source/DaveSexton.XmlGel/MAML/Documents/Visitors/FlowDocumentToReferenceWithSyntaxDocumentVisitor.cs
347
C#