content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Se...
41.8
84
0.780861
[ "BSD-3-Clause" ]
augustoproiete-forks/ServiceStack--ServiceStack.OrmLite
src/ServiceStack.OrmLite.MySql.Tests/Properties/AssemblyInfo.cs
1,048
C#
using System; using System.Linq; using System.Diagnostics; using DataStructures.Graphs; namespace C_Sharp_Algorithms.DataStructuresTests { public static class Graphs_UndirectedWeightedSparseGraphTest { public static void DoTest() { var graph = new UndirectedWeightedSparseGraph<str...
47.108247
125
0.540212
[ "MIT" ]
JUNLAN2015/DataStructure
MainProgram/DataStructuresTests/Graphs_UndirectedWeightedSparseGraphTest.cs
9,141
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...
32.947368
196
0.685836
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudSearch/Generated/Model/BuildSuggestersRequest.cs
1,878
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...
39.292453
140
0.583673
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/NetApp/V20200501/SnapshotPolicy.cs
8,330
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.RenderTree; using Microsof...
44.203704
151
0.534562
[ "Apache-2.0" ]
303248153/AspNetCore
src/Components/Components/test/PageDisplayTest.cs
11,935
C#
using System; using Util.Datas.Queries; using Util.Datas.Sql.Builders; namespace Util.Datas.Sql { /// <summary> /// From子句扩展 /// </summary> public static partial class Extensions { /// <summary> /// 内连接 /// </summary> /// <param name="source">源</param> /// <para...
39.239837
130
0.532995
[ "MIT" ]
12321/Util
src/Util.Datas/Sql/Extensions.IJoin.cs
10,389
C#
using UnityEngine.Events; using UnityEngine.Serialization; namespace CustomAvatar { public class EveryNthComboFilter : EventFilterBehaviour { public int ComboStep = 50; public UnityEvent NthComboReached; private void OnEnable() { EventManager.OnComboChanged.AddListener(OnComboStep); } private void ...
18.833333
62
0.718781
[ "MIT" ]
Assistant/CustomAvatarsPlugin
CustomAvatar/EventFilters.cs
1,019
C#
namespace StyleChecker.Spacing.NoSingleSpaceAfterTripleSlash { using System; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; usi...
31.959459
79
0.513319
[ "BSD-2-Clause" ]
MatthewL246/StyleChecker
StyleChecker/StyleChecker/Spacing/NoSingleSpaceAfterTripleSlash/Analyzer.cs
7,095
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.Linq; using NuGet.Server.Infrastructure; namespace NuGet.Server.DataServices { public class PackageContext { private read...
28.366667
112
0.599295
[ "ECL-2.0", "Apache-2.0" ]
MerickOWA/NuGet.Server
src/NuGet.Server/DataServices/PackageContext.cs
851
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.893443
123
0.554877
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-kafka
sdk/dotnet/Acl.cs
9,002
C#
using System; using System.Collections.Generic; using DSIS.CellImageBuilder.Shared; using DSIS.Scheme.Ctx; using DSIS.Scheme.Impl.Actions.Files; using DSIS.Utils; namespace DSIS.Scheme.Impl.Actions.Console { public class DumpMethodAction : IntegerCoordinateSystemActionBase2 { protected override ICol...
33.541667
116
0.72795
[ "Apache-2.0" ]
jonnyzzz/phd-project
dsis/src/Scheme.Impl.Tests/src/Actions/Console/DumpMethodAction.cs
805
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System.Runtime.Serialization; namespace Microsoft.WindowsAzurePack.ApiClients.DataContracts { /// <summary> /// Usag...
25.964286
88
0.502063
[ "MIT" ]
Bhaskers-Blu-Org2/dpm2012r2wap
AzurePackClient/DataContracts/UsageEventType.cs
1,456
C#
 /*=================================================================================== * * Copyright (c) Userware/OpenSilver.net * * This file is part of the OpenSilver Runtime (https://opensilver.net), which is * licensed under the MIT license: https://opensource.org/licenses/MIT * * As stated in th...
26.908163
88
0.54873
[ "MIT" ]
Barjonp/OpenSilver
src/Runtime/Runtime/System.Windows.Data/PropertyPathNode.cs
2,639
C#
using System; using System.Configuration; using System.IO; using System.Net; using System.Net.Http; using System.Xml.Linq; using Kudu.Client.Infrastructure; using Kudu.Core.Infrastructure; namespace Kudu.TestHarness { public class KuduUtils { public static void DownloadDump(string serviceUrl, string z...
33.352518
142
0.552416
[ "Apache-2.0" ]
AzureMentor/kudu
Kudu.TestHarness/KuduUtils.cs
4,638
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace book_manager_app { public class Program { publ...
25.851852
70
0.647564
[ "MIT" ]
yyaddaden/asp.net-intro-demo
book-manager-app/book-manager-app/Program.cs
698
C#
using Felinesoft.UmbracoCodeFirst; using Felinesoft.UmbracoCodeFirst.ContentTypes; using Felinesoft.UmbracoCodeFirst.DataTypes; using Felinesoft.UmbracoCodeFirst.DataTypes.BuiltIn; using Felinesoft.UmbracoCodeFirst.Attributes; using Felinesoft.UmbracoCodeFirst.Extensions; using System.Linq; using System.Text; using Sy...
28.761905
114
0.663907
[ "MIT" ]
DanMannMann/UmbracoCodeFirst
Felinesoft.UmbracoCodeFirst.TestTarget/types/DataTypes/GoogleMap.cs
1,208
C#
using System; using System.Collections.Generic; using System.Linq; namespace Telerik.Data.Core.Layouts { internal class CompactLayout : BaseLayout { internal Dictionary<object, GroupInfo> itemInfoTable = new Dictionary<object, GroupInfo>(); internal IndexToValueTable<bool> collapsedSlotsTable;...
37.378286
208
0.530453
[ "Apache-2.0" ]
HaoLife/Uno.Telerik.UI-For-UWP
Controls/DataControls/DataControls.UWP/ListView/Layout/CompactLayout.cs
32,708
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Games.GrumpyBear.LevelManagement { [CreateAssetMenu(menuName = "Grumpy Bear Games/Level Management/Location Manager")] public class LocationManager: ScriptableObject { public st...
36.821429
115
0.732299
[ "Apache-2.0" ]
Grumpy-Bear-Games/Unity-Level-Management
RunTime/LocationManager.cs
1,031
C#
using System.Collections.Generic; using Binance.API.Csharp.Client.Models.Market; namespace Binance.API.Csharp.Client.Models.WebSocket { public class DepthMessage : IWebSocketMessage { public string EventType { get; set; } public long EventTime { get; set; } public string Symbol { get; ...
33.333333
61
0.67
[ "MIT" ]
Rastorguev/Binance.API.Csharp.Client
Binance.API.Csharp.Client.Models/WebSocket/DepthMessage.cs
502
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using HomeAccounting.Data.Base; using HomeAccounting.Data.Context; using HomeAccounting.Data.Entities; using HomeAccounting.Data.Extensions; using HomeAccounting.Data.Interfaces; using Microsoft.EntityFrameworkCo...
43.794872
147
0.721897
[ "MIT" ]
PainkillerFS/home-accounting-backend
HomeAccounting.Data/Repositories/CurrenciesRepository.cs
1,710
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
25.487805
85
0.723445
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Iotcore/Apis/SetDevicePropertyResponse.cs
1,067
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Dul.Tests { [TestClass] public class SqlUtilityTest { [TestMethod] public void EncodeSqlStringTest() { Console.WriteLine(SqlUtility.EncodeSqlString("@'_%")); } } }
18.875
66
0.625828
[ "MIT" ]
VisualAcademy/Dul
Dul.Tests/03_String/SqlUtilityTest.cs
304
C#
using System; using JetBrains.Annotations; using UnityEngine; namespace FlexiTween.Extensions { public static class TransformExtensions { public static Config<Vector3> TweenPosition([NotNull] this Transform transform) { if (transform == null) throw new ArgumentNullException("transf...
33.888889
95
0.610929
[ "MIT" ]
russelljahn/FlexiTween
FlexiTween/Assets/FlexiTween/Extensions/TransformExtensions.cs
1,832
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using JsonApiDotNetCore.Resources; using RightType = System.Type; namespace JsonApiDotNetCore.Hooks.Internal.Traversal { /// <summary> /// Child node in the tree /// </summary> /// <typeparam name="TResource"></typeparam> ...
40.47619
145
0.612647
[ "MIT" ]
DumpsterDoofus/JsonApiDotNetCore
src/JsonApiDotNetCore/Hooks/Internal/Traversal/ChildNode.cs
3,400
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("Bin...
39.135135
84
0.752072
[ "Apache-2.0" ]
ColossusFX/binance-client-websocket
test_integration/Binance.Client.Websocket.Sample.WinForms/Properties/AssemblyInfo.cs
1,451
C#
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ma...
31.349693
103
0.562818
[ "Apache-2.0" ]
Bhaskers-Blu-Org2/CSharpClient-for-Kafka
src/KafkaNET.Library/ZooKeeperIntegration/Events/DataChangedEventItem.cs
5,112
C#
using System; namespace JustERP.Authentication.External { public class ExternalLoginProviderInfo { public string Name { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public Type ProviderApiType { get; set; } public Externa...
24.416667
113
0.62116
[ "MIT" ]
linqtosql/JustERP
aspnet-core/src/JustERP.Web.Core/Authentication/External/ExternalLoginProviderInfo.cs
588
C#
using System.Collections.Generic; using Alipay.AopSdk.Core.Response; namespace Alipay.AopSdk.Core.Request { /// <summary> /// AOP API: koubei.quality.test.cloudacpt.checkresult.submit /// </summary> public class KoubeiQualityTestCloudacptCheckresultSubmitRequest : IAopRequest<KoubeiQualityTestCloudacptCheckr...
18.122951
119
0.708277
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Request/KoubeiQualityTestCloudacptCheckresultSubmitRequest.cs
2,229
C#
using System; using System.Collections.Generic; using System.Linq; namespace com.csutil.progress { public class ProgressManager { public static void SetupSingleton() { var pm = new ProgressManager(); IoC.inject.SetSingleton(pm); // Enable that pm reacts to injection r...
43.758242
121
0.636364
[ "Apache-2.0" ]
cs-util-com/cscore
CsCore/PlainNetClassLib/src/Plugins/CsCore/com/csutil/logging/progress/ProgressManager.cs
3,984
C#
namespace Norml.Repositories.Constants { public static class Tables { public const string CategoryTypes = "dbo.CategoryTypes"; public const string CategoryTypeNames = "dbo.CategoryTypeNames"; public const string Locales = "dbo.Locales"; public const string ContentArticles = "dbo...
55.772727
84
0.701711
[ "MIT" ]
joncrump/norml
Libraries/Repositories/TightlyCurly.Com.Repositories/Constants/Tables.cs
2,456
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
43.535433
119
0.626696
[ "Apache-2.0" ]
SNBnani/Xian
ImageServer/Core/Reconcile/InsertOrUpdateEntryCommand.cs
5,529
C#
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
31.227926
122
0.734745
[ "MIT" ]
JLA02/Torque2D
editor/AssetAdmin/AssetInspector.cs
15,208
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text; using System.Threading.Tasks; namespace Discord.Commands { internal static class CommandParser { private enum ParserPart { None, Parameter, QuotedParameter...
40.378947
225
0.469108
[ "MIT" ]
AndyDingo/Discord.Net
src/Discord.Net.Commands/CommandParser.cs
7,674
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespa...
52.63925
451
0.601606
[ "MIT" ]
fhoering/autorest
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/Lro/LRORetrysOperations.cs
73,038
C#
using Incoding.Core.Block.Scheduler.Command; using Incoding.Core.Block.Scheduler.Persistence; using Incoding.Core.Block.Scheduler.Query; using Incoding.Core.Extensions; namespace Incoding.UnitTest { #region << Using >> using System; using Incoding.UnitTests.MSpec; using Machine.Specifications; us...
63.436893
241
0.392256
[ "Apache-2.0" ]
Incoding-Software/Incoding-Framework-Core
src/Incoding.UnitTestsCore/Block/Scheduler Factory/When_change_delay_to_schedule_to_success.cs
6,536
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EXE { class exe { static void Main(string[] args) { } } }
13.764706
39
0.594017
[ "MIT" ]
NedkoNedevv/Fundamentals
Exercises Array and List Algorithms/EXE/exe.cs
236
C#
namespace PlayersBay.Web.Areas.Administrator.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using PlayersBay.Web.Controllers; [Area("Administrator")] [Authorize(Roles = Common.GlobalConstants.AdministratorRoleName)] public class AdministratorController ...
27
69
0.754986
[ "MIT" ]
simeeon/PlayersBay
src/Web/PlayersBay.Web/Areas/Administrator/Controllers/AdministratorController.cs
353
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementAndStatementStatementOrStatementStatementXssMatchStatementFieldToMatchBody")] public class Wafv2RuleGroupRuleStatementAndStatementStatementOrStatementStatementXssMat...
39.25
227
0.876858
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementAndStatementStatementOrStatementStatementXssMatchStatementFieldToMatchBody.cs
471
C#
using System; using System.Collections.Generic; using Mirage.Logging; using Mirage.Serialization; using UnityEngine; namespace Mirage { public class MessageHandler : IMessageReceiver { static readonly ILogger logger = LogFactory.GetLogger(typeof(MessageHandler)); readonly bool disconnectOnExce...
42
176
0.588342
[ "MIT" ]
SoftwareGuy/Mirage
Assets/Mirage/Runtime/MessageHandler.cs
6,090
C#
using Bearded.Graphics.Textures; using OpenTK.Graphics.OpenGL; namespace Bearded.Graphics.RenderSettings { public sealed class ArrayTextureUniform : Uniform<ArrayTexture> { public TextureUnit Unit { get; } public ArrayTextureUniform(string name, TextureUnit unit, ArrayTexture texture) ...
25.25
87
0.620462
[ "MIT" ]
amulware/awgraphics
Bearded.Graphics/Core/RenderSettings/ArrayTextureUniform.cs
606
C#
// Copyright 2022 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 ...
45.753846
156
0.694351
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Metastore.V1Beta/Google.Cloud.Metastore.V1Beta.GeneratedSnippets/DataprocMetastoreClient.UpdateMetadataImportRequestObjectAsyncSnippet.g.cs
2,974
C#
using System.Threading.Tasks; namespace Lion.AbpProNuget.Data { public interface IAbpProNugetDbSchemaMigrator { Task MigrateAsync(); } }
15.8
49
0.708861
[ "MIT" ]
WangJunZzz/abp-vnext-pro-nuget
aspnet-core/services/src/Lion.AbpProNuget.Domain/Data/IAbpProNugetDbSchemaMigrator.cs
158
C#
using Application.Classrooms.Commands.JoinClassroom; using Application.Common; using Application.Common.Interfaces; using Domain.Entities; using MediatR; using Microsoft.EntityFrameworkCore; using System.Threading; using System.Threading.Tasks; namespace Application.Classrooms { /// <summary> /// Allows a use...
42.46875
115
0.654893
[ "MIT" ]
mrodrigues95/ClassroomChat
api/Application/Classrooms/Commands/JoinClassroom/JoinClassroomCommandHandler.cs
2,720
C#
using System; namespace MShared { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class ExpandAttribute : Attribute { } }
16.6
70
0.710843
[ "MIT" ]
manureini/MShared
MShared/MShared/ExpandAttribute.cs
168
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(2663,5) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DXGK_QUERYSEGMENTMEMORYSTATE__union_0 { [MarshalAs(UnmanagedType.By...
51.588235
195
0.706956
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/_DXGK_QUERYSEGMENTMEMORYSTATE__union_0.cs
879
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cs_sdk.Exceptions { class KoreanbotsHttpException : Exception { public KoreanbotsHttpException(string message) : base(message){} } }
20.071429
72
0.747331
[ "MIT" ]
koreanbots/cs-sdk
cs-sdk/Exceptions/KoreanbotsHttpException.cs
283
C#
 // // Ghost : Sprite Class // Created 16/10/2021 // // WinForms PacMan v0.0.1 // Aardhyn Lavender 2021 // // A Sprite that moves about the maze and chooses a new // direction at intersections based on AI implimented in // child classes. Provides functionality shared across // all ghosts such as target tile Pa...
31.201597
152
0.505246
[ "MIT" ]
AardhynLavender/WinFormsPacman
Pacman/GameObjects/Sprites/Ghosts/Ghost.cs
15,634
C#
// Copyright (c) MadDonkeySoftware namespace Common { /// <summary> /// Struct to hold /// </summary> public struct JobStatuses { public const string New = "New"; public const string Queued = "Queued"; public const string Running = "Running"; public const string Fail...
24.8125
54
0.604534
[ "MIT" ]
MadDonkeySoftware/corp-hq
app/common/JobStatuses.cs
397
C#
using EcommerceStore.Carrinho.API.Configuration; using EcommerceStore.WebApi.Core.Identidade; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace EcommerceStore.Ca...
35.716667
125
0.69342
[ "MIT" ]
notfoundimpactaadsnoturno/ecommerce-store
EcommerceStore/src/services/EcommerceStore.Carrinho.API/Startup.cs
2,143
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using CadastrodeClientes.Models; namespace CadastrodeClientes.Controllers { //Criação de controller do jeito m...
28.856209
104
0.506002
[ "MIT" ]
Alexandrade01/Cadastro_Clientes_AspNet
CadastrodeClientes/Controllers/ClientesController.cs
4,419
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.665988
488
0.669398
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentScriptResource.cs
28,805
C#
/* * Copyright (c) 2019 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/. */ using System.ComponentMode...
33.666667
108
0.739274
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
junbaor/seb-win-refactoring
SafeExamBrowser.UserInterface.Contracts/Shell/Events/QuitButtonClickedEventHandler.cs
609
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("ILD...
37.27027
84
0.748368
[ "MIT" ]
kookmin-cat/AgentTeslaDeob
ILDeobfuscator/Properties/AssemblyInfo.cs
1,381
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cats.Models.Mapping { public class UserDashboardPreferenceMap : EntityTypeConfiguration<Use...
34.461538
103
0.637649
[ "Apache-2.0" ]
IYoni/cats
Models/Cats.Models/Mapping/UserDashboardPreferenceMap.cs
1,346
C#
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using Umbraco.Extensions; namespace Umbraco.Cms.Core.Models.ContentEditing { [DataContract(Name = "scriptFile", Namespace = "")] public class CodeFileDisplay : INotif...
34.324675
91
0.58305
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Core/Models/ContentEditing/CodeFileDisplay.cs
2,645
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; using System.Collections.Generic; using UnityEngine; namespace UnityEditor.IMGUI.Controls { public class AdvancedDropdownItem : IComparable {...
22.881188
91
0.531372
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/Inspector/AdvancedDropdown/AdvancedDropdownItem.cs
2,311
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text.RegularExpressions; using Niconicome.Extensions.System; using Niconicome.Extensions.System.List; using Niconicome.Models.Const; using Niconicome.Models.Domain.Local.IO; using Niconicome.Models.Domain.Local.S...
33.561047
229
0.544651
[ "MIT" ]
Hayao-H/Niconicome
Niconicome/Models/Domain/Local/Addons/Core/Installer/AddonInstaller.cs
12,669
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...
37.455446
171
0.665874
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/AlexaForBusiness/Generated/Model/Internal/MarshallTransformations/GetConferenceProviderResponseUnmarshaller.cs
3,783
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("Odd...
37.675676
84
0.748207
[ "MIT" ]
AgalexBG/ProgrammingFundamentals-Extended
DictionariesAndLINQ-Lab/OddOccurences/Properties/AssemblyInfo.cs
1,397
C#
using System; using System.Text.RegularExpressions; using log4net.Appender; using log4net.Core; namespace IdealistViewer { /// <summary> /// Writes log information out onto the console /// </summary> public class IdealistViewerAppender : AnsiColorTerminalAppender { override prot...
33.483146
123
0.435906
[ "BSD-3-Clause" ]
eudaimonent/IdealistViewer
IdealistViewer/Util/IdealistViewerAppender.cs
2,980
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using EntityChangeTracking_AspNetCore_3._0.Data; using EntityChangeTracking_AspNetCore_3._0.Models; using Micro...
29.032051
111
0.51667
[ "MIT" ]
Connor-R-McNeely/AspNetCore-Entity-Change-Tracking
EntityChangeTracking_AspNetCore-3.0/EntityChangeTracking_AspNetCore-3.0/Controllers/ExamplesController.cs
4,531
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
44.317518
338
0.576546
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PolicySetsOperations.cs
12,143
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrdenesDeTrabajo.BL { public class ClientesBL { Contexto _contexto; public List<Clientes> ListadeClientes { get; set; } public ClientesBL() { ...
24.853333
75
0.534335
[ "MIT" ]
Lyndar98/OrdenesdeTrabajo
OrdenesDeTrabajo/OrdenesDeTrabajo.BL/ClientesBL.cs
1,866
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.Diagnostics; using System.Net; using System.Text; using System.Runtime.InteropServices; namespace System.DirectoryServices.Protocols { public partial class LdapConn...
37.993711
216
0.530707
[ "MIT" ]
333fred/runtime
src/libraries/System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols/ldap/LdapConnection.Linux.cs
6,041
C#
using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; namespace BTDB.IL; class ILDynamicMethodImpl : IILDynamicMethod, IILDynamicMethodWithThis { readonly Type _delegateType; int _expectedLength; IILGen? _gen; readonly DynamicMethod _dynamicMethod; public ILDynam...
26.60274
146
0.669928
[ "MIT" ]
Jumik/BTDB
BTDB/IL/ILDynamicMethodImpl.cs
1,942
C#
/// <summary>************************************************************************** /// /// $Id: ICCProfileException.java,v 1.2 2002/08/08 14:08:13 grosbois Exp $ /// /// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650 /// $Date $ /// ********************************************************...
25.051282
87
0.534289
[ "MIT" ]
opensatelliteproject/grbdump
CSJ2K/Icc/ICCProfileException.cs
977
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace FlixOne.BookStore.CustomerService.Models { /// <summary> /// /// </summary> public class Customer...
25.147059
61
0.622222
[ "MIT" ]
John-Cassidy/Hands-On-Microservices-with-CSharp-8-and-.NET-Core-3-Third-Edition
Chapter 10/Shared-Database/FlixOne.BookStore.CustomerService/Models/Customer.cs
857
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Reflection; using Marten.Events.Projections.Async; using Marten.Schema.Identity; using System.Linq.Expressions; using Marten.Storage; namespace Mar...
45.355422
200
0.568044
[ "MIT" ]
kerobs/marten
src/Marten/Events/Projections/ViewProjection.cs
37,647
C#
using System; using System.IO; namespace Org.BouncyCastle.Crypto.IO { public class SignerStream : Stream { protected readonly Stream stream; protected readonly ISigner inSigner; protected readonly ISigner outSigner; public SignerStream( Stream stream, ISigner readSigner, ISigner writeSigner) { ...
15.246377
50
0.616445
[ "BSD-3-Clause" ]
ConnectionMaster/OutlookPrivacyPlugin
3rdParty/bccrypto-net-05282015/crypto/src/crypto/io/SignerStream.cs
2,104
C#
using System; namespace Toms_Puzzle.Interfaces { public interface IDecoder { Span<byte> Decode(string payload); } }
15.222222
42
0.664234
[ "MIT" ]
Schalasoft/Toms-Puzzle
Toms Puzzle/Interfaces/IDecoder.cs
139
C#
 namespace SAAI.Controls { partial class EnhnacedProgressBar { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
27.083333
104
0.609231
[ "MIT" ]
Ken98045/On-Guard
src/AIDisplay/Controls/EnhnacedProgressBar.Designer.cs
1,302
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Net.Mail; using System.Net.Mime; using FeuerwehrCloud.Mime.Decode; namespace FeuerwehrCloud.Mime.Header { /// <summary> /// Class that holds all headers for a message<br/> /// Headers which are unknown the...
38.04814
151
0.653784
[ "MIT" ]
bhuebschen/feuerwehrcloud-deiva
FeuerwehrCloud.Input.IMAP4/Mime/Header/MessageHeader.cs
17,390
C#
using System; namespace OrgFlow.CliWrap.Internal { internal class Observable<T> : IObservable<T> { private readonly Func<IObserver<T>, IDisposable> _subscribe; public Observable(Func<IObserver<T>, IDisposable> subscribe) => _subscribe = subscribe; public IDisposable Subscribe(IObserv...
29.105263
95
0.679928
[ "MIT" ]
OrgFlow/CliWrap
CliWrap/Internal/Observable.cs
555
C#
using EducacionAvanzada.BL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace EducacionAvanzada.WebAdmin.Controllers { [Authorize] public class MateriasController : Controller { materiaBL _materiasBL; public MateriasContro...
22.925532
107
0.548028
[ "MIT" ]
astridiscua/EducacionAvanzadaFinal
educacionavanzada-master/EducacionAvanzada/EducacionAvanzada.WebAdmin/Controllers/MateriasController.cs
2,157
C#
namespace ParcInfo.ucControls { partial class userHistory { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.27193
141
0.559903
[ "MIT" ]
driwand/ParcInfo-Dev
ParcInfo/ucControls/userHistory.Designer.cs
4,935
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Blog.Models { public class Category { private ICollection<Article> articles; public Category() { this.articles = new HashSet<Article>(); } [Key] public int Id ...
20.777778
52
0.557932
[ "MIT" ]
nemss/Team-Projects
FilmBoxBg/Blog/Models/Category.cs
563
C#
#region Copyright & License // Copyright © 2012 - 2013 François Chabot, Yves Dierick // // 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/LICEN...
35.925926
114
0.699485
[ "Apache-2.0" ]
icraftsoftware/BizTalk.Factory
src/BizTalk.Common/Streaming/Extensions/IProbeStream.cs
1,944
C#
 /*=================================================================================== * * Copyright (c) Userware/OpenSilver.net * * This file is part of the OpenSilver Runtime (https://opensilver.net), which is * licensed under the MIT license: https://opensource.org/licenses/MIT * * As stated in t...
30.836957
185
0.58724
[ "MIT" ]
KeyurJP/OpenSilver
src/Runtime/Runtime/System.Windows.Interactivity/EventTrigger.cs
2,839
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; using Pulumi.Utilities...
32.638655
170
0.6138
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/File/V1Beta1/GetSnapshot.cs
3,884
C#
using System; using System.Collections.Generic; namespace Factory.StoreWeb.Models { public class DashboardViewModel { public int RateVisitors { get; set; } public int RatePageViews { get; set; } public int RateUsers { get; set; } public int RateOrders { get; set; } pu...
24.913043
64
0.643979
[ "Apache-2.0" ]
kostyrin/Store
Factory.StoreWeb/Models/DashboardViewModel.cs
575
C#
using System.Collections.Generic; namespace GR.Core.Extensions { public static class DictionaryExtensions { /// <summary> /// Add range new props to dictionary /// </summary> /// <typeparam name="TKey"></typeparam> /// <typeparam name="TValue"></typeparam> /// <...
30.814815
143
0.481971
[ "MIT" ]
indrivo/GEAR
src/GR.Extensions/GR.Core.Extension/GR.Core/Extensions/DictionaryExtensions.cs
1,666
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows; using Autofac; using Deploy.Appliction.Config; using Deploy.Appliction.Extensions; using Deploy.Appliction.Internal; using Deploy.Appliction.Internal.Model; using Microsoft.Extensions.Logging; namespace Deploy.Wp...
29.838384
115
0.591063
[ "MIT" ]
simple-gr/deploy
Deploy.Wpf/Views/FrontPage.xaml.cs
3,052
C#
using Web.Dto; using System.Collections.Generic; using MediatR; using Application.Entities.Catalogs; using Application.Entities.Baskets; namespace Web.Response.ResponseBasket { public class DeleteBasketById : IRequest<IEnumerable<BasketDto>> { public DeleteBasketById(Basket catalog, uint id) { ...
23.25
68
0.662366
[ "MIT" ]
natividadejoao/eShopOnWeb
Web/Response/ResponseBasket/DeleteBasketById.cs
465
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors; using Microsoft.ServiceFabric.Actors.Runtime; using Microsoft.ServiceFabric.Actors.Client; using OrchestrationActor.Interfaces; using ...
39.035714
144
0.54785
[ "MIT" ]
kreuzhofer/sf_gameoflife
src/SFGameOfLife/OrchestrationActor/OrchestrationActor.cs
5,467
C#
using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using EventPlanning.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Localization; using Microsoft.AspNetCore.Http; using System; using Microsoft.Extensions.Logging; namespace EventPlanning.Controllers { [Authorize] public c...
29.785714
112
0.609113
[ "MIT" ]
VladTsiukin/TheEventsCalendar
EventPlanning/Controllers/HomeController.cs
1,670
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; using Microsoft.EntityFrameworkCore.Infrastructure; namespace Microsoft.EntityFrameworkCore.Diagnostics { /// <summary> /// <para> /// Contains...
65.165171
122
0.68496
[ "MIT" ]
CameronAavik/efcore
src/EFCore.Relational/Diagnostics/RelationalLoggingDefinitions.cs
36,297
C#
using System; using Framework.Cache.Interfaces; namespace Framework.Cache.Business { public class MemoryCacheBusiness : CacheBusiness<Framework.Cache.Entities.CacheEntry, IMemoryCacheRepository> { public override Lazy<IMemoryCacheRepository> Repository { get {...
27.448276
137
0.55402
[ "MIT" ]
jmirancid/TropicalNet.Framework
Framework.Cache/Business/MemoryCacheBusiness.cs
798
C#
using System; using System.Collections.Generic; using System.Linq; using Xunit; using Modele; using static Modele.Themes; using static Modele.Constante; namespace UnitTests { public partial class UnitTestManager { public (Leaf, Leaf, Leaf, Leaf, Leaf, Leaf, Composite, Composite, Composite...
41.990617
171
0.575802
[ "MIT" ]
iShoFen/Cinema
Source/Cinema/UnitTests/UnitTestManager.cs
31,341
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Brewery.MVC.Areas.Identity.Pages.Account.Manage { pu...
38.318182
140
0.623962
[ "MIT" ]
edrmonteiro/FSdotnetAngular
Brewery/Brewery.MVC/Areas/Identity/Pages/Account/Manage/ExternalLogins.cshtml.cs
4,217
C#
using Milvasoft.Helpers.DataAccess.EfCore.Abstract.Entity; using MongoDB.Bson; namespace Milvasoft.Helpers.DataAccess.MongoDB.Entity.Abstract; /// <summary> /// Base interface for most obk entities. /// </summary> public interface IDocumentBase : IAuditable<ObjectId> { }
22.916667
63
0.778182
[ "MIT" ]
Milvasoft/Milvasoft
Milvasoft.Helpers/DataAccess/MongoDB/Entity/Abstract/IDocumentBase.cs
277
C#
using Bamboo.ScriptEngine; using Bamboo.ScriptEngine.CSharp; using System.Diagnostics; using Xunit; namespace Test.Bamboo.ScriptEngine.CSharp { public class Demo { [Trait("desc", "执行受信任的脚本 execute trasted code")] [Fact] public void Execute() { IScriptEngine scriptEn...
28.886076
80
0.495618
[ "Apache-2.0" ]
sevenTiny/Chameleon.FaaS
src/dotnet/Tests/Test.Bamboo.ScriptEngine.CSharp/Demo.cs
2,350
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
60.186441
314
0.773303
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/CostAndUsageReport/Properties/AssemblyInfo.cs
3,551
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
53.516854
265
0.637256
[ "MIT" ]
git-thomasdolan/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginCollection.cs
19,052
C#
using FluentValidation; using ReadItLater.Infrastructure.Queries.User; namespace ReadItLater.Infrastructure.DataValidators.Queries.User { public class GetUserByCredentialsQueryValidator : AbstractValidator<GetUserByCredentialsQuery> { public GetUserByCredentialsQueryValidator() { R...
28.428571
98
0.599665
[ "MIT" ]
Grigorenko/ReadItLater
ReadItLater.Infrastructure/DataValidators/Queries/User/GetUserByCredentialsQueryValidator.cs
599
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneChanger : MonoBehaviour { public void ChangeScene() { SceneManager.LoadScene("RaceArea"); } }
17.857143
43
0.736
[ "MIT" ]
smcguire56/GestureBasedUIProject
GestureProject/Assets/Scripts/SceneChanger.cs
252
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Bindings; using Microsoft...
31.85443
124
0.589708
[ "MIT" ]
Nasicus/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Extensions.Storage/Blobs/Bindings/WatchableCloudBlobStream.cs
5,035
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml...
38.387387
99
0.626848
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter20/AlertLambdas/AlertLambdas/AlertLambdas.UWP/App.xaml.cs
4,261
C#
using System.Drawing; namespace iSukces.DrawingPanel { internal struct IntVector { private readonly int _x; private readonly int _y; public IntVector(int x, int y) { _x = x; _y = y; } public static IntVector operator +(IntVector a, IntV...
26.304348
120
0.573554
[ "MIT" ]
isukces/iSukces.DrawingPanel
app/iSukces.DrawingPanel/IntVector.cs
607
C#
// Copyright 2020 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 ...
51.919231
190
0.642418
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V6/Resources/MobileDeviceConstantResourceNames.g.cs
13,499
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TCM_AgenciaViagem.Models { public class Pacote { public ushort IdPacote { get; set; } public byte QuantidadeDiarias { get; set; } public byte QuantidadeQuartos { get; set; } public Da...
28.357143
51
0.674223
[ "MIT" ]
mikhailsb/TCM_AgenciaViagem
TCM_AgenciaViagem/TCM_AgenciaViagem/Models/Pacote.cs
1,193
C#