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
//----------------------------------------------------------------------- // XAML Test Data Loader Sample Application by Nicholas Armstrong // Available online at http://nicholasarmstrong.com // // This code is designed for illustration purposes only. // Exception handling and other coding practices required fo...
31.755102
75
0.52635
[ "MIT" ]
ndrarmstrong/blog
TestDataLoader/TestDataLoader/Attribute.cs
1,558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; using System.ComponentModel; using System.Threading; using game_Simulation.Entities.Server; using game_Simulation.Structs; namespace game_Simulation.Entities { ...
30.837209
133
0.463047
[ "MIT" ]
michael-kamel/BankSim
game_Simulation/Entities/Bank.cs
9,284
C#
using System; using System.Windows.Forms; namespace Jabra.CiscoSpark { public partial class BrowserForm : Form { public string Code { get; set; } public BrowserForm() { InitializeComponent(); } private void webBrowser1_DocumentCompleted(object sender, WebB...
27.696429
269
0.551257
[ "MIT" ]
gnaudio/cisco-spark-integration
src/Jabra.CiscoSpark/BrowserForm.cs
1,553
C#
using System.Threading.Tasks; using Playground.Domain.Events; using Playground.Messaging; namespace Playground.Domain.Persistence.PostgreSQL.PerformanceTests.GenericIdentifer.Helpers { internal class DummyDispatcher : IEventDispatcherWithGenericIdentity { public Task RaiseEvent<TEvent>(TEvent domainEv...
30.533333
92
0.737991
[ "MIT" ]
carlos-vicente/Playground
Playground.Domain.Persistence.PostgreSQL.PerformanceTests/GenericIdentifer/Helpers/DummyDispatcher.cs
460
C#
//Copyright 2018, Davin Carten, All rights reserved #if PUN_2_OR_NEWER || MIRROR || !UNITY_2019_1_OR_NEWER using System.Diagnostics; using UnityEngine; using emotitron.Compression; namespace emotitron.NST { public enum BandwidthLogType { MasterIn, MasterOut, UpdateSend, UpdateRcv, UpdateMirror } /// <summary> /...
28.540541
238
0.683712
[ "MIT" ]
TwoTenPvP/NetworkSyncTransform
Assets/emotitron/NST Core/Scripts/NST/Utility/BandwidthUsage.cs
3,170
C#
// Distrubuted under the MIT license // =================================================== // SharpMC uses the permissive MIT license. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the “Software”), to deal // in the Software...
29.205882
80
0.684794
[ "MIT" ]
AVollane/SharpMC
src/SharpMC.Core/Networking/Packages/Ping.cs
1,997
C#
// Copyright 2016-2017 Confluent Inc. // // 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 t...
36.753086
152
0.599597
[ "Apache-2.0" ]
karayakar/confluent-kafka-dotnet
test/Confluent.Kafka.UnitTests/Serialization/Float.cs
2,979
C#
namespace StoreUI { public interface ICustomerMenu { public void Start(); } }
14
34
0.602041
[ "MIT" ]
210215-USF-NET/Hans_Mittig-P0
StoreUI/ICustomerMenu.cs
98
C#
// DirectXSharp // // Copyright (C) 2021 Ronald van Manen <rvanmanen@gmail.com> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without...
51.513514
163
0.769675
[ "MIT" ]
ronaldvanmanen/DirectXSharp
sources/DirectXSharp.Interop/d3d9/D3DAUTHENTICATEDCHANNEL_CONFIGUREPROTECTION.cs
1,906
C#
using System; using Clarity.Common.Infra.TreeReadWrite.Serialization.Handlers; using Clarity.Common.Numericals.Algebra; using Clarity.Common.Numericals.Colors; using Clarity.Common.Numericals.Geometry; namespace Clarity.Common.Infra.TreeReadWrite.Serialization.HandlerFamilies { public class NumericalsTrwHandlerFa...
36.180328
148
0.517898
[ "MIT" ]
Zulkir/ClarityWorlds
Source/Clarity.Common/Infra/TreeReadWrite/Serialization/HandlerFamilies/NumericalsTrwHandlerFamily.cs
2,209
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...
43.059524
148
0.606304
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/MachineLearningServices/V20190501/Workspace.cs
10,851
C#
using System; using System.Collections.Generic; using System.Text; namespace GameRankServer.Storage { public class GameRanks : EFBase<long> { /// <summary> /// 游戏ID /// </summary> public long GameId { get; set; } /// <summary> /// 昵称 /// </summary> ...
19.266667
48
0.480969
[ "MIT" ]
yktudou/gamerankserver
GameRankServer/GameRankServer.Storage/GameRanks.cs
600
C#
// Generated from https://github.com/nuke-build/nuke/blob/master/build/specifications/Octopus.json using JetBrains.Annotations; using Newtonsoft.Json; using Nuke.Common; using Nuke.Common.Execution; using Nuke.Common.Tooling; using Nuke.Common.Tools; using Nuke.Common.Utilities.Collections; using System; using System....
52.348833
796
0.619541
[ "MIT" ]
ElijahReva/nuke
source/Nuke.Common/Tools/Octopus/Octopus.Generated.cs
273,575
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace Flowers.Forms.Droid { [Activity(Label = "Flowers.Forms", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigC...
26.56
162
0.695783
[ "MIT" ]
lbugnion/sample-2015-bbv
Flowers - Start/Flowers.Forms/Flowers.Forms.Droid/MainActivity.cs
666
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 * ...
33.125
105
0.617191
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dbbrain/V20191016/Models/DescribeMailProfileRequest.cs
2,589
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System....
34.104895
145
0.572688
[ "MIT" ]
CameronLoewen/docusign-csharp-client
sdk/src/DocuSign.eSign/Model/BillingPlanResponse.cs
4,877
C#
using System; class Program { static void Main() { int n = 3; int[] arr = new int[n]; for (int i = 0; i < arr.Length; i++) { arr[i] = i + 1; } Permutation(arr, 0); } private static void Permutation(int[] arr, int index) { if (in...
19.487179
57
0.419737
[ "MIT" ]
evlogihr/TelerikAcademy-Exercises
Workshop-Arrays/Permutations/Program.cs
762
C#
namespace LogicMonitor.Provisioning.Config; public abstract class NamedItem { public string Name { get; set; } = string.Empty; }
18.714286
49
0.763359
[ "MIT" ]
PanoramicDag/LogicMonitor.Provisioning
LogicMonitor.Provisioning/Config/NamedItem.cs
131
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SeresProducoes.Models; namespace...
79.77116
4,023
0.568161
[ "Apache-2.0" ]
KatlegoMokethi/Seres-Producies-Website
SeresProducoes/Migrations/20200316224410_MinorUpdates.Designer.cs
25,655
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...
29.272727
74
0.726708
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CapacityReservationInstanceViewTypes.cs
644
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using OpFlix.WebApi.Domains; using OpFlix.WebApi.Interfaces; using OpFlix.WebApi.Repositories; namespace OpFlix.We...
29.89726
91
0.51638
[ "MIT" ]
CleAurora/2s2019-OpFlix
Sprint-2-API/OpFlix.WebApi/OpFlix.WebApi/Controllers/UsuariosController.cs
4,385
C#
using System; namespace inventario { class Program { static void Main(string[] args) { string opcion = ""; Inventario inventario = new Inventario(); while (true) { Console.Clear(); Console.Wr...
31.686275
64
0.35953
[ "MIT" ]
JoseERamirezO/c-sharp
inventario-POO/Program.cs
1,618
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nop.Plugin.Api.DTOs.ShoppingCarts { public class ShoppingCartItemsRootObject : ISerializableObject { public ShoppingCartItemsRootObject() { ShoppingCartItems = new List<ShoppingCartItemDto>(); ...
24.62963
73
0.640602
[ "MIT" ]
ApertureLabsInc/api-plugin-for-nopcommerce
Nop.Plugin.Api/DTOs/ShoppingCarts/ShoppingCartItemsRootObject.cs
667
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 // r...
29.56
74
0.690122
[ "MIT" ]
Bhaskers-Blu-Org2/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/DeliveryModes.cs
741
C#
using System; using System.Collections.Generic; using System.Linq; using BL.UI; using System.Runtime.CompilerServices; using System.Html; namespace BL.Site { public class TwitterTimeline : Control { private String url; private String widgetId; private bool displayFooter = true; ...
22.742574
186
0.444057
[ "Apache-2.0" ]
bendyline/Siter
Script/TwitterTimeline.cs
4,596
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("Ni...
39
77
0.761905
[ "MIT" ]
Lajbert/XNAGameStudio-1
Samples/NinjAcademy/NinjAcademyCommonTypes/Properties/AssemblyInfo.cs
1,368
C#
namespace HumanResourcesSystem.ProjectInfo { using System; using System.Collections.Generic; public class Project { private string deliveryDirectorName; //All prop for any project. public string Ceo { get; set; } public string DeliveryDirectorName { ...
23.461538
70
0.609836
[ "MIT" ]
Mihaildimitrov/CSharpFirstDEMO
HumanResourcesSystem/HumanResourcesSystem/ProjectInfo/Project.cs
612
C#
using System; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; using OnlineOrderSystem.Web.Models; namespace OnlineOrderSystem.Web { public partial class Startup { // 如需...
39.794118
124
0.621582
[ "Apache-2.0" ]
ringlelai/TDDDay2
HSDc.TDD/OnlineOrderSystem.Web/App_Start/Startup.Auth.cs
3,268
C#
using System; using PoESkillTree.Computation.Common; namespace PoESkillTree.Computation.IntegrationTests.Core { internal class ValueTransformation : IValueTransformation { private readonly Func<IValue, IValue> _transformation; public ValueTransformation(Func<IValue, IValue> transform...
28.294118
73
0.68815
[ "MIT" ]
ManuelOTuga/PoE
PoESkillTree.Computation.IntegrationTests/Core/ValueTransformation.cs
467
C#
using System.IO; namespace FileScanner { public interface IHandler { void Handle(FileInfo file); string Name { get; } string GetStatistics(); } }
11.117647
35
0.582011
[ "MIT" ]
rzeeders/FileScanner
FileScanner/IHandler.cs
191
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System; namespace Moryx.Runtime.Modules { /// <summary> /// Enum flags: Notify - Reincarnate /// </summary> [Flags] public enum FailureBehaviour { /// <summary> /// Modu...
22.64
78
0.584806
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Core
src/Moryx.Runtime/Modules/FailureBehaviour.cs
566
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace CommonUtils { public class JaggedByteComparer : IEqualityComparer<byte[]> { private readonly double threshold; public JaggedByteComparer(double threshold) { this.threshold...
21.978723
75
0.571152
[ "MIT" ]
perivar/AbletonLiveConverter
PresetConverterProject/CommonUtils/ByteComparer.cs
1,033
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; namespace Galagram.Collections { /// <summary> /// Inversed list collection /// </summary> /// <typeparam name="T"> /// Type of items /// </typeparam> public class ReverseCollect...
36.367847
170
0.532629
[ "Apache-2.0" ]
iamprovidence/Coursework
Project/Galagram/Collections/ReverseCollection.cs
13,355
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using seyself; public class SVGParserDemo : MonoBehaviour { void Start() { SVGParser parser = new SVGParser(); List<SVGPath> svgPath = parser.Parse("Data/sample.svg"); // List<SVGPath> svgPath = parser.ParseT...
27.411765
90
0.680258
[ "MIT" ]
seyself/SVGParserForUnity
Assets/SVGParser/Demo/SVGParserDemo.cs
466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace MultiTenancyServer.Samples.AspNetIdentityAndEFCore.Models { // Add profile data for application users by adding properties to the ApplicationUser class public class A...
26
95
0.793956
[ "Apache-2.0" ]
T-Systems-MMS/MultiTenancyServer.Samples
src/AspNetIdentityAndEFCore/Models/ApplicationUser.cs
366
C#
namespace CompanyName.Notebook.NoteTaking.Core.Application.Messages { public class NewNoteMessage { public string Text { get; set; } } }
22.285714
67
0.692308
[ "MIT" ]
smashingboxes/reference-architecture-api
src/Core/Application/Messages/NewNoteMessage.cs
156
C#
using ExhaustiveMatching; namespace Adamant.Tools.Compiler.Bootstrap.Core.Operators { public static class AccessOperatorExtensions { public static string ToSymbolString(this AccessOperator @operator) { return @operator switch { AccessOperator.St...
27.111111
75
0.563525
[ "MIT" ]
adamant/adamant.tools.compiler.bootstrap
Core/Operators/AccessOperatorExtensions.cs
488
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace Pwned.Web { public class Startup { // This...
30.942857
122
0.654663
[ "MIT" ]
johnwpowell/efcoresqlite
src/Pwned.Web/Startup.cs
1,085
C#
public class Hero { private string name; private int experience; private IWeapon weapon; public Hero(IWeapon weapon, string name) { this.name = name; this.experience = 0; this.weapon = weapon; } public string Name { get { return this.name; } } ...
17.473684
55
0.542169
[ "MIT" ]
CaptainUltra/IT-Career-Course
Year 2/Module 5 - OOP/UnitTesting/Skeleton/Hero.cs
666
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. //...
36.621622
84
0.563838
[ "MIT" ]
Carifio24/wwt-website
src/WWTMVC5/Models/InviteRequestContent.cs
1,355
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TMOProportion")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: ...
29.648649
57
0.74567
[ "MIT" ]
3dcustom/tsoview
TMOProportion/Properties/AssemblyInfo.cs
1,622
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Text; ...
28
101
0.635531
[ "MIT" ]
AArnott/vs-mef
test/Microsoft.VisualStudio.Composition.Tests/NestedTypeTests.cs
1,094
C#
// <copyright file="DedicatedThreadWorker.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> namespace ClrCoder.Threading { using System; using Syste...
29.551807
108
0.443249
[ "MIT" ]
ClrCoder/ClrCoderFX
src/ClrCoder/Threading/DedicatedThreadWorker.cs
12,264
C#
#region Copyright /////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Phoenix Contact GmbH & Co KG // This software is licensed under Apache-2.0 // /////////////////////////////////////////////////////////////////////////////// #endregion using System.Collect...
34.345238
153
0.632929
[ "Apache-2.0" ]
PLCnext/PLCnext_CLI_VS
src/PlcNextVSExtension/PlcNextProject/NewProjectInformationDialog/NewProjectInformationModel.cs
2,887
C#
using System.ComponentModel.DataAnnotations; namespace FastFood.Web.ViewModels.Orders { public class CreateOrderInputModel { [Required] [StringLength(30, MinimumLength = 3)] public string Customer { get; set; } public int ItemId { get; set; } public int EmployeeId { g...
21.666667
45
0.608791
[ "MIT" ]
NaskoVasilev/Databases-Advanced-EntityFramework-Core
Auto Mapping Objects/Fast Food/FastFood.Web/ViewModels/Orders/CreateOrderInputModel.cs
457
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.UserInterface; using osu.Framework.Utils; namespace osu.Framework.Bindables { public interface IBindableWithCurre...
43.884615
163
0.669588
[ "MIT" ]
ATiltedTree/osu-framework
osu.Framework/Bindables/IBindableWithCurrent.cs
1,116
C#
/*-----------------------------+-------------------------------\ | | | !!!NOTICE!!! | | | | These libraries are under heavy development so they are ...
34.093567
155
0.638336
[ "MIT" ]
cschoenig/ForgeNetworkingRemastered
BeardedManStudios/Source/Forge/DataStore/Cache.cs
11,662
C#
using System.Numerics; using SixLabors.Fonts; using SixLabors.Primitives; namespace SixLabors.Shapes.Temp { /// <summary> /// Text drawing extensions for a PathBuilder /// </summary> public static class TextBuilder { /// <summary> /// Generates the shapes corresponding the glyphs de...
44.313253
159
0.646819
[ "Apache-2.0" ]
jakubmisek/Fonts
samples/DrawWithImageSharp/TextBuilder/TextBuilder.cs
3,678
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; public class GameSceneScript : Scene<TransitionData> { public bool endGame; public static bool hasWon { get; private set; } public const int LEFT_CLICK = 0; public const in...
16.84375
56
0.561224
[ "Unlicense" ]
chrsjwilliams/Grief
Grief/Assets/Scripts/_ChrsUtils/SceneManager/GameSceneScript.cs
1,080
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class CameraRayCast: MonoBehaviour { public static float drawRadius = 0.05f; public static bool isRayCast = false; public static Vector4 currentPos; Camera m_camera; /...
21.218182
94
0.500428
[ "MIT" ]
alen-cell/URP-UniversalWaterTool
UniversalWater-PartOneCode/Scripts/CameraRayCast.cs
1,169
C#
namespace BA.Configuration { public static class Configuration { private static ApplicationSettings AppSet = null; static Configuration() { AppSet = new ApplicationSettings(); } public static ApplicationSettings AppSets { get { return AppSet; } } } }
23.461538
57
0.642623
[ "Apache-2.0" ]
mustafasacli/BuroAsistan.Repo
BuroAsistan/BA.Configuration/Configuration.cs
307
C#
using Dapper; using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Linq; namespace GhoulSQL.Sql { /// <summary> /// 这是一个SQL生成工具类,避免繁琐的SQL拼接工作 /// </summary> public class SqlBuilder { /// <summary> /// 拼接模式(SqlBuilder会根...
34.543444
131
0.518705
[ "Apache-2.0" ]
yosalo/GhoulSQL
src/GhoulSQL/Sql/SqlBuilder.cs
23,370
C#
namespace System.Web.Mvc { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using System.Web.Mvc.Resources; internal sealed class ActionMethodSelector { public ActionMethodSelector(Type c...
46.394737
169
0.66591
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web.Mvc3/Mvc/ActionMethodSelector.cs
5,291
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...
36.045455
148
0.656999
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DBProxyEndpointNotFoundExceptionUnmarshaller.cs
3,172
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Angular2WebpackVisualStudio.Controllers { [Route("api/[controller]")] public class ValuesController : Microsoft.AspNetCore.Mvc.Controller { // GET: ...
25.208333
72
0.542149
[ "ISC" ]
manuelmoyaroldan/material
Angular2WebpackVisualStudio/src/Angular2WebpackVisualStudio/Controllers/ValuesController.cs
1,212
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: AssemblyTi...
39.27027
85
0.728837
[ "MIT" ]
amiserda/webapi-typescript-endpoints
WebApiToTypeScript/WebApiToTypeScript.Cmd/Properties/AssemblyInfo.cs
1,456
C#
using System; using System.Collections.Immutable; namespace PostSharp.Engineering.BuildTools.Dependencies.Model { public static class Dependencies { public static DependencyDefinition MetalamaCompiler { get; } = new( "Metalama.Compiler", VcsProvider.AzureRepos, "Meta...
46.146341
147
0.655127
[ "MIT" ]
postsharp/PostSharp.Engineering
src/PostSharp.Engineering.BuildTools/Dependencies/Model/Dependencies.cs
3,784
C#
// // Copyright (C) DataStax Inc. // // 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 la...
39.895238
112
0.635713
[ "Apache-2.0" ]
mintsoft/csharp-driver
src/Cassandra.IntegrationTests/Core/SchemaAgreementTests.cs
4,189
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Benchmarks; using Newtonsoft.Json.Linq; namespace BombardierClient { class Program { private static readonly HttpClient _httpClient; ...
42.431034
139
0.602194
[ "Apache-2.0" ]
aik-jahoda/Benchmarks
src/BombardierClient/Program.cs
4,924
C#
#pragma checksum "G:\Yogesh\SEO\Yogihosting\new\Xaero\Xaero\Views\Movie\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3ee6179f90138729ce3f5de94a4c70ed9e1118f5" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.V...
66.801802
360
0.735356
[ "MIT" ]
yogyogi/Xaero
version 3.1/Xaero/obj/Debug/netcoreapp3.1/Razor/Views/Movie/Index.cshtml.g.cs
22,245
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing.Processors; using SixLabors.Primitives; using Xunit; namespace SixLabors.ImageSharp.Tests.Processing.Filters { public class SepiaTest : B...
29.222222
75
0.678074
[ "Apache-2.0" ]
axunonb/ImageSharp
tests/ImageSharp.Tests/Processing/Filters/SepiaTest.cs
791
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Agebull.Common.Logging; using Agebull.Common.Rpc; using Agebull.ZeroNet.Core; using Gboxt.Common.DataModel; using Newtonsoft.Json; using ZeroMQ; namespace Agebull.ZeroNet.ZeroApi { /// <summary...
33.233945
112
0.483966
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
agebullhu/MicroZero
src/Core/ZeroNetCore/ZeroApi/ApiClient.cs
22,209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Medical.Controller.AnomalousMvc; using MyGUIPlugin; using Engine; using Anomalous.GuiFramework; namespace Medical.GUI.AnomalousMvc { public class MyGUIViewHost : ViewHost { private ViewHostComponen...
27.993976
125
0.545298
[ "MIT" ]
AnomalousMedical/Medical
Standalone/GUI/AnomalousMvc/MyGUIViewHost.cs
4,649
C#
using DOTNET_TEMPLATE_ARQ_LIMPO.Core.ProjectAggregate; using Xunit; namespace DOTNET_TEMPLATE_ARQ_LIMPO.UnitTests.Core.ProjectAggregate; public class Project_AddItem { private Project _testProject = new Project("some name"); [Fact] public void AddsItemToItems() { var _testItem = new ToDoItem...
21.857143
69
0.684967
[ "MIT" ]
DaniloOPinheiro/DOTNET-TEMPLATE-ARQ-LIMPO
tests/DOTNET-TEMPLATE-ARQ-LIMPO.UnitTests/Core/ProjectAggregate/Project_AddItem.cs
767
C#
using System; using System.Xml; using Shoko.Commons.Queue; using Shoko.Models.Queue; using Shoko.Models.Server; using Shoko.Server.Providers.TraktTV; using Shoko.Server.Repositories; using Shoko.Server.Server; using Shoko.Server.Settings; using Shoko.Server.Utilities; namespace Shoko.Server.Commands { [Serializab...
33.639344
152
0.572612
[ "MIT" ]
Hitsounds/ShokoServer
Shoko.Server/Commands/Trakt/CommandRequest_TraktSyncCollection.cs
4,106
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.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsof...
45.52
161
0.654833
[ "Apache-2.0" ]
OceanYan/roslyn
src/Workspaces/Core/Portable/FindSymbols/FindReferences/Finders/OrdinaryMethodReferenceFinder.cs
5,692
C#
using Ocelot.Errors; namespace Ocelot.LoadBalancer.LoadBalancers { public class ServicesAreNullError : Error { public ServicesAreNullError(string message) : base(message, OcelotErrorCode.ServicesAreNullError, 404) { } } }
21.692308
71
0.641844
[ "MIT" ]
Amoeslund/Ocelot
src/Ocelot/LoadBalancer/LoadBalancers/ServicesAreNullError.cs
282
C#
using System; using UnityEngine.UI; public static class ActionHelper { public static void Add(this Button.ButtonClickedEvent buttonClickedEvent, Action action) { buttonClickedEvent.AddListener(() => { action(); }); } }
21.909091
92
0.705394
[ "Apache-2.0" ]
lukaozi/MetaGame
client/Assets/Scripts/CSharp/Game/Libs/Util/ActionHelper.cs
243
C#
using System.Collections.Generic; using System.Management; namespace WindowsMonitor.Hardware.Network.Ntlm { /// <summary> /// </summary> public sealed class NtlmValidateUser { public string LogonDomain { get; private set; } public string LogonServer { get; private set; } public uint Success { get...
40.851852
115
0.648685
[ "MIT" ]
Biztactix/WindowsMonitor
WindowsMonitor.Standard/Hardware/Network/Ntlm/NtlmValidateUser.cs
2,206
C#
using System; using System.Linq.Expressions; namespace AutoOperator { /// <summary> /// Used to construct a Equality Expression /// </summary> /// <typeparam name="T1">The type of the 1.</typeparam> /// <typeparam name="T2">The type of the 2.</typeparam> /// <seealso cref="AutoOperator.IRelationalOperaton{T1, T...
30.208333
134
0.68
[ "MIT" ]
sdedalus/AutoOperator
src/AutoOperator/RelationalOperaton.cs
1,452
C#
/* -------------------------------------------------- | Copyright © 2008 Mr-Alan. All rights reserved. | | Website: www.0x69h.com | | Mail: mr.alan.china@gmail.com | | QQ: 835988221 | -------------------------------------------------- */ using S...
25.086207
65
0.531271
[ "MIT" ]
BlackFire-Studio/BlackFire.Unity
Runtime/Script/Common/CatEditor/Runtime/UnitTest/UnitTest.cs
1,456
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.128205
153
0.585167
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/AccessReviewStageRequestBuilder.cs
2,818
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("04...
38.027027
84
0.746979
[ "MIT" ]
ReniGetskova/CSharp-Part-2
Arrays/04MaximalSequence/Properties/AssemblyInfo.cs
1,410
C#
using System.Linq; using CefSharp; using TweetLib.Browser.CEF.Interfaces; namespace TweetImpl.CefSharp.Adapters { sealed class CefFileDialogCallbackAdapter : IFileDialogCallbackAdapter<IFileDialogCallback> { public static CefFileDialogCallbackAdapter Instance { get; } = new CefFileDialogCallbackAdapter(); privat...
28.875
100
0.787879
[ "MIT" ]
chylex/TweetDick
windows/TweetImpl.CefSharp/Adapters/CefFileDialogCallbackAdapter.cs
693
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.Extensions.DependencyModel; using Newtonsoft.Json; using Newto...
36.826087
147
0.645661
[ "MIT" ]
SeppPenner/sdk-1
src/Tasks/Microsoft.NET.Build.Tasks/GenerateDepsFile.cs
6,778
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RadarGraph : Image { [HideInInspector] public Pattern.Radar radar; [HideInInspector] public float size; protected override void OnPopulateMesh(VertexHelper toFill) { ...
27.673469
64
0.586283
[ "MIT" ]
Rodin1a/techmania
TECHMANIA/Assets/Scripts/Components/UI/RadarGraph.cs
1,356
C#
/******************************************************************************* * Copyright 2012-2019 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...
47.191275
289
0.617009
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CodeGuruProfiler/Basic/Get-CGPGetFrameMetricData-Cmdlet.cs
14,069
C#
using OnlineTeachingSystem.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace OnlineTeachingSystem.ViewModels { public class ExamViewModel : BaseViewModel { public string Name { set; get; } public List<Exam> QuestionList { set; get; } ...
24.058824
52
0.684597
[ "MIT" ]
Dwayneten/OnlineTeachingSystem
OnlineTeachingSystem/ViewModels/ExamViewModel.cs
411
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.5
83
0.664099
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Sqlserver/V20180328/Models/RestartDBInstanceRequest.cs
1,336
C#
/* * tilia Phoenix API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 7.0.6 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using Sy...
40.835616
263
0.557755
[ "Apache-2.0" ]
matthewkayy/tilia-phoenix-client-csharp
src/TiliaLabs.Phoenix/Model/AutosnapProductDiesEntity.cs
8,943
C#
using System.Runtime.Serialization; namespace Checkout.Common { public enum PaymentSourceType { [EnumMember(Value = "card")] Card, [EnumMember(Value = "id")] Id, [EnumMember(Value = "network_token")] NetworkToken, [EnumMember(Value = "token")] Token, [EnumMember(Value =...
33.857143
59
0.597046
[ "MIT" ]
checkout/checkout-sdk-net
src/CheckoutSdk/Common/PaymentSourceType.cs
950
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("Stu...
37.783784
84
0.747496
[ "MIT" ]
iamjarif/SWE-4202-Lab-Tasks-Summer-2021
Lab01_Students Number Grading/Properties/AssemblyInfo.cs
1,401
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using RingwraithMICGOR.Areas.HelpPage.ModelDescriptions; namespace RingwraithMICGOR.Areas.HelpPage { /// <summary> /// A custom <se...
43.432099
160
0.63303
[ "MIT" ]
M1nified/SOA
Kolokwium1/RingwraithMICGOR/Ringwraith/Areas/HelpPage/XmlDocumentationProvider.cs
7,036
C#
using System; using System.Linq; namespace Problem_2.Rotate_and_Sum { class RotateAndSum { static void Main(string[] args) { int[] array = Console.ReadLine().Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse) .ToArray(); int n = ...
30.266667
120
0.504405
[ "MIT" ]
Supbads/Softuni-Education
07 ProgrammingFundamentals 05.17/07. Arrays-Exercises/Problem 2. Rotate and Sum/RotateAndSum.cs
1,364
C#
/* * Copyright 2013 ThirdMotion, Inc. * * 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...
21.504274
86
0.700318
[ "Apache-2.0" ]
JiphuTzu/SimplifyIoC
Assets/SimplifyIoC/Runtime/SimplifyIoC/Commands/impl/CommandBinding.cs
2,516
C#
using CleanArchitecture.Domain.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CleanArchitecture.Domain.Event.ModifyTodoListName { public class ModifyTodoListNameChanges : IDomainEventChanges { public string Title { ...
25.647059
64
0.733945
[ "MIT" ]
itsdaniellucas/clean-architecture-dotnet
src/CleanArchitecture.Domain/Event/ModifyTodoListName/ModifyTodoListNameChanges.cs
438
C#
using UnityEngine; using System; using System.IO; using System.Collections.Generic; using UI; using UI.State; using UI.State.Town; using UI.State.Menu; using Mordor.Importers; using Mordor; using Data; using UnityEngine.Analytics; using Engines; using Culler; using System.Collections; public delegate void GameTri...
29.357906
158
0.695477
[ "MIT" ]
bsimser/CoM
Assets/Scripts/CoM.cs
27,479
C#
//[?] 1부터 20까지의 정수 중 홀수의 합을 구하는 프로그램 // 1, 3, 5, 7, 9, ... using System; /// <summary> /// 등차수열(Arithmetic Sequence): 연속하는 두 수의 차이가 일정한 수열 /// </summary> class ArithmeticSequence { static void Main() { //[1] Input var sum = 0; //[2] Process for (int i = 1; i <= 20; i++) // 주어진...
21.310345
79
0.432039
[ "MIT" ]
VisualAcademy/DotNet
DotNet/DotNet/31_Algorithms/ArithmeticSequence/ArithmeticSequence.cs
746
C#
using System; namespace Fennec.NetCore.Tests { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public class TestProjectReferenceAttribute : Attribute { public TestProjectReferenceAttribute(string name, string path) { Name = name; Path = path; ...
22.5
70
0.619753
[ "MIT" ]
nielstanis/Fennec.NetCore
test/Fennec.NetCore.Tests/TestProjectReferenceAttribute.cs
405
C#
using System; using Intersect.Enums; namespace Intersect.GameObjects.Events { public enum ConditionTypes { VariableIs = 0, HasItem = 4, ClassIs, KnowsSpell, LevelOrStat, SelfSwitch, //Only works for events.. not for checking if you can destroy a resource...
21.847584
115
0.632636
[ "Unlicense" ]
Claytoo/Archisect-Online
Intersect (Core)/GameObjects/Events/Condition.cs
5,879
C#
using System; using Framework.Core; using Framework.DomainDriven.Generation; namespace Framework.Configuration.TestGenerate { public abstract class GeneratorsBase { protected ICheckOutService CheckOutService { get; } = Framework.DomainDriven.Generation.CheckOutService.Trace; prote...
32.882353
182
0.729875
[ "MIT" ]
Luxoft/BSSFramework
src/_Configuration/Framework.Configuration.TestGenerate/_Base/GeneratorsBase.cs
545
C#
using Newtonsoft.Json; namespace Omie.Api.Client.Request { /// <remarks/> public sealed class ApiExceptionResult { /// <remarks/> [JsonProperty("faultstring")] public string FaultString { get; set; } /// <remarks/> [JsonProperty("faultcode")] public string Faul...
24.785714
47
0.587896
[ "MIT" ]
simixsistemas/Omie.Api.Client
Omie.Api.Client/Request/ApiExceptionResult.cs
349
C#
using System; using System.Linq; using WebApi.DBOperations; using AutoMapper; namespace WebApi.BookOperations.CreateBook { public class CreateBookCommand { public CreateBookModel Model { get; set; } private readonly BookStoreDbContext _dbContext; private readonly IMapper _mapper; ...
28.87234
85
0.565217
[ "MIT" ]
Aligndzcyln/BookStore
BookStore/WebApi/BookOperaions/CreateBook/CreateBookCommand.cs
1,357
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.171875
198
0.618323
[ "MIT" ]
vabalcar/NetworkOperator
Sources/OperandSelectors/ScreenEdgeSelector/Properties/Resources.Designer.cs
2,829
C#
namespace Hive.SeedWorks.TacticalPatterns.Repository { /// <summary> /// Интерфейс репозитория команд. /// </summary> /// <typeparam name="TBoundedContext">Ограниченный контест.</typeparam> public interface ICommandRepository<TBoundedContext, TModel> : IRepositoryCreate<TBoundedContext, TModel>, IRepo...
31.6875
73
0.757396
[ "MIT" ]
Ekstrem/Hive
Source/TacticalPatterns/Repository/ICommandRepository.cs
554
C#
namespace Okta.Core.Models { using System; using Newtonsoft.Json; /// <summary> /// A link between a <see cref="User"/> and an <see cref="App"/> /// </summary> public class AppLink : OktaObject { [JsonProperty("label")] public string Label { get; set; } [JsonProper...
26.222222
78
0.55678
[ "Apache-2.0" ]
YoungRyuCode/OKTA.Core
Okta.Core/Models/Users/AppLink.cs
1,180
C#
using System.Windows.Forms; namespace BrawlLib.Internal.Windows.Controls.EditAllDialog { public class EditAllSRT0Editor : UserControl { private CheckBox srtTexRename; private CheckBox srtModMat; private TextBox textBox7; private TextBox srtMatName; private TextBox srtTe...
39.393023
75
0.543657
[ "MIT" ]
GamendeMier/BrawlCrate
BrawlLib/Internal/Windows/Controls/EditAllDialog/SRT0.cs
16,941
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. /*============================================================ ** ** ** ** Purpose: This class will encapsulate an u...
32.811111
152
0.599278
[ "MIT" ]
AlexGhiondea/coreclr
src/mscorlib/shared/System/UInt32.cs
8,859
C#
namespace honyaku { partial class MainForm { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソース...
58.929539
169
0.670177
[ "MIT" ]
shiyuetc/honyaku
honyaku/MainForm.Designer.cs
22,361
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using Collections.Pooled; using revghost.Shared; namespace revghost.Utility; public static class IListExtensions { public static void ClearReference<T>(this PooledList<T> list) ...
29.818182
107
0.585366
[ "MIT" ]
guerro323/GameHost
revghost/Utility/IListExtensions.cs
2,296
C#