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
//----------------------------------------------------------------------- // <auto-generated /> //----------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; na...
27.286957
105
0.545252
[ "BSD-2-Clause" ]
0xflotus/FlubuCore
FlubuCore/Tasks/Docker/Container/DockerContainerExecTask.cs
3,138
C#
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using BlGrid.Api.Infrastructure.QueryHelpers.FilterHelpers; namespace BlGrid.Api.Infrastructure.QueryHelpers.FilterTypes { internal interface IBaseFilter<TEntity> { FilterPredicate GetPredicateExpression( IQu...
27.636364
60
0.717105
[ "MIT" ]
amuste/BlGridExamples
samples/BlGrid.Api/Infrastructure/QueryHelpers/FilterTypes/BaseFilter.cs
610
C#
//***************************************************************************** //* Code Factory SDK //* Copyright (c) 2020 CodeFactory, LLC //***************************************************************************** using System.Collections.Generic; namespace CodeFactory.DotNet { /// <summary> /// Defi...
34.135135
167
0.545527
[ "MIT" ]
CodeFactoryLLC/CodeFactory
src/CodeFactoryVisualStudio/CodeFactory.DotNet/IDotNetGeneric.cs
1,265
C#
using System; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Test.MonkeyCache.UWP { /// <summary> /// Provides application-specific behavior to supplement the default Application class. ...
35.544444
95
0.674273
[ "MIT" ]
DamianSuess/Test.XamMonkeyCache
Test.MonkeyCache/Test.MonkeyCache.UWP/App.xaml.cs
3,201
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CiscoCLIParsers.Model { public class CiscoInterfaceId { public EInterfaceType InterfaceType { get; set; } public CiscoInterfaceNumber InterfaceNumber { get; set; } ...
23.05
73
0.683297
[ "MIT" ]
darrenstarr/CiscoCLIParsers
CiscoCLIParsers/Model/CiscoInterfaceId.cs
463
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using AccessibilityInsights.CommonUxComponents.Controls; using Axe.Windows.Desktop.UIAutomation.EventHandlers; using System.Windows.Automation.Peers; using System.W...
31.746269
102
0.535496
[ "MIT" ]
RobGallo/accessibility-insights-windows
src/AccessibilityInsights.SharedUx/Controls/EventDetailControl.xaml.cs
2,061
C#
// Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. using Vortice.DXGI; namespace Vortice.Direct3D11; public partial class ID3D11VideoDevice { public Guid CheckCryptoKeyExchange(Guid cryptoType, Guid? decoderProfile, int ...
41.704348
189
0.776689
[ "MIT" ]
Terricide/Vortice.Windows
src/Vortice.Direct3D11/ID3D11VideoDevice.cs
4,799
C#
using System; using System.Management.Automation; using Microsoft.SharePoint.Client; using PnP.PowerShell.Commands.Base.PipeBinds; using System.Collections; namespace PnP.PowerShell.Commands.Fields { [Cmdlet(VerbsCommon.Set, "PnPField")] public class SetField : PnPWebCmdlet { [Parameter(Mandatory...
36.316667
177
0.50849
[ "MIT" ]
AndersRask/powershell
src/Commands/Fields/SetField.cs
4,360
C#
#region License, Terms and Author(s) // // Mannex - Extension methods for .NET // Copyright (c) 2009 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
29.939024
79
0.615886
[ "Apache-2.0" ]
atifaziz/Mannex
src/Web/Uri.cs
2,455
C#
using System; using Tesseract.Core.Math; namespace Tesseract.Core.Graphics.Accelerated { /// <summary> /// A texture layout determines how the content of a texture /// are internally stored and how it may be used in this layout. /// </summary> public enum TextureLayout { /// <summary> /// An undefined layou...
26.53753
113
0.657208
[ "Apache-2.0" ]
Zekrom64/TesseractEngine
TesseractEngine-Core/Core/Graphics/Accelerated/Texture.cs
10,962
C#
using Unity.VisualScripting; using UnityEngine; namespace DNode { public abstract class DTexUnaryUnit : DTexUnit { [DoNotSerialize][PortLabelHidden] public ValueInput Input; [DoNotSerialize] public ValueInput Bypass; [Inspectable] public TextureSizeSource SizeSource = TextureSizeSource.Source; ...
37.714286
112
0.697727
[ "MIT" ]
nattos/dnode
Assets/DNode/Scripts/Texture/DTexUnaryUnit.cs
1,322
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Text; namespace MythMaker.Rendering { class Fonts { #region font settings public class FontSettings { public string Mason { get { ...
36.824427
111
0.545605
[ "MIT" ]
jakobharder/mythmaker
MythMakerWPF/Rendering/Fonts.cs
4,826
C#
// borrowed shamelessly and enhanced from Bag of Tricks https://www.nexusmods.com/pathfinderkingmaker/mods/26, which is under the MIT License using HarmonyLib; using Kingmaker; using Kingmaker.Blueprints.Classes; //using Kingmaker.Controllers.GlobalMap; using Kingmaker.EntitySystem.Entities; //using Kingmaker.UI._Cons...
57.838852
342
0.580627
[ "MIT" ]
NordicRest/ToyBox
ToyBox/classes/MonkeyPatchin/Multiclass/MultipleClasses.cs
26,205
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> //--...
43.75
184
0.615357
[ "MIT" ]
GridEx/PerformanceMonitor
src/Properties/Resources.Designer.cs
2,802
C#
using LogBins.Base; using Ninject.Modules; using System; using System.Collections.Generic; using System.Text; namespace Logs.Server.Core.SimpleBuckets { public class Module : NinjectModule { public override void Load() { Kernel.Bind<IBucketFactory>() .To<LogBins.Sim...
20
52
0.638889
[ "MIT" ]
arkhivania/LogsML
Logs.Server.Core/SimpleBuckets/Module.cs
362
C#
namespace ResXManager.Infrastructure { public static class RegionId { public const string Main = "Main"; public const string Shell = "Shell"; public const string Content = "Content"; public const string Configuration = "Configuration"; public const string Proje...
37.588235
91
0.70266
[ "MIT" ]
Dalagh/ResXResourceManager
src/ResXManager.Infrastructure/RegionId.cs
641
C#
using System; using System.Linq; using static TensorShaderCudaBackend.ArrayManipulation; namespace TensorShaderCudaBackend.Shaders.Quaternion.Convolution { /// <summary>カーネル積</summary> public sealed class KernelProduct2D : Shader { /// <summary>入力チャネル数</summary> public uint InChannels { pri...
45.509524
153
0.526944
[ "MIT" ]
tk-yoshimura/TensorShader
TensorShaderCudaBackend/Shaders/Quaternion/Convolution/KernelProduct2D.cs
9,751
C#
using System.Collections.Generic; using System.Linq; using Chronic.Core.System; using Chronic.Core.Tags; using Chronic.Core.Tags.Repeaters; namespace Chronic.Core.Handlers { public class SdRmnHandler : IHandler { public Span Handle(IList<Token> tokens, Options options) { var month =...
29.863636
82
0.616438
[ "MIT" ]
chadbengen/nChronic.Core
src/Chronic.Core/Handlers/SdRmnHandler.cs
657
C#
using System; using System.Collections.Generic; using System.Text; internal class ExceptionsHomework { public static T[] Subsequence<T>(T[] arr, int startIndex, int count) { if (arr == null) { throw new NullReferenceException("Missing sequence"); } if (arr.Length =...
28.027778
79
0.537496
[ "MIT" ]
Camyul/Modul_2_CSharp
High-Quality-Code-Part-2/01. Defensive-Programming-and-Exceptions/Exceptions-Homework/ExceptionsHomework.cs
3,029
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("03....
37.837838
84
0.745
[ "MIT" ]
GalinP87/Programming-Basics-May2018
Lesson8_Exam-Preparations/08. Exam-Preparation-May-Exercises/03. Slot Machine/Properties/AssemblyInfo.cs
1,403
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.ExcelApi; namespace NetOffice.ExcelApi.Behind { /// <summary> /// IDrawing /// </summary> [SyntaxBypass] public class IDrawing_ : COMObject, NetOffice.ExcelApi.IDrawing_ { ...
34.640609
187
0.544562
[ "MIT" ]
igoreksiz/NetOffice
Source/Excel/Behind/Interfaces/IDrawing.cs
34,123
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Loader : MonoBehaviour { public GameObject gameManager; public GameObject healthManager; public GameObject soundManager; // Start is called before the first frame update void Awake() { if (Game...
21.344828
52
0.605816
[ "MIT" ]
Clovisindo/GameJam2021
GamJamJan2021/Assets/Scripts/Loader.cs
621
C#
// <copyright file="Actions.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you ...
44.210643
154
0.60344
[ "Apache-2.0" ]
AksharaBhanu/selenium
dotnet/src/webdriver/Interactions/Actions.cs
19,941
C#
using Moq; using Namespace2Xml.Formatters; using Namespace2Xml.Scheme; using NUnit.Framework; using Shouldly; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Unity; namespace Namespace2Xml.Tests { public class ProgramTests { priva...
27.326316
97
0.53698
[ "Apache-2.0" ]
isap-team/namespace2xml
tests/ProgramTests.cs
2,598
C#
using System; using System.Text; using System.Text.Json; using Xunit; namespace JsonWebToken.Tests { public abstract class AlgorithmTests<T> where T : class, IAlgorithm { public abstract bool TryParse(ReadOnlySpan<byte> value, out T algorithm); public virtual void TryParse_Success(T expected)...
31.475
97
0.613185
[ "MIT" ]
lochgeo/Jwt
test/JsonWebToken.Tests/AlgorithmTests.cs
1,261
C#
using System; using System.Collections.Generic; using System.Text; using PretWorks.Helpers.Result.Interfaces; namespace PretWorks.Helpers.Result.Models { public abstract class ResultModel : IResult { protected ResultModel(bool success) { Success = success; Failed = !suc...
24.923077
96
0.577932
[ "MIT" ]
XGNPreTender/PretWorks.Helpers.Result
PretWorks.Helpers.Result/Models/ResultModel.cs
1,298
C#
using System; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; namespace BlazorBattles.Client.Services { public class BananaService : IBananaService { private readonly HttpClient _http; public event Action OnChange; public int Bananas { get; set; } ...
23.181818
83
0.586275
[ "MIT" ]
WeekendWarrior/BlazorBattles
BlazorBattles/Client/Services/BananaService.cs
1,022
C#
// ----------------------------------------------------------------------- // <once-generated> // 这个文件只生成一次,再次生成不会被覆盖。 // 可以在此类进行继承重写来扩展基类 CashLogControllerBase // </once-generated> // // <copyright file="CashLog.cs"> // KaPai©2019 Microsoft Corporation. All rights reserved. // </copyright> // <site></...
30.04918
97
0.59138
[ "Apache-2.0" ]
a952135763/osharp
samples/kapai/KaPai.Pay.Web/Areas/Admin/Controllers/CashMoney/CashLogController.cs
1,972
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; using Verse.AI; namespace WallStuff { class JoyGiver_WatchWallBuilding : JoyGiver_WatchBuilding { private static List<Thing> tmpCandidates = new List<Thing>(); public override Jo...
37.407609
164
0.510243
[ "Unlicense" ]
JohnCannon87/RimworldWallStuff
1.1/Source/Television/JoyGiver_WatchWallBuilding.cs
6,885
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Steeltoe.Common; using Steeltoe.Common.Hosting; using Steeltoe.Extensions.Configuration.Kubernetes; using Steeltoe.Management.Kubernetes; namespace Kubernete...
34.553191
93
0.607759
[ "Apache-2.0" ]
SteeltoeOSS/Samples
Configuration/src/Kubernetes/Program.cs
1,624
C#
using System.Collections.Generic; using Mobile.BuildTools.Configuration; namespace E2EApp.Views { public partial class AppConfig { private const string Default = nameof(Default); public AppConfig() { InitializeComponent(); } protected override void OnApp...
31.787234
104
0.578983
[ "MIT" ]
T3zler/Mobile.BuildTools
E2E/E2EApp/E2EApp/Views/AppConfig.xaml.cs
1,496
C#
using System; using System.IO; using System.Net; using System.Net.Sockets; using FreeRDP; using Gtk; using System.Threading; namespace Screenary.Client { public partial class CreateSessionDialog : Gtk.Dialog { private IUserAction observer; public CreateSessionDialog(IUserAction observer) { this.Build(); ...
18.295455
73
0.709317
[ "Apache-2.0" ]
Screenary/Screenary
Client/Widgets/CreateSessionDialog.cs
805
C#
using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text.RegularExpressions; namespace Verlite { /// <summary> /// A semantic version. /// </summary> public struct SemVer : IComparable<SemVer>, IEquatable<SemVer> { /// <summary> /// The majo...
35.843537
239
0.669672
[ "MIT" ]
AshleighAdams/Verlite
src/Verlite.Core/SemVer.cs
10,538
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Minerva { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Mai...
22.173913
65
0.611765
[ "MIT" ]
ahnaylor93/Minerva
Minerva/Minerva/Program.cs
512
C#
namespace Alpaca.Markets; /// <summary> /// Exchanges supported by Alpaca REST API. /// </summary> [JsonConverter(typeof(ExchangeEnumConverter))] [SuppressMessage("ReSharper", "StringLiteralTypo")] public enum Exchange { /// <summary> /// Unknown exchange (i.e. one not supported by this version of SDK). /...
20.7125
73
0.570308
[ "Apache-2.0" ]
OlegRa/alpaca-trade-api-csharp
Alpaca.Markets/Enums/Exchange.cs
1,659
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...
28.615385
88
0.680108
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/Inputs/ComputeDiskDiskPlacementPolicyGetArgs.cs
744
C#
using System; using System.IO; using System.Windows.Forms; using com.dyndns_server.yo3explorer.yo3explorer.Archive; using DiscUtils; using DiscUtils.Fat; using DiscUtils.Iso9660; using DiscUtils.Udf; using libazusax360; using moe.yo3explorer.azusa.Control.DatabaseIO; using moe.yo3explorer.azusa.Control.FilesystemMetad...
36.979675
110
0.525888
[ "BSD-2-Clause" ]
feyris-tan/azusa
AzusaERP/Control/FilesystemMetadata/FilesystemMetadataGatherer.cs
9,099
C#
using System; using System.IO; namespace RogueBackup { class Program { static void Main(string[] args) { #if !DEBUG MainImpl(args); #else WriteLineDelegate log = Console.WriteLine; try { MainImpl(args); } c...
26.761194
67
0.415505
[ "MIT" ]
ShadowsInRain/RogueBackup
src/RogueBackup/Program.cs
1,795
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using Microsoft.Maui.Controls.Internals; using static System.String; namespace Microsoft.Maui.Controls.Internals { [EditorBrowsable(EditorBrowsableState.Neve...
44.393204
192
0.767195
[ "MIT" ]
3DSX/maui
src/Controls/src/Core/NativeBindingHelpers.cs
9,145
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.Account")] [assembly: AssemblyDescr...
49.15625
312
0.755245
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Account/Properties/AssemblyInfo.cs
1,573
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("Pal...
38.297297
84
0.748765
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Shared/Palette Controller/Properties/AssemblyInfo.cs
1,420
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using FASTER.core; using System; using System.Buffers; using System.Diagnostics; namespace StoreVarLenTypes { /// <summary> /// Callback functions for FASTER sum operations over SpanByte (non-negative ASCII number...
38.820896
130
0.629758
[ "MIT" ]
DavidNepozitek/FASTER
cs/samples/StoreVarLenTypes/AsciiSumSpanByteFunctions.cs
2,603
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Policy; using System.Text; using System.Threading.Tasks; using Roguelike.World; using SFML.Window; namespace Roguelike.Logic { public class EntityLogic { private Vector2i pos; public Map Map { get; set; } ...
20.84375
54
0.545727
[ "MIT" ]
MarcusVoelker/Roguelike
Roguelike/Logic/Logic.cs
669
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.SqlSer...
35.615385
128
0.581919
[ "Apache-2.0" ]
188867052/Extensions
src/Caching/samples/SqlServerCacheSample/Program.cs
3,241
C#
using MobaHeros; using System; [Serializable] public class AutoTestSetting { public string testServer; public bool enablePlayerAI; public AutoTestTag testLevel; }
13.923077
31
0.745856
[ "MIT" ]
corefan/mobahero_src
AutoTestSetting.cs
181
C#
namespace ClassLib113 { public class Class015 { public static string Property => "ClassLib113"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib113/Class015.cs
120
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Media.Imaging; using Hillinworks.TiledImage.Extensions; name...
32.559028
109
0.46902
[ "MIT" ]
hillinworks/TiledImageView
Hillinworks.TiledImage.Core/Imaging/Sources/WebImageSource.DownloadImageTask.cs
9,379
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace ConsoleUi { public class Program { public static void Main(string[] args) { CreateHostBuilde...
25.36
70
0.621451
[ "MIT" ]
melihercan/Track
UserInterfaces/ConsoleUi/Program.cs
634
C#
/** * Copyright 2015 Canada Health Infoway, 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...
37.5
83
0.710476
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/EmployeeJob.cs
1,050
C#
using System; using System.Linq; using Telerik.JustDecompiler.Languages; namespace Telerik.JustDecompiler.Decompiler.MemberRenamingServices { public class WinRTRenamingService : DefaultMemberRenamingService { private const string CLRPrefix = "<CLR>"; public WinRTRenamingService(ILan...
30.363636
125
0.687126
[ "ECL-2.0", "Apache-2.0" ]
Bebere/JustDecompileEngine
Cecil.Decompiler/Decompiler/MemberRenamingServices/WinRTRenamingService.cs
670
C#
using IntegrationContainers.API.Tests.Extensions; using IntegrationContainers.API.Tests.Fixtures; using IntegrationContainers.Data.Models; using System.Net; using System.Threading.Tasks; using Xunit; namespace IntegrationContainers.API.Tests { [Collection("Integration containers collection")] public class User...
30.105263
97
0.666084
[ "MIT" ]
nazimkov/testcontainers-aspnet-integration-tests
tests/IntegrationContainers.API.Tests/UsersControllelTests.cs
1,144
C#
// // ElementBadge.cs: defines the Badge Element. // // Author: // Miguel de Icaza (miguel@gnome.org) // // Copyright 2010, Novell, Inc. // // Code licensed under the MIT X11 license // using System; using System.Collections; using System.Collections.Generic; using MonoTouch.UIKit; using MonoTouch.CoreGraphics; using...
33.938053
117
0.684224
[ "Apache-2.0" ]
Eg-Virus/mobile-samples
MWC/MWC.iOS/UI/CustomElements/CustomBadgeElement.cs
3,835
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace Programming4_Lab04_WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
18
42
0.702614
[ "Apache-2.0" ]
mbdevpl/wut-bsc-programming-in-graphical-environment
Programming4_Lab04_WPF/App.xaml.cs
308
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server * for more information concerning the license and the contributors participating to this project. */ using AspNet.Security.OpenIdConnect.Pri...
34.253968
98
0.628823
[ "Apache-2.0" ]
AspNet-OpenIdConnect-Server/Owin.Security.OpenIdConnect.Server
src/Owin.Security.OpenIdConnect.Server/Events/ApplyTokenResponseContext.cs
2,160
C#
using System; using Server.Mobiles; namespace Server.Mobiles { [CorpseName( "Un corps d'alligator" )] public class Alligator : BaseCreature { [Constructable] public Alligator() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Un alligator"; Body = 0xCA; BaseSoundID = 660; S...
21.638889
87
0.656611
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Mobiles/Animals/Reptiles/Alligator.cs
1,558
C#
using System; using System.Threading.Tasks; using Tizen.System; namespace SystemSettingsUnitTest { //[TestFixture] //[Description("Tizen.System.SoundNotificationChangedEventArgs Tests")] public static class SoundNotificationChangedEventArgsTests { private static bool s_soundNotificationCallbac...
46.636364
175
0.633853
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
test/Tizen.System.SystemSettings.UnitTest/SystemSettings.UnitTest/test/TSSoundNotificationChangedEventArgs.cs
3,078
C#
//Programmed by Alan Thorn 2015 //------------------------------ using UnityEngine; using System.Collections; //------------------------------ public class ScoreOnDestroy : MonoBehaviour { //------------------------------ public int ScoreValue = 50; //------------------------------ void OnDestroy() { GameContro...
24.529412
43
0.393285
[ "MIT" ]
PacktPublishing/Unity-2018-By-Example-Second-Edition
Chapter04/End/Assets/Scripts/ScoreOnDestroy.cs
419
C#
using Harmony; using Multiplayer.Common; using RimWorld; using RimWorld.Planet; using Steamworks; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading; usin...
36.032075
182
0.570456
[ "MIT" ]
XeroCold/Multiplayer
Source/Client/DebugTools.cs
19,099
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
38.490196
103
0.545593
[ "MIT" ]
dolittle-platform/ContinuousImprovement
Source/Concepts/Improvements/ImprovementId.cs
1,963
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.372093
89
0.662713
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/ContainerRegistry/V20190501/Outputs/EventResponseResult.cs
1,349
C#
using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis.Diagnostics; using NUnit.Analyzers.Constants; using NUnit.Analyzers.IgnoreCaseUsage; using NUnit.Framework; namespace NUnit.Analyzers.Tests.IgnoreCaseUsage { public class IgnoreCaseUsageAnalyzerTests { private static readonly DiagnosticAnalyzer anal...
38.808889
98
0.587838
[ "MIT" ]
SeanKilleen/nunit.analyzers
src/nunit.analyzers.tests/IgnoreCaseUsage/IgnoreCaseUsageAnalyzerTests.cs
8,750
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
35.247312
112
0.573368
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/ACMS/Reports/ReportUI/rptAccessControlGroup1.cs
6,558
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("Fs...
37.756757
84
0.745168
[ "MIT" ]
em7/FsTreeHelper
FsTreeHelper/Properties/AssemblyInfo.cs
1,400
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; namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel { internal abstract cl...
32.226601
196
0.634668
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/CSharp/Portable/Symbols/PublicModel/NamedTypeSymbol.cs
6,544
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace WebApi { /// <summary> /// /// </summary> pub...
25.289474
70
0.555671
[ "Apache-2.0" ]
satishchatap/zellar
WebApi/Program.cs
961
C#
using ASM.Hardware_Components; using ASM.Models; using System; using System.Collections.Generic; using System.Text; namespace ASM.Opcode_Instructions { public class LDX : OpcodeInstructionBase { public override Hex OPCODE { get; } = new Hex("C"); public override void Invoke(Machine machine, I...
26.095238
125
0.686131
[ "MIT" ]
BlakeHastings/ASC
ASM_Library/Opcode_Instructions/Instructions/LDX.cs
550
C#
using System.Collections.Generic; namespace TreeOfAKind.Infrastructure.FileStorage { public class AzureBlobStorageSettings { public string ConnectionString { get; set; } public IDictionary<string,string> Metadata { get; set; } } }
23.727273
64
0.712644
[ "MIT" ]
TreeOfAKind/TreeOfAKind
backend/TreeOfAKind.Infrastructure/FileStorage/AzureBlobStorageSettings.cs
263
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.704545
89
0.678722
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/datacatalog/v1beta1/google-cloud-datacatalog-v1beta1-csharp/Google.Cloud.DataCatalog.V1Beta1.StandaloneSnippets/DataCatalogClient.UpdateTagTemplateRequestObjectSnippet.g.cs
1,659
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Paytabs.Paytabscardrecognizer.Cards.Pay.Paycardsrecognizer.Sdk.Camera.Gles { // Metadata.xml XPath class reference: path="/api/package[@name='com.paytabs.paytabscardrecognizer.cards.pay.paycardsrecognizer.sdk.cam...
49.781513
373
0.726536
[ "MIT" ]
amr-Magdy-PT/xamarin-paytabs-binding
android/CardScanBindingLib/obj/Debug/generated/src/Com.Paytabs.Paytabscardrecognizer.Cards.Pay.Paycardsrecognizer.Sdk.Camera.Gles.Sprite2d.cs
11,848
C#
//Copyright (c) 2007-2012, Adolfo Marinucci //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 list of conditio...
46.727273
129
0.76751
[ "MIT" ]
Kiho/mongo-edi
AvalonDock/Controls/IOverlayWindowHost.cs
2,058
C#
using Ereceipt.Application.Services.Interfaces; using Ereceipt.Application.ViewModels.Authentication; using Ereceipt.Web.Responses; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using System; using System.Threading.Tasks; namespace Ereceipt.Web.Controllers.V1 { public class IdentityController...
40.588235
137
0.707246
[ "MIT" ]
Yaroslav08/Echack
Ereceipt/Ereceipt.Web/Controllers/V1/IdentityController.cs
1,382
C#
using System; using System.Threading.Tasks; using Abp; using Abp.Domain.Services; using YMApp.ECommerce.ProductAttributes; namespace YMApp.ECommerce.ProductAttributes.DomainService { public interface IProductAttributeManager : IDomainService { /// <summary> /// 初始化方法 ///</summary> ...
13.892857
62
0.645244
[ "MIT" ]
yannis123/YMApp
src/ymapp-aspnet-core/src/YMApp.Core/ECommerce/ProductAttributes/DomainService/IProductAttributeManager.cs
399
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. // </auto-generated> namespace Microsoft.Azure.Management.Storage.Fluent.Mod...
38.738095
141
0.62016
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Storage/Generated/Models/Restriction.cs
3,278
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace CenturiesToMinutes { class Program { static void Main(string[] args) { checked { decimal centuries = deci...
27.884615
126
0.554483
[ "MIT" ]
Radostta/Programming-Basics-And-Fundamentals-SoftUni
DataTypesAndVariables/CenturiesToMinutes/Program.cs
727
C#
public class Char2InputElementEnumerator : InputElementEnumerator, System.Collections.IEnumerator { protected int colno = 1; protected int lineno = 1; protected int startColumn = 0; protected string file; protected int fileOffset; protected CharEnumerator ce; private bool success; private bool atEOI; // priva...
20.102639
106
0.544761
[ "MIT" ]
pmache/singularityrdk
SOURCE/base/Windows/csic/parser/lexer.cs
20,565
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Mods; namespace osu.Game.Tests.NonVi...
40.594771
189
0.61858
[ "MIT" ]
AtomCrafty/osu
osu.Game.Tests/NonVisual/DifficultyAdjustmentModCombinationsTest.cs
6,061
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.34375
203
0.619098
[ "Apache-2.0" ]
zumten/dotnet-linq-to-observable-collection
src/Linq2ObsCollection.Samples/Properties/Resources.Designer.cs
2,840
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using Game; namespace Game.Tests { [TestClass] public class ScrabbleScoreTest { [TestMethod] public void GetSetWord_GetsSetsUserWord_True() { ScrabbleScore newGame = new S...
30.203125
91
0.593378
[ "MIT" ]
atrotter0/scrabble-score
Game.Tests/ModelTests/ScrabbleScore.Tests.cs
1,933
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> //---...
41.333333
80
0.65121
[ "MIT" ]
SamB1990/IntegerHelper
src/obj/Debug/netstandard2.0/IntergerHelper.AssemblyInfo.cs
992
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Lime.Protocol.Client; namespace Lime.Protocol.Network.Modules.Resend { public class ResendMessagesChannelModule : IChannelModule<Message>, IChannelModule<Notific...
42.896057
127
0.538185
[ "Apache-2.0" ]
JoaoCMotaJr/lime-csharp
src/Lime.Protocol/Network/Modules/Resend/ResendMessagesChannelModule.cs
11,970
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Portions derived from React Native: // Copyright (c) 2015-present, Facebook, Inc. // Licensed under the MIT License. using Newtonsoft.Json.Linq; namespace ReactNative.Bridge { class Promise : IPromise { private const string DefaultError =...
25.6
86
0.561523
[ "MIT" ]
05340836108/react-native-windows
current/ReactWindows/ReactNative.Shared/Bridge/Promise.cs
1,024
C#
using System; using UnityEngine; namespace RASM.FSM { [Serializable] public sealed class FSMState { [SerializeField] private string name; [SerializeReference, SerializeReferenceButton] private FSMTask[] tasks; [SerializeField, HideInInspector] private floa...
22.589041
83
0.500303
[ "MIT" ]
h-sigma/rasm
RASM/FSM/FSMState.cs
1,651
C#
// --------------------------------------------------------------------------------- // <copyright file="ReceiveBadgeMessageComposer.cs" company="https://github.com/sant0ro/Yupi"> // Copyright (c) 2016 Claudio Santoro, TheDoctor // </copyright> // <license> // Permission is hereby granted, free of charge, to any p...
45.525
94
0.655135
[ "MIT" ]
TheDoct0r11/Yupi
Yupi.Messages.Contracts/Composer/User/ReceiveBadgeMessageComposer.cs
1,823
C#
//----------------------------------------------------------------------- // <copyright file="RetainingMultiReaderBufferSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> /...
39.669261
138
0.465718
[ "Apache-2.0" ]
Aaronontheweb/akka.net
src/core/Akka.Streams.Tests/Implementation/RetainingMultiReaderBufferSpec.cs
10,197
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("Rou...
37.243243
84
0.745283
[ "MIT" ]
StepanTuchin98/XT-2018Q4
Lection3/Epam.StudentPractice.Lection3.Task1.Round/Properties/AssemblyInfo.cs
1,381
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AutoPoco.Engine; namespace Nest.Tests.MockData.DataSources { public class LongSource : DatasourceBase<long> { private Random mRandom = new Random(1337); public override long Next(IGenerationSession session) { long f...
21.421053
73
0.722359
[ "Apache-2.0" ]
NickCraver/NEST
src/Tests/Nest.Tests.MockData/DataSources/LongSource.cs
409
C#
using NBitcoin; using ReactiveUI; using System; using System.Globalization; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using WalletWasabi.Gui.Models; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Models; using WalletWasabi.Models.ChaumianCoinJoin; namespace WalletWasabi.G...
30.834615
214
0.722465
[ "MIT" ]
SeppPenner/WalletWasabi
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
8,017
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.090909
153
0.645921
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IOnPremisesPublishingProfileRequestBuilder.cs
2,844
C#
using Asp_Workshop.Abstarction; using Asp_Workshop.Models; namespace Asp_Workshop.Business { public class StudentBusiness : IPersonBusiness { private readonly IScoreBusiness scoreBusiness; public StudentBusiness (IScoreBusiness scoreBusiness) { this.scoreBusiness = scoreBusiness; ...
29.047619
67
0.577049
[ "MIT" ]
AshkanShakiba/codestar-internship
Projects/Phase11-Web/Asp Workshop/Business/StudentBusiness.cs
624
C#
using ProjectSnowshoes.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ImageProcessor; using...
38.135025
278
0.560765
[ "Apache-2.0" ]
IndigoBox/ProjectSnowshoes
ProjectSnowshoes/Space.cs
37,565
C#
using System; namespace FlubuCore.Tasks.Solution { public interface IFetchBuildVersionTask : ITask { } }
14.75
51
0.711864
[ "BSD-2-Clause" ]
0xflotus/FlubuCore
FlubuCore/Tasks/Versioning/IFetchBuildVersionTask.cs
120
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa...
52.083333
169
0.7712
[ "MIT" ]
canyener/Ubl-Tr
Ubl-Tr/Common/CommonBasicComponents/PrintQualifierType.cs
625
C#
using GameEstate.AC.Formats.Entity; using GameEstate.AC.Formats.Props; using GameEstate.Explorer; using GameEstate.Formats; using System.Collections.Generic; using System.IO; using System.Linq; namespace GameEstate.AC.Formats.FileTypes { /// <summary> /// These are client_portal.dat files starting w...
51.526316
240
0.588151
[ "MIT" ]
bclnet/GameEstate
src/Estates/AC/GameEstate.AC/Formats/FileTypes/ClothingTable.cs
4,895
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // 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 wit...
30.046729
463
0.715708
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Core/Sources/System.Security.Cryptography.AesCryptoServiceProvider.cs
3,215
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 re...
24.232962
162
0.640724
[ "MIT" ]
leminhthanh0612/Admin-Ticket
AdminTicket/Ticket.designer.cs
19,558
C#
using System.IO; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using System.Linq; using System.Threading.Tasks; using System; using Newtonsoft.Json.Linq; using Microsoft.Extensions.Logging; using System.Security.Cryptograph...
43.985577
151
0.577659
[ "MIT" ]
amazi-labs/DurableFunctionsMonitor
durablefunctionsmonitor.dotnetbackend/Functions/ServeStatics.cs
9,149
C#
// // System.Runtime.Remoting.Services.TrackingServices.cs // // Author: // Jaime Anguiano Olarra (jaime@gnome.org) // Patrik Torstensson // // (C) 2002, Jaime Anguiano Olarra // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining //...
27.804511
81
0.703083
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.Remoting.Services/TrackingServices.cs
3,698
C#
using System; namespace HodStudio.EntityFrameworkDiffLog.Model { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class LoggedEntityAttribute : Attribute { public const string DefaultIdPropertyName = "Id"; /// <summary> /// Defines that the ...
43.714286
121
0.680556
[ "MIT" ]
HodStudio/EfDiffLog
src/HodStudio.EntityFrameworkDiffLog/Model/LoggedEntityAttribute.cs
1,226
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace ImgStoApi.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Collectio...
25.714286
80
0.675926
[ "MIT" ]
BugInTheAir/ImgGallery
ImgStoApi/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
540
C#
using UnityEngine; /// <summary> /// /// </summary> public class HitStopManager : MonoBehaviour { #region Variables private const float REDUCED_TIME_SCALE = 0.05f; private const float NORMAL_TIME_SCALE = 1f; private const float SMALL_INCREASE = 0.15f; private const float BIG_INCREASE = 0.7f; private float l...
19.610619
80
0.700361
[ "MIT" ]
maxartDanny/GDDi0000_Roll-a-Ball_Danny
Assets/Scripts/GameManagers/HitStopManager.cs
2,218
C#