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 Microsoft.AspNet.Identity.EntityFramework; namespace BSN.Commons.Users { public class UserClaim : IdentityUserClaim<string> { } }
15.666667
51
0.780142
[ "MIT" ]
BSVN/Commons
Source/BSN.Commons/Users/UserClaim.cs
143
C#
using UnityEngine; using UnityEditor; using System.IO; using System.Collections.Generic; using UnityEngine.Rendering; namespace Cinemachine.Editor { internal class WaveformWindow : EditorWindow { WaveformGenerator mWaveformGenerator; Texture2D mScreenshot; string mScreenshotFilename; ...
39.969828
107
0.541357
[ "MIT" ]
Axedas/hex-game
New Unity Project (1)/Library/PackageCache/com.unity.cinemachine@2.3.4/Editor/Windows/WaveformWindow.cs
9,273
C#
using AutoMapper; using MediatR; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Hosting; using rbkApiModules.Infrastructure.MediatR.Core; using System.Linq; using System.Threading.Tasks; namespace rbkApiModules.Payment.SqlServer { ...
32.431373
128
0.550181
[ "MIT" ]
rbasniak/rbk-api-modules
rbkApiModules.Payment.SqlServer/BusinessLogic/Queries/Plan/GetAllPlans.cs
1,654
C#
namespace XHTMLClassLibrary.BaseElements.Ruby { /// <summary> /// The "rp" tag defines what to show if a browser does NOT support ruby annotations. /// Ruby annotations are used for East Asian typography, to show the pronunciation of East Asian characters. /// Use the "rp" tag together with the "ruby" ...
35.621622
315
0.614568
[ "MIT" ]
LordKiRon/fb2converters
fb2epub/HTML5ClassLibrary/BaseElements/Ruby/RpElement.cs
1,320
C#
using System; namespace Saltarelle.Compiler.JSModel.Expressions { [Serializable] public class JsThisExpression : JsExpression { private JsThisExpression() : base(ExpressionNodeType.This) { } private static JsThisExpression _instance = new JsThisExpression(); internal static new JsThisExpression This { get {...
30.777778
106
0.774368
[ "Apache-2.0" ]
AstrorEnales/SaltarelleCompiler
Compiler/JSModel/Expressions/JsThisExpression.cs
554
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc.RazorPages; namespace MvcIdSrv.Pages { public class IndexModel : PageModel { private readonly IAuthenticationSchemeProvider schemes; public IndexModel(IAut...
41.025
95
0.723339
[ "Apache-2.0" ]
hbiarge/authentication-samples
src/03-Federation/MvcIdSrv/Pages/Index.cshtml.cs
1,643
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ namespace BootstrapBlazor.Components; /// <summary> /// /// </summary> ...
24.965517
111
0.624309
[ "Apache-2.0" ]
Ashhhhhh520/BootstrapBlazor
src/BootstrapBlazor/Components/ErrorLogger/IErrorLogger.cs
780
C#
/* The MIT License (MIT) Copyright(c) 2016 Stanislav Zhelnio Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
39.984848
113
0.710496
[ "MIT" ]
RobertJYoung/SPI_GUI
MPSSELight/mpsse/MpsseDeviceExtendedB.cs
2,655
C#
//----------------------------------------------------------------------- // <copyright file="BestshotData.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //-----------------------...
35.487414
131
0.575638
[ "BSD-2-Clause" ]
fossabot/REIMU_Plugins_V2
Th165Bestshot/BestshotData.cs
16,448
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 namespace Moryx.Products.Management.Implementations.Storage { public class FloatStrategyConfigurationAttribute : PropertyStrategyConfigurationAttribute { public FloatStrategyConfigurationAttribute() ...
28.736842
93
0.600733
[ "Apache-2.0" ]
milmilkat/MORYX-AbstractionLayer
src/Moryx.Products.Management/Implementations/Storage/FloatStrategyConfigurationAttribute.cs
546
C#
// Copyright (c) 2020-2021 Eli Aloni (a.k.a elix22) // Copyright (c) 2008-2015 the Urho3D project. // Copyright (c) 2015 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software wit...
29.744928
166
0.686124
[ "MIT" ]
dertom95/Urho.Net-Samples
Billboards/Source/Sample.cs
10,262
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
45.501166
566
0.574846
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Reasonforscreeningduplicatebaserecord.cs
19,520
C#
// Copyright (c) 2017 Trevor Redfern // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace SilverNeedle.Characters.Personalities { using SilverNeedle.Lexicon; using SilverNeedle.Serialization; public class FearTemplate : TemplateSentenceGenerator { ...
22.611111
59
0.697789
[ "MIT" ]
shortlegstudio/silverneedle-web
silverneedle/lib/Characters/Personalities/FearTemplate.cs
407
C#
using System; using System.Collections.Generic; using System.Text; namespace SwitchAppDesign.AniListAPI.v2.Models { public class CharacterConnection { public CharacterEdge[] edges { get; set; } public Character[] nodes { get; set; } /// <summary> /// The pagination information...
22.222222
50
0.6225
[ "MIT" ]
SwitchAppDesign/AniListApi
PoisonIvy.AniListAPI/SwitchAppDesign.AniListAPI.v2/Models/CharacterConnection.cs
402
C#
using System.Web.Mvc; using System.Web.Routing; namespace Originarios { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Home", ...
30.571429
99
0.443925
[ "MIT" ]
vitor-msp/originarios
Originarios/Originarios/App_Start/RouteConfig.cs
2,998
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...
31.7875
107
0.619347
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/ProcessingOutputConfig.cs
2,543
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Networking.ServiceDiscovery.Dnssd { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif p...
28.115385
63
0.708618
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.ServiceDiscovery.Dnssd/DnssdRegistrationStatus.cs
731
C#
using System.Reflection; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; // This script is part of the BulletPro package for Unity. // Author : Simon Albou <albou.simon@gmail.com> namespace BulletPro.EditorScripts { // Base class for a DynamicParameter drawer rel...
51.210526
161
0.635149
[ "MIT" ]
Asledorf/Software-Projects-Bullet-Hell
Assets/BulletPro/Core/Editor/PropertyDrawers/DynamicValueDrawers/DynamicAnimationCurveValueDrawer.cs
2,921
C#
namespace Sidekick.Business.Filters { public class ArmorFilter { public bool Disabled { get; set; } public ArmorFilters Filters { get; set; } = new ArmorFilters(); } }
21.777778
71
0.632653
[ "MIT" ]
cmos12345/Sidekick
src/Sidekick.Business/Filters/ArmorFilter.cs
196
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml.Linq; using System.Xml.XPath; using Ops.NetCoe.LightFrame; namespace XC.MediaRat { public class VideoHelper { /// <summary> /// The cn media format /// </summary> ...
41.967262
168
0.479682
[ "MIT" ]
xcrover/MediaRat
MediaRat/Logic/VideoHelper.cs
14,103
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 Microsoft.CodeAnalysis.Diagnostics; using Test.Utilities; using Xunit; namespace Microsoft.CodeQuality.Analyzers.ApiDesignGuidelines.UnitTests { pu...
56.22913
263
0.523549
[ "Apache-2.0" ]
RikkiGibson/roslyn-analyzers
src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/ParameterNamesShouldMatchBaseDeclarationTests.cs
31,657
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
32.588235
78
0.422383
[ "MIT" ]
Appleseed/squidex
backend/src/Squidex.Domain.Apps.Events/Apps/AppDeleted.cs
556
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace doctor { public partial class Historyup...
25.015873
81
0.45368
[ "MIT" ]
neocyc/Clinic-Management-System-ASP.NET
Code/DBProject/Doctor/HistoryUpdate.aspx.designer.cs
2,100
C#
//----------------------------------------------------------------------------- // Snowballs only mode // // Copyright (c) 2017 The Platinum Team // // 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 ...
40.357143
79
0.677286
[ "MIT" ]
HiGuyMB/PlatinumQuest-Dev
Marble Blast Platinum/platinum/client/scripts/modes/snowballsOnly.cs
1,695
C#
using HtmlAgilityPack; using OpenQA.Selenium; using System; using System.IO; using System.Linq; namespace SReportLib { public class SReport { private readonly IWebDriver _driver; internal SLog sLogs; public readonly string LogsPath; internal SReport(IWebDriver driver, string...
34.235294
128
0.478952
[ "MIT" ]
igorquintaes/SReport
SReport/SReport.cs
4,658
C#
using System; using System.Collections.Generic; using System.Linq; using Panda.Data; using Panda.Models; using Panda.ViewModels; namespace Panda.Services { public class ReceiptsService : IReceiptsService { private ApplicationDbContext db; public ReceiptsService(ApplicationDbContext db) ...
28.021277
118
0.55429
[ "MIT" ]
tonchevaAleksandra/C-Sharp-Web-Development-SoftUni-Problems
C# Web Basic/SUS September 2020 Session/Panda/Services/ReceiptsService.cs
1,319
C#
using System; using System.Diagnostics; namespace OMP.Connector.Domain.Models { public class RequestError { public string ErrorSource { get; set; } public string ErrorMessage { get; set; } public Exception Exception { get; } public RequestError(string errorSource, Exception ...
24.25
68
0.611193
[ "MIT" ]
OpenManufacturingPlatform/iotcon-opc-ua-connector-dotnet
src/Domain/Models/RequestError.cs
681
C#
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Threading; using ...
39.355769
186
0.56731
[ "Apache-2.0" ]
AndreyMitsyk/azure-mobile-apps-net-client
src/Microsoft.Azure.Mobile.Client/Table/Sync/Queue/Actions/PullAction.cs
8,188
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.029412
81
0.687303
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearningServices/V20210701/Outputs/RegistryListCredentialsResultResponse.cs
953
C#
// using System.Collections; using System.Collections.Generic; using System.IO; using Microsoft.AspNet.Builder; using Nancy; using Nancy.Owin; using Nancy.ViewEngines.Razor; namespace ToDoList { public class Startup { public void Configure(IApplicationBuilder app) { app.UseOwin(x => x.UseNancy()); ...
18.44186
57
0.675914
[ "MIT" ]
CharlesEwel/todolistcsharp
startup.cs
793
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LibraryApi.Data; using LibraryApi.Data.Entities; using LibraryApi.Dtos; using Microsoft.EntityFrameworkCore; using WorkingDaysManagement; namespace LibraryApi.Services { public class BookService : IBookService ...
39.609091
189
0.569429
[ "MIT" ]
mcmubby/LibraryApiAssessment
LibraryApi/Services/BookService.cs
8,714
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MvvmWcfCrudList.Common.Messaging { /// <summary> /// Contract for EventAggregator /// </summary> public interface IEventAggregator { //Any class should be able toSu...
27.636364
68
0.675987
[ "MIT" ]
amitthk/mvvmwcfcrudlist
MvvmWcfCrudList/Common/Messaging/IEventAggregator.cs
610
C#
using DevChatter.Bot.Core.Commands; using DevChatter.Bot.Core.Data; using DevChatter.Bot.Core.Data.Model; using DevChatter.Bot.Core.Games.Roulette; using DevChatter.Bot.Core.Settings; using DevChatter.Bot.Infra.Ef; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; u...
36.911765
242
0.518611
[ "MIT" ]
DevChatter/DevChatterBot
src/DevChatter.Bot.Web/Setup/SetUpDatabase.cs
8,785
C#
using UnityEngine; namespace DarkestDimension { public class ReadOnlyAttribute : PropertyAttribute { } }
21.8
58
0.788991
[ "MIT" ]
doc97/Darkest-Dimension
Assets/Scripts/Editor/ReadOnlyAttribute.cs
109
C#
// Copyright 2022 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 ...
40.261538
111
0.64081
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/DisksClient.InsertRequestObjectSnippet.g.cs
2,617
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.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using NuGet.Common; using NuGet.Frameworks; using Nu...
37.395161
147
0.621523
[ "Apache-2.0" ]
Therzok/NuGet.Client
test/TestUtilities/Test.Utility/Commands/ProjectJsonTestHelpers.cs
4,637
C#
namespace IGExtensions.Common.Maps.Controls { public class ShapeStyleEditor { } }
14.571429
43
0.647059
[ "MIT" ]
Infragistics/wpf-samples
Applications/IGExtensions/IGExtensions.Common.Maps/Controls/ShapeStyleEditor.cs
102
C#
using System; using BEPUphysics.Entities; using BEPUutilities; namespace BEPUphysics.Constraints.TwoEntity.JointLimits { /// <summary> /// Prevents the connected entities from twisting relative to each other beyond given limits. /// </summary> public class TwistLimit : JointLimit, I1DImpul...
40.492274
136
0.568718
[ "Apache-2.0" ]
Anomalous-Software/BEPUPhysics
BEPUphysics/Constraints/TwoEntity/JointLimits/TwistLimit.cs
18,345
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Text; namespace NarrativePlanning { [Serializable] public class Operator : ISerializable { public String...
44.405128
111
0.386534
[ "MIT" ]
rushsangs/HeadSpace
NarrativePlanning/NarrativePlanning/Operator.cs
17,320
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Biztory.EnterpriseToolkit.TableauServerUnifiedApi.Rest.Model { /// <summary> /// /// </summary> [DataContract] public class QuerySchedulesRespon...
31.418803
72
0.628672
[ "Apache-2.0" ]
biztory/tableau-performance-accelerator
tableau-server-api-unified/Rest/Model/QuerySchedulesResponseSchedulesSchedule.cs
3,678
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...
29.105263
89
0.609403
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Quicksight/Inputs/DataSourceParametersAuroraPostgresqlGetArgs.cs
1,106
C#
// Copyright 2022 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 ...
42
113
0.708829
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1.GeneratedSnippets/ContainerAnalysisClient.TestIamPermissionsRequestObjectAsyncSnippet.g.cs
2,016
C#
using System; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace Bandwidth.Iris.Model { public class Disconnect: BaseModel { private const string DisconnectNumbersPath = "disconnects"; public static Task Create(Client client, string orderName, params str...
35.383562
159
0.60511
[ "MIT" ]
Bandwidth/csharp-bandwidth-iris
Bandwidth.Iris/Model/Disconnect.cs
2,585
C#
namespace Bot.Builder.Community.Components.Adapters.GoogleBusiness.Core.Model { public class UserInfo { public string DisplayName { get; set; } public string UserDeviceLocale { get; set; } } }
27.625
78
0.683258
[ "MIT" ]
Bhargav-Guduri/botbuilder-community-dotnet
libraries/Bot.Builder.Community.Components.Adapters.GoogleBusiness.Core/Model/UserInfo.cs
223
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> ...
35.677419
152
0.56962
[ "MIT" ]
MizardX/SetStartupProjects
src/SampleSolution/WindowsFormsApplicationCS/Properties/Settings.Designer.cs
1,078
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace HandPhysicsToolkit.Utils { [RequireComponent(typeof(LineRenderer))] [ExecuteInEditMode] public class LRPath : MonoBehaviour { LineRenderer lr; public List<Transform> points = new List<Transform>()...
21.121951
62
0.518476
[ "MIT" ]
2kah/HPTK
Runtime/Utils/LRPath.cs
868
C#
namespace Puppy.Elastic.Model.SearchModel.Sorting { public interface ISort { void WriteJson(ElasticJsonWriter elasticCrudJsonWriter); } }
22.428571
64
0.732484
[ "Unlicense" ]
stssoftware/Puppy
Puppy.Elastic/Model/SearchModel/Sorting/ISort.cs
157
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...
33.559633
116
0.61673
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/PersonalizeEvents/Generated/Model/Internal/MarshallTransformations/EventMarshaller.cs
3,658
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Objetos.Constantes { public class EnumTipoAtributo { public enum TipoAtributo { tipo_int, tipo_long, tipo_float, ...
19.6
34
0.532653
[ "MIT" ]
Viniciusalopes/ObjPessoa
csharp/Objetos/Constantes/EnumTipoAtributo.cs
492
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovingPlatform : MonoBehaviour { public Transform[] wayPoints; int currentIndex; Vector3 target; public float speed; public float stoppingDistance; List<GameObject> currentObjects; void Start(...
24.535714
81
0.592431
[ "MIT" ]
sps1112/roaming-ruins
Assets/Scripts/MovingPlatform.cs
2,063
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceCodeFirstExercise.Data.Models { public class Employee { public Employee() { Reports = new HashSet<Report...
22.771429
56
0.599749
[ "MIT" ]
Alexxx2207/EntityFrameworkCore
ServiceCodeFirstExercise/ServiceCodeFirstExercise/Data/Models/Employee.cs
799
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.2
88
0.601418
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/Outputs/VpcDefaultSecurityGroupEgress.cs
2,115
C#
using Microsoft.Practices.Unity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Templar.Domain.Services.Repositories; using Templar.Domain.Services.Services; using Templar.Repository.SqlServer; namespace Templar.Rest.Service.ServiceHost.Config...
27.772727
76
0.754501
[ "Apache-2.0" ]
Arconte/Templar
Src/Templar.Rest.Service.ServiceHost/Configurations/DependencyConfiguration.cs
613
C#
#if !NO_RUNTIME using System; using System.Reflection; namespace ProtoBuf.Serializers { sealed class MemberSpecifiedDecorator : ProtoDecoratorBase { public override Type ExpectedType { get { return Tail.ExpectedType; } } public override bool RequiresOldValue { get { return Tail.RequiresOldV...
34.675676
112
0.573655
[ "Apache-2.0" ]
Jessecar96/protobuf-net
protobuf-net/Serializers/MemberSpecifiedDecorator.cs
2,568
C#
namespace Swashbuckle.DynamicLocalization { using Swashbuckle.Application; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Reflection; using System.Resources; using System.Text; using S...
44.268293
206
0.594858
[ "MIT" ]
sdcondon/SwashbuckleDynamicLocalization
DynamicLocalization/SwaggerEnabledConfigurationExtensions.cs
5,447
C#
using EVRTH.Scripts.DemoHelpers; using UnityEditor; using UnityEngine; namespace EVRTH.Editor { [CustomPropertyDrawer(typeof(InspectorCommentBlock))] public class CommentBlockPropertyDrawer : PropertyDrawer { private const float height = 150; private float indent = 30; public over...
37.567568
145
0.62446
[ "Apache-2.0" ]
lim-at-infinity/gibs-unity-examples
Assets/Libraries/EVRTH/Editor/CommentBlockPropertyDrawer.cs
1,392
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...
44.191781
375
0.564993
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupCrrJobsOperations.cs
19,356
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EDO.Core.Util; namespace EDO.Core.Model { public class BookRelation :ICloneable { public static BookRelation CreateAbstract() { return new BookRelation() { BookRelationType = BookRelationTyp...
31.546667
112
0.614962
[ "Apache-2.0" ]
Easy-DDI-Organizer/EDO
EDO/Core/Model/BookRelation.cs
2,368
C#
using System.Threading.Tasks; using Common.Log; using Lykke.Job.ServicesMonitoring.Core.Services; namespace Lykke.Job.ServicesMonitoring.Services { // NOTE: Sometimes, startup process which is expressed explicitly is not just better, // but the only way. If this is your case, use this class to manage startup...
33.633333
107
0.674926
[ "MIT" ]
LykkeCity/Lykke.Job.ServicesMonitoring
src/Lykke.Job.ServicesMonitoring.Services/StartupManager.cs
1,011
C#
using System.Collections.Generic; namespace KdTree { public interface IKdTree<TKey, TValue> : IEnumerable<KdTreeNode<TKey, TValue>> { bool Add(TKey[] point, TValue value); bool TryFindValueAt(TKey[] point, out TValue value); TValue FindValueAt(TKey[] point); bool TryFindValue(TValue value, out TKey[] poi...
21.892857
90
0.706362
[ "MIT" ]
Unity-Technologies/KdTree
KdTreeLib/IKdTree.cs
615
C#
using BooksPF.Models; using MongoDB.Driver; using MongoDB.Driver.GridFS; namespace BooksPF.Core.Abstract { public interface IDbClient { IMongoCollection<Book> GetBooksCollection(); IMongoCollection<User> GetUsersCollection(); IMongoCollection<BookFile> GetFilesCollection(); IGr...
23.466667
56
0.715909
[ "Unlicense" ]
1amald/BooksPF
BooksPF.Core/Abstract/IDbClient.cs
354
C#
using UnityEngine; using LibNoise.Generator; using NodeEditorFramework; using NodeEditorFramework.Utilities; namespace LibNoiseNodes { [System.Serializable] [Node(false, "Noise/Generator/Voronoi")] public class NodeModuleGeneratorVoronoi : NodeModuleBase { public override string GetID { get { ...
34.953846
137
0.615757
[ "MIT" ]
jswigart/unity_noise_editor
NoiseNodeEditor/Assets/Node_Editor_LibNoise/Nodes/Generators/NodeModuleGeneratorVoronoi.cs
2,274
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class C { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOu...
38.320755
158
0.482521
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
ABC/ABC106/Tasks/C.cs
2,031
C#
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; namespace PrimitiveExtensions { public static class DataTableHelper { /// <summary> /// Returns page of a specified page number and size /// </summary> //...
33.691704
187
0.483113
[ "Apache-2.0" ]
SSAgov/primitive-extensions
src/PrimitiveExtensions/DataTableExtensions.cs
30,055
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.125
142
0.70863
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-qualitycheck/Qualitycheck/Model/V20190115/UpdateUserConfigRequest.cs
2,248
C#
using System; using System.Collections.Generic; using System.Linq; using ESAPICommander.ArgumentConfig; using ESAPICommander.Logger; using ESAPIProxy; namespace ESAPICommander.Commands { public class DvhCommandDirector : BaseCommandDirector { private readonly DvhArgOptions _options; private Li...
26.375
118
0.593365
[ "MIT" ]
isachpaz/ESAPICommander
ESAPICommander/Commands/DvhCommandDirector.cs
1,057
C#
using Microsoft.Practices.Prism.Logging; using PowerCreator.LiveClient.Log; namespace PowerCreator.LiveClient.Desktop { public partial class Bootstrapper { private readonly LoggerAdapter _logger = new LoggerAdapter(); protected override ILoggerFacade CreateLogger() { retur...
21.8125
69
0.684814
[ "MIT" ]
schifflee/LiveClient
PowerCreator.LiveClient.Desktop/PowerCreatorLiveClientBootstrapper.Desktop.cs
351
C#
namespace NServiceBus.Router.Deduplication.Outbox { using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using Logging; using Transport; class OutboxPersister { static ILog log = LogManager.GetLogger<O...
42.048701
152
0.614779
[ "MIT" ]
HEskandari/NServiceBus.Router
src/NServiceBus.Router.SqlServer/Outbox/OutboxPersister.cs
12,953
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.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
28.947368
143
0.618182
[ "MIT" ]
samialam8/MyResumeTemplate
ResumeTemplate/ResumeTemplate/Startup.cs
1,650
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...
30.385714
108
0.632816
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/CloudFront/Generated/Model/Paths.cs
2,127
C#
using System.Web.Mvc; namespace BolaoNet.MVC.Areas.Apostas { public class ApostasAreaRegistration : AreaRegistration { public override string AreaName { get { return "Apostas"; } } public override void RegisterArea(AreaReg...
24.041667
75
0.509532
[ "MIT" ]
Thoris/BolaoNet
BolaoNet.MVC/Areas/Apostas/ApostasAreaRegistration.cs
579
C#
using System; using System.Drawing; using System.Drawing.Imaging; namespace KaptchaNET.Options { public class CaptchaOptions { /// <summary> /// The width of the captcha in pixel. /// </summary> public int Width { get; set; } = 250; /// <summary> /// The height...
28.971429
89
0.530572
[ "MIT" ]
twsI/Kaptcha.NET
src/Kaptcha.NET/Options/CaptchaOptions.cs
2,030
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
51.897959
249
0.591034
[ "MIT" ]
AlanFlorance/azure-powershell
src/Functions/generated/api/Models/Api20190801/DetectorDefinition.TypeConverter.cs
7,483
C#
// https://gmlwjd9405.github.io/2018/05/10/data-structure-heap.html using System; using System.Collections.Generic; class MainClass { public static void Main (string[] args) { Action<object> print = Console.WriteLine; var h = new MinHeap(); h.Insert(7); print(h.Stringify() == "7"); h.Insert(1);...
21.3625
82
0.515799
[ "MIT" ]
Bomnamul/DataStructureAlgoCSharp
Class/51-DS-MinHeap-Priority-Queue/main.cs
3,522
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
44.960784
325
0.664501
[ "MIT" ]
dcaro/autorest.powershell
powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs
22,934
C#
namespace DotNetSix { using System; using BCrypt.Net; using System.Diagnostics; class Program { // Vectors stored string, salt, expected hash // These are taken from the original BCrypt.net project and are used to avoid breakage static readonly string[,] _testVectors = { ...
71.672131
153
0.556038
[ "MIT" ]
ChrisMcKee/bcrypt.net
IntegrationTest/TestVariousVersionsOfDotNet/DotNet6/Program.cs
4,374
C#
using System; using System.ComponentModel.DataAnnotations; using Umbraco.RestApi.Links; namespace Umbraco.RestApi.Models { public class MemberRepresentation : UmbracoRepresentation { public MemberRepresentation(ILinkTemplate linkTemplate, Action<UmbracoRepresentation> createHypermediaCallback) ...
28.578947
119
0.606507
[ "MIT" ]
DecisionTechnologies/UmbracoRestApi
src/Umbraco.RestApi/Models/MemberRepresentation.cs
1,631
C#
using System; using System.Threading; using Nemo.Fn; namespace Nemo.Logging { public class AuditLog<T> { public AuditLog(string action, T oldValue, T newValue) { Id = Guid.NewGuid(); Action = action; OldValue = oldValue; NewValue = newValue; ...
17.403509
75
0.439516
[ "MIT" ]
MingLu8/Nemo
src/Nemo/Logging/AuditLog.cs
994
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Apache License // Version 2.0. // // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WA...
47.369748
178
0.592928
[ "Apache-2.0" ]
Bhaskers-Blu-Org2/uprove-csharp-sdk
UProveUnitTest/CollaborativeIssuanceTests.cs
16,913
C#
/* [REMOVE THIS LINE] * [REMOVE THIS LINE] To use this template, make a copy and remove the lines that start * [REMOVE THIS LINE] with "[REMOVE THIS LINE]". Then add your code where the comments indicate. * [REMOVE THIS LINE] If your code references scripts or assets that are outside of the Plugins * [REMOVE T...
42.64557
105
0.665479
[ "Apache-2.0" ]
NGTO-WONG/KishiStory
Assets/Plugins/Pixel Crushers/Dialogue System/Templates/Scripts/PersistentDataTemplate.cs
3,371
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Reflection; using System.ComponentModel; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Management.Automation; using System.Management.A...
47.826957
349
0.668824
[ "MIT" ]
bechirslimene/PowerShell
src/Microsoft.WSMan.Management/Interop.cs
55,001
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Resources; using ICSharpCode.Core; using ICSharpCode.SharpDevelop; using ICSharpCode.UnitTesting; u...
26.375
103
0.759242
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Analysis/UnitTesting/Test/Tree/TestResultIgnoreTaskWithNoMessageTestFixture.cs
1,057
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.ApplicationCache { /// <summary> /// Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache. /// </summary...
35.894737
141
0.78739
[ "MIT" ]
brewdente/AutoWebPerf
MasterDevs.ChromeDevTools/Protocol/ApplicationCache/GetFramesWithManifestsCommandResponse.cs
682
C#
// =============================================================================== // Alachisoft (R) NCache Sample Code. // =============================================================================== // Copyright © Alachisoft. All rights reserved. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
36.940299
98
0.573064
[ "Apache-2.0" ]
Alachisoft/NCache
Samples/dotnetcore/BasicOperations/BasicOperations/BasicOperations.cs
7,428
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
38.290476
259
0.557269
[ "Apache-2.0" ]
FedeParola/swagger-codegen
samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Capitalization.cs
8,041
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Runtime.ExceptionServices; using WebAssembly.Runtime.Compilation; namespace WebAssembly.Runtime { /// <summary> /// Creates a new instance of a compiled WebAs...
58.858029
216
0.440462
[ "Apache-2.0" ]
LATOKEN/dotnet-webassembly
WebAssembly/Runtime/Compile.cs
75,899
C#
using Microsoft.AspNetCore.Mvc.Razor.Internal; using Abp.AspNetCore.Mvc.Views; using Abp.Runtime.Session; namespace LTMCompanyNameFree.YoyoCmsTemplate.Web.Views { public abstract class YoyoCmsTemplateRazorPage<TModel> : AbpRazorPage<TModel> { [RazorInject] public IAbpSession AbpSession { get; ...
26.888889
82
0.716942
[ "MIT" ]
cnmediar/YoyoCmsFree.Template
src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Web.Mvc/Views/YoyoCmsTemplateRazorPage.cs
486
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210201Preview { using Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PowerShell; /// <summary>Scaling plan properties.</summary> [System.ComponentModel.TypeConverter(typeof(ScalingPlanPatchPropertiesTypeCo...
101.972414
762
0.770526
[ "MIT" ]
AndriiKalinichenko/azure-powershell
src/DesktopVirtualization/generated/api/Models/Api20210201Preview/ScalingPlanPatchProperties.PowerShell.cs
14,642
C#
using System; using System.IO; using System.Linq; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace SaveMart { public class AppInitializer { public static IApp StartApp(Platform platform) { // TODO: If the iOS or Android app being tested is included in the solution // then open the Unit Tests...
30.418605
84
0.688073
[ "Unlicense" ]
jCho23/SaveMart
SaveMart/AppInitializer.cs
1,310
C#
using NeoGeniX.Config; using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace NeoGeniX.Controls { public class DarkLabel : Label { #region Field Region private bool _autoUpdateHeight; private bool _isGrowing; #endregion ...
21.669811
92
0.488899
[ "Apache-2.0" ]
iAwesome404/ProshellCatalyst
Cairo Desktop/DarkUI/Controls/DarkLabel.cs
2,299
C#
using System.Collections.Generic; using System.Threading.Tasks; using Obacher.RandomOrgSharp.Core; using Obacher.RandomOrgSharp.Core.Parameter; using Obacher.RandomOrgSharp.Core.Request; using Obacher.RandomOrgSharp.Core.Response; using Obacher.RandomOrgSharp.Core.Service; using Obacher.RandomOrgSharp.JsonRPC.Request;...
60.946237
172
0.711538
[ "MIT" ]
gsteinbacher/RandomOrgSharp
Obacher.RandomOrgSharp.JsonRPC/Method/DecimalBasicMethod.cs
5,670
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using YX; public class TestRuntimeGizmos : MonoBehaviour { private void OnPostRender() { RuntimeGizmos.mat = new Material(Shader.Find("Unlit/Color")); RuntimeGizmos.color = Color.green; RuntimeGizmos.DrawSph...
29.833333
79
0.674115
[ "Apache-2.0" ]
yangxun983323204/unity-utils
Assets/Test/TestRuntimeGizmos.cs
539
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
47.100478
189
0.636022
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/UnifiedRoleDefinitionInheritsPermissionsFromCollectionRequest.cs
9,844
C#
using System; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace HomeControl.WebApi.Models { // Models used as parameters to AccountController actions. public class AddExternalLoginBindingModel { [Required] [Display(Name = "External access token")] publi...
31.835294
110
0.622321
[ "MIT" ]
tocsoft/HomeControl
HomeControl.WebApi/Models/AccountBindingModels.cs
2,708
C#
using BenchmarkDotNet.Attributes; namespace NaturalStringComparerNS { [ArtifactsPath(".\\EtcBenchmarks")] public class EtcBenchmarks : BenchmarksBase { public enum TestCase { InRange, OutFromRange } [Params(TestCase.InRange, TestCase.OutFr...
23.9375
86
0.43342
[ "MIT" ]
faddiv/Foxy.Core
StringNaturalComparer.BenchmarkDotNet/EtcBenchmarks.cs
1,102
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Nricher.DependencyInjectionExtensions.HostedService; using NUnit.Framework; namespace DependencyInjectionExtensions.Tests.HostedSe...
44.152174
143
0.728213
[ "Apache-2.0" ]
YanicHoegger/DependencyInjectionExtension
source/DependencyInjectionExtensions.Tests/HostedService/AddHostedServiceServiceCollectionExtensionTests.cs
2,033
C#
using System; using System.Collections.Generic; class Computer { private string name; private List<string> component; private decimal price; private List<Component> components = new List<Component>(); public string Name { get { return this.name; } set { if ...
26.397727
114
0.517004
[ "CC0-1.0" ]
ivayloivanof/OOP-CSharp
01.DefiningClasses/DefiningClassHomework/DefiningClass/PC.Catalog/Computer/Computer.cs
2,325
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JumpJump { class Program { static void Main(string[] args) { char[] psss = Console.ReadLine().ToCharArray(); int i = 0; ...
22.538462
80
0.354949
[ "MIT" ]
ilpototo/Telerick-Alpha
Conditions/JumpJump/Program.cs
1,174
C#
using UnityEngine; public class CameraBounds : MonoBehaviour { public Rect bounds; void OnDrawGizmos() { Gizmos.color = Color.white; Gizmos.DrawWireCube(bounds.center.AsVector3(0), bounds.size.AsVector3(0)); } }
19.076923
82
0.665323
[ "MIT" ]
jaburns/ggj2018
Assets/Scripts/CameraBounds.cs
250
C#
using KilyCore.EntityFrameWork.ModelEnum; using System; using System.Collections.Generic; using System.Text; /// <summary> /// 作者:刘泽华 /// 时间:2018年5月29日11点13分 /// </summary> namespace KilyCore.DataEntity.RequestMapper.Repast { public class RequestRepastIdent { /// <summary> /// 认证编号 /// ...
27.2
54
0.465686
[ "Apache-2.0" ]
EmilyEdna/KilyCore
KilyCore.DataEntity/RequestMapper/Repast/RequestRepastIdent.cs
3,508
C#