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
namespace MicMute { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
52.32766
175
0.617386
[ "MIT" ]
Anc813/MicMute
MainForm.Designer.cs
12,299
C#
using AutoFixture.AutoEF.Interception; using Castle.DynamicProxy; using FluentAssertions; using AutoFixture.Xunit2; using Theory = Xunit.TheoryAttribute; using Xunit.Extensions; namespace AutoFixture.AutoEF.Tests.Interception { public class NullInterceptorTest { [Theory, AutoData] public void ...
23.315789
57
0.715576
[ "MIT" ]
alexfoxgill/AutoFixture.AutoEntityFramework
src/AutoFixture.AutoEF.Tests/Interception/NullInterceptorTest.cs
445
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * 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 retain the above * copyright notice, this li...
35.640244
155
0.621386
[ "BSD-2-Clause" ]
wdxgy136/xenadmin-yeesan
XenAdmin/Commands/DeleteVMCommand.cs
5,847
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
44.701613
211
0.743099
[ "MIT" ]
BigHam/EFDesigner
src/Testing/Sandbox/Sandbox_EF6/Generated/Context/Context2.generated.cs
5,543
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace PizzaBox.Storing.Migrations { public partial class toppinggonefix7 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_Toppings_Pizzas_APiz...
31.311111
71
0.555713
[ "MIT" ]
cyoung7749/project-pizzabox
PizzaBox.Storing/Migrations/20210430033758_topping gone fix7.cs
1,411
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> //---...
40.458333
80
0.643666
[ "MIT" ]
therealatreides/TechScripts
C Sharp/Conversion Tools/VisualStudio/Pub2PDF/Pub2PDF/obj/Debug/netcoreapp3.1/Pub2PDF.AssemblyInfo.cs
971
C#
//////////////////////////////////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using EnsureThat; using Core; /////////////////////////////////////////////////////////////////////////////...
28.890756
101
0.563991
[ "MIT" ]
SergeyVYakhontov/PeqNPApp
app.verify/B.MExistsAccPaths/10.Components.Common/CheckDataStructures.TheSameFrom.cs
3,440
C#
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; namespace ModuleNoteTaker { public partial class AssessmentsList : Form { public Assessm...
21.909091
60
0.713693
[ "Apache-2.0" ]
jdon/ModularNoteTaker
AssessmentsList.cs
484
C#
namespace gp { /// <summary> /// 代码元素接口。 /// </summary> public interface ICodeElement { /// <summary> /// 排序Id。 /// </summary> int Index { get; set; } /// <summary> /// 类型。 /// </summary> CodeType Type { get; } /// <summary> ...
17.608696
36
0.395062
[ "Apache-2.0" ]
onetcore/gc
gp/CodeDom/ICodeElement.cs
443
C#
#if UNITY_EDITOR using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.IMGUI.Controls; using UnityEditor.ShortcutManagement; ////TODO: Add "Revert" button ////TODO: add helpers to very quickly set up certain common confi...
43.352179
197
0.598163
[ "MIT" ]
DeStiCap/Dim-Mind
Global Game Jam 2020/Library/PackageCache/com.unity.inputsystem@1.0.0-preview.4/InputSystem/Editor/AssetEditor/InputActionEditorWindow.cs
36,806
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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Aw...
40.862903
175
0.625025
[ "ECL-2.0", "Apache-2.0" ]
dixler/pulumi-aws
sdk/dotnet/Wafregional/RegexPatternSet.cs
5,067
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.IO; using System.Text; using Aurora.Profiles.Generic_Application; using Aurora.Profiles.Overlays; using Aurora.Profiles.Overlays.SkypeOverlay; using Aurora.Profiles; using N...
34.314879
318
0.596148
[ "MIT" ]
DarthAffe/Aurora
Project-Aurora/Project-Aurora/Settings/Configuration.cs
19,260
C#
using _07.MilitaryElite.Enums; using _07.MilitaryElite.Interfaces; using System.Collections.Generic; using System.Text; namespace _07.MilitaryElite.Models { public class Engineer : SpecialisedSoldier, IEngineer { private List<IRepair> repairs; public Engineer(string id, string firstName, stri...
25.804878
99
0.589792
[ "MIT" ]
LyubomirRashkov/Software-University-SoftUni
C#OOP/ProjectsAndSolutionsFromLecturesAndExercises/03ex-InterfacesAndAbstraction/07.MilitaryElite/Models/Engineer.cs
1,060
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
37.951515
152
0.608991
[ "MIT" ]
Jaben/squidex
backend/tests/Squidex.Domain.Apps.Entities.Tests/Contents/Queries/ContentQueryServiceTests.cs
12,526
C#
///\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/// /// /// /// File name : GunVisualiser.cs /// /// ...
63.561404
337
0.558791
[ "Apache-2.0" ]
Michael97/ShoutOut
ShoutOutVR/Assets/Scripts/GunVisualiser.cs
7,248
C#
//#define KEEP_ARTIFACTS_FOR_INSPECTION using System; using System.Collections; using System.IO; using NUnit.Framework; using Unity.AI.Navigation; using Unity.AI.Navigation.Editor; using UnityEditor; #if !UNITY_2021_2_OR_NEWER using UnityEditor.Experimental.SceneManagement; #endif using UnityEditor.SceneM...
55.277311
208
0.71169
[ "MIT" ]
needle-mirror/com.unity.ai.navigation
Tests/Editor/NavMeshSurfaceInPrefabVariantTests.cs
13,158
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WhenCreatingAFeatureWithMetaInfo.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Lic...
38.081081
122
0.64088
[ "Apache-2.0" ]
CoverGo/pickles
src/Pickles.Test/Formatters/JSON/WhenCreatingAFeatureWithMetaInfo.cs
2,820
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SuperSocket.ProtoBase; namespace SuperSocket.SocketBase.Protocol { /// <summary> /// The interface for protocol factory /// </summary> /// <typeparam name="TPackageInfo">The type o...
25.5
93
0.733333
[ "Apache-2.0" ]
cnsuhao/SuperSocket
SocketBase/Protocol/IProtocolFactory.cs
512
C#
namespace NovoProject { partial class delete_loja { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
37.302326
107
0.560474
[ "MIT" ]
PotatoMexicano/Estoque-de-Produtos
NovoProject/delete_loja.Designer.cs
3,210
C#
using System; using System.Collections.Generic; namespace Problem0025 { /// <summary> /// The Fibonacci sequence is defined by the recurrence relation: /// Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1. /// Hence the first 12 terms will be: /// F1 = 1 /// F2 = 1 /// F3 = 2 /// F4 = 3 /...
29.194805
93
0.204626
[ "Apache-2.0" ]
kosmos-zhang/projecteulernet
csharp/Problem0025/Program.cs
4,502
C#
using System; using KSerialization; using UnityEngine; namespace EasyFarming { // Token: 0x02000014 RID: 20 [SerializationConfig(1)] public class WildPlantablePlot : PlantablePlot, ISaveLoadable, IEffectDescriptor, IGameObjectEffectDescriptor { // Token: 0x0600001B RID: 27 RVA: 0x000031CC File Offset:...
30.775701
163
0.684786
[ "MIT" ]
ekfvoddl3536/OniMods
decompiled/src/EasyFarming/WildPlantablePlot.cs
3,295
C#
namespace UltimateTrivia.Application.Game.TransitionData { public class GameStartedData { public int Rounds { get; set; } public int AnswerDuration { get; set; } } }
24.25
57
0.659794
[ "MIT" ]
fabiobaser/Ultimate-Trivia
Server/UltimateTrivia/Application/Game/TransitionData/GameStartedData.cs
196
C#
#pragma checksum "..\..\..\Controls\LargeChatPlayer.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A281DFC076D7342203533875E4E5D338" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // ...
39.280899
141
0.634153
[ "BSD-2-Clause" ]
nongnoobjung/Legendary-Garena
LegendaryClient/obj/Debug/Controls/LargeChatPlayer.g.i.cs
6,994
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 Gov.Jag.Spice.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
44.063158
545
0.621596
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/IGovministryspiceministry.cs
4,186
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace DataJuggler.Blazo...
26.206897
70
0.664474
[ "MIT" ]
DataJuggler/BlazorVideoPlayer
DataJuggler.BlazorVideoPlayerDemo/Program.cs
760
C#
using System; using Fb2.Document.Models.Base; namespace Fb2.Document.Exceptions { public class UnknownNodeException : Exception { public UnknownNodeException(string nodeName) : base($"'{nodeName}' is not known Fb2 node name.") { } public UnknownNodeException(Fb2Node node) : base($...
27.6
108
0.649758
[ "MIT" ]
Overrided/Fb2.Document
Fb2.Document/Exceptions/UnknownNodeException.cs
416
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // A barrier allows mu...
48.217054
174
0.590928
[ "Apache-2.0" ]
WindowsCE/NETStandard.WindowsCE
src/NETStandard.WindowsCE/Threading/Barrier.cs
43,542
C#
namespace Steamworks { public enum EDurationControlProgress { k_EDurationControlProgress_Full, k_EDurationControlProgress_Half, k_EDurationControlProgress_None, k_EDurationControl_ExitSoon_3h, k_EDurationControl_ExitSoon_5h, k_EDurationControl_ExitSoon_Night } }
21.384615
37
0.859712
[ "MIT" ]
undancer/oni-data
Managed/firstpass/Steamworks/EDurationControlProgress.cs
278
C#
// **********************************************************************************************\ // Module Name: AsyncSemaphore.cs // Project: ElementLab.Drugscreening.Client // // Copyright (c) Element Lab LLC // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, // EITHER EXPR...
31.435484
102
0.511544
[ "MIT" ]
elementlab-llc/sln-net
DrugscreeningApiClient/ElementLab.Drugscreening.Client/Drugscreening/Client/AsyncSemaphore.cs
1,951
C#
using Autofac; using PlainCQRS.Core.Events; namespace PlainCQRS.Autofac.Tests.Events { public class EventsModule : Module { protected override void Load(ContainerBuilder builder) { builder.Register(c => { var threadSpecificContext = c.Resolve<IComponentC...
34.066667
118
0.611546
[ "Apache-2.0" ]
marekzet/plain-cqr
PlainCQRS.Autofac.Tests/Events/EventsModule.cs
1,024
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Neo.Lua")] [assembly: AssemblyDescription("Lua Language for DLR")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("8278b1f1-...
86.277778
382
0.909208
[ "Apache-2.0" ]
oohicksyoo/neolua
NeoLua/Properties/AssemblyInfo.cs
1,555
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.225225
153
0.629943
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IVS/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceRequestMarshaller.cs
4,021
C#
using System.Collections.Generic; using Assets.Scripts.CSharpUtilities; using Assets.Scripts.GameLogic.ActionLoop.ActionEffects; using Assets.Scripts.GameLogic.ActionLoop.Actions; using Assets.Scripts.GameLogic.GameCore; using UnityEngine; using UnityEngine.Tilemaps; namespace Assets.Scripts.GameLogic.ActionLoop { p...
33.38
109
0.786099
[ "MIT" ]
azsdaja/7drl-2018
Assets/Scripts/GameLogic/ActionLoop/OpenDoorAction.cs
1,671
C#
using CourseLibrary.API.DbContexts; using CourseLibrary.API.Entities; using CourseLibrary.API.Helpers; using CourseLibrary.API.ResourceParameters; using System; using System.Collections.Generic; using System.Linq; namespace CourseLibrary.API.Services { public class CourseLibraryRepository : ICourseLibra...
35.766304
131
0.577572
[ "MIT" ]
nhalflants/Courses-Library-API
Services/CourseLibraryRepository.cs
6,583
C#
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace SMOWMS.DTOs.InputDTO { /// <summary> /// 资产入库相关信息 /// </summary> public class AssInStorageInputDto:IEntity { /// <summary> /// 采购单编号 /// </summary> ...
22.017544
48
0.478884
[ "MIT" ]
comsmobiler/SmoWMS
Source/SMOWMS.DTOs/InputDTO/AssInStorageInputDto.cs
1,387
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 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
33.12766
94
0.641618
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/Logic/Microsoft.Azure.Management.Logic/Generated/Models/WorkflowTriggerHistoryFilter.cs
1,557
C#
using Nest; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.QueryDsl.Span.FieldMasking { public class SpanFieldMaskingUsageTests : QueryDslUsageTestsBase { public SpanFieldMaskingUsageTests(...
24.423729
130
0.673144
[ "Apache-2.0" ]
msarilar/elasticsearch-net
src/Tests/Tests/QueryDsl/Span/FieldMasking/SpanFieldMaskingUsageTests.cs
1,443
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.Graph; using System; namespace Hosts.SecurityGroup { public class SubsequentUsersReaderRequest { public Guid RunId { get; set; } public string NextPageUrl { get; set; } public IGroupTransitiveMemb...
27.857143
97
0.720513
[ "MIT" ]
microsoftgraph/group-membership-management
Service/GroupMembershipManagement/Hosts/SecurityGroup/Function/Activity/SubsequentUsersReader/SubsequentUsersReaderRequest.cs
390
C#
using System.Collections.Generic; namespace CustomerServiceLib { public class CustomerService { private readonly ICustomerRepository _repository; private readonly INameBuilder _nameBuilder; public CustomerService(ICustomerRepository repository, INameBuilder nameBuilder = null) ...
29.533333
95
0.63544
[ "MIT" ]
VanHakobyan/TestingPractise
MoqFramework/CustomerServiceLib/CustomerService.cs
888
C#
/* Generated by QSI Date: 2020-08-12 Span: 1786:9 - 1786:34 File: src/postgres/include/nodes/execnodes.h */ namespace Qsi.PostgreSql.Internal.PG10.Types { internal class AggStatePerAggData { } }
14.2
45
0.694836
[ "MIT" ]
ScriptBox99/chequer-qsi
Qsi.PostgreSql/Internal/PG10/Types/AggStatePerAggData.cs
213
C#
namespace AspNetCoreAnalyzers.Tests.Helpers { using System; using System.Linq; using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis.CSharp; using NUnit.Framework; public static class UrlTemplateTests { [TestCase("foo", new[] { "foo" })] [TestCase("/foo", new[] { "fo...
54.36
186
0.496934
[ "MIT" ]
JTOne123/AspNetCoreAnalyzers
AspNetCoreAnalyzers.Tests/Helpers/UrlTemplateTests.cs
12,231
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using RecipesSearch.Data.Models; using RecipesSearch.DAL.Cache.Adapters; using RecipesSearch.SearchEngine.Clusters.Base; namespace RecipesSearch.SearchEngine.Clusters { public class SpanningTreeBuilder : BaseClustersBuild...
27.284672
102
0.466827
[ "MIT" ]
intersystems-ru/recipesearch
recipessearch/recipessearch.searchengine/Clusters/SpanningTreeBuilder.cs
3,740
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a ...
44
96
0.645833
[ "MIT" ]
hangardonelli/FC-Cba-services
TestingConsola/obj/Debug/net6.0/TestingConsola.AssemblyInfo.cs
1,061
C#
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Application.UseCases.Delete { using System.Linq; using System.Threading; using System.Threading.Tasks; using Aviant.DDD.Application.Orchestration; using Aviant.DDD.Application.UseCases; using Todo.Application.Persistence; publi...
35.222222
91
0.678233
[ "MIT" ]
panosru/CleanDDDArchitecture
Domains/Todo/SubDomains/TodoItem/Application/UseCases/Delete/TodoItemDeleteUseCase.cs
951
C#
using System; using System.Drawing; namespace RecoHuman.Sources { [Flags] public enum ImageSourceType { None = 0x00, Camera = 0x01, ImageServer = 0x02, File = 0x04, Pipe = 0x08, All = ImageSourceType.Camera | ImageSourceType.ImageServer | ImageSourceType.Pipe | ImageSourceType.File }; /// <summary>...
41.90625
113
0.768829
[ "MIT" ]
BioRoboticsUNAM/PRS-FND
RecoHuman2/Sources/Sources.cs
2,684
C#
using Karambit.Logging; using Karambit.Net; using System; using System.Collections.Generic; namespace Karambit { /// <summary> /// Started event handler. /// </summary> public delegate void StartedEventHandler(object sender, EventArgs e); /// <summary> /// Errror event handler. /// </summary> ...
28.564103
117
0.508592
[ "MIT" ]
Karambyte/karambit
Karambit/Application.cs
7,800
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApplication2 { public partial class SiteMaster : MasterPage { protected void Page_Load(object sender, EventArgs e) { } ...
19.352941
61
0.662614
[ "MIT" ]
brentmorgan43/MVCStyleBehaviorInClassicASPNET
After MVC WebApplication2/WebApplication2/Site.Master.cs
331
C#
using Business.PlateRecognizer; using Microsoft.Extensions.DependencyInjection; namespace Business { public static class BusinessDependencyInjection { public static void InjectBusiness(this IServiceCollection services) { services.AddTransient<IUserBusiness, UserBusiness>(); ...
36.176471
79
0.713821
[ "MIT" ]
CristianoRC/Gatel
src/api/Business/BusinessDependencyInjection.cs
615
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Loteria.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Loteria Mega-Sena"; return View(); ...
17.526316
48
0.624625
[ "MIT" ]
leomaturano/loteria
Loteria/Controllers/HomeController.cs
335
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 ...
58.646154
219
0.790661
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-vod/Vod/Transform/V20170321/DescribePlayUserTotalResponseUnmarshaller.cs
3,812
C#
using AutoMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using MyOnlineShop.Common.Constants; using MyOnlineShop.Common.Services; using MyOnlineShop.Common.ViewModels.Addresses; using MyOnlineShop.Common.ViewModels.Products; using MyOnlineShop.Common.ViewModels.ShoppingCarts; using M...
34.495575
125
0.564905
[ "MIT" ]
DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps
MyOnlineShop/MyOnlineShop.WebMVC/Controllers/ShoppingCartsController.cs
7,798
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 k8s.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// ControllerRevision...
44.683333
197
0.621783
[ "Apache-2.0" ]
AshenW0lf/csharp
src/KubernetesClient/generated/Models/V1ControllerRevision.cs
5,362
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
47.08056
210
0.603169
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/Arm/Rdm/MultiplyRoundedDoublingAndAddSaturateHigh.Vector128.Int32.cs
26,883
C#
/* Copyright (C) 2018-2019 de4dot@gmail.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, modify, merge, publish, distr...
37.659574
174
0.766102
[ "MIT" ]
NIKJOO/iced
src/csharp/Intel/Generator/Enums/CodeSizeEnum.cs
1,770
C#
using Spectre.Cli; using System.ComponentModel; namespace Omnia.CLI.Commands.Management.Tenants { public sealed class AddCommandSettings : CommandSettings { [CommandOption("-s|--subscription <VALUE>")] [Description("Name of the configured subscription.")] public string Subscription { g...
31.1
61
0.631833
[ "MIT" ]
davidcaldas/omnia-cli
src/Console/Commands/Management/Tenants/AddCommandSettings.cs
624
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...
35
276
0.653156
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DocumentDB/V20200301/Outputs/FailoverPolicyResponse.cs
1,505
C#
using Fpl.Client.Models; using Fpl.EventPublishers.Models.Mappers; namespace FplBot.Tests; public class PriceMonitorTests { private readonly ITestOutputHelper _helper; public PriceMonitorTests(ITestOutputHelper helper) { _helper = helper; } [Fact] public void GetChangedPlayers_WhenNo...
39.311475
155
0.704128
[ "MIT" ]
Eszra92/fplbot
src/FplBot.Tests/PriceMonitorTests.cs
4,796
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Azure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace LineCounter { public class Startup { public Startup(IConfigur...
31.490909
111
0.622979
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
samples/linecounter/Startup.cs
1,732
C#
using System; using System.Runtime.InteropServices; namespace hds { public class AttributeClass1653 :GameObject { public Attribute Orientation = new Attribute(16, "Orientation"); public Attribute Position = new Attribute(24, "Position"); public Attribute HalfExtents = new Attribute(12, "HalfExtents"...
24.166667
68
0.677586
[ "MIT" ]
hdneo/mxo-hd
hds/resources/gameobjects/definitions/AttributeClasses/AttributeClass1653.cs
580
C#
//___________________________________________________________________________________ // // Copyright (C) 2021, Mariusz Postol LODZ POLAND. // // To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI //__________________________________________________________________________________...
36.670051
221
0.710548
[ "MIT" ]
mpostol/ASMD
ModelDesigner.DesignStudio/MainForm.cs
28,898
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using Beef.Entities; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; using Sy...
61.525952
277
0.633541
[ "MIT" ]
ciaranodonnell/Beef
src/Beef.Abstractions/WebApi/WebApiAgentBase.cs
35,564
C#
using System.Web.Mvc; using Core.Framework.Permissions.Helpers; using Core.Framework.Permissions.Models; using Core.Web.NHibernate.Contracts; using Core.Web.NHibernate.Models; using Framework.Mvc.Controllers; using Microsoft.Practices.ServiceLocation; namespace Core.Web.Areas.Admin.Controllers { [Permissions((int)...
26.018182
92
0.635919
[ "BSD-2-Clause" ]
coreframework/Core-Framework
Source/Core.Web/Areas/Admin/Controllers/SiteSettingsController.cs
1,433
C#
using System; using System.Text.Json.Serialization; namespace Switchboard.Controllers.WebSocketized.Contracts { internal class MessageWithPayload<T> : Message { [Obsolete("For deserialization only")] public MessageWithPayload() : base(0) { } protected MessageWithPayloa...
24.25
74
0.62268
[ "MIT" ]
kirisame-project/switchboard
Switchboard/Controllers/WebSocketized/Contracts/MessageWithPayload.cs
487
C#
/* Copyright 2009 - 2010 Marcus Bratton 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 ...
32.927273
86
0.661513
[ "Apache-2.0" ]
lokalan/Siege
Siege.ServiceLocator/Siege.ServiceLocator.UnitTests/Adapters/ILSiegeAdapterTests.cs
1,811
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
33.344262
104
0.654376
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/UpdatePhoneNumberSettingsRequest.cs
2,034
C#
// <auto-generated /> using System; using API.Context; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace API.Migra...
30.228261
125
0.472312
[ "MIT" ]
fhmanwar/UserManagement
API/Migrations/20200925073802_updtblEmployee.Designer.cs
5,564
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...
41.283186
380
0.656163
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Devices/V20190322/Inputs/IotHubPropertiesArgs.cs
4,665
C#
using QueueIT.KnownUser.V3.AspNetCore.IntegrationConfig; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Web; using Xunit; namespace QueueIT.KnownUser.V3.AspNetCore.Tests { public class KnownUserTest { public class MockHttpRequest :...
46.566437
283
0.604361
[ "MIT" ]
queueit/KnownUser.V3.ASPNETCORE
QueueIT.KnownUser.V3.AspNetCore.Tests/KnownUserTest.cs
87,966
C#
using System; using System.IO; using System.Linq; using System.Text; using UnityEngine; using UnitySentiment; using System.Threading; using System.Collections; using System.Collections.Generic; public class SentimentDataTraining : MonoBehaviour { public string PathToPositiveDataTrainingFolder; public string PathToN...
23
127
0.629994
[ "MIT" ]
Reality-Hack-2022/TEAM-16
AI Witness News/Assets/SentimentAnalysis/Scripts/TrainingData/SentimentDataTraining.cs
6,810
C#
using Microsoft.Extensions.DependencyInjection; using Prism.DryIoc; using Shiny; using Shiny.Prism; using ShinyPrismSample.Delegates; using static ShinyPrismSample.Delegates.GpsListener; namespace ShinyPrismSample { public class ShinyAppStartup : PrismStartup { public ShinyAppStartup(): base(PrismCon...
24.458333
78
0.708688
[ "MIT" ]
CrossGeeks/ShinyPrismSample
ShinyPrismSample/ShinyAppStartup.cs
589
C#
using Connect.Core; using Connect.Core.DomainEvents; using MediatR; using Microsoft.AspNetCore.SignalR; using System.Threading; using System.Threading.Tasks; namespace Connect.API.Features.Conversations { public class ConversationRequestedHandler : INotificationHandler<ConversationRequested> { private ...
31.608696
99
0.755158
[ "MIT" ]
QuinntyneBrown/Connect
src/Connect.API/Features/Conversations/ConversationRequestedHandler.cs
727
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> //--...
37.967302
180
0.537139
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Applications/Palette Creator/Properties/Resources.Designer.cs
27,870
C#
#region Header //////////////////////////////////////////////////////////////////////////////////// // // File Description: Custom Meta // --------------------------------------------------------------------------------- // Date Created : March 30, 2014 // Author : Rob van Oostenrijk // -----------------------------...
35.525773
129
0.579512
[ "Apache-2.0" ]
TcmExtensions/TcmCDService
TcmCDService.Contracts/CustomMeta.cs
3,448
C#
using KinectX.Data; using KinectX.IO; using KinectX.Meta; using KinectX.Registration; using Microsoft.Kinect; using NLog; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.ServiceModel; using System.ServiceModel.Discovery; using System.Threading; ...
37.921429
154
0.590695
[ "MIT" ]
rexcardan/KinectX
KinectX/Network/KxServer.cs
10,620
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Runtime.Remoting.Contexts; using PewPew_Paradise.Maths; using System.Diagnostics; using System.Windows.Threading; namespace PewPew_Paradise.GameLogic { /// <summ...
27.482014
187
0.548953
[ "MIT" ]
Peter226/PewPew-Paradise
PewPew Paradise/GameLogic/GameManager.cs
3,822
C#
using Business.Abstract; using Core.Helpers; using DataAccess.Abstract; using Entities; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; namespace Business.C...
33.493827
130
0.624401
[ "MIT" ]
guvenbank/guvenbank.api
Guvenbank.API/Business/Concrete/AuthManager.cs
2,715
C#
using System; namespace NHM.Common.Enums { /// <summary> /// AlgorithmType enum should/must mirror the values from https://www.nicehash.com/algorithm /// </summary> public enum AlgorithmType { INVALID = -2, NONE = -1, #region NiceHashAPI [Obsolete("UNUSED Algorithm...
30.901235
113
0.522773
[ "MIT" ]
Torino777/NiceHashMiner
src/NHM.Common/Enums/AlgorithmType.cs
5,008
C#
namespace TerritoryTools.Web.MainSite.Services { public class AuthMessageSenderOptions { public string SendGridUser { get; set; } public string SendGridKey { get; set; } public string AuthEmailFromEmailAddress { get; set; } public string AuthEmailFromName { get; set; } p...
33.272727
61
0.663934
[ "MIT" ]
territorytools/territory-tools
Web/MainSite/Services/AuthMessageSenderOptions.cs
368
C#
// // Author: Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2009,2010 Novell, Inc (http://www.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,...
31.593023
97
0.760766
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.ServiceModel.Discovery/System.ServiceModel.Discovery.Version11/ResolveCriteria11.cs
2,717
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
32.423077
128
0.695136
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/AppMesh/Inputs/VirtualServiceSpecProviderVirtualRouterGetArgs.cs
843
C#
namespace AnxPro.Api.Models { public enum OrderType { IMMEDIATE_OR_CANCEL, LIMIT, MARKET } }
13
28
0.561538
[ "MIT" ]
RobJohnston/AnxPro.Api
src/AnxPro.Api/Models/Enums/OrderType.cs
132
C#
using UnityEngine; using System.Collections; using FastCollections; using System.Collections.Generic; namespace RTSLockstep { /// <summary> /// Essentially a collection of LSVariables belonging to a single object (i.e. Ability) /// </summary> public sealed class LSVariableContainer { static...
35.645161
101
0.576018
[ "MIT" ]
mrdav30/LockstepRTSEngine
Assets/Core/Game/Determinism/LSVariableContainer.cs
2,212
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace EIS.WebBase.SysFolder.WorkFlow { pu...
25.5
81
0.411765
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/SysFolder/WorkFlow/FlowErrorInfo.aspx.designer.cs
1,137
C#
using SQLiteTool.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; ...
24.710526
75
0.669862
[ "Apache-2.0" ]
zhaotianff/SQLiteTool
Views/CreateDatabase.xaml.cs
951
C#
using System; using System.Collections.Generic; using System.Text; namespace DataAccess.Env { /// <summary> /// All could come from a config /// </summary> public static class Commons { public const string MESSAGE_QUEUE = "Top_Queue"; public const string DBName = "cashsample"; ...
20.25
56
0.648148
[ "MIT" ]
menfra/RabbitMQ_Kubernetes
DataAccess/Env/Commons.cs
326
C#
// ReSharper disable once CheckNamespace namespace Umbraco.Core { static partial class Constants { public static class Locks { public const int Servers = -331; } } }
17.916667
44
0.590698
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Core/Persistence/Constants-Locks.cs
217
C#
// Copyright (c) DNN Software. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using Dnn.DynamicContent; using DotNetNuke.Entities.Content; using DotNetNuke.Tests.Utilities; using Moq; u...
44.175097
144
0.621378
[ "MIT" ]
51Degrees/Dnn.Platform
DNN Platform/Tests/Dnn.Tests.DynamicContent.UnitTests/DynamicContentItemManagerTests.cs
22,708
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using JustSaying.Messaging.MessageProcessingStrategies; using JustSaying.Messaging.Monitoring; using NSubstitute; using Shouldly; using Xunit; namespace JustSaying.UnitTest...
35.023392
153
0.61663
[ "Apache-2.0" ]
JarrodJ83/JustSaying
JustSaying.UnitTests/Messaging/MessageProcessingStrategies/MessageLoopTests.cs
5,989
C#
namespace BashSoftProgram.Contracts { using System; using System.Collections.Generic; public interface IStudent : IComparable<IStudent> { string UserName { get; } IReadOnlyDictionary<string, ICourse> EnrolledCourses { get; } IReadOnlyDictionary<string, double> MarksByCourseNa...
24.105263
70
0.687773
[ "MIT" ]
krasiymihajlov/Soft-Uni-practices
C# OOP Advanced/00. BashSoft/BashSoftProgram/Contracts/Models/IStudent.cs
460
C#
using System.Threading.Tasks; using Flurl; using Flurl.Http; using Marten; using MassTransit; using NetCoreIntegrationTestsSample.Infrastructure; using V1 = NetCoreIntegrationTestsSample.Expenses.Contracts.Expenses.V1; namespace NetCoreIntegrationTestsSample.Expenses { public class CreateExpenseConsumer : IConsum...
32.734177
91
0.595901
[ "MIT" ]
ifs-and-whiles/net-core-integration-tests
NetCoreIntegrationTestsSample/NetCoreIntegrationTestsSample/Expenses/CreateExpenseConsumer.cs
2,588
C#
namespace SoundDeck.Core.Interop { using System; using System.Runtime.InteropServices; /// <summary> /// Provides interoperability for "combase.dll". /// </summary> public static class Combase { /// <summary> /// Gets the activation factory for the specified runtime class. ...
48.388889
196
0.648106
[ "MIT" ]
GeekyEggo/SoundDeck
src/SoundDeck.Core/Interop/Combase.cs
1,742
C#
using NServiceBus.Logging; using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.MessageRouting.RoutingSlips; class Program { static ILog log = LogManager.GetLogger(typeof(Program)); static async Task Main() { Console.Title = "Samples.RoutingSlips.Sender"; ...
29.422222
94
0.567598
[ "Apache-2.0" ]
Cogax/docs.particular.net
samples/routing-slips/MessageRouting_3/Sender/Program.cs
2,559
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.NimbleStudio")] [assembly: Assembly...
48.5625
288
0.756757
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/NimbleStudio/Properties/AssemblyInfo.cs
1,554
C#
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq; using System.Threading.Tasks; using Orleans.Transactions.Abstractions; using Orleans.Core; using Orleans.Runtime; using Orleans.Storage; namespace Orleans.Transactions { internal class TransactionalStateStorage...
48.807229
190
0.706492
[ "MIT" ]
seralexeev/orleans
src/Orleans.Transactions/State/TransactionalStateStorageProviderWrapper.cs
4,053
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Aula2505 { public partial class About : Page { protected void Page_Load(object sender, EventArgs e) { } } }
17.352941
60
0.677966
[ "Apache-2.0" ]
gabyjabonski/Aulas-Asp.net
Aula2505/Aula2505/About.aspx.cs
297
C#
// Copyright (c) 2013 SharpYaml - Alexandre Mutel // // 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, mod...
38.503937
105
0.664826
[ "MIT" ]
vasily-kirichenko/SharpYaml
SharpYaml/Events/DocumentEnd.cs
4,890
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using MLAPI; using MLAPI.Extensions; using MLAPI.NetworkVariable; namespace IdlessChaye.TouhouWaltz { public class Bullet : NetworkBehaviour { public enum BulletType { Big, Middle, Small } public ulong owner; NetworkO...
19.433333
98
0.683819
[ "MIT" ]
IdlessChaye/TouhouWaltz
Assets/TouhouWaltz/Scripts/TouhouWaltz/Battle/Bullet.cs
1,749
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LeetCode.Naive.Problems { /// <summary> /// Problem: https://leetcode.com/problems/maximum-length-of-repeated-subarray/ /// Submission: https://leetcode.com/submissions/detail/250028236/ /// </summar...
21.88
85
0.418647
[ "MIT" ]
viacheslave/leetcode-naive
c#/Problems/P0718.cs
1,094
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. // Code taken from ASP.NET file xsp\System\Web\httpserverutility.cs // Don't entity encode high chars (160 to 256) #...
44.053729
237
0.52791
[ "MIT" ]
OliaG/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCell.cs
245,159
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 Gov.Jag.Spice.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
39.807692
330
0.654106
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/IRegardingobjectidbulkoperationspicerequiredchecks.cs
2,070
C#