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.Collections; using System.Collections.Generic; using UnityEngine; public class FakeGravity : MonoBehaviour { private Rigidbody rb; private void Awake() { rb = GetComponent<Rigidbody>(); } private void Update() { FakeGrav(); } private void FakeGrav() { ...
12.166667
42
0.613699
[ "Apache-2.0" ]
bruno-pLima/PandoraPlayers
Controllers/FakeGravity.cs
367
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Yandex.Maps.StaticAPI; using Yandex.Maps.StaticAPI.PT; namespace YandexMapsStaticApiTest.PT { [TestFixture] class FlagTest { double lat = 53.1565165498; ...
22.870968
72
0.586742
[ "Apache-2.0" ]
RakEG/Yandex.Maps.StaticAPI
Tests/Yandex.Maps.StaticAPITest/PT/FlagTest.cs
711
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using BenchmarkDotNet.Attributes; using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.ColorConverters; namespace SixLabors.ImageSharp.Benchmarks.Codecs.Jpeg { [Config(typeof(Config.ShortMultiFramework))] public class CmykCo...
28.119048
82
0.651143
[ "Apache-2.0" ]
SixLabors/ImageSharp
tests/ImageSharp.Benchmarks/Codecs/Jpeg/CmykColorConversion.cs
1,181
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("KeesTalksTech Utility Pack")] [assembly: ...
40.055556
95
0.74896
[ "MIT" ]
KeesCBakker/KeesTalksTech-Utility-Pack
KeesTalksTech-Utility-Pack/KeesTalksTech.Utilities/Properties/AssemblyInfo.cs
1,445
C#
using System.Collections.Generic; using System.Dynamic; namespace Dorkari.Helpers.Core.Utilities { public class DynamicHelper { public static ExpandoObject CreateExpando(IEnumerable<KeyValuePair<string, object>> propertyValues) { IDictionary<string, object> dynamicObject = new Expa...
27.947368
107
0.634652
[ "Apache-2.0" ]
chakrabar/Dorkari
Dorkari.Helpers.Core/Utilities/DynamicHelper.cs
533
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.WordApi.Enums { /// <summary> /// SupportByVersion Word 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff191740.aspx </remarks> [SupportByVersion("Word", 1...
26.246753
119
0.615042
[ "MIT" ]
DominikPalo/NetOffice
Source/Word/Enums/WdCellColor.cs
2,023
C#
namespace MyFitnessApp.Web.Controllers { using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using MyFitnessApp.Services.Data.Exercise; using MyFitnessApp.Web.Filters; using MyFitnessApp.Web.ViewModels.Exercises; [Authorize] [TypeFil...
31.607477
84
0.602898
[ "MIT" ]
GeorgiGradev/MyFitnessApp
MyFitnessApp/Web/MyFitnessApp.Web/Controllers/ExercisesController.cs
3,384
C#
// #define USING_HASH_SET // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SortedSet ** ** Purpose: A generic sorted set. ** ** Date: August 15, 2008 ** ==============================...
39.409903
176
0.492239
[ "MIT" ]
Comelyes/ECSExample
Assets/ECS/ECS/Core/Collections/SortedSetCopyable.cs
105,857
C#
using RepoDb.Attributes; using RepoDb.Exceptions; using RepoDb.Extensions; using System; using System.Collections.Concurrent; using System.Linq.Expressions; using System.Reflection; namespace RepoDb { /// <summary> /// A class that is being used to map a class into its equivalent database object (ie: Table, V...
42.859551
199
0.591427
[ "Apache-2.0" ]
VincenzoCarlino/RepoDB
RepoDb.Core/RepoDb/Mappers/PropertyMapper.cs
15,260
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Baseline; using Marten.Util; namespace Marten.Events.Projections { public class Aggregator<T>: IAggregator<T> where T : class, new() { public static readonly string ApplyMethod = "Apply"; protecte...
31.808511
125
0.53913
[ "MIT" ]
gravypower/marten
src/Marten/Events/Projections/Aggregator.cs
2,990
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.iOS.OverlayTypes { /// <summary> /// Data required to highlight multiple quads. /// </summary> [SupportedBy("iOS")] public class FragmentHighlightData { /// <summary> /// Get...
26.681818
67
0.667802
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/iOS/OverlayTypes/FragmentHighlightData.cs
1,174
C#
using System.Linq; using System.Threading.Tasks; using Certes.Acme; using Certes.Acme.Resource; namespace Certes { /// <summary> /// Extension methods for <see cref="IAuthorizationContext"/>. /// </summary> public static class IAuthorizationContextExtensions { /// <summary> /// Get...
43.6
123
0.655505
[ "MIT" ]
AMEST/certes
src/Certes/Extensions/IAuthorizationContextExtensions.cs
2,182
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("To...
37.648649
84
0.744436
[ "MIT" ]
CNA-Bld/EOPlugin-Topologify
Topologify/Properties/AssemblyInfo.cs
1,396
C#
using BillsPaymentSystem.Core.IO.Contracts; using System; namespace BillsPaymentSystem.Core.IO { public class ConsoleWriter : IWriter { public void WriteLine(string text) { Console.WriteLine(text); } } }
18.142857
44
0.637795
[ "MIT" ]
bobo4aces/07.SoftUni-CSharpDBFundamentals
02. Databases Advanced - Entity Framework - 06. Advanced Relations/BillsPaymentSystem/BillsPaymentSystem.Core/IO/ConsoleWriter.cs
256
C#
// ************************************************************************** //Start Finance - An to manage your personal finances. //Copyright(C) 2016 Jijo Bose //Start Finance is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by //the...
32.756098
79
0.618764
[ "MIT" ]
001084786/Screenshots
Start-Finance-master/InstaRichie/Models/Assets.cs
1,345
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Microsoft...
35.393617
105
0.689811
[ "MIT" ]
Akarachudra/kontur-aspnetcore-fork
src/Http/Http.Results/src/CreatedAtRoute.cs
3,327
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
41.208791
197
0.593067
[ "MIT" ]
3ve4me/botframework-solutions
skills/src/csharp/experimental/restaurantbooking/Responses/Cancel/CancelStrings.Designer.cs
3,752
C#
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// using System; using System.Runtime.CompilerServices; using System.Runt...
37.291925
146
0.744337
[ "MIT" ]
InsaneZeroGame/bsf
Source/Scripting/bsfSharp/Generated/RendererMeshData.generated.cs
6,004
C#
namespace Pulse.Common.Model.AgentScheduling.Abstract { // level 1: class activity public class AbstractAgentActivity { public string Name { set; get; } public string ActivityType { set; get; } public override string ToString() { return Name; } } }
22.714286
54
0.59434
[ "MIT" ]
vladkar/pulse-project-open
Pulse.Common/Model/AgentScheduling/Abstract/AbstractAgentActivity.cs
320
C#
// Copyright (c) 2008-2021, 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 ...
40.843972
142
0.690571
[ "Apache-2.0" ]
alexb5dh/hazelcast-csharp-client
src/Hazelcast.Net/Protocol/Codecs/MapKeySetWithPagingPredicateCodec.cs
5,759
C#
using Nixi.Injections; using UnityEngine.UI; namespace ScriptExample.Audio { public sealed class AudioControllerWithInactive : MonoBehaviourInjectable { [NixInjectComponentFromChildren("SliderMusic", false)] public Slider musicSlider; [NixInjectComponentFromChildren("SliderSpatialisat...
27.5
77
0.745455
[ "MIT" ]
f-antoine/Nixi
Assets/ScriptExample/Audio/AudioControllerWithInactive.cs
387
C#
#pragma checksum "D:\CodingWork\Projects\NongMinGoProject\SimplCommerce\src\Modules\SimplCommerce.Module.NongMinGo\_Imports.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8a9804a1188708b018e9b38ddba736987a0bb5d8" // <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 06...
31.419355
214
0.759754
[ "Apache-2.0" ]
Coopathon2019/03_NongMinGo
src/Modules/SimplCommerce.Module.NongMinGo/obj/Debug/netstandard2.0/RazorDeclaration/_Imports.razor.g.cs
974
C#
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace Modern.Vice.PdbMonitor.Views { public class ProjectExplorer : UserControl { public ProjectExplorer() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader...
18.473684
46
0.60114
[ "MIT" ]
MihaMarkic/modern-vice-pdb-monitor
source/Modern.Vice.PdbMonitor/Modern.Vice.PdbMonitor/Views/ProjectExplorer.axaml.cs
351
C#
// GBEmmy // Copyright (C) 2014 Tim Potze // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMA...
35.769231
87
0.689247
[ "Unlicense" ]
ikkentim/GBEmmy
src/GBEmmyOld/Processor/Opcode/Operation/XorOperation.cs
932
C#
using System; using System.Threading.Tasks; using Foundation; using NomadCode.UIExtensions; using Xamarin.Cognitive.Face.Model; using Xamarin.Cognitive.Face.Shared; using Xamarin.Cognitive.Face.Shared.Extensions; namespace Xamarin.Cognitive.Face.Sample.iOS { public partial class FaceViewController : BaseViewControll...
22.108696
98
0.721731
[ "MIT" ]
colbylwilliams/Cognitive-Face-Xamarin
Xamarin.Cognitive.Face/Xamarin.Cognitive.Face.Sample/Xamarin.Cognitive.Face.Sample.iOS/View/FaceViewController.cs
1,019
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.IO { /// <devdoc> /// Provides data for the <see cref='System.IO.FileSystemWatcher.Renamed'/> event. /// </devdoc> public class RenamedEventArgs :...
29.340426
111
0.5562
[ "MIT" ]
goelanurag/runtime
src/libraries/System.IO.FileSystem.Watcher/src/System/IO/RenamedEventArgs.cs
1,379
C#
using System.Windows; using System.Windows.Controls; namespace Lol.Settings.InGame.UI.Units { public class Items : Control { #region DefaultStyleKey static Items() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Items), new FrameworkPropertyMetadata(typeof(Items))); ...
20.764706
114
0.651558
[ "MIT" ]
devncore-james/wpf-leagueoflegends
src/Lol.Settings.InGame/UI/Units/HotKey/Items.cs
355
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BookShopSystem.Models { /// <summary> /// 会员 /// </summary> public class MemberEntity { /// <summary> /// 用户编号 /// </summary> public long Us...
18.666667
46
0.514286
[ "Apache-2.0" ]
a156845044/BookShopSystem
BookShopSystem.Models/MemberEntity.cs
582
C#
using System.Linq; using UnityEditor; using UnityEngine; namespace Zios.Unity.Editor.ImportSettings{ using Zios.Extensions; using Zios.Unity.Editor.Extensions; public class ImportSettings : AssetPostprocessor{ public void OnPreprocessModel(){ ModelImporter importer = (ModelImporter)assetImporter; if(importer...
48.666667
137
0.776712
[ "MIT" ]
z3nth10n/unity-themes
Codebase/Editor/@Unity/Editor/Systems/Import Settings/ImportSettings.cs
2,190
C#
namespace HallOfBeorn.Models { public enum StatType { Sphere, IsUnique, Threat_Cost, Resource_Cost, Willpower, Attack, Defense, Hit_Points, Threat, Engagement_Cost, Quest_Points, Stage_Number, Stage_Letter, ...
18.206897
30
0.532197
[ "MIT" ]
danpoage/hall-of-beorn
v2/src/HallOfBeorn/Models/StatType.cs
530
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using vtortola.Redis; using Moq; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; namespace UnitTest.RedisClient.Api { [TestClass] public class RedisChannelTests { ProcedureCollection _procedur...
40.446524
141
0.555629
[ "MIT" ]
vtortola/RedisClient
Tests/UnitTest.RedisClient/Api/RedisChannelTests.cs
15,129
C#
using AutoUpdaterDotNET; using StatisticsAnalysisTool.Properties; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Threading; using System.Windows; namespace StatisticsAnalysisTool.Common { pu...
34.488095
149
0.627891
[ "MIT" ]
sh4mzz/AlbionOnline-StatisticsAnalysis
StatisticsAnalysisTool/StatisticsAnalysisTool/Common/Utilities.cs
2,899
C#
using System.Collections.Generic; using GigHub.Core.Models; namespace GigHub.Core.Repositories { public interface IFollowingRepository { IEnumerable<Following> GetFollowingsByUserId(string userId); Following GetFollowing(string userId, string artistId); } }
26.090909
68
0.752613
[ "MIT" ]
HalfBlood-Prince/GigHub
GigHub/Core/Repositories/IFollowingRepository.cs
289
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
27.336364
243
0.617226
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapPathfindingEnumFlagAttributeWrapWrapWrapWrapWrap.cs
3,009
C#
namespace ASP.NET_MVC_Forum.Validation.Contracts { using ASP.NET_MVC_Forum.Domain.Entities; using System.Threading.Tasks; public interface ICommentReportValidationService { public Task ValidateExistsAsync(int reportId); public void ValidateNotNull(CommentReport report); publ...
22.9375
58
0.735695
[ "MIT" ]
donchodonev/ASP.NET-MVC-Blog
ASP.NET-MVC-Forum/ASP.NET-MVC-Forum.Validation.Contracts/ICommentReportValidationService.cs
369
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.680556
180
0.603232
[ "Apache-2.0" ]
ssnaik84/Lean
Stocky.WinForm/Properties/Resources.Designer.cs
2,787
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.Text; using System.Threading; using System.Globalization; using System.Threading.Tasks; using System.Ru...
35.175317
141
0.569859
[ "MIT" ]
ArthurBrussee/corefx
src/System.Runtime.Extensions/src/System/IO/TextWriter.cs
30,497
C#
#nullable enable using NUnit.Framework; using System; using static PrimeFuncPack.UnitTest.TestData; namespace PrimeFuncPack.Primitives.Tests { partial class StringsTests { [Test] public void ToStringOrEmpty_Ref_SourceIsNull_ExpectEmpty() { ToStringStubRefType? source = nul...
26.75
90
0.638063
[ "MIT" ]
pfpack/pfpack-primitives
src/primitives/Primitives.Tests/Strings.Tests/ToStringOrEmpty_Ref.cs
1,179
C#
#pragma warning disable CS1591 using Newtonsoft.Json; namespace Discord.API { internal class Sticker { [JsonProperty("id")] public ulong Id { get; set; } [JsonProperty("pack_id")] public ulong PackId { get; set; } [JsonProperty("name")] public string Name { get; ...
31.40625
57
0.58408
[ "MIT" ]
killerfrienddk/Discord.Net-Labs
src/Discord.Net.Rest/API/Common/Sticker.cs
1,005
C#
// T4 code generation is enabled for model 'C:\2019-09-c-sharp-labs\labs\Just_Do_It_12_Rabbit_Explosion\Model1.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the mod...
77.6
119
0.765464
[ "MIT" ]
Ryan-Paul-Burdus/2019-09-c-sharp-labs
labs/Just_Do_It_12_Rabbit_Explosion/Model1.Designer.cs
778
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ZibicoCMS.WebUI { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.Register...
21.526316
60
0.689487
[ "MIT" ]
onursteknik/ZibicoCMS
ZibicoCMS.WebUI/Global.asax.cs
411
C#
namespace D365FOSecurityConverter.Models { public enum LayerType { Role = 1, Duty = 2, Privilege = 3 } public enum ProcessingDirection { Child = 0, Parent = 1 } }
14.3125
41
0.519651
[ "MIT" ]
ameyer505/D365FOSecurityConverter
D365FOSecurityConverter/Models/Enums.cs
231
C#
namespace PartlyRebuildIdentity.Models.Interfaces { public interface IClaim<TUser> : IInCovariant<TUser> { TUser UserId { get; } } }
21.857143
56
0.673203
[ "MIT" ]
kraskoo/PartlyRebuildMicrosoftIdentityUser
PartlyRebuildIdentity.Models/Interfaces/IClaim.cs
155
C#
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows.Threading; using Apteco.Diagnostics.UI.Annotations; namespace Apteco.Diagnostics.UI.Utils { public class ViewModelBase: INotifyPropertyChanged { #region events public even...
19.847826
91
0.733844
[ "Apache-2.0" ]
Apteco/process-diagnostics
Apteco.Diagnostics.UI/Utils/ViewModelBase.cs
915
C#
using System.IO; #if UNITY_EDITOR using UnityEditor; #endif public static class Utility { public static void CreateDirectoryRecursive(string path) { #if UNITY_EDITOR path = path.TrimEnd('/'); var currentPath = ""; foreach (var name in path.Split(new char[] { '/' })) { ...
26.365854
95
0.555967
[ "Apache-2.0" ]
StoneDot/UnitySync-Unity
Assets/UnitySync/Scripts/Utility.cs
1,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace DbContextScope.Demo.Repositories { public interface IReadonlyRepository<T> { T Get(Expression<Func<T, bool>> predicate); Task<T> GetAsync(Expression<Func<T...
32.214286
135
0.710643
[ "MIT" ]
sapphirenk/DbContextScope
Demo/Repositories/IReadonlyRepository.cs
904
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class ProfilingBlocks : ModuleRules { public ProfilingBlocks(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "Core...
27.357143
124
0.767624
[ "MIT" ]
ADMTec/UE4-Cpp-Tutorials
Profiling_Code/Source/ProfilingBlocks/ProfilingBlocks.Build.cs
383
C#
//namespace Morsley.UK.People.Messaging; //// Listens //public class Subscriber //{ //}
12.25
42
0.622449
[ "MIT" ]
john-morsley/Users
src/Infrastructure/Morsley.UK.People.Messaging/Subscriber.cs
100
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.62069
87
0.645349
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Mariadb/V20170312/Models/ModifyBackupTimeRequest.cs
2,012
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.DotNet.UpgradeAssistant....
50.85119
193
0.678684
[ "MIT" ]
Leosamus/upgrade-assistant
src/extensions/default/analyzers/Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers/HttpContextCurrentAnalyzer.cs
8,545
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: Assembl...
39.621622
86
0.719645
[ "MIT" ]
jdm7dv/financial
windows/CsForFinancialMarkets/CsForFinancialMarkets/UtilityClassLibrary/Automation Add-In XlFormulas/Properties/AssemblyInfo.cs
1,469
C#
namespace DailyCodingProblem; /// <summary> /// A Cartesian tree with sequence S is a binary tree defined by the following two properties: /// It is heap-ordered, so that each parent value is strictly less than that of its children. /// An in-order traversal of the tree produces nodes with values that correspond exact...
27.036697
94
0.45945
[ "Apache-2.0" ]
futugyou/CodeFragments
Algorithm/DailyCodingProblem/D01048.cs
3,289
C#
namespace Panda.ViewModels.Users { public class LoginInputModel { public string Username { get; set; } public string Password { get; set; } } }
19.222222
44
0.618497
[ "MIT" ]
tonchevaAleksandra/C-Sharp-Web-Development-SoftUni-Problems
C# Web Basic/SUS September 2020 Session/Panda/ViewModels/Users/LoginInputModel.cs
175
C#
 using UnityEngine; using UnityEngine.UI; namespace BeatSaberMarkupLanguage.Tags { class PrimaryButtonTag : ButtonTag { public override string[] Aliases => new[] { "primary-button", "action-button" }; public override string PrefabButton => "PlayButton"; public override GameObject Crea...
25.666667
88
0.67316
[ "MIT" ]
Futuremappermydud/BeatSaberMarkupLanguage
BeatSaberMarkupLanguage/Tags/PrimaryButtonTag.cs
464
C#
namespace TwitchIrcHub; public static class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } private static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { ...
25.714286
91
0.680556
[ "MIT" ]
icecreamdatabase/TwitchIrcHub
TwitchIrcHub/Program.cs
360
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V251.Segment; using NHapi.Model.V251.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V251.Group { ///<summary> ///Represents the ORM_O01_PATIENT_VISIT Group. A Group is an ordered...
29.885714
159
0.68738
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V251/Group/ORM_O01_PATIENT_VISIT.cs
2,092
C#
namespace AlfredoRevillaWebshop.Services.Models { public class GetProductsServiceModel { public int MaxRecords { get; set; } public int StartIndex { get; set; } } }
24.125
48
0.663212
[ "MIT" ]
alfredorevilla/webshop
src/AlfredoRevillaWebshop/Services/Models/GetProductsServiceModel.cs
195
C#
using System; using Content.Shared.GameObjects.Components.Power; using Content.Shared.Utility; using SS14.Server.GameObjects; using SS14.Shared.GameObjects; namespace Content.Server.GameObjects.Components.Power { /// <summary> /// Handles the "user-facing" side of the actual SMES object. /// This ...
30.759259
98
0.610476
[ "MIT" ]
praisenarsie/space-station-14-content
Content.Server/GameObjects/Components/Power/SmesComponent.cs
1,663
C#
using System.Collections.Generic; using System.Threading.Tasks; using MeetingApp.Data.Models; using Microsoft.Azure.Cosmos.Table; namespace MeetingApp.Data.Repositories.Notes { /// <summary> /// Interface for table operations for Notes table /// </summary> public interface INotesRepository { ...
34.333333
99
0.656958
[ "MIT" ]
AbhijeetThakur-msft/Microsoft-Teams-Samples
samples/meeting-recruitment-app/csharp/MeetingApp/Data/Repositories/Notes/INotesRepository.cs
929
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop 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 Software // without restriction, including without limitation the rights to use, co...
41.444079
177
0.734979
[ "MIT" ]
CudoXY/CMPILER_UI-Designer
WpfDesign.Designer/Project/Extensions/GridPlacementSupport.cs
12,601
C#
using Microsoft.EntityFrameworkCore; namespace ctorx.Core.Data { public class DefaultUnitOfWorkFactory<TDbContext> : IUnitOfWorkFactory<TDbContext> where TDbContext : DbContext { readonly TDbContext DbContext; /// <summary> /// ctor the Mighty /// </summary> public Def...
26.08
115
0.601227
[ "MIT" ]
ctorx/ctorx.Core.Data
src/DefaultUnitOfWorkFactory.cs
654
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Bing.Admin.Commons.Domain.Models; using Bing.Admin.Commons.Domain.Repositories; using Bing.Admin.Data; using Bing.Admin.Service.Abstractions; namespace Bing.Admin.Service.Implements { /// <summary> /// 测试服务 /// </summary> ...
28.148649
87
0.513682
[ "MIT" ]
bing-framework/Bing.NetCode
modules/admin/src/Bing.Admin.Service/Implements/TestService.cs
2,189
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; namespace Avalonia.Input { /// <summary> /// Defines a keyboard input combinat...
29.904762
142
0.515924
[ "MIT" ]
Artentus/Avalonia
src/Avalonia.Input/KeyGesture.cs
5,024
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...
24.627907
81
0.593012
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/SecurityInsights/Outputs/TimelineErrorResponseResult.cs
1,059
C#
// Automatically generated by xdrgen // DO NOT EDIT or your changes may be overwritten using System; namespace stellar_dotnet_sdk.xdr { // === xdr source ============================================================ // struct StellarValue // { // Hash txSetHash; // transaction set ...
38
106
0.530612
[ "Apache-2.0" ]
alphapoint/dotnet-stellar-sdk
stellar-dotnet-sdk/xdr/generated/StellarValue.cs
3,724
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("WoopsaAds")] [assem...
43.12963
98
0.704594
[ "MIT" ]
BiancoRoyal/Woopsa
Sources/BeckhoffAds/WoopsaAds/Properties/AssemblyInfo.cs
2,332
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這個程式碼是由範本產生。 // // 對這個檔案進行手動變更可能導致您的應用程式產生未預期的行為。 // 如果重新產生程式碼,將會覆寫對這個檔案的手動變更。 // </auto-generated> //------------------------------------------------------------------------------ namespace _02.EntityFr...
32.225806
128
0.54955
[ "MIT" ]
Kodofish-Learning/MVC_Course
MVC_Course/02.EntityFramework/Models/Shipper.cs
1,133
C#
using System; using System.IO; using Common.Extensions; using Common.Logging; using Microsoft.Extensions.Logging; namespace Common { public static class NuGetHelper { private static readonly ILogger Log = LogManager.GetLogger(typeof(NuGetHelper)); public static string GetNugetPacka...
38.274194
140
0.562579
[ "MIT" ]
Dimutrulkin/cement
Common/NuGetHelper.cs
2,373
C#
using System; namespace Indice.Hosting { /// <summary> /// Contains metadata about a job to execute. /// </summary> internal class DequeueJobSettings { /// <summary> /// Creates a new instance of <see cref="DequeueJobSettings"/>. /// </summary> /// <param name="jobH...
42.666667
196
0.601207
[ "MIT" ]
ChristosAsvestopoulos/Indice.AspNet
src/Indice.Hosting/Tasks/DequeueJobSettings.cs
2,818
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
33.608108
123
0.670688
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/Informative/InfWork/ConditionFactorDesignLocationsCollection.cs
2,489
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Language_Internals { class Program { static void Main() { foreach ( var x in new[] { 2, 3, 5, 7 } ) { new Thread(() => Console....
19.285714
63
0.567901
[ "MIT" ]
MuilaerteJunior/Training
C#/LearningProjects/Language_Internals/foreach.cs
407
C#
namespace GreenDoorProject.Services.Statistics { using GreenDoorProject.Services.Statistics.Models; public interface IStatisticsService { StatisticsServiceModel Total(); } }
20.4
54
0.72549
[ "MIT" ]
ChrisIvanov/ASP.NET-Core-MVC-Green-Door-Project
GreenDoorProject/Services/Statistics/IStatisticsService.cs
206
C#
using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.Extensions.Options; using Microsoft.Net.Http.Headers; using System; using System.Collections.Generic; using System.Linq; using System...
43.129944
156
0.623526
[ "MIT" ]
wpbrown/oakproxy
src/OAKProxy/Proxy/ProxyMiddleware.cs
7,636
C#
// <copyright file="UserScenarios.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using System.Linq;...
39.652136
124
0.511796
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk.IntegrationTests/UserScenarios.cs
45,485
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Raven.Client.Documents; using Raven.Client.Documents.Linq; using Raven.Client.Documents.Session; using static Marketplace.Contracts.ClassifiedAds; namespace Marketplace.Modules.ClassifiedAds { public class ClassifiedAdsQue...
37.928571
118
0.550377
[ "Apache-2.0" ]
UbiquitousAS/WorkshopEventSourcing
src/Marketplace/Modules/ClassifiedAds/ClassifiedAdsQueryService.cs
2,124
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...
29.871795
111
0.629185
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/FinSpaceData/Generated/Model/ListPermissionGroupsRequest.cs
2,330
C#
// SPDX-FileCopyrightText: 2021 TillW <https://www.github.com/x789/> // SPDX-License-Identifier: MIT using System; using System.Linq; using Xunit; namespace ValueArrays.Tests; public sealed class Examples { private record Line(ValueArray<string> points) { } [Fact] public void Usage() { var a...
35.28125
130
0.593003
[ "MIT" ]
x789/ValueArrays
ValueArrays.Tests/Examples.cs
2,260
C#
using Newtonsoft.Json; namespace Bleatingsheep.Osu.ApiV2 { internal class TokenResponse { [JsonProperty("token_type")] public string TokenType { get; set; } [JsonProperty("expires_in")] public int ExpiresInSeconds { get; set; } [JsonProperty("access_token")] p...
22.85
49
0.623632
[ "Unlicense" ]
bltsheep/Bleatingsheep.Osu.ApiV2
Bleatingsheep.Osu.ApiV2/TokenResponse.cs
459
C#
using System.IO; using System.ComponentModel; using RageAudioTool.IO; namespace RageAudioTool.Rage_Wrappers.DatFile { public class audParameterTransformSound : audSoundBase { public audParameterTransformData[] UnkArrayData { get; set; } public override byte[] Serialize() { ...
36.478261
118
0.493274
[ "MIT" ]
CamxxCore/RageAudioTool
RageAudioTool/Rage Wrappers/DatFile/Types/Metadata/dat54/audParameterTransformSound.cs
5,875
C#
/* * Copyright (c) 2014, Furore (info@furore.com) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/ewoutkramer/fhir-net-api/master/LICENSE */ using Hl7.Fhir.Model; using Hl7.Fhir.Rest; using Hl7....
51.098404
192
0.641632
[ "BSD-3-Clause" ]
Kno2/fhir-net-api
src/Hl7.Fhir.Core/Rest/FhirClient.cs
57,641
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.IO; using Microsoft.Extensions.CommandLineUtils; namespace Microsoft.AspNetCore.Blazor.Build.Cli.Commands { internal cl...
40.226667
175
0.548558
[ "Apache-2.0" ]
RemiBou/Blazor
src/Microsoft.AspNetCore.Blazor.Build/Cli/Commands/BuildIndexHtmlCommand.cs
3,019
C#
using Cake.Core; using Cake.Frosting; using Dalion.WebAppTemplate.Build.Configuration; namespace Dalion.WebAppTemplate.Build { public class Context : FrostingContext { public Context(ICakeContext context) : base(context) { App = new AppProperties(context); } public AppPropertie...
26.307692
62
0.684211
[ "MIT" ]
DavidLievrouw/DalionWebAppTemplate
src/Build/Context.cs
342
C#
using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; namespace VerifyTaxiApp.Droid { [Activity(Label = "@string/app_name", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] public class MainActivity : ...
34.787879
166
0.690767
[ "MIT" ]
ignatandrei/IsThisTaxiLegal
applications/VerifyTaxiApp/VerifyTaxiApp/VerifyTaxiApp.Android/MainActivity.cs
1,150
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; using System.Diagnostics.Contracts; namespace System.Globalization { ////////////////////////////...
62.446945
162
0.351063
[ "MIT" ]
Rayislandstyle/dotnet-coreclr
src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs
19,421
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Infrastructure { /// <summary> /// A factory for creating derived <see cref="DbContext" /> instances. Implement this /// interface...
52.461538
134
0.655425
[ "Apache-2.0" ]
TerraVenil/entityframework
src/EntityFramework/Infrastructure/IDbContextFactory.cs
1,366
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using AssetBundles; #if UNITY_EDITOR using UnityEditor; #endif namespace UAsset { [System.Serializable] public class Bundle { public string name; public string[] assets; public int version; public bool update {...
28.609428
117
0.676474
[ "Apache-2.0" ]
CorianderLi/AssetManager
Assets/AssetManager/AssetManifest.cs
8,497
C#
using Newtonsoft.Json; namespace Grasews.API.Models { /// <summary> /// /// </summary> public class GraphJson_ApiRequestCreateModel { /// <summary> /// /// </summary> [JsonProperty("service_name", NullValueHandling = NullValueHandling.Ignore)] public string ...
23.954545
84
0.563567
[ "MIT" ]
mlcalache/grasews
Grasews.Models/GraphJson_ApiRequestCreateModel.cs
529
C#
using System; namespace Aut.Lab.lab09 { class lab09Application { public void Run() { Console.Write("Enter 2 point : "); string twopoint = Console.ReadLine(); string[] arrpoint = twopoint.Split('|'); Point p1 = new Point(arrpoint[0]); ...
31.788732
79
0.330527
[ "MIT" ]
pjamenaja/tutorials
Learning/Aut/Lab/Lab09/Lab09Application.cs
2,257
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Routing; us...
36.649299
172
0.524442
[ "BSD-3-Clause" ]
Stoyanov8/OrchardCore
src/OrchardCore.Modules/OrchardCore.Navigation/PagerShapes.cs
18,288
C#
/**************************************************************************** * NVorbis * * Copyright (C) 2014, Andrew Ward <afward@gmail.com> * * * * See ...
41.128205
120
0.455736
[ "MIT" ]
SaxxonPike/RhythmCodex
Source/RhythmCodex.Plugin.NVorbis/Lib/NewStreamEventArgs.cs
1,606
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System.Threading.Tasks; using ComponentModelValidationException = System.ComponentModel.DataAnnotations.ValidationException; using FluentValidationException = FluentValidation.ValidationException; namespace NightLib.Web.Filters { public ...
36.254545
130
0.656469
[ "MIT" ]
vantm/nightlib
src/NightLib.Web/Filters/ValidationExceptionFilterAttribute.cs
1,994
C#
namespace ArmChair.Commands { //TODO: remove attributes which tie this class to newtonsoft //http://stackoverflow.com/a/26307686/47642 using System.Collections.Generic; using Newtonsoft.Json; /// <summary> /// a mongo query request. /// </summary> public class MongoQueryRequest { ...
33.461538
130
0.596935
[ "Apache-2.0" ]
dbones-labs/arm-chair
src/ArmChair.Core/Commands/MongoQueryRequest.cs
1,315
C#
using MicrosoftStore.Responses; namespace MicrosoftStore.Models { public class RatingSummary : Payload { public double AverageRating { get; set; } public int ReviewCount { get; set; } public int Star1Count { get; set; } public int Star2Count { get; set; } public int Sta...
34.73913
55
0.623279
[ "MIT" ]
mediaexplorer74/MicroStore
MicrosoftStore/Models/RatingSummary.cs
801
C#
using System; using System.Collections.Generic; using System.Linq; using DatenMeister.Core.EMOF.Interface.Common; using DatenMeister.Core.EMOF.Interface.Identifiers; using DatenMeister.Core.EMOF.Interface.Reflection; using DatenMeister.Core.Functions.Queries; using DatenMeister.Core.Models.EMOF; using DatenMeister.Cor...
39.652632
117
0.612689
[ "MIT" ]
mbrenn/datenmeister-new
src/DatenMeister.Extent.Manager/Extents/ExtentFunctions.cs
3,769
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 Kubeleans.KubernetesApi.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.G...
43.083333
496
0.647969
[ "MIT" ]
attilah/Kubeleans
src/KubernetesAPI.Reference/Models/Iok8sapiauthorizationv1SubjectAccessReviewSpec.cs
4,653
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DontDestroyOnLoad : MonoBehaviour { private void Awake() { transform.SetParent(null); Object.DontDestroyOnLoad(gameObject); } }
17.928571
46
0.713147
[ "MIT" ]
Miami-StevenR/Week8
Week 8/Assets/LavelManagement/Scripts/Utilities/DontDestroyOnLoad.cs
253
C#
// Licensed under the MIT License. // Copyright (c) Microsoft Corporation. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Schema; using Microsoft.Recognizers.Text; using Newtonso...
45.72973
206
0.642139
[ "MIT" ]
SundaresanSivakumar/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/EntityRecognizers/TextEntityRecognizer.cs
3,386
C#
using JSLTSharp.JsonTransforms.Abstractions; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; namespace JSLTSharp.JsonTransforms.EmbededFunctions.ConditionalOperations { public class IfNotEmptyConditionalKeyOperation : IJsonTransformConditionalCustomOperation { ...
36.35
121
0.624484
[ "MIT" ]
mathieumack/JSLTSharp
src/JSLTSharp/JsonTransforms/EmbededFunctions/ConditionalOperations/IfNotEmptyConditionalKeyOperation.cs
1,456
C#
namespace CodeBase.Off.Website.Models { using System.ComponentModel; using System.ComponentModel.DataAnnotations; using CodeBase.Off.Website.Properties; using DataAnnotationsExtensions; public sealed class SocialNetworkGridModel { public string Slug { get; set; } [DisplayName(@"ن...
25.333333
48
0.615497
[ "MIT" ]
m-sadegh-sh/CodeBase
src/Off/CodeBase.Off.Website/Models/SocialNetworkGridModel.cs
717
C#
using System.Text.RegularExpressions; using SkbKontur.Cassandra.DistributedTaskQueue.Monitoring.Api; using SkbKontur.Cassandra.TimeBasedUuid; using SkbKontur.TypeScript.ContractGenerator; using SkbKontur.TypeScript.ContractGenerator.Abstractions; using SkbKontur.TypeScript.ContractGenerator.CodeDom; using SkbKontur.T...
50.595238
153
0.72
[ "MIT" ]
skbkontur/cassandra-distributed-task-queue
Cassandra.DistributedTaskQueue.Monitoring.TestService/TypeScriptConfiguration/RtqMonitoringCustomTypeGenerator.cs
2,127
C#