content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; namespace Cake.Core.Scripting { /// <summary> /// The script host works as a context for scripts. /// </summary> public abstract class ScriptHost : IScriptHost { private readonly ICakeEngine _engine; private readonly ICakeContext _con...
34.444444
135
0.566749
[ "MIT" ]
EvilMindz/cake
src/Cake.Core/Scripting/ScriptHost.cs
4,032
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...
28.666667
90
0.580814
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Billing/Management.Billing/Generated/Models/Amount.cs
1,720
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("org...
38.972973
84
0.75104
[ "ECL-2.0" ]
Northside-CC/RockPlugins
Plugins/org.secc.QRManager/Properties/AssemblyInfo.cs
1,445
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> //--...
38.458333
172
0.601661
[ "MIT" ]
sibbydavy/Simile
Properties/Resources.Designer.cs
2,771
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Text; namespace me.cqp.luohuaming.WordCloud.Tool.IniConfig.Linq { ///...
31.150641
141
0.664266
[ "Apache-2.0" ]
Hellobaka/WordCloud
me.cqp.luohuaming.WordCloud.Tool/IniConfig/Linq/IniSection.cs
12,097
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #pragma warning disable SA1310 // Field names should not contain underscore - Following roslyn naming conventions namespace StyleCop.Analyzers.Lightup { ...
47.407407
113
0.752344
[ "MIT" ]
AraHaan/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers/Lightup/LanguageVersionEx.cs
1,282
C#
// // EmbeddedSettings.cs // // Copyright (C) 2019 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // using System; using System.IO; using System.Linq; using Bind.Generators.Bases; using Bind.Versioning; namespace Bind.Generators.ES ...
31.323077
117
0.615422
[ "MIT" ]
raedok/opentk
src/Generators/Generator.Bind/Generators/OpenGL/EmbeddedSettings.cs
2,038
C#
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// Modifies the MedLaunch splashscreen to include the latest version number and build date /// </summary> namespace SplashScreenUpdater { class ...
37.518519
121
0.528381
[ "Apache-2.0", "MIT" ]
peter277/MedLaunch
SplashScreenUpdater/Program.cs
4,054
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace discovery.Library.zip { public interface IUnzipper { string unzip(); } }
15.538462
33
0.707921
[ "MIT" ]
javadbayzavi/PatternDiscovery
discovery/Library/zip/IUnzipper.cs
204
C#
namespace Google_Exercise { public class Car { private string carModel; public int carSpeed; public Car() { } public Car(string carModel, int carSpeed) { this.carModel = carModel; this.carSpeed = carSpeed; } publ...
18.2
49
0.524725
[ "MIT" ]
mayapeneva/C-Sharp-OOP-Basic
01.DefiningClasses/Google_Exercise/Car.cs
366
C#
using FoodVault.Framework.Domain; using System; namespace FoodVault.Modules.UserAccess.Domain.Users { /// <summary> /// Identifier for a <see cref="User"/> object. /// </summary> public sealed class UserId : EntityId { /// <summary> /// Initializes a new instance of the <see cref="...
24.8
74
0.578629
[ "MIT" ]
chrishanzlik/FoodVault
src/Modules/UserAccess/Domain/Users/UserId.cs
498
C#
using System; using System.IO; namespace WhiteRabbit.Protobuf { public class ProtobufSerializer : ISerializer { public string ContentType => "application/protobuf"; public byte[] Serialize<T>(T obj) { byte[] result; using (var stream = new MemoryStream()) ...
26.698113
93
0.523675
[ "MIT" ]
RagtimeWilly/WhiteRabbit
src/WhiteRabbit.Protobuf/ProtobufSerializer.cs
1,417
C#
// Copyright (c) 2008-2020, Hazelcast, Inc. 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 // // Unless required by...
34.275424
117
0.590926
[ "Apache-2.0" ]
mogatti/hazelcast-csharp-client
Hazelcast.Test/Hazelcast.Client.Test/PredicateExtTest.cs
8,091
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using BezierMaster.MeshesCreating; using UnityEngine.Networking; namespace BezierMaster { // #if UNITY_EDITOR // using Input = GoogleARCore.InstantPreviewInput; // #endif public enum Using { Objects,...
30.407273
179
0.516742
[ "MIT" ]
katie-chiang/SinglePlayerFPS
Assets/Scripts/BezierMaster/Scripts/BezierMaster.cs
16,726
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace CRM.Interface.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; ...
29.433962
152
0.632051
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/Models/MicrosoftDynamicsCRMappointmentCollection.cs
1,560
C#
using UnityEngine; using UnityEngine.UI; using InteroAPI.OAuth; public class ClassUiItem : MonoBehaviour{ //Class name public Text className; //Class time public Text classStart; //Class day public Text Day; //Id to the other scene // public string idItem; pu...
20.033333
52
0.637271
[ "MIT" ]
InteroOpen/intero-tutorials
Assets/InteroAPI/Tutorials/Tutorial7Schedule/ClassUiItem.cs
603
C#
using System; using System.Management.Automation; using PowerForensics.Formats; using PowerForensics.Ntfs; namespace PowerForensics.Cmdlets { #region FormatMactimeCommand /// <summary> /// This class implements the Format-Mactime cmdlet. /// </summary> [Cmdlet(VerbsCommon.Format, "Mactime"...
26.98
82
0.613047
[ "Apache-2.0" ]
darkoperator/PowerForensics_Source
Invoke-IR.PowerForensics/PowerForensics/_Cmdlets/Formats/Format-Mactime.cs
1,351
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 Moq; namespace Microsoft.VisualStudio.ProjectSystem.VS { internal static class IUserNotificationServicesFactory { public static IUserN...
29.323529
161
0.630893
[ "Apache-2.0" ]
333fred/roslyn-project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/IUserNotificationServicesFactory.cs
999
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace Elasticsearch.Net.Integration.Yaml.Create4 { public partial class Create4YamlTests { [NCrunch.Framework.ExclusivelyUses("Ela...
21.098361
67
0.605284
[ "MIT" ]
amitstefen/elasticsearch-net
src/Tests/Elasticsearch.Net.Integration.Yaml/create/35_external_version.yaml.cs
1,287
C#
#if !DISABLE_PLAYFABENTITY_API using System; using System.Collections.Generic; using PlayFab.SharedModels; namespace PlayFab.LocalizationModels { [Serializable] public class GetLanguageListRequest : PlayFabRequestCommon { /// <summary> /// The optional custom tags associated with the reques...
26.666667
119
0.675
[ "MIT" ]
101Bunker/1017
Assets/PlayFabSDK/Localization/PlayFabLocalizationModels.cs
720
C#
// ReSharper disable once CheckNamespace namespace Fluent { using System.Collections; using System.Windows; using System.Windows.Automation.Peers; using System.Windows.Data; using System.Windows.Markup; using Fluent.Helpers; using Fluent.Internal.KnownBoxes; /// <summary> /// Repre...
34.289855
261
0.630178
[ "MIT" ]
DevTown/Fluent.Ribbon
Fluent.Ribbon/Controls/RadioButton.cs
9,466
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.450/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; namespace Playground { public...
34.142857
90
0.629707
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.450
Source/Krypton Toolkit Suite Extended/Demos/Playground/LineNumberedTextBox.cs
1,436
C#
using System; using System.Diagnostics.CodeAnalysis; namespace ModulesRegistry.Data.Extensions { public static class StringExtensions { public static bool HasValue([NotNullWhen(true)] this string? me) => !string.IsNullOrWhiteSpace(me); public static bool HasNoValue([NotNullWhen(fa...
40.705882
135
0.623555
[ "MIT" ]
tellurianinteractive/Tellurian.Trains.ModulesRegistryApp
SourceCode/Data/Extensions/StringExtensions.cs
1,386
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using Unity.Collections; using UnityEngine.Rendering; #if UNITY_EDITOR using UnityEditor; #endif public class FlareStatusData { public Vector3 sourceCoordinate; public Vector3[] flareWorldPosCenter; public float f...
45.422961
188
0.606319
[ "MIT" ]
Reguluz/Moonflow-Lensflare-System
Assets/MoonFlowLensFlare/MFLensFlare.cs
15,037
C#
using Default_BlazorWebAssemblyAppPwaAspNetCoreHosted.Shared; using Microsoft.AspNetCore.Mvc; namespace Default_BlazorWebAssemblyAppPwaAspNetCoreHosted.Server.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { private static readonly ...
32.029412
106
0.62259
[ "Apache-2.0" ]
vincoss/blazor-samples
src/Default_BlazorWebAssemblyAppPwaAspNetCoreHosted/Server/Controllers/WeatherForecastController.cs
1,089
C#
using UnityEngine; using System; using System.Collections.Generic; using UnityEngine.Events; namespace UMA { /// <summary> /// UMA data holds the recipe for creating a character and skeleton and Unity references for a built character. /// </summary> public class UMAData : MonoBehaviour { [Obsolete("UMA 2.5 myRe...
28.027114
285
0.65062
[ "Apache-2.0" ]
stonedbastardstudios/FLUX-ONLINE-ACTIVE
Assets/UMA/Core/StandardAssets/UMA/Scripts/UMAData.cs
43,414
C#
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5F1C5EBC87E587923A1A199E8D21F00F" //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢...
37.776316
141
0.66597
[ "MIT" ]
M-Coast/MathGraph
Demo_CircleFitter/obj/Debug/MainWindow.g.cs
2,979
C#
using HarmonyLib; using RimWorld; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using Verse.AI; using System.Reflection; using UnityEngine; using Verse.AI.Group; namespace RimQuest { [StaticConstructorOnStartup] public static class HarmonyPatches { ...
38.078261
157
0.534483
[ "MIT" ]
Taranchuk/RimQuest
Source/RimQuest/HarmonyRimQuest.cs
8,760
C#
using ChatCore.Interfaces; using ChatCore.Models.Twitch; using ChatCore.Models.BiliBili; using SongRequestManagerV2.Configuration; using SongRequestManagerV2.Interfaces; using SongRequestManagerV2.SimpleJSON; using SongRequestManagerV2.Statics; using System; using System.IO; using System.Linq; namespace SongRequestMa...
39.648352
228
0.579268
[ "MIT" ]
baoziii/SongRequestManagerV2
SongRequestManagerV2/Utils/Utility.cs
3,610
C#
using DDD.DomainLayer; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using PackagesManagementDB.Models; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace PackagesManagementDB.Extensions { public stati...
40.563218
182
0.503259
[ "MIT" ]
LuohuaRain/Software-Architecture-with-C-10-and-.NET-6-3E
ch16/PackagesManagement/PackagesManagementDB/Extensions/DBExtensions.cs
3,531
C#
using System; using CoreGraphics; using FFImageLoading; using Steepshot.iOS.Helpers; using UIKit; namespace Steepshot.iOS.Views { public partial class ImagePreviewViewController : UIViewController { private UIImage _imageForPreview; private string _imageUrl; protected ImagePreviewView...
40.5625
147
0.643297
[ "MIT" ]
Chainers/steepshot-mobile
Sources/Steepshot/Steepshot.iOS/Views/ImagePreviewViewController.cs
2,598
C#
using System.Linq; using NUnit.Framework; namespace ServiceStack.OrmLite.MySql.Tests { public class EnumTests : OrmLiteTestBase { [Test] public void CanCreateTable() { ConnectionString.OpenDbConnection().CreateTable<TypeWithEnum>(true); } [Test] pub...
33.02
91
0.545124
[ "BSD-3-Clause" ]
augustoproiete-forks/ServiceStack--ServiceStack.OrmLite
src/ServiceStack.OrmLite.MySql.Tests/EnumTests.cs
3,304
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...
27.806452
148
0.655452
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DocumentDB/V20160331/Outputs/CapabilityResponse.cs
862
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...
32.395349
92
0.673367
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/V20190701/Outputs/GalleryImageVersionStorageProfileResponse.cs
1,393
C#
using Godot; using SpaceDodgeRL.library.encounter; using SpaceDodgeRL.library.encounter.rulebook; using SpaceDodgeRL.library.encounter.rulebook.actions; using SpaceDodgeRL.scenes.encounter.state; using SpaceDodgeRL.scenes.entities; using System.Collections.Generic; using System.Text.Json; namespace SpaceDodgeRL.scenes...
37.627451
138
0.737363
[ "MIT" ]
MoyTW/SpaceDodgeRL
scenes/components/AI/ScoutAIComponent.cs
1,919
C#
//Original Scripts by IIColour (IIColour_Spectrum) using UnityEngine; using System.Collections; public class InteractBookshelf : MonoBehaviour { private static string english = "This bookshelf"; private static string spanish = "Esta estantería"; public string engDialog = english + " has lots of books in...
34.952381
108
0.532153
[ "BSD-3-Clause" ]
nihlan97/PokemonUnity-develop
Pokemon Unity/Assets/InteractBookshelf.cs
3,673
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompactMPC.Virtualization { public class VirtualBit { public static readonly VirtualBit Zero = new VirtualBit(-1); public static readonly VirtualBit One = new VirtualBi...
20.052632
68
0.536745
[ "MIT" ]
lumip/CompactMPC
CompactMPC/Virtualization/VirtualBit.cs
764
C#
using System; using System.Linq; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using SimpleASPXPage.Models; namespace SimpleASPXPage.Account { public partial class Register : Page { protected void CreateUser_Click(object sende...
43.777778
155
0.65165
[ "MIT" ]
todor-enikov/TelerikAcademy
ASP .NET Web Forms/2.ASP .NET Web Forms Intro/SimpleASPXPage/Account/Register.aspx.cs
1,578
C#
// Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. namespace Vortice.Graphics; /// <summary> /// A bitmask indicating how a <see cref="Buffer"/> is permitted to be used. /// </summary> [Flags] public enum BufferUsage { No...
27.24
97
0.595448
[ "MIT" ]
Sina-Ebrahimi/vortice
src/Vortice/Graphics/BufferUsage.cs
1,365
C#
using System; namespace Server.Api.Helpers.Exceptions { public class DuplicateUserException : Exception { public DuplicateUserException(string message) : base(message) { } } }
18.833333
69
0.619469
[ "MIT" ]
LuisMarques99/MultiSnake
Server/Api/Helpers/Exceptions/DuplicateUserException.cs
228
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...
63.837132
214
0.686294
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/PinpointEmail/Generated/_bcl35/IAmazonPinpointEmail.cs
154,052
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Concurrent; using System.ComponentModel; using System.Globalization; using S...
44.339823
185
0.460203
[ "Apache-2.0", "MIT" ]
HydAu/PowerShell
src/Microsoft.PowerShell.Activities/Activities/PowerShellValue.cs
25,054
C#
using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace ModComponentMapper { public struct GearSpawnInfo { public Vector3 Position; public string PrefabName; public Quaternion Rotation; public float SpawnChance; } public struc...
34.317073
153
0.579673
[ "MIT" ]
nbakulev/ModComponent
ModComponentMapper/src/GearSpawner.cs
7,037
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { #pragma warning disable CS8618 [JsiiByValue(fqn: "aws.ConfigConfigurationAggregatorConfig")] public class ConfigConfigurationAggregatorConfig : aws.IConfigConfigurationAggregatorConfig { [JsiiProper...
36.4
241
0.594322
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/ConfigConfigurationAggregatorConfig.cs
3,276
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Windows; using System.Windows.Data; namespace FlightPlannerWPF.Converters { public class VisibilityNullConverter : IValueConverter { public object Convert(object value, Type targetType, object param...
23.518519
101
0.675591
[ "MIT" ]
Daxxn/FlightPlanner
FlightPlannerWPF/Converters/VisibilityNullConverter.cs
637
C#
using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using PdfSharp.Pdf; namespace PdfSharp.Explorer.Pages { /// <summary> /// /// </summary> public class MainPagesPage : MainObjectsPageBase { private System.ComponentMo...
24.833333
106
0.620805
[ "MIT" ]
HiraokaHyperTools/PDFsharp
PDFsharp/dev/Pdfsharp.Explorer/PdfSharp.Explorer.Pages/MainPagesPage.cs
2,086
C#
#if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; public static class Uni2DEditorContourPolygonizationUtils { public static List<Contour> MergeInnerAndOuterContours( List<Contour> a_rOuterContours, List<Contour> a_rInnerContours ) { // Step 0: Sort t...
37.857143
154
0.750472
[ "MIT" ]
grifdail/GGJ2016
GGJ2016/Assets/Root/Plugins/Uni2D/Sprite/Scripts/Sprite/Texture-to-mesh/Uni2DEditorContourPolygonizationUtils.cs
6,360
C#
namespace Radix.Data; public sealed class Ok<T, TError> : Result<T, TError> where T : notnull { internal Ok(T t) { if (t is not null) { Value = t; } else { throw new ArgumentNullException(nameof(t)); } } public T Value { get; } ...
23.084507
102
0.541184
[ "Apache-2.0" ]
MCGPPeters/Radix
C#/src/Radix/Data/Ok.cs
1,639
C#
using System; using System.Text; using System.Collections.Generic; namespace AirProperties { class ListItem { public ListItem(string name, string value) { Name = name; Value = value; } public string Name { get; set; } public string Value { get;...
15.777778
50
0.530516
[ "MIT" ]
SlavaRa/flashdevelop-macros
External/Plugins/AirProperties/Controls/ListItem.cs
428
C#
using UnityEngine; using MeshBuilder; using Unity.Mathematics; public class MarchingSquareTest4 : MonoBehaviour { private const string AdditiveLabel = "Add"; private const string SubtractiveLabel = "Subtract"; private const string IncreaseLabel = "Increase Height"; private const string DecreaseLabel...
30.137255
123
0.570375
[ "MIT" ]
hbence/MeshBuilderExamples
Assets/samples/marching_squares/04/MarchingSquareTest4.cs
4,613
C#
using System.Diagnostics; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [InterfaceDataContract] public interface IKeywordProperty : IDocValuesProperty { [DataMember(Name ="boost")] double? Boost { get; set; } [DataMember(Name ="eager_global_ordinals")] bool? EagerGlobalOrdi...
37.326316
142
0.721658
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Nest/Mapping/Types/Core/Keyword/KeywordProperty.cs
3,548
C#
using EppLib.Entities; namespace EppLib.OpenProvider { public abstract class OpProvEppExtension : EppExtension { protected override string Namespace { get; set; } = "http://www.openprovider.nl/epp/xml/opprov-1.0"; } }
24
108
0.7
[ "Apache-2.0" ]
Esselink-nu/EppLib.OpenProvider
EppLib.OpenProvider/OpProvEppExtension.cs
242
C#
using System.Collections.Generic; using System.Threading.Tasks; using Ernestoyaquello.Chess.Models; namespace Ernestoyaquello.ChessApp.Services { public interface IPopupService { Task<Piece> ShowPawnReplacementPopup(List<Piece> availableReplacements); } }
23.166667
80
0.776978
[ "Apache-2.0" ]
ernestoyaquello/TwoPlayerZeroSumGameEngine
Ernestoyaquello.ChessApp.Core/Services/IPopupService.cs
280
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShortestPath.Optimization.Extensions { public static class EnumerableExtensions { public static IEnumerable<Entities.GridLocation> SurroundingLocation(this IEnumerabl...
33.142857
163
0.627874
[ "MIT" ]
bsstahl/DPDemo
ShortestPath.Optimization/Extensions/EnumerableExtensions.cs
698
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using System.Collections; using Syst...
32.768116
227
0.526021
[ "Apache-2.0" ]
AxelMarquez/Ed-Fi-ODS
Application/EdFi.TestObjects/IValueBuilder.cs
13,566
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TVShowCleanup.Utilities { public sealed class LogHelper { static readonly Log _log = new Log(); private LogHelper() { } public static Log Log ...
15.62963
45
0.535545
[ "Apache-2.0" ]
jstevenson72/TVShowCleanup
TVShowCleanup/Utilities/LogHelper.cs
424
C#
// Copyright 2020 EPAM Systems, 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 appl...
30.917197
116
0.574784
[ "Apache-2.0" ]
Igor1306/sitecore-headless-commerce-accelerator
src/Foundation/Account/tests/Services/Authentication/AuthenticationServiceTests.cs
4,856
C#
using System.Threading.Tasks; using Lykke.Job.Messages.Core.Services.Templates; using Lykke.Service.EmailSender; using Lykke.Service.TemplateFormatter.Client; using Newtonsoft.Json; using System.Collections.Generic; using Lykke.Job.Messages.Core.Services.Email; using System; namespace Lykke.Job.Messages.Servi...
37.37931
129
0.73155
[ "MIT" ]
LykkeCity/Lykke.Job.Messages
src/Lykke.Job.Messages.Services/Templates/RemoteTemplateGenerator.cs
1,084
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WeShare { /// <summary> /// Interação lógica para App.xaml /// </summary> public partial class App : Application { } }...
17.833333
42
0.700935
[ "MIT" ]
Debora222254/WeShare-Github
WeShare/WeShare/App.xaml.cs
326
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...
36.56
222
0.66849
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Devices/Latest/Outputs/StorageEndpointPropertiesResponse.cs
1,828
C#
using PVScan.Core.Services.Interfaces; using PVScan.Core.Services; using System; using System.Collections.Generic; using System.Text; using Xunit; using Moq; using System.Net.Http; using System.Threading.Tasks; using Moq.Protected; using System.Threading; using System.Net.Http.Headers; using PVScan.Core.Models; using ...
31.739623
90
0.523957
[ "MIT" ]
meJevin/PVScan
Tests/Core/PVScan.Core.Tests/Services/BarcodeSorterTests.cs
8,413
C#
using System; using System.Collections.Generic; using UnityEngine; public static class InputController { private static Dictionary<string, KeyCode[]> keymap; static InputController() { keymap = new Dictionary<string, KeyCode[]>() { // bind name list of keys ...
25.571429
87
0.502793
[ "MIT" ]
MerijnHendriks/GGJ2022
Assets/Code/Controllers/InputController.cs
1,253
C#
using System; namespace Trowel.Providers.Texture.Vtf { [Flags] public enum VtfImageFlag : uint { Pointsample = 0x00000001, Trilinear = 0x00000002, Clamps = 0x00000004, Clampt = 0x00000008, Anisotropic = 0x00000010, HintDxt5 = 0x00000020, Srgb = 0x000...
31.244898
61
0.633573
[ "BSD-3-Clause" ]
mattiascibien/trowel
Trowel.Providers/Texture/Vtf/VtfImageFlag.cs
1,533
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.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CS...
37.339161
161
0.638449
[ "Apache-2.0" ]
DaiMichael/roslyn
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IConstructorBodyOperation.cs
10,681
C#
using System; using Microsoft.Xna.Framework; namespace RayCarrot.Ray1Editor; public class EditorPointFieldViewModel : EditorFieldViewModel { public EditorPointFieldViewModel(string header, string info, Func<Point> getValueAction, Action<Point> setValueAction, int min = 0, int max = Int32.MaxValue) : base(header,...
22.929825
182
0.573068
[ "MIT" ]
RayCarrot/RayCarrot.Ray1Editor
src/RayCarrot.Ray1Editor/ViewModels/Editor/Fields/EditorPointFieldViewModel.cs
1,309
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
33.302632
105
0.634532
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/WAF/Generated/Model/GetChangeTokenStatusRequest.cs
2,531
C#
using NLog; using System; using System.Linq; using TwoWholeWorms.Lumbricus.Shared; using System.Text.RegularExpressions; using TwoWholeWorms.Lumbricus.Shared.Model; using TwoWholeWorms.Lumbricus.Plugins.IrcLogPlugin.Model; namespace TwoWholeWorms.Lumbricus.Plugins.SearchLogPlugin.Commands { public class SearchLo...
49.723982
212
0.420329
[ "MIT" ]
BenjaminNolan/lumbricus
Plugins/SearchLogPlugin/Commands/SearchLogCommand.cs
10,997
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================================= ** ** ** ** Purpose: The base class for all "less serious" exceptions that must be ** ...
37.625
112
0.619364
[ "MIT" ]
CyberSys/coreclr-mono
src/mscorlib/src/System/ApplicationException.cs
2,107
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Linq; using System.Threading.Tasks; using Xunit; using Stride.Core.Ma...
30.015625
118
0.634045
[ "MIT" ]
Aggror/Stride
sources/engine/Stride.Graphics.Tests.10_0/TestLightShafts.cs
1,921
C#
#if UNITY_EDITOR using UnityEditor; #endif using UnityEngine; namespace Utils { [System.Serializable] public class SceneField { [SerializeField] private Object m_SceneAsset; [SerializeField] private string m_SceneName; public string SceneName => m_SceneName; public static im...
34.857143
142
0.651639
[ "MIT" ]
ArcturusZhang/Mahjong
Assets/Scripts/Utils/SceneField.cs
1,464
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Collections.Generic; public class Bezier : MonoBehaviour { Vector2[,] UV; public TraceControl GenerateController; public MeshFilter MeshGeneration; List<Vector3> verts = new List<Vector3>(); void Start () { UV = new Vector2[Ge...
23.369369
106
0.610254
[ "BSD-3-Clause" ]
yl3495470/Survival
Assets/Scripts/Tools/Bezier.cs
2,596
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generator.Models { public class TableInfo { public string Name { get; set; } public string Desciption { get; set; } } }
17.3125
46
0.68231
[ "MIT" ]
280780363/efentitybuilder
src/EntityGenerateFromDb/Generator/Models/TableInfo.cs
279
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
29.909091
110
0.659574
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/DvbSubSourceSettings.cs
1,645
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
55.16129
223
0.661858
[ "MIT" ]
ElleTojaroon/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDatabaseAdvisorCollection.cs
15,390
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
52.014417
234
0.677602
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/Elasticsearch/Generated/_bcl45/AmazonElasticsearchClient.cs
39,687
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.939394
153
0.593235
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/WorkbookFunctionsDbcsRequestBody.cs
1,153
C#
using System.Collections.Generic; using Microsoft.Xna.Framework; using Pathoschild.Stardew.TractorMod.Framework.Attachments; using StardewModdingAPI; using StardewValley; using StardewValley.Locations; using StardewValley.Objects; using StardewValley.TerrainFeatures; using xTile.Dimensions; using Rectangle = Microsoft....
41.807292
159
0.587393
[ "MIT" ]
FrSigma/StardewMods
TractorMod/Framework/BaseAttachment.cs
8,027
C#
using System.Collections.Generic; namespace Silky.Http.Dashboard.Configuration { public class DashboardOptions { internal static string Dashboard = "Dashboard"; public DashboardOptions() { StatsPollingInterval = 2000; ExternalLinks = new List<ExternalLinkOptions...
25.068966
75
0.635488
[ "MIT" ]
Dishone/silky
framework/src/Silky.Http.Dashboard/Configuration/DashboardOptions.cs
727
C#
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.ComponentModel.DataAnnotations; using System.Threading.Ta...
29.807882
86
0.499752
[ "MIT" ]
AhmedSultanDev/Dashboard-RC
core/Piranha.Manager/Controllers/SiteApiController.cs
6,051
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace ProjetoHemobancoWeb.Models { [Table("Doador")] public class Doador : BaseModel { [Required(ErrorMessage = "Campo obrigatório...
30.27451
55
0.612047
[ "MIT" ]
whateverlcs/hemobancoWeb
Models/Doador.cs
1,557
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00024804", true, 0xE1FF)] [Attributes(9)] public class LteB19AmprNs08 { [ElementsCount(...
21.333333
60
0.609375
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/LteB19AmprNs08I.cs
448
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// ZhimaCreditRiskEvaluateQueryModel Data Structure. /// </summary> public class ZhimaCreditRiskEvaluateQueryModel : AlipayObject { /// <summary> /// 扩展字段,用来标识用户的其他描述信息,是一个JS...
30.285714
150
0.617925
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZhimaCreditRiskEvaluateQueryModel.cs
1,402
C#
// MIT License // // Copyright (c) 2016 Kyle Kingsbury // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, m...
42.625
82
0.741935
[ "MIT" ]
KKings/Sitecore.ContentSearch.Fluent
src/Sitecore.ContentSearch.Fluent/Options/FilterOptions.cs
1,366
C#
using ISAAR.MSolve.LinearAlgebra.Matrices; namespace ISAAR.MSolve.Materials.Interfaces { public interface IContinuumMaterial3D : IFiniteElementMaterial { double[] Stresses { get; } IMatrixView ConstitutiveMatrix { get; } void UpdateMaterial(double[] strains); IContinuumMaterial...
26.153846
66
0.7
[ "Apache-2.0" ]
gsoim/AnsysMSolve
ISAAR.MSolve.Materials/Interfaces/IContinuumMaterial3D.cs
342
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; using Lucene.Net.Documents; namespace SSW.RulesSearch.Lucene { public interface IDocumentBuilder<T> where T : class { Document ToDocument(T model); ...
17.08
56
0.693208
[ "Apache-2.0" ]
brendan-ssw/SSW.RulesSearch
SSW.RulesSearch/SSW.RulesSearch.Lucene/IDocumentBuilder.cs
429
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Microsoft.Telepathy.EchoClient { using System; using System.Collections.Generic; /// <summary> /// The configurations for the EchoClient /// </summary> public class Config { private const string H...
41.269923
835
0.600287
[ "MIT" ]
dubrie/Telepathy
src/soa/EchoClient/Config.cs
16,056
C#
//using System; //using System.Collections; //using System.Collections.Generic; //using System.Linq; //namespace GameEstate.Formats.Binary.UltimaUO.Records //{ // [Flags] // public enum MapRules // { // None = 0x0000, // Internal = 0x0001, // Internal map (used for dragging, commodity...
32.580928
312
0.43248
[ "MIT" ]
smorey2/GameEstate
src/GameExtensions/UO/src/GameEstate.Extensions.UO/Formats/Binary/UltimaUO/Records/Map.cs
89,174
C#
using CharacterGen.CharacterClasses; using CharacterGen.Domain.Tables; using NUnit.Framework; using System; using System.Linq; namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Paladins { [TestFixture] public class Level1PaladinKnownSpellsTests : AdjustmentsTests { protected over...
26.142857
140
0.655738
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Paladins/Level1PaladinKnownSpellsTests.cs
734
C#
#region License // Copyright (c) Amos Voron. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE in the project root for license information. #endregion using System; using QueryTalk.Wall; namespace QueryTalk { // Used only for the declaration of the SQL variables by inferring the type fro...
27.460177
142
0.556773
[ "MIT" ]
amosvoron/QueryTalk
lib/arguments/DeclareArgument.cs
9,311
C#
using BtcTurk.Net.Converters; using CryptoExchange.Net.Attributes; using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; namespace BtcTurk.Net.Objects { public class BtcTurkOpenOrders { [JsonProperty("asks")] public BtcTurkOrder[] Asks { get; set; } [JsonProperty("b...
22.588235
48
0.679688
[ "MIT" ]
burakoner/BtcTurk.Net
BtcTurk.Net/Objects/BtcTurkOpenOrders.cs
386
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CustomList { public class Guitar { public string make; public string model; public int year; public Guitar(string make, string model, int year) ...
19.863636
58
0.585812
[ "MIT" ]
BrianRobertson/CustomList
CustomList/CustomList/Guitar.cs
439
C#
using PasswordManager.Bot.Commands.Abstractions; using PasswordManager.Bot.Commands.Enums; using PasswordManager.Core.Entities; using System; using System.Collections.Generic; namespace PasswordManager.Bot.Commands { public class CommandFactory : ICommandFactory { //We use Type instead of ICommand objects because ...
44.598361
153
0.794523
[ "MIT" ]
Zankomag/PasswordManager
src/PasswordManager.Bot/Commands/CommandFactory.cs
5,443
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. class Program { static int Main(string[] args) { System.Console.WriteLine( System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription ...
16.649123
82
0.571128
[ "MIT" ]
belav/runtime
src/tests/Regressions/coreclr/GitHub_43763/test43763.cs
949
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Storage { #if false || false || false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class StorageFolder : global::Windows.Storage.IStorageFolder,global::Win...
73.761236
407
0.775315
[ "Apache-2.0" ]
Arlodotexe/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Storage/StorageFolder.cs
26,259
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...
34.246154
104
0.675651
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/Lambda/Generated/Model/CodeSigningPolicies.cs
2,226
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.WebUtilities; using Ozytis.Common.Core.Utilities; using Ozytis.Common.Core.Web.Razor; using Ozytis.Common.Core.Web.Razor.Layout.ArchitectUI; using WebClient.Repositories; namespace WebClient.Pages.User { ...
28.115789
135
0.573568
[ "MIT" ]
Ozytis/OzCodeReview
WebClient/Pages/User/ActivateAccountPage.razor.cs
2,679
C#
using System; using System.Globalization; using System.Net; using Newtonsoft.Json; using WireMock.Logging; using WireMock.Matchers; using WireMock.RequestBuilders; using WireMock.ResponseBuilders; using WireMock.Server; using WireMock.Settings; namespace WireMock.Net.ConsoleApplication { public static class MainA...
45.565611
303
0.484707
[ "Apache-2.0" ]
paulssn/WireMock.Net
examples/WireMock.Net.Console.Net452.Classic/MainApp.cs
20,142
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Seemon.Vault.Contracts.Services; using Seemon.Vault.Core.Contracts.Services; using Seemon.Vault.Core.Contracts.Views; using Seemon.Vault.Core.Models; using Seemon.Vault.Core.Services; usi...
39.31875
151
0.640598
[ "MIT" ]
mattseemon/Vault
src/UX/App.xaml.cs
6,293
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.RISKPLUS.Models { // 决策流 public class DecisionFlow : TeaModel { // 输出参数 [NameInMap("decision_flow")] [Validation(Required=false)] ...
21.096774
54
0.61315
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
riskplus/csharp/core/Models/DecisionFlow.cs
676
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. using System; namespace Microsoft.Diagnostics.Runtime.DbgEng { [Flags] internal enum DEBUG_FORMAT : uint ...
36.527778
71
0.723194
[ "MIT" ]
Bhaskers-Blu-Org2/clrmd
src/Microsoft.Diagnostics.Runtime/src/DbgEng/DEBUG_FORMAT.cs
1,317
C#