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
// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. #if UNITY_5_6_OR_NEWER using UnityEngine; using UnityEngine.Video; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Video)] [Tooltip("Check Whether the player restarts from the beginning without when it reaches the end of th...
18.864583
111
0.672557
[ "MIT" ]
aiden-ji/oneButtonBoB
Assets/PlayMaker/Actions/VideoPlayer/VideoPlayerGetIsLooping.cs
1,813
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Media.Media3D; using Untangle.ViewModels; using PointF = System.Drawing.PointF; namespace Untangle.Generation { public static class Gra...
27.961404
122
0.658301
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AdamWhiteHat/Untangle-Game
Untangle/Generation/GraphLayout.cs
7,971
C#
//----------------------------------------------------------------------- // <copyright file="ProtocolMode.cs" // Copyright (c) 2021 Adam Craven. All rights reserved. // </copyright> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
37.96875
84
0.611523
[ "Apache-2.0" ]
channeladam/OPRF.NET
src/Oprf.Net/Abstractions/ProtocolMode.cs
1,215
C#
namespace JsonToRssGenerator.Data { public class Category { public string Name { get; } public string SubCategory { get; } public Category(string name, string subCategory = null) { Name = name; SubCategory = subCategory; } } }
21.266667
64
0.532915
[ "MIT" ]
Newbilius/JsonToPodcastRssGenerator
Program/Data/Category.cs
321
C#
[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))] [assembly:System.Reflection.AssemblyCompanyAttribute("Microsoft Corporation")] [assembly:System.Reflection.AssemblyCopyrightAttribute("Microsoft Corporation. All rights reserved.")] [assembly:System.Reflection....
77.282609
238
0.795499
[ "MIT" ]
NikolaMilosavljevic/source-build
src/reference-assemblies/NuGet.Repositories/netstandard1.3/3.5.0.0/NuGet.Repositories.cs
3,555
C#
using System; using System.Collections.Generic; using FluentAssertions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Protocol; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; using O...
39.888889
110
0.549443
[ "MIT" ]
Bia10/csharp-language-server-protocol
test/Lsp.Tests/Capabilities/Server/ServerCapabilitiesTests.cs
2,872
C#
using System; namespace Leger { public class GraphObjectTypeInfo { /// <summary> /// Identifiant unique (GUID) du type de noeud. /// </summary> public Guid Id { get; private set; } /// <summary> /// Nom lisible par un humain du type de noeud. /// </summ...
32.597403
137
0.547012
[ "BSD-3-Clause" ]
titanix/HyperGraph_Public
Libraries/HyperGraphNetStandard/Graph/TypeInfo/GraphObjectTypeInfo.cs
2,523
C#
using System.Web.Script.Serialization; using NewLife.Collections; using NewLife.Data; namespace NewLife.Cube.Charts; /// <summary>系列。一组数值以及他们映射成的图</summary> public class Series : IExtend3 { #region 属性 /// <summary>图表类型</summary> public String Type { get; set; } //public SeriesTypes Type { get; set; }...
28.329268
134
0.601378
[ "MIT" ]
xueshaoyu/NewLife.Cube
NewLife.CubeNC/Charts/Series.cs
2,507
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Framework.PackageManager.CommandLine; using Xunit; namespace Microsoft.Framework.PackageManager.Tests { ...
29.010363
111
0.480264
[ "Apache-2.0" ]
rvfvazquez/KRuntime
test/Microsoft.Framework.PackageManager.Tests/CommandLineApplicationTests.cs
5,599
C#
using System; using System.Runtime.Serialization; using Vts.Common; namespace Vts.MonteCarlo.Tissues { /// <summary> /// Implements ITissueRegion. Defines a layer infinite in extent along /// x,y-axes and with extent along z-axis given by ZRange. /// </summary> public class LayerTissueRe...
39.333333
138
0.529335
[ "MIT" ]
VirtualPhotonics/VTS
src/Vts/MonteCarlo/Tissues/LayerTissueRegion.cs
6,136
C#
using System; using System.Collections.Generic; using Smooth.Algebraics; using Smooth.Slinq; namespace Smooth.Foundations.PatternMatching.Options { public sealed class OfMatcher<T> { private readonly OptionMatcher<T> _matcher; private readonly Action<Func<Option<T>, bool>, Action<T>> _addPredi...
32.8
125
0.571429
[ "MIT" ]
Volodej/smooth.foundations
Smooth/Smooth.Foundations.PatternMatching/Options/OfMatcher.cs
1,150
C#
using System; namespace RTextNppPlugin.Utilities.WpfControlHost { using RTextNppPlugin.Scintilla; using RTextNppPlugin.Utilities.Settings; internal class PersistentWpfControlHost<T> : WpfControlHostBase<T>, IDisposable where T : System.Windows.Forms.Form { #region [Interface] public Per...
36.259259
164
0.665986
[ "EPL-1.0" ]
sanastasiou/RTextNpp
RTextNpp/Utilities/WpfControlHost/PersistentWpfControlHost.cs
981
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.Data; using System.Data.SqlClient; namespace Microsoft.Extensions.HealthChecks { public static class HealthCheckBuilderS...
38.565217
125
0.502818
[ "MIT" ]
cheahengsoon/eShopOnContainers
src/BuildingBlocks/HealthChecks/src/Microsoft.Extensions.HealthChecks.SqlServer/HealthCheckBuilderSqlServerExtensions.cs
1,774
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Abp.Application.Services.Dto; using Abp.AspNetCore.Mvc.Authorization; using Recyclops.Authorization; using Recyclops.Controllers; using Recyclops.Users; using Recyclops.Web.Models.Users; using Recyclops.Users.Dto; namespace Recyclops.Web.Controllers ...
31.541667
154
0.6321
[ "MIT" ]
JoshTheGent/Recyclops
4.7.1/aspnet-core/src/Recyclops.Web.Mvc/Controllers/UsersController.cs
1,516
C#
using System.Data; using Microsoft.Extensions.Configuration; using Npgsql; using SafeRebus.Abstractions; using SafeRebus.Config; namespace SafeRebus.Outbox.Database { public class DbProvider : IDbProvider { private readonly IConfiguration Configuration; private const string ConnectionStringTem...
30.681818
127
0.609877
[ "MIT" ]
hansehe/SafeRebus
src/SafeRebus/Implementations/SafeRebus.Outbox.Database/DbProvider.cs
2,027
C#
using System.Linq; using SharpGen.Config; using SharpGen.CppModel; using SharpGen.Model; using SharpGen.Transform; using Xunit; using Xunit.Abstractions; namespace SharpGen.UnitTests.Mapping { public class Interface : MappingTestBase { public Interface(ITestOutputHelper outputHelper) : base(outputHelp...
34.4496
105
0.432075
[ "MIT" ]
SharpGenTools/SharpGenTools
SharpGen.UnitTests/Mapping/Interface.cs
21,533
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace App_Xamarin_Pcl.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from ...
23.555556
82
0.731132
[ "MIT" ]
zyl910/vscsprojects
vs14_2015/Xamarin/App_Xamarin_Pcl/App_Xamarin_Pcl/App_Xamarin_Pcl.iOS/Main.cs
426
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
38.675676
85
0.726066
[ "MIT" ]
ajlopez/MathelSharp
Src/MathelSharp/Properties/AssemblyInfo.cs
1,434
C#
using SaveSystem; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEditor.SceneManagement; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; [CanEditMultipleObjects] [CustomEditor(typeof(SceneSaveable))] public clas...
19.587571
84
0.693106
[ "MIT" ]
helsinki-xr-center/Esteettomyys
Assets/Scripts/SaveSystem/Editor/SceneSaveableEditor.cs
3,469
C#
using System; using JetBrains.Annotations; namespace Alba.InkBunny.Api { [Flags] [PublicAPI] public enum SearchSaleType { None = 0, Digital = 1 << 0, Print = 1 << 1, All = Digital | Print, } }
14.588235
30
0.540323
[ "Unlicense" ]
Athari/InkBunny.Api
Alba.InkBunny.Api/Requests/Search/SearchSaleType.cs
250
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
47.722222
133
0.681257
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/Engine/Skeleton.cs
4,295
C#
using System; using SLua; using System.Collections.Generic; [UnityEngine.Scripting.Preserve] public class Lua_UnityEngine_AvatarMask : LuaObject { [SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] [UnityEngine.Scripting.Preserve] static public int constructor(IntPtr l) { try { #if DEBUG var method ...
25.909953
96
0.719316
[ "BSD-3-Clause" ]
HugoFang/LuaProfiler
SLua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_AvatarMask.cs
10,936
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using ApprovalUtilities.Utilities; namespace ApprovalTests.Utilities { public static class ParentProcessUtils { public static Process GetParentProcess(Process currentProcess) ...
31.483051
105
0.528668
[ "Apache-2.0" ]
RasheR666/ApprovalTests.Net
ApprovalTests/Utilities/ParentProcessUtils.cs
3,600
C#
using Foundation; using UIKit; namespace AnimationGroupSample { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register ("AppDelegate")] public cla...
35.833333
122
0.76186
[ "Apache-2.0" ]
Pkirugu/xamarin-recipes
ios/animation/coreanimation/create_an_animation_group/animationGroupSample/AppDelegate.cs
2,152
C#
//------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for gerado ...
44.333333
90
0.671992
[ "MIT" ]
xanwerneck/design-pattern-tutorial
DesignPatternsTutorialTest/obj/Debug/netcoreapp2.1/DesignPatternsTutorialTest.AssemblyInfo.cs
1,073
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; namespace Microsoft.EntityFrameworkCore.Query.Internal { /// <summary> /// This is an internal API that s...
59.342105
117
0.674058
[ "Apache-2.0" ]
0x0309/efcore
src/EFCore.Relational/Query/Internal/SingleQueryResultCoordinator.cs
4,510
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...
29.677419
84
0.596196
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Cdn/V20200331/Inputs/RequestUriMatchConditionParametersArgs.cs
1,840
C#
using System; using System.Linq; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Threading; using MouseEventArgs = System.Windows.Input.MouseEventArgs; namespace Captura { public partial class NotificationStack { static readonly TimeSpan Tim...
28.981707
122
0.544919
[ "MIT" ]
121986645/Captura
src/Captura/Controls/NotificationStack.xaml.cs
4,755
C#
/* * AUTHOR: Suparno Deb * DATE LAST MODIFIED: 09/12/2020 * FILE NAME: LocVisits.xaml.cs * PURPOSE: Handles events in response to the user's interaction with window 'LocVisits' * LAYER: Presentation */ using System; using System.Windows; using System.Windows.Controls; namespace OOSD { /// <summary> /// ...
45.220183
186
0.540272
[ "Apache-2.0" ]
SuparnoD/Track-Trace
OOSD/LocVisits.xaml.cs
4,931
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// ssdata.dataservice.risk.antifraud.verify /// </summary> public class SsdataDataserviceRiskAntifraudVerifyRequest : IAlipayRequest<SsdataDatase...
22.951613
123
0.552706
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/SsdataDataserviceRiskAntifraudVerifyRequest.cs
2,864
C#
using System.Linq; using System.Threading.Tasks; using Abp.Configuration; using Abp.Zero.Configuration; using Afonsoft.Ranking.Authorization.Users; using Shouldly; using Xunit; namespace Afonsoft.Ranking.Tests.Authorization.Users { public class UserManager_Tests : UserAppServiceTestBase { private read...
37.461538
153
0.735113
[ "MIT" ]
afonsoft/Ranking
test/Afonsoft.Ranking.Tests/Authorization/Users/UserManager_Tests.cs
1,463
C#
namespace WebAssembly.Instructions { /// <summary> /// Zero-replicating (logical) shift right. /// </summary> public class Int32ShiftRightSigned : ValueTwoToOneInstruction { /// <summary> /// Always <see cref="OpCode.Int32ShiftRightSigned"/>. /// </summary> public sea...
32.32
103
0.641089
[ "Apache-2.0" ]
Astn/dotnet-webassembly
WebAssembly/Instructions/Int32ShiftRightSigned.cs
808
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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Aw...
39.382353
167
0.612024
[ "ECL-2.0", "Apache-2.0" ]
dixler/pulumi-aws
sdk/dotnet/Waf/RegexPatternSet.cs
5,356
C#
using FullInspector.Internal; namespace FullInspector { public partial class tk<T, TContext> { /// <summary> /// The control will be drawn with a read-only UI if the predicate returns true. /// </summary> public class ReadOnlyIf : ConditionalStyle { public ReadOnlyIf(Va...
34.172414
88
0.507568
[ "MIT" ]
bakiya-sefer/bakiya-sefer
Assets/FullInspector2/Modules/tkControl/Controls/tkReadOnlyIf.cs
993
C#
namespace p07.LegoBlocks { using System; using System.Linq; public class StartUp { public static void Main() { int rows = int.Parse(Console.ReadLine()); int[][] array1 = GetArray(rows); int[][] array2 = GetArray(rows); array2 = GetReverse...
27.329114
85
0.418249
[ "MIT" ]
GitHarr/SoftUni
Homework/C#Fundamentals/C#Advanced/2.MultidimensionalArrays/Exercises/p07.LegoBlocks/StartUp.cs
2,161
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp; u...
21.091856
172
0.548126
[ "MIT" ]
JavierMatosD/roslyn
src/EditorFeatures/CSharpTest/CodeActions/InlineTemporary/InlineTemporaryTests.cs
111,367
C#
using System; using System.Text; using System.Collections.Generic; namespace Altazion.Api.Data { ///<summary> ///Objet de données VitrineContentData ///</summary> public class VitrineContentData { ///<summary> ///Obtient ou définit la valeur Articles ///</summary> public ArticleDetailDansVitrineData[] Ar...
21.081633
61
0.666021
[ "MIT" ]
altazion/altazion-sdk-csharp
SdkCSharpSources/Altazion.Api/Data/CatalogueSelectionsControllerVitrineContentData.cs
1,043
C#
using System.Collections; namespace Core.Extensions { public interface IStringDictionary : IEnumerable { void Add(string pKey, string pValue); bool ContainsKey(string pKey); void Clear(); int Count { get; } IEnumerable Keys { get; } IEnumerable Values { get; } ...
23.214286
52
0.615385
[ "Apache-2.0" ]
ClassicDIY/SkyeTracker
code/Archive/Netduino/Core/Extensions/IStringDictionary.cs
325
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Comments.Buttons { public class LoadRepliesButton : Loading...
28.636364
88
0.625397
[ "MIT" ]
02Naitsirk/osu
osu.Game/Overlays/Comments/Buttons/LoadRepliesButton.cs
915
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ganss.Excel { /// <summary> /// Attribute which specifies that the formula result instead of the formula should be mapped. /// This applies only to string properties, as for all other types the result will be m...
30.666667
98
0.713768
[ "MIT" ]
Selmirrrrr/ExcelMapper
ExcelMapper/FormulaResultAttribute.cs
554
C#
namespace QRCode { partial class frMgtRules { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
52.841463
161
0.63201
[ "MIT" ]
cookcoder/qrcode
qrcode/frMgtRules.Designer.cs
8,970
C#
using System; using System.Collections.Generic; namespace CogniPyCLI { class Program { static void Main(string[] args) { InteractiveMode.EntryPoint(args); } } }
15.071429
45
0.587678
[ "Apache-2.0" ]
GrzegorzKanka/cognipy
cognipy/CogniPyCLI/Program.cs
213
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("AddImageToPDFAsAPage")] [assembly: Assembl...
37.5
84
0.744444
[ "MIT" ]
Accusoft/imagegear-net-samples
Samples/PDF and JPEG/AddImageToPDFAsAPage/AssemblyInfo.cs
1,352
C#
namespace IDisposableAnalyzers { using Microsoft.CodeAnalysis; internal static class IDISP002DisposeMember { public const string DiagnosticId = "IDISP002"; internal static readonly DiagnosticDescriptor Descriptor = new DiagnosticDescriptor( id: DiagnosticId, title: ...
34.45
92
0.670537
[ "MIT" ]
AArnott/IDisposableAnalyzers
IDisposableAnalyzers/IDISP002DisposeMember.cs
689
C#
using System.Collections.ObjectModel; namespace WebAPIApp.Areas.HelpPage.ModelDescriptions { public class ComplexTypeModelDescription : ModelDescription { public ComplexTypeModelDescription() { Properties = new Collection<ParameterDescription>(); } public Collection...
27.357143
80
0.704961
[ "Apache-2.0" ]
iliantrifonov/TelerikAcademy
ASP.NETWebForms/01.IntroductionToASP.NET/WebAPIApp/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs
383
C#
using System; using System.Collections.Generic; using System.Linq; using hw.DebugFormatter; namespace hw.Helper { /// <summary> /// Dicionary that does not allow null values /// </summary> /// <typeparam name="TKey"> </typeparam> /// <typeparam name="TValue"> </typeparam> [AdditionalNodeInf...
32.089041
133
0.542796
[ "MIT" ]
hahoyer/HWClassLibrary.cs
src/hw.T4/hw/Helper/FunctionCache.cs
4,685
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace My_OCR { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
18.722222
43
0.664688
[ "Apache-2.0" ]
GuptaArpit14/My-OCR
App.xaml.cs
339
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
35.892857
133
0.71194
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
web/studio/ASC.Web.Studio/UserControls/Management/SingleSignOnSettings/SingleSignOnSettings.ascx.cs
2,010
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Coinbase_Portfolio_Tracker.Models.Coinbase; using Coinbase_Portfolio_Tracker.Models.Coinbase.Dto; using Coinbase_Portfolio_Tracker.Models.Coinbase.Responses; namespace Coinbase_Portfolio_Tracker.Services.Coi...
34.871795
111
0.639706
[ "MIT" ]
chitrangShah/Coinbase_Portfolio_Tracker
Services/Coinbase/CoinbaseAccountService.cs
1,360
C#
using System; using System.Reflection; using HarmonyLib; namespace Pacemaker { internal static class Reflect { public class Method { protected readonly Type Type; protected readonly string Name; protected readonly Type[]? Parameters; ...
45.66129
167
0.598375
[ "MIT" ]
Jirow13/Pacemaker
src/Reflect.cs
5,664
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
36.885714
87
0.596437
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands.Test.Utilities/HDInsight/Simulators/BufferingLogWriterFactory.cs
1,259
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CatmullRomSplineHelper.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Provides functionality to interpolate a list of points...
37.969466
140
0.466425
[ "MIT" ]
jmagnette/oxyplot
Source/OxyPlot/Rendering/Utilities/CatmullRomSpline.cs
9,952
C#
using Countdown.Core.Models; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace Countdown.Core.Infrastructure { public abstract class Specification<T> where T: EntityModel { public abstract Expression<Func<T, bool>> ToExpression(); publ...
23
65
0.670807
[ "MIT" ]
geegee4iee/countdown
Countdown.Core/Infrastructure/Specification.cs
485
C#
namespace TryAtSoftware.Randomizer.Core { using System; using System.Reflection; using JetBrains.Annotations; using TryAtSoftware.Randomizer.Core.Interfaces; public class RandomValueSetter<TEntity, TValue> : IRandomValueSetter<TEntity> where TEntity : class { private readonly s...
37.3
154
0.641421
[ "MIT" ]
TryAtSoftware/Randomizer
src/TryAtSoftware.Randomizer.Core/RandomValueSetter.cs
1,494
C#
using System; using System.Collections.Generic; using System.Text; namespace HZY.Admin.Dto.Core { using AutoMapper; public static class DtoExtensions { public static T2 MapTo<T1, T2>(this T1 Source) where T1 : class where T2 : class { if (Source == nu...
19.107143
81
0.575701
[ "MIT" ]
jamee1696/HZY.AdminRazor
HZY.Admin/Dto/Core/DtoExtensions.cs
537
C#
using System; using System.Collections.Generic; using System.Linq; using System.IO; namespace Ragnarok { /// <summary> /// Linq関係の拡張メソッドを定義します。 /// </summary> public static class Extension { /// <summary> /// foreachのlinq版。 /// </summary> public stati...
27.604457
94
0.388295
[ "MIT" ]
ebifrier/Ragnarok
Ragnarok/Extension.cs
10,658
C#
using ScriptableObjects; using UnityEngine; namespace Pathfinding { public static class Pathfinding { private static PathPriorityQueue _searchFrontier; private static int _searchFrontierPhase; public static float FindPathTime(Cell start, Cell end, float[] speedMultipliers) { ...
38.402299
117
0.518707
[ "MIT" ]
Fahrrader/TradeEconomicsSimulation
Assets/Scripts/Pathfinding/Pathfinding.cs
3,341
C#
using System; namespace Chapter03Examples { class FuncExample { public static void Main1() { Func<int, string> mathCalc = Func1; mathCalc += Func2; var resultA = mathCalc(2); Console.WriteLine($"ResultA={resultA}"); var resultB = m...
22.121212
54
0.5
[ "MIT" ]
raihantaher/The-C-Sharp-Workshop
Examples/Chapter03/FuncExample.cs
732
C#
using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; namespace CoinEx.Net.Objects { /// <summary> /// Mining difficulty info /// </summary> public class CoinExMiningDifficulty { /// <summary> /// The difficulty in CET/Hour /// </summary> public ...
27.964286
62
0.592593
[ "MIT" ]
EricGarnier/CoinEx.Net
CoinEx.Net/Objects/CoinExMiningDifficulty.cs
785
C#
using UnityEngine; using System.Collections; /// <summary> /// NPC wisp in the ethereal void. Is not really an NPC but an animated decoration /// </summary> public class NPC_Wisp : NPC { /// <summary> /// NPC Does not need a start like NPcs /// </summary> protected override void Start () { npc_whoami=48;//Wis...
18
82
0.671429
[ "MIT" ]
FaizanMughal/UnderworldExporter
UnityScripts/scripts/NPC/NPC_Wisp.cs
632
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.CommandLine.Processors { using System; using System.Diagnostics.CodeAnalysis; using System.Diagnos...
37.365
161
0.636692
[ "MIT" ]
eerhardt/vstest
src/vstest.console/Processors/RunSettingsArgumentProcessor.cs
7,473
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
30.716049
101
0.549839
[ "MIT" ]
msebragge/iomt-fhir
src/lib/Microsoft.Health.Logger/Telemetry/IomtTelemetryLogger.cs
2,490
C#
using PhotoShop.Core.Interfaces; using PhotoShop.Core.Models; using FluentValidation; using MediatR; using System; using System.Threading.Tasks; using System.Threading; using System.Linq; namespace PhotoShop.API.Features.Mentees { public class RemoveMenteeCommand { public class Validator : AbstractVali...
25.130435
84
0.584775
[ "MIT" ]
QuinntyneBrown/PhotoShop
src/PhotoShop.API/Features/Mentees/RemoveMenteeCommand.cs
1,156
C#
using System; using Exceptions; namespace StackCalculator { /// <summary> /// Класс, реализующий стек на остнове связного списка /// </summary> public class LinkedStack : IStack { /// <summary> /// Голова стека (ссылка на верхний элемент) /// </summary> private Stack...
23.291667
75
0.455575
[ "Apache-2.0" ]
anticNVM/144.math.spbu-II
homeWork 3/T1-StackCalculator/StackCalculator/LinkedStack.cs
1,880
C#
using System; namespace Deepgram.Transcription { public class TranscriptReceivedEventArgs: EventArgs { public TranscriptReceivedEventArgs(LiveTranscriptionResult transcript) { Transcript = transcript; } public LiveTranscriptionResult Transcript { get; set; } }...
21.533333
78
0.678019
[ "MIT" ]
deepgram-devs/deepgram-dotnet-sdk
Deepgram/Transcription/TranscriptReceivedEventArgs.cs
325
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace Animation...
20.5
62
0.703833
[ "MIT" ]
DiogoBarbosaSilvaSousa/apress
pro-wpf-4.5-in-csharp/Pro WPF 4.5 in C#/Chapter16/Animation/ExpandElement.xaml.cs
574
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class FinishLogic : MonoBehaviour { int countDownStartValue=5; public Text timerUI; public GameObject Time5; public GameObject Time4; publi...
26.12069
85
0.642904
[ "MIT" ]
JoseRamonMartinez/ForkLift-Simulator-MiniGame
Assets/Scenes/Scripts/FinishLogic.cs
1,517
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.515528
199
0.582578
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/AppStream/Generated/Model/CreateStreamingURLRequest.cs
5,074
C#
using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using IceCloud.BeebApp.UI.SiteSolucao.Models; namespace IceCloud.BeebApp.UI.SiteSolucao.Controllers { [Authorize] publi...
36.178423
172
0.555167
[ "MIT" ]
alanfoandrade/IceCloud-BeeBapp
src/IceCloud.BeebApp.UI.SiteSolucao/Controllers/AccountController.cs
17,497
C#
using System; using System.Collections.Generic; using System.Text; namespace Nglib.APP.LOG { /// <summary> /// Model pour monitorer /// </summary> [Obsolete("DevSoon")] public class AppWatch { } }
15.133333
33
0.621145
[ "MIT" ]
NueGy/NGLib
dev/Nglib/APP/LOG/AppWatch.cs
229
C#
using IRepository; using Library.Constant; using Library.DI; using System; using System.Collections.Generic; namespace Repository { /// <summary> /// 仓储实现类,提供实体工厂和存储过程执行 /// </summary> public class Repository : IRepository.IRepository { private IDataContext DbContext; private Dicti...
26.12963
88
0.557052
[ "Apache-2.0" ]
huahuajjh/tms
src/api/TMS/Repository/Repository.cs
1,551
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RadialBarProgress : MonoBehaviour { public Transform LoadingBar; public Transform txtPercent; // Use this for initialization [SerializeField] float currentAmount; [SerializeField] fl...
26.166667
89
0.678344
[ "MIT" ]
aup84/Argeo
Assets/scripts/ArenaScene/RadialBarProgress.cs
630
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using RPG.Models; namespace RPG.Migrations { [DbContext(typeof(RPGDbContext))] [Migration("20170810223147_AddObso...
33.281734
117
0.462605
[ "MIT" ]
mcarlin27/RPG
src/RPG/Migrations/20170810223147_AddObsolete.Designer.cs
10,752
C#
using Discord; namespace nomoretrolls.Messaging { internal record DiscordMessageContext : IDiscordMessageContext { public DiscordMessageContext(IMessage message) { Message = message; } public IMessage Message { get; init; } } }
18.25
66
0.626712
[ "MIT" ]
tonycknight/nomoretrolls
src/nomoretrolls/Messaging/DiscordMessageContext.cs
294
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.SceneManagement; #if UNITY_WSA using Microsoft.MixedReality.Toolkit.Input; #endif // This component is a MonoBehaviour so we can add references to prefabs and scene stuff in the inspector public class Simula...
36.987395
152
0.64887
[ "MIT" ]
concord-consortium/CEASAR
Assets/Scripts/SimulationManagerComponent.cs
8,805
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SistemaEstoque.Telas { public partial class frmListaMovimento: Form { private ...
32.762376
134
0.608643
[ "Apache-2.0" ]
marcospmoliveira/sistema_estoque-1.0
SistemaEstoque.Telas/frmListaMovimento.cs
3,323
C#
using AdminAssistant.UI; using Microsoft.AspNetCore.Components; using Syncfusion.Blazor.Spinner; namespace AdminAssistant.Blazor.Client.Shared; public abstract class AdminAssistantComponentBase<TViewModel> : ComponentBase where TViewModel : IViewModelBase { #pragma warning disable CS8618 // Non-nullable field is ...
34.405405
117
0.680283
[ "MIT" ]
SimonGeering/AdminAssistant
src/AdminAssistant.Blazor.Client/Shared/AdminAssistantComponentBase.cs
1,273
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using SixLabors.ImageSharp.ColorSpaces; using SixLabors.ImageSharp.ColorSpaces.Conversion; using Xunit; namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion { /// <summary> /// Tests <see cre...
33.384615
125
0.571045
[ "Apache-2.0" ]
GyleIverson/ImageSharp
tests/ImageSharp.Tests/Colorspaces/Conversion/CieLchAndHslConversionTests.cs
2,606
C#
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.Structs { /// <summary> /// Represents a rectangle /// </summary> public struct Rect { /// <summary...
23.238095
100
0.469262
[ "Unlicense", "MIT" ]
Rex-22/OSIRTv2
packages/CefSharp.Common.65.0.0-pre01/src/CefSharp/Structs/Rect.cs
979
C#
using Newtonsoft.Json; namespace Nest { [JsonObject] public class CatAliasesRecord : ICatRecord { [JsonProperty("alias")] public string Alias { get; set; } [JsonProperty("index")] public string Index { get; set; } [JsonProperty("filter")] public string Filter { get; set; } [JsonProperty("routing.i...
19.782609
43
0.683516
[ "Apache-2.0" ]
Entroper/elasticsearch-net
src/Nest/Domain/Cat/CatAliasesRecord.cs
457
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
39.972973
85
0.732252
[ "BSD-3-Clause" ]
Rehan-Mirza/sipsorcery
sipsorcery-xmpp/SIPSorcery.XMPP.TestClient/Properties/AssemblyInfo.cs
1,482
C#
using System; using System.Collections.Generic; using Sol2E.Utils; namespace Sol2E.Core { /// <summary> /// A logical representation of an entity (or game object). /// /// This class doesn't contain any fields except for one single identifier. /// However it does contain methods for dat...
34.678112
102
0.574134
[ "MIT" ]
chriskapffer/Sol2E
source/Core/Entity.cs
8,082
C#
using System.IO; using System.Text; using IronRuby.Builtins; using Microsoft.Scripting.Hosting; using zlib; namespace Gemini { abstract class Ruby { private static ScriptRuntime _rubyRuntime; private static ScriptEngine _rubyEngine; private static ScriptScope _rubyScope; /// <summary> /// Cre...
33.707317
110
0.68958
[ "MIT" ]
terabin/Gemini
src/classes/Ruby.cs
2,766
C#
using Cosmos.Core; using Cosmos.HAL.Network; using System; using System.Collections.Generic; using static Cosmos.Core.INTs; namespace Cosmos.HAL.Drivers.PCI.Network { public class RTL8139 : NetworkDevice { protected PCIDevice pciCard; protected MACAddress mac; protected bool mInitDone;...
32.774869
111
0.48099
[ "BSD-3-Clause" ]
AsertCreator/Cosmos
source/Cosmos.HAL2/Drivers/PCI/Network/RTL8139.cs
12,522
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
40.361111
145
0.685478
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/winioctl/READ_USN_JOURNAL_DATA_V1Tests.cs
1,455
C#
using System; namespace LightningPay { /// <summary> /// Exception thrown by LightningPay /// </summary> public class LightningPayException : Exception { /// <summary>Gets or sets the http status code.</summary> /// <value>The http status code.</value> public ErrorCode Cod...
36.027027
188
0.586272
[ "MIT" ]
khan202122/LightningPay
src/LightningPay.Abstractions/Model/Exception/LightningPayException.cs
2,668
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Net.Http; using Microsoft.Identity.Client; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client.Instance; using Microsoft.Identity.Test.Common; using Microsoft.I...
47.591954
145
0.623596
[ "MIT" ]
davidjohnoliver/microsoft-authentication-library-for-dotnet
tests/Microsoft.Identity.Test.Unit.net45/CoreTests/InstanceTests/B2cAuthorityTests.cs
8,283
C#
using GeometricAlgebraNumericsLib.Exceptions; using GeometricAlgebraNumericsLib.Maps.Bilinear; using GeometricAlgebraNumericsLib.Multivectors.Numeric; using GeometricAlgebraNumericsLib.Multivectors.Numeric.Factories; using GeometricAlgebraStructuresLib.Frames; namespace GeometricAlgebraNumericsLib.Products.Euclidean ...
36.156863
118
0.649675
[ "MIT" ]
ga-explorer/GMac
GeometricAlgebraNumericsLib/GeometricAlgebraNumericsLib/Products/Euclidean/GaNumEuclideanLcp.cs
1,846
C#
using GraphQLDotNet.Mobile.ViewModels; namespace GraphQLDotNet.Mobile.OpenWeather.Persistence { internal sealed class WeatherLocations { public WeatherSummaryViewModel[] WeatherSummaries { get; set; } = new WeatherSummaryViewModel[0]; } }
26.1
105
0.754789
[ "MIT" ]
Sankra/GraphQLDotNet
src/Mobile/GraphQLDotNet.Mobile/OpenWeather/Persistence/WeatherLocations.cs
263
C#
// ---------------------------------------------------------------------------------------------------------------------- // Author: Tanveer Yousuf (@tanveery) // ---------------------------------------------------------------------------------------------------------------------- // Copyright © Ejyle Technologies (P)...
41.304348
122
0.436842
[ "MIT" ]
devaccelerate/DevAccelerateNet
src/EnterpriseSecurity/Ejyle.DevAccelerate.EnterpriseSecurity/Subscriptions/IDaSubscriptionFeatureUser.cs
953
C#
using Mono.Cecil; using System; namespace SoftCube.Aspects { /// <summary> /// パラメーターレベルアスペクト。 /// </summary> public abstract class ParameterLevelAspect : Attribute { #region コンストラクター /// <summary> /// コンストラクター。 /// </summary> public ParameterLevelAspect() ...
18.636364
76
0.544715
[ "MIT" ]
kenjiro-yamasaki/Aspect
Aspects/Attributes/ParameterLevelAspect.cs
737
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelLoadTrigger : MonoBehaviour { public string levelToLoad; public Vector3 startingPoint; private void OnTriggerEnter2D(Collider2D collision) { if(collision.gameObje...
24.727273
109
0.715074
[ "CC0-1.0" ]
MufasaDoodle/GMD-Project
Assets/Scripts/Misc/LevelLoadTrigger.cs
544
C#
using System; using System.Collections; using c = Far.Core; namespace Far.Data { public class UserLogTableGetRecordsByAccountP : c.AbstractDataTable { #region static IDataField IdField public static c.IDataField IdField { get { return new IdFieldClass(); } } #endregion #region static IDataField UserIdField...
25.79845
115
0.698618
[ "MIT" ]
ic4f/codegenerator
demo/generated_code/uni_accounts.cs/UserLogTableGetRecordsByAccountP.cs
3,328
C#
using System; using System.Net.Http; using XFArchitecture.Core.Utilities; using XFArchitecture.Core.Contracts.Repository; namespace XFArchitecture.Core.Services.Repository { public class RepositoryService : IRepositoryService { public RepositoryService() { } } }
18.875
55
0.718543
[ "MIT" ]
JosueDM94/XFArchitecture
XFArchitecture.Core/Services/Repository/RepositoryService.cs
304
C#
using System; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using System.Net; using System.Net.Http; using System.Text; using System.Collections.Generic; namespace Ayehu.Github { public class GH_List_users : IActivityAsync { ...
34.969136
251
0.61218
[ "MIT" ]
Ayehu/custom-activities
Github/users/GH List users/GH List users.cs
5,665
C#
using System; using System.Web; namespace IpData.Helpers.Extensions { internal static class UriExtenstions { public static Uri AddParameter(this Uri url, string paramName, string paramValue) { var uriBuilder = new UriBuilder(url); var query = HttpUtility.ParseQueryStrin...
26.777778
89
0.630705
[ "MIT" ]
drozhkov/IpData
src/IpData/Helpers/Extensions/UriExtenstions.cs
484
C#
/* * This message is auto generated by ROS#. Please DO NOT modify. * Note: * - Comments from the original code will be written in their own line * - Variable sized arrays will be initialized to array of size 0 * Please report any issues at * <https://github.com/siemens/ros-sharp> */ namespace RosSharp.RosB...
24.62069
71
0.628852
[ "Apache-2.0" ]
1441048907/ros-sharp
Libraries/RosBridgeClient/MessageTypes/Nav/srv/GetMapResponse.cs
714
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using CommonsPattern; // DEPRECATED // Use Living Zone in the complementary area instead, to allow big objects to be cleaned up // after completely leaving the screen public class DeadZone : MonoBehaviour { private void OnTriggerEnter2...
25.055556
91
0.747228
[ "MIT" ]
hsandt/dragon-raid
Assets/Scripts/InGame/DeadZone/DeadZone.cs
451
C#
using System; namespace EventStore.Projections.Core.Services.Processing { public class ResultWriter : IResultWriter { private readonly IResultEventEmitter _resultEventEmitter; private readonly IEmittedEventWriter _coreProjectionCheckpointManager; private readonly bool _producesRunningRe...
39.862745
113
0.630349
[ "Apache-2.0" ]
bartelink/EventStore
src/EventStore.Projections.Core/Services/Processing/ResultWriter.cs
4,066
C#
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Sy...
32.835749
213
0.614389
[ "Apache-2.0" ]
semihokur/pattern-matching-csharp
Src/Compilers/CSharp/Portable/Binder/BuckStopsHereBinder.cs
6,799
C#