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
// 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.EntityFrameworkCore.Internal; using Microsoft.EntityFrameworkCore.Scaffolding.Internal; using Xunit; namespace Microsoft.EntityFramewor...
43.170732
132
0.684181
[ "Apache-2.0" ]
Wrank/EntityFrameworkCore
test/EFCore.Design.Tests/Scaffolding/Internal/CSharpNamerTest.cs
1,770
C#
// System.EnterpriseServices.Internal.GenerateMetadata.cs // // Author: Mike Kestner (mkestner@ximian.com) // // Copyright (C) 2004 Novell, Inc. // // 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...
31.577465
130
0.752899
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/System.EnterpriseServices/System.EnterpriseServices.Internal/GenerateMetadata.cs
2,242
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace WechatSDK { public class WXSDK { private API.WXAPI api = new API.WXAPI(); private Action<byte[]> CBLogin; private Func<UserRequest, boo...
29.25
178
0.415771
[ "MIT" ]
406345/wechat
WechatSDK/WXSDK.cs
3,629
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.DirectoryServices.Protocols; using System.Globalization; using System.IO; using System.Linq; using OptigemLdapSync.Models; namespace OptigemLdapSync { internal class SyncEngine { private readonly ISyncConfiguration ...
38.753463
208
0.5198
[ "MIT" ]
feg-giessen/OptigemLdapSync
OptigemLdapSync/SyncEngine.cs
13,995
C#
namespace OpenQA.Selenium.DevTools.Page { using Newtonsoft.Json; /// <summary> /// GetInstallabilityErrors /// </summary> public sealed class GetInstallabilityErrorsCommandSettings : ICommand { private const string DevToolsRemoteInterface_CommandName = "Page.getInstallabilityErrors"; ...
25.25
121
0.612624
[ "Apache-2.0" ]
418sec/selenium
dotnet/src/webdriver/DevTools/AutoGenerated/Page/GetInstallabilityErrorsCommand.cs
808
C#
using System; namespace NotFightClub_WebAPI { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
17.375
65
0.661871
[ "MIT" ]
08162021-dotnet-uta/P2_Group2
NotFightClub/NotFightClub_WebAPI/WeatherForecast.cs
278
C#
#pragma warning disable 1591 namespace Braintree.Exceptions { public class UpgradeRequiredException : BraintreeException { } }
15.555556
62
0.75
[ "MIT" ]
Ethernodes-org/braintree_dotnet
src/Braintree/Exceptions/UpgradeRequiredException.cs
140
C#
namespace LauncherGUI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
28.35
107
0.556437
[ "CC0-1.0" ]
VDGroup/SURustLauncher
RustLauncher/LauncherGUI/Form1.Designer.cs
1,136
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...
47.507576
348
0.667517
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ServiceFabric/V20190601Preview/GetCluster.cs
12,542
C#
// ----------------------------------------------------------------------- // <copyright file="ClassifierProvider.cs" company="Equilogic (Pty) Ltd"> // Copyright © Equilogic (Pty) Ltd. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Regions...
32.821429
78
0.613711
[ "MIT" ]
VolodymyrBS/regionsareevil
src/RegionsAreEvil/Classifications/ClassifierProvider.cs
922
C#
#region License // Copyright (c) 2021 Peter Šulek / ScaleHQ Solutions s.r.o. // // 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 r...
44.2125
123
0.721233
[ "MIT" ]
psulek/lhqeditor
src/Data/ModelContext.ResourceValue.cs
3,540
C#
using CrossX.Framework.Styles; using Xx; namespace CrossX.Framework.ApplicationDefinition { [XxSchemaExport] public class LengthElement: IValueElement { public ThemeValueKey Key { get; set; } [XxSchemaBindable] public Length Value { get; set; } object IValueE...
21.964286
50
0.614634
[ "MIT" ]
ebatianoSoftware/CrossX
Core/CrossX.Framework/ApplicationDefinition/LengthElement.cs
617
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Loader; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.StaticFile...
38.563869
187
0.559788
[ "MIT" ]
RickStrahl/LiveReloadServer
LiveReloadServer/Startup.cs
21,135
C#
using System; using BizHawk.Common.NumberExtensions; namespace BizHawk.Emulation.Common.Components.MC6809 { public partial class MC6809 { // this contains the vectors of instrcution operations // NOTE: This list is NOT confirmed accurate for each individual cycle private void NOP_() { PopulateCURINSTR(ID...
18.661581
87
0.554887
[ "MIT" ]
Diefool/BizHawk
BizHawk.Emulation.Cores/CPUs/MC6809/OP_Tables.cs
13,455
C#
//------------------------------------------------------------------------------ // TDBaseName.cs // Copyright 2019 2019/2/18 // Created by CYM on 2019/2/18 // Owner: CYM // 填写类的描述... //------------------------------------------------------------------------------ using System; using System.Collections.Generic; names...
39.830128
130
0.54454
[ "MIT" ]
chengyimingvb/CYMUni
Plugins/_CYM/_Base/TableDatas/TDBaseName.cs
12,487
C#
using System; using System.Collections.Generic; using UnityEngine; using Xunity.ScriptableReferences; using Object = UnityEngine.Object; namespace Xunity.ScriptableFunctions { [CreateAssetMenu(menuName = BASE_MENU + "Vector3FromComponent")] public class Vector3FromComponent : ScriptableFunction<Component, Vect...
30.547368
94
0.564094
[ "Unlicense" ]
ixi150/Xunity
ScriptableFunctions/Vector3FromComponent.cs
2,902
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.862069
85
0.618938
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cdb/V20170320/Models/DescribeTagsOfInstanceIdsRequest.cs
1,764
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...
30.169231
109
0.540711
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/LexModelBuildingService/Generated/Model/BotAliasMetadata.cs
5,883
C#
using System; using System.IO; namespace Memoria.Prime.Ini { public sealed class StringIniValue : IniValue { public String Value; public StringIniValue(String name) : base(name) { } public override void ParseValue(String rawString) { Va...
18.44
57
0.548807
[ "MIT" ]
Albeoris/Memoria
Memoria.Prime/Ini/StringIniValue.cs
463
C#
using UnityEngine; using System.Collections.Generic; using System; public class Chatty : MonoBehaviour { // The font to use. public Font font; // The object that displays the sprites. public GameObject background; // The backgrounds to display. private Sprite[] sprites; // Questions/answers/moods priva...
27.091803
113
0.652548
[ "MIT" ]
benoitcorda/GameJam
Assets/Scripts/Chatty.cs
8,263
C#
using Foosball.Services; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Foosball.Extensions { public static class RepositoryServiceExtention { public static void AddRepository(this IServiceColle...
23.666667
74
0.737089
[ "MIT" ]
DCHRoots/foosball
Foosball/Extensions/RepositoryServiceExtension.cs
428
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Roslynator.Analyzers.Tests, PublicKey=0024000004800000940000000602000000240000525341310...
197.666667
395
0.944351
[ "Apache-2.0" ]
IanKemp/Roslynator
src/Tests/TestFramework.VisualBasic/Properties/AssemblyInfo.cs
1,781
C#
using System; using System.Data; using System.Diagnostics; using NUnit.Framework; using SPSProfessional.SharePoint.Framework.Comms; namespace SPSProfessional.SharePoint.Framework.Tests.Comms { [TestFixture] public class SPSSchema_Tests { [Test] public void Constructor() { ...
35.522727
118
0.595649
[ "MIT" ]
csegura/SPSProfessional-Full-Repo
SPSFramework.2.8/SPSProfessional.SharePoint.Framework.Tests/Comms/SPSSchema_Tests.cs
6,254
C#
using System.Linq; using Lion.AbpPro.DataDictionaryManagement.DataDictionaries.Aggregates; using Microsoft.EntityFrameworkCore; namespace Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.DataDictionaries { public static class DataDictionaryEfCoreQueryableExtensions { public static IQueryable<Da...
29.8
107
0.677852
[ "MIT" ]
312977/abp-vnext-pro
aspnet-core/modules/DataDictionaryManagement/src/Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/DataDictionaries/DataDictionaryEfCoreQueryableExtensions.cs
596
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Runtime.Interop...
44.210621
193
0.536938
[ "Apache-2.0" ]
avodovnik/roslyn
src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
148,196
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 System.Collections.Generic; using Microsoft.Extensions.Logging; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Abstractions.Mount; us...
38.271605
149
0.61129
[ "MIT" ]
2mol/templating
src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/Config/ReplacementConfig.cs
3,100
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Microsoft.Ma...
23.936508
110
0.734748
[ "MIT" ]
jongalloway/maui
src/ControlGallery/src/Xamarin.Forms.Controls.Issues.Shared/Issue8743.cs
1,510
C#
using System; public class PlayWithTrees { public static void Main() { var tree = new Tree<int>(7, new Tree<int>(19, new Tree<int>(1), new Tree<int>(12), new Tree<int>(31)), new Tree<int>(21), ...
30.06383
64
0.478415
[ "MIT" ]
mayapeneva/Data-Structures
03. Basic-Trees-Tree-BinaryTree/BasicTreesLab/Trees/PlayWithTrees.cs
1,415
C#
using System.Windows; using System.Windows.Controls; namespace TicTacToe.UI.Units { public class GameBoardItem : ListBoxItem { static GameBoardItem() { DefaultStyleKeyProperty.OverrideMetadata(typeof(GameBoardItem), new FrameworkPropertyMetadata(typeof(GameBoardItem))); } } }
20.785714
121
0.783505
[ "MIT" ]
ZTZEROS/tictactoe-wpf
src/TicTacToe/UI/Units/GameBoardItem.cs
293
C#
using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using SFB; [RequireComponent(typeof(Button))] public class CanvasSampleOpenFileImage : MonoBehaviour, IPointerDownHandler { p...
28.822581
114
0.660325
[ "MIT" ]
xeratol/UnityStandaloneFileBrowser
Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileImage.cs
1,787
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection.Metadata.Ecma335; using System.Threading.Tasks; namespace ECCE.Models { public class ProdutoModel { public tb_produto tb_produto { get; set; } publi...
26.575342
72
0.581443
[ "MIT" ]
JrCbSilva/EcommerceEmCasaComEstilo
ECCE/ECCE/Models/tb_produto.cs
1,948
C#
using Imagin.Common.Converters; using Imagin.Common.Models; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Input; namespace Imagin.Common.Controls { public partial class LayoutRootControl : UserControl { public ILayoutControl Chi...
45.772727
261
0.528103
[ "BSD-2-Clause" ]
lwFace/Imagin.NET
Imagin.Common.WPF/Controls/DockView/Controls/LayoutRootControl.xaml.cs
10,072
C#
// Copyright (c) Zain Al-Ahmary. All rights reserved. // Licensed under the MIT License, (the "License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at https://mit-license.org/ using HDDL.Language.HDSL.Results; using HDDL.IO.Disk; using System; using Sys...
36.426979
172
0.49293
[ "MIT" ]
zainta/Harddrive-Library
Harddrive-Library/Data/DataHandler.cs
65,352
C#
namespace Workflow; internal class WorkflowException<TContext> : Exception where TContext : WorkflowBaseContext { public WorkflowException(Exception exception, TContext context, IWorkflowStep<TContext> step) : base($"Step: {step.GetType().Name}, Context - {context.PropertiesToString<TContext>()}", except...
37.555556
109
0.736686
[ "MIT" ]
byCrookie/Workflow
src/Workflow/WorkflowException.cs
340
C#
namespace Sistema_cantina { partial class Form1 { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão sendo usados. /// </summary> ...
39.098361
124
0.557862
[ "MIT" ]
FireWallSP/SistemaCantina
Sistema_cantina/Form1.Designer.cs
4,785
C#
using System.Collections; using System.Collections.Generic; using ReGoap.Unity; using UnityEngine; public class HappyAnimalGoal : ReGoapGoalAdvanced<string, object> { protected override void Awake() { base.Awake(); goal.Set("foodEaten", true); } }
19.857143
65
0.697842
[ "MIT" ]
uug-trento/goap-unity
Assets/Scripts/HappyAnimalGoal.cs
280
C#
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public partial class NewUnitTest { public static SqlSugarClient Db=> new SqlSugarClient(new ConnectionConfig() { DbType = DbType.SqlServer, Connecti...
26.030769
108
0.459811
[ "Apache-2.0" ]
chenketian/SqlSugar
Src/Asp.Net/SqlServerTest/UnitTest/Main.cs
1,694
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.ServerlessApplicationRepository")] ...
46.09375
179
0.75661
[ "Apache-2.0" ]
damianh/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/ServerlessApplicationRepository/Properties/AssemblyInfo.cs
1,475
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { #pragma warning disable CS8618 [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementAndStatement")] public class Wafv2WebAclRuleStatementRateBasedStatementScope...
45.857143
246
0.778816
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementOrStatementStatementAndStatement.cs
963
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameScore : MonoBehaviour { Text scoreUIText; int score; public int Score { get { return this.score; } set { score = valu...
18.410256
64
0.579387
[ "MIT" ]
boonitis/gamejam2018-kalawar
Doraemon/Assets/Scripts/GameScore.cs
720
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
41.492537
195
0.639209
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/NimbleStudio/Generated/Model/Internal/MarshallTransformations/GetLaunchProfileResponseUnmarshaller.cs
5,560
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
36.542857
84
0.756059
[ "MIT" ]
alberteije/Prosperity
Prosperity/Prosperity.Droid/Properties/AssemblyInfo.cs
1,282
C#
using System; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Windows.Input; using Xamarin.Forms; namespace Prism.Behaviors { /// <summary> /// Behavior class that enable using <see cref="ICommand" /> to react on events raised by <see cref="B...
41.920635
188
0.59769
[ "MIT" ]
Algorithman/Prism
src/Forms/Prism.Forms/Behaviors/EventToCommandBehavior.cs
10,566
C#
/* * ProWritingAid API V2 * * Official ProWritingAid API Version 2 * * OpenAPI spec version: v2 * Contact: hello@prowritingaid.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Reflection; using System.Collections.Generic; using System.IO; using System.Linq;...
25
106
0.710588
[ "Apache-2.0" ]
prowriting/prowritingaid.csharp
ProWritingAid.SDK/Client/GlobalConfiguration.cs
850
C#
namespace SE347.L11_HelloWork.Authentication.External { public class ExternalAuthUserInfo { public string ProviderKey { get; set; } public string Name { get; set; } public string EmailAddress { get; set; } public string Surname { get; set; } public string Provider { ...
21.25
54
0.623529
[ "MIT" ]
NgocSon288/HelloWork
aspnet-core/src/SE347.L11_HelloWork.Web.Core/Authentication/External/ExternalAuthUserInfo.cs
342
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
36.445946
246
0.628105
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Vod/V20180717/Models/DescribeAdaptiveDynamicStreamingTemplatesRequest.cs
2,697
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.Guitar { class Program { static void Main(string[] args) { int[] nums = Console.ReadLine() .Split(new string[] { ", " }, StringSplitOpti...
30.811321
75
0.393754
[ "MIT" ]
KristiyanSevov/Algorithms
Exercises/12. PracticalProblems 2 (Lab)/02. Guitar/Program.cs
1,635
C#
using System.Threading.Tasks; using GoNorth.Data.FlexFieldDatabase; using GoNorth.Data.Styr; using GoNorth.Services.Export.Data; using GoNorth.Services.Export.Dialog.ActionRendering.ConfigObject; using GoNorth.Services.Export.Placeholder; using GoNorth.Services.Export.Placeholder.ScribanRenderingEngine.LanguageKe...
44.479167
192
0.676815
[ "MIT" ]
Dyescape/GoNorth
Services/Export/Dialog/ActionRendering/ScribanRenderingEngine/ScribanSpawnItemActionRenderer.cs
2,135
C#
using System; using System.Collections.Generic; namespace FakerUnitTest.Test { public class NullableFieldsClassNoConstructor { public DateTime dateTimeField; public List<byte> listField; public object objectField; } }
19.692308
49
0.710938
[ "MIT" ]
RedDiamond69/Faker
FakerUnitTest/Test/NullableFieldsClassNoConstructor.cs
258
C#
using System; using System.Collections.Generic; using System.Linq; using FluentDbTools.Common.Abstractions; using Example.FluentDbTools.Database; using Example.FluentDbTools.Migration; namespace TestUtilities.FluentDbTools { public static class TestServiceProvider { public static IServiceProvider GetD...
44.066667
93
0.729198
[ "MIT" ]
DIPSAS/FluentDbTools
src/FluentDbTools/Tests/TestUtilities.FluentDbTools/TestServiceProvider.cs
1,324
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.MemoryMappedFiles; using System.Linq; using System.Net.Http; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using DotnetSpider.Core; using DotnetSpider.Data; using DotnetSpider.Data.Storage; us...
23.739651
109
0.615381
[ "MIT" ]
lenwen/DotnetSpider
src/DotnetSpider/Spider.cs
24,307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace baggage_handling_system { public class Passenger { private string ID; private string FlightNo; private bool transfer; private bool ExtraBaggageAllowance...
34.7
121
0.620317
[ "MIT" ]
ardasdasdas/baggage-handling-system
baggage-handling-system/baggage-handling-system/passenger.cs
1,390
C#
using System.Collections.Generic; using NetDevPL.Infrastructure.Services; namespace NetDevPLWeb.Features.WebCasts { public class WebcastsSource { private readonly IJsonReader _jsonReader; public WebcastsSource(IJsonReader jsonReader) { _jsonReader = jsonReader; } ...
24.2
87
0.663223
[ "MIT" ]
NetDevelopersPoland/NetDevPLWebsite
src/Apps/NetDevPL.Apps.WebApp/Features/WebCasts/WebcastsSource.cs
486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using InternshipER.App_Code; namespace InternshipER { public partial class login : System.Web.UI.Page { protected void Page_Load(...
28.175
94
0.563443
[ "MIT" ]
EnesAltinisik/Inter
InternshipER/login.aspx.cs
1,132
C#
using MelonLoader; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CacheRemover.Internals { class Logger { public static void Msg(string text) { MelonLogger.Msg(text); Struct.DebugText = Struc...
24.258065
80
0.569149
[ "Unlicense" ]
not90Hz/CacheRemover
CacheRemover/Internals/Logger.cs
754
C#
 public class ProduceDialogVO { /// <summary> /// 描述文本 /// </summary> public string TextDescribe; /// <summary> /// icon 图标 /// </summary> public int ImageIcon; /// <summary> /// icon 图标 /// </summary> public int ImageBaseIcon; /// <summary> /// 类型名字 /// ...
14.965517
31
0.502304
[ "Apache-2.0" ]
fqkw6/RewriteFrame
other/Scripts/Model/VO/ProduceDialogVO.cs
468
C#
namespace More.Collections.Generic { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Linq; /// <summary> /// Represents a debugging class used to visualize an instance of t...
36.613636
175
0.596524
[ "MIT" ]
pashcovich/More
src/Core/Core/More/Collections.Generic/StackDebugViewT.cs
1,613
C#
using System; using System.IO; using Amazon.Lambda.Core; namespace LambdaNative.Internal { internal class StreamSerializer : ILambdaSerializer { public T Deserialize<T>(Stream requestStream) { return (T)Convert.ChangeType(requestStream, typeof(T)); } public void Se...
24
67
0.638158
[ "MIT" ]
ifew/lambda-native
src/Internal/StreamSerializer.cs
458
C#
using System; using System.Linq; namespace _02.Rotate_and_Sum { class Program { static void Main(string[] args) { var numArray = Console.ReadLine() .Split(' ') .Select(int.Parse) .ToArray(); int countRotations = int.Parse(...
27.425
78
0.437557
[ "MIT" ]
LuchezarVelkov/C-Sharp-Course
02 Programming Fundamentals/14 ARRAYS - EXERCISES/02. Rotate and Sum/02. Rotate and Sum.cs
1,099
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.035714
81
0.696815
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20181001/Outputs/ApplicationGatewayAutoscaleConfigurationResponse.cs
785
C#
using System; using Bing.Datas.Sql; using Bing.Datas.Sql.Builders; using Bing.Datas.Sql.Builders.Clauses; using Bing.Datas.Sql.Builders.Core; using Bing.Datas.Sql.Matedatas; namespace Bing.Datas.Dapper.Sqlite { /// <summary> /// Sqlite 表连接子句 /// </summary> public class SqliteJoinClause : JoinClause ...
34.869565
110
0.600998
[ "MIT" ]
brucehu123/Bing.NetCore
framework/src/Bing.Datas.Dapper/Sqlite/SqliteJoinClause.cs
1,724
C#
// <auto-generated /> using CarRentalClient.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; namespace C...
37.705036
125
0.471475
[ "MIT" ]
YotakaUMi/CarRental
CarRentalClient/CarRentalClient/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
10,482
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Drawing.Imaging; using System.Drawing; using System.IO; using System.Text.RegularExpressions; using System.CodeDom; using System.Reflection; using DotaHIT.Jass.Types; using DotaHIT.Jass.Operations; usin...
33.296341
174
0.486064
[ "Unlicense" ]
UnrealKaraulov/w3gReplayEditor
dotahittest/DotaHAB/Jass/_Commands.cs
27,303
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....
35.714286
85
0.554
[ "Unlicense" ]
Polimat/Gamma
Entities/DocMaterialTankRemainders.cs
1,000
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace BastetFTMAPI.Authentication { public interface IUserService { Task<User> AuthenticateAsync(string username, string userNameHash, string password); Task CreateUserAsync(User user); Task<User> GetUser...
25.733333
92
0.715026
[ "Apache-2.0" ]
Eng-RedWolf/Bastet-FTM-API
Authentication/IUserService.cs
388
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // using UnityEngine; using System.Collections; using HUX.Utility; using HUX; // Updates gamepad from network source (most likely a controller connected ...
25.043478
92
0.653212
[ "MIT" ]
AhmedAldahshoury/HololensApp
DesignLabs_Unity/Assets/MRDesignLab/HUX/Scripts/Input/InputSourceNetGamepad.cs
2,306
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.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage; using Mic...
50.923077
122
0.629909
[ "Apache-2.0" ]
0x0309/efcore
src/EFCore/Query/CompiledQueryCacheKeyGeneratorDependencies.cs
4,634
C#
namespace Restall.Ichnaea.Tests.Unit { using ExceptionTest = ExceptionTest<AggregateRootNotBeingTrackedException, AggregateRootNotBeingTrackedExceptionTest.DefaultExceptionProperties>; public class AggregateRootNotBeingTrackedExceptionTest: ExceptionTest { public new class ExceptionProperties: ExceptionTest.Exce...
27.8
146
0.820144
[ "MIT" ]
pete-restall/Ichnaea
Ichnaea.Tests/Unit/AggregateRootNotBeingTrackedExceptionTest.cs
558
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum ItemType { Seed, Flower, SunPowerup } public class ItemSpawner : MonoBehaviour { GameController gameController; public GameObject seed; public GameObject[] flowers; public GameObject sunPowerup; private vo...
29.513514
107
0.668498
[ "MIT" ]
KeithSwanger/a-field-of-flowers
Start From Nothing/Assets/Scripts/ItemSpawner.cs
1,094
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...
30.728814
121
0.605626
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/Inputs/ApplicationGatewayPrivateLinkIpConfigurationArgs.cs
1,813
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementOrStatementStatementNotStatementStatementNotStatementStatement")] public class Wafv2WebAclRuleStatementOrStatementStatementNotStatementStatementNotStatementStatement : ...
60.405405
306
0.733557
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementOrStatementStatementNotStatementStatementNotStatementStatement.cs
4,470
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/propsys.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime...
46.640449
178
0.676704
[ "MIT" ]
manju-summoner/terrafx.interop.windows
sources/Interop/Windows/um/propsys/IPropertyChangeArray.cs
4,153
C#
/****************************************************************************** * The MIT License * Copyright (c) 2003 Novell Inc. 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 Sof...
37.94898
112
0.534149
[ "MIT" ]
DennisGlindhart/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/LdapMatchingRuleUseSchema.cs
7,438
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [Serializable] public class PlayerStatistics { public List<MonsterScriptableObject> squad; public Dictionary<string, Monster> monstersDict = new Dictionary<string, Monster>(); public float playerSpeed; public...
34.185185
116
0.717226
[ "MIT" ]
kodalli/Brackeys-Game-Jam-2021
Assets/Scripts/Save State/PlayerStatistics.cs
925
C#
using System; using System.Linq; using System.Collections.Generic; namespace _02FeedTheAnimals { class Program { static void Main(string[] args) { string input = Console.ReadLine(); var animals = new Dictionary<string, int>(); var areasWithHungryAnimals = n...
32.197674
112
0.421091
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-Technology-Fundamentals/Final-Exams/Final-Exam-18-April-2019/02FeedTheAnimals/Program.cs
2,771
C#
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; using System.Windows.Media.Imaging;...
22.517241
45
0.719755
[ "MIT" ]
Calabonga/TemplateProcessor
Calabonga.TemplateProcessor.Wpf/MainWindow.xaml.cs
655
C#
using Dahomey.Cbor; using Dahomey.Cbor.ObjectModel; using Dahomey.Cbor.Serialization; using Dahomey.Cbor.Serialization.Converters; using System; using System.Collections.Generic; using System.Text; namespace DMNet.SpacemanDMM.AST.Converters { class PopConverter : CborConverterBase<Pop> { p...
29.588235
113
0.528827
[ "MIT" ]
dm-net/DMNet
src/DMNet.SpacemanDMM/AST/Converters/PopConverter.cs
1,511
C#
using UnityEngine; using System.Collections; using RootMotion.FinalIK; namespace RootMotion.FinalIK { /// <summary> /// Simple VRIK LOD level controller based on renderer.isVisible and camera distance. /// </summary> public class VRIKLODController : MonoBehaviour { public Renderer LODRen...
26.276596
174
0.579757
[ "MIT" ]
Adv-Dev-Midterm-Shooter-Team-1/Midterm-Shooter
AGD Midterm Shooter/Assets/Plugins/RootMotion/FinalIK/Tools/VRIKLODController.cs
1,237
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
44.894737
153
0.62544
[ "Apache-2.0" ]
IMD246/LibraryManagement
QLTV(DOaN)/DQuanLyThuVien(Admin)/Properties/Settings.Designer.cs
1,708
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TypeLess.Tests { [Serializable] public class SomeException : Exception { public SomeException() { } public SomeException(string message) : base(message) { } ...
29
88
0.688013
[ "MIT" ]
jansater/TypeLess
TypeLess.Tests/SomeException.cs
611
C#
//-------------------------------------------------------------------------------------------------- // <copyright file="PlatformsResponseExample.cs" company="Traeger Industry Components GmbH"> // This file is protected by Traeger Industry Components GmbH Copyright © 2019-2020. // </copyright> // <author>Timo Walte...
39.809524
100
0.551435
[ "MIT" ]
Traeger-GmbH/release-server
sources/ReleaseServer/ReleaseServer.WebApi/SwaggerDocu/PlatformsResponseExample.cs
837
C#
using SlackConnector.Connections.Models; using SlackConnector.Models; namespace SlackConnector.Extensions { internal static class UserExtensions { public static SlackUser ToSlackUser(this User user) { var slackUser = new SlackUser { Id = user.Id, ...
30.428571
61
0.519249
[ "MIT" ]
danieljoos/SlackConnector
src/SlackConnector/Extensions/UserExtensions.cs
1,067
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...
31.834711
246
0.581256
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ContainerRegistry/GetWebhook.cs
3,852
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...
30.482759
109
0.671946
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/StartInstanceRefreshResponse.cs
1,768
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2020 // // 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 r...
35.903846
81
0.692019
[ "MIT" ]
FacticiusVir/SharpVk
src/SharpVk/Interop/ImageStencilUsageCreateInfo.gen.cs
1,867
C#
using System; using System.Collections.Generic; using System.Linq; namespace MIConvexHull { public static class ConvexHull { public static ConvexHull<TVertex, TFace> Create<TVertex, TFace>(IList<TVertex> data, double PlaneDistanceTolerance = 1E-10) where TVertex : IVertex where TFace : ConvexFace<TVertex, TFace>, ...
33.87234
197
0.748744
[ "MIT" ]
undancer/oni-data
Managed/firstpass/MIConvexHull/ConvexHull.cs
1,592
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace allpet.http.server { public interface IController { Task ProcessAsync(HttpContext context); } }
18.428571
47
0.748062
[ "MIT" ]
allpet-project/allpet.http
httpserver/IController.cs
260
C#
using PersonalSpendingAnalysis.Repo; 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; using System.Windows.Forms.DataVisualization.Charting; using System....
36.246753
161
0.539472
[ "MIT" ]
hipparchus2000/PersonalSpendingAnalysis
PersonalSpendingAnalysis/Dialogs/Reports.cs
8,375
C#
// Copyright (c) 2022 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; namespace React...
34
90
0.700535
[ "MIT" ]
Awsmolak/ReactiveUI
src/ReactiveUI.Fody.Helpers/ReactiveDependencyAttribute.cs
1,124
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using Inedo.Agents; using Inedo.BuildMaster.Extensibility.Agents; using Inedo.BuildMaster.Extensibility.IssueTrackerConnections; using Inedo.BuildMaster.Extensibility.Providers; using Inedo.BuildMaster.Web; using I...
40.845494
187
0.595251
[ "Unlicense" ]
eccsolutions/inedox-tfs
TFS/BuildMasterExtension/Legacy/Providers/TfsIssueTrackingProvider.cs
9,519
C#
using System; using System.Globalization; using System.Windows.Data; namespace DrawWiz { public class EnumConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value =...
30.444444
73
0.536496
[ "MIT" ]
sjr213/MathWiz
DrawWiz/EnumConverter.cs
1,098
C#
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using EnvDTE; using Microsoft.VisualStudio.Shell; namespace Editorsk { internal class SortLinesCommand : BaseCommand<SortLinesCommand> { private delegate void Replacement(Direction direction); ...
28.107692
94
0.573071
[ "Apache-2.0" ]
madskristensen/Editorsk
src/Commands/SortLinesCommand.cs
1,827
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
43.980769
179
0.573459
[ "MIT" ]
Arsasana/azure-powershell
src/MySql/generated/runtime/UndeclaredResponseException.cs
4,471
C#
/**************************************************************************** * * Copyright (c) 2020 CRI Middleware Co., Ltd. * ****************************************************************************/ using UnityEngine; /** * \addtogroup CRIATOM_UNITY_COMPONENT * @{ */ /** * <summary>3D...
23.590909
97
0.632948
[ "MIT" ]
smpny7/VIVACE
Assets/Plugins/CriWare/CriAtom/CriAtomRegion.cs
2,418
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
63.7
81
0.791994
[ "MIT" ]
Ethereal77/stride
sources/core/Stride.Core/Properties/AssemblyInfo.cs
1,274
C#
/* * Signals API * * Collection of endpoints for providing Signal Events, Definitions and Metadata * * The version of the OpenAPI document: 2.4.0 * Contact: signals.api@factset.com * Generated by: https://github.com/openapitools/openapi-generator.git */ namespace FactSet.SDK.Signals.Client { /// <summary>...
25.085714
80
0.600228
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/Signals/v2/src/FactSet.SDK.Signals/Client/HttpMethod.cs
878
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Teamer.Models { public class Team { public string Name { get; set; } public string Leader { get; set; } public ICollection<Project> Projects { get; set; } ...
19.05
58
0.653543
[ "Apache-2.0" ]
Windows-Applications-Captain-Cold/Mobile-Food-Ordering
EatFast/EatFast/Models/Team.cs
383
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Analyzer.Utilities { internal static class WellKnownTypeNames { public const string SystemAppContext = "System.AppContext"; ...
105.616495
189
0.803783
[ "Apache-2.0" ]
lostmsu/roslyn-analyzers
src/Utilities/Compiler/WellKnownTypeNames.cs
51,226
C#
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; namespace FormFlow { public static class RedirectToActionResultExtensions { public static RedirectToActionResult WithJourneyInstanceUniqueKey( this RedirectToActionResult result, JourneyInstance i...
29.617647
77
0.623635
[ "MIT" ]
gunndabad/formflow
src/FormFlow/RedirectToActionResultExtensions.cs
1,009
C#
using Windows.UI.Xaml.Controls; namespace Dota2Handbook.Views { public sealed partial class Leaderboards : Page { public Leaderboards() { InitializeComponent(); } } }
18
51
0.601852
[ "MIT" ]
firatesmer/dota2-handbook
Dota2Handbook/Views/Leaderboards.xaml.cs
218
C#