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
 namespace GroupDocs.Editor.MVC.Products.Editor.Entity.Web { public enum EditableDocumentType { Words = 0, Cells = 1 } }
17.333333
57
0.589744
[ "MIT" ]
groupdocs-editor/GroupDocs.Editor-for-.NET
Demos/MVC/src/Products/Editor/Entity/Web/EditableDocumentType.cs
158
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.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mods { public class TaikoModHardRock : ModHardRock { public override double Sco...
28.5
80
0.681704
[ "MIT" ]
123tris/osu
osu.Game.Rulesets.Taiko/Mods/TaikoModHardRock.cs
388
C#
using System.Collections.Generic; namespace VendorOrderTracker.Models { public class Order { public string Description { get; set; } public int Id { get; } private static List<Order> _instances = new List<Order> {}; public Order(string description) { Description = description; _ins...
20.833333
63
0.6288
[ "MIT" ]
JohnNilsOlson/VendorOrderTracker.Solution
VendorOrderTracker/Models/Order.cs
625
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LeetCode.Naive.Problems { /// <summary> /// Problem: https://leetcode.com/problems/construct-target-array-with-multiple-sums/ /// Submission: https://leetcode.com/submissions/detail/303790486/ /// </...
21.615385
91
0.476868
[ "MIT" ]
viacheslave/leetcode-naive
c#/Problems/P1354.cs
1,124
C#
using System; using System.Collections.Generic; using System.Text; namespace Bakery.Models.Drinks { public class Water : Drink { private const decimal WaterPrice = 1.50m; public Water(string name, int portion, string brand) : base(name, portion, WaterPrice, brand) { ...
20.6875
60
0.628399
[ "MIT" ]
GeorgiPopovIT/CSharp-OOP
Exam/01. Bakery-Structure and Business Logic/Bakery/Models/Drinks/Water.cs
333
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.Reflection; using Xunit; [assembly: AssemblyTitle("Avalonia.Interactive.UnitTests")] // Don't run tests in parallel. [assembly: CollectionB...
36.3
104
0.787879
[ "MIT" ]
AvtRikki/Avalonia
tests/Avalonia.Interactivity.UnitTests/Properties/AssemblyInfo.cs
363
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Linq; using Axe.Windows.Core.Bases; using Axe.Windows.Core.Enums; using Axe.Windows.Core.Types; using Axe.Windows.Rules.Resources; usi...
51.333333
129
0.594481
[ "MIT" ]
dbjorge/axe-windows
src/Rules/Library/LocalizedControlTypeIsReasonable.cs
9,061
C#
using System; namespace Database.Common.DataOperation { /// <summary> /// Used when a document is invalid. /// </summary> internal class InvalidDocumentException : Exception { /// <summary> /// Initializes a new instance of the <see cref="InvalidDocumentException"/> class. ...
27.259259
91
0.569293
[ "MIT" ]
CaptainCow95/Database
DatabaseCommon/DataOperation/InvalidDocumentException.cs
738
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("Attribute Manager")] [assembly: AssemblyDe...
40.416667
105
0.749141
[ "MIT" ]
lnetrebskii/DLaB.Xrm.XrmToolBoxTools
DLaB.AttributeManager/Properties/AssemblyInfo.cs
1,456
C#
#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX using System.Runtime.InteropServices; using UnityEngine.Experimental.Input.Layouts; using UnityEngine.Experimental.Input.Plugins.XInput.LowLevel; using UnityEngine.Experimental.Input.Utilities; namespace UnityEngine.Experimental.Input.Plugins.XInput.LowLevel { // Xbox ...
44.327586
134
0.613574
[ "MIT" ]
ToadsworthLP/Millenium
Library/PackageCache/com.unity.inputsystem@0.2.6-preview/InputSystem/Plugins/XInput/XInputControllerOSX.cs
5,142
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using AutoMapper; using GWSuncoastAPI.Entity; using GWSuncoastAPI.Entity.UnitofWork; namespace GWSuncoastAPI.Domain.Service { public class GenericServiceAsync<Tv, Te> : IServiceAsync<T...
30.621622
102
0.596646
[ "MIT" ]
wcrowe/GWSuncoastAPI
src/GWSuncoastAPI.Domain/Service/Generic/GenericServiceAsync.cs
2,268
C#
using System; using System.Collections; using System.IO; using System.Runtime.InteropServices; //using BOOL = System.Boolean; using DWORD = System.UInt32; using LPWSTR = System.String; using NET_API_STATUS = System.UInt32; namespace UNCFunctions { public class UNCAccess { [StructLayout(LayoutKind.Sequ...
34.133404
117
0.452021
[ "MIT" ]
large/MOTRd
MOTRd/UNC.cs
31,985
C#
#if UNITY_EDITOR using UnityEngine; namespace PolyFew { public class HandleControlsUtility : System.IDisposable { public static HandleControlsUtility handleControls; public static readonly string s_xAxisMoveHandleHash = "xAxisFreeMoveHandleHash"; public static readonly strin...
27.443396
100
0.612754
[ "MIT" ]
skymeson/JITLDanceParty
Assets/PolyFew/Scripts/NonEditor-Scripts/HandleControlsUtility.cs
5,820
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.462/blob/master/LICENSE * */ #endregion using PaletteExplorer.Controls; using System; using System.Drawing; names...
36.973747
105
0.656016
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.462
Source/Krypton Toolkit Suite Extended/Applications/Palette Explorer/Classes/Controllers/CircularPictureBoxControlController.cs
15,494
C#
namespace HiddenTear_Decrypt { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
41.974576
169
0.55643
[ "MIT" ]
Harot5001/HiddenTear
HiddenTear-Decrypt/Form1.Designer.cs
4,955
C#
using System; using System.Collections.Generic; namespace PayArena.Models { // Models returned by AccountController actions. public class ExternalLoginViewModel { public string Name { get; set; } public string Url { get; set; } public string State { get; set; } ...
22.863636
88
0.609344
[ "Apache-2.0" ]
NobleOsinachi/PayAttitude
AccountViewModels.cs
1,008
C#
using Atata.Configuration.Json; namespace $safeprojectname$ { public class AtataConfig : JsonConfig<AtataConfig> { // Custom configuration properties can be added here. // See https://github.com/atata-framework/atata-configuration-json#custom-settings } }
26
90
0.713287
[ "Apache-2.0" ]
atata-framework/atata-extensions
src/Atata.NUnitAdvancedTestProject.NetCore/AtataConfig.cs
288
C#
namespace OnixData.Version3.Text { public partial class OnixCollateralDetail { public OnixCollateralDetail() { textContentField = shortTextContentField = new OnixTextContent[0]; contentDateField = shortContentDateField = new OnixContentDate[0]; supportingReso...
28.720238
96
0.529326
[ "Apache-2.0" ]
unedbarbastro/ONIX-Data
OnixData/Version3/Text/OnixCollateralDetail.cs
4,827
C#
namespace TerraViewer { partial class WebWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
41.069444
149
0.605343
[ "MIT" ]
Carifio24/wwt-windows-client
WWTExplorer3d/WebWindow.Designer.cs
2,957
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; namespace Twink.AnimalCrossing { public class CanvasHelper { //============================================================================================================ // create id tex /...
35.170543
118
0.304827
[ "MIT" ]
twink13/AnimalCrossingShader
Assets/PixelMergeEffect/Script/Tex2DCanvas/CanvasHelper.cs
4,539
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DxLibDLL; namespace Charlotte { /// <summary> /// Confused by ConfuserElsa /// </summary> public class PassUnknownMimasMap { /// <summary> /// Confused by ConfuserElsa /// </summary> public BumpNativeGanymedeHeigh...
27.486928
335
0.732939
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Confused_02/tmpsol/Elsa20200001/WrapNextPanByte.cs
33,646
C#
using System; using System.Collections.Generic; using System.Text; namespace NittyGritty.SourceGenerators.Annotations { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public class DialogKeyAttribute : Attribute { public string Key { get; set; } } }
23.923077
86
0.733119
[ "MIT" ]
MarkIvanDev/nittygritty-source-generators
NittyGritty.SourceGenerators/NittyGritty.SourceGenerators.Annotations/DialogKeyAttribute.cs
313
C#
// *********************************************************************************** // Created by zbw911 // 创建于:2013年06月03日 16:48 // // 修改于:2013年06月03日 17:25 // 文件名:CASServer/Application.EntityDtoProfile/HookNewAlway.cs // // 如果有更好的建议或意见请邮件至 zbw911#gmail.com // ************************************...
29.103448
88
0.490521
[ "Apache-2.0" ]
zbw911/CasServer
Application/EntityDtoProfile/HookNewAlway.cs
1,094
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
33.721311
119
0.64317
[ "BSD-3-Clause" ]
Krypton-Suite/standard-toolkit
Source/Krypton Components/Krypton.Toolkit/Palette Controls/PaletteBreadCrumbDoubleState.cs
2,060
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using Newtonsoft.Json; using System.ComponentModel; namespace SerwerLicencji { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class n...
33.762264
210
0.571476
[ "MIT" ]
TimsManter/TM-P_LICENSESERVER_APP_NET_CSH
src/SerwerLicencji/Licencje.cs
8,949
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DanpheEMR.ServerModel.InventoryModels.InventoryReportModel { public class ApprovedMaterialStockRegisterModel { public String MSSNO { get; set; } public int ItemId { get;...
24.605634
76
0.625644
[ "MIT" ]
MenkaChaugule/hospital-management-emr
Code/Components/DanpheEMR.ServerModel/InventoryModels/InventoryReportModel/ApprovedMaterialStockRegisterModel.cs
1,749
C#
using DevExpress.XtraEditors; using System.Data; using Restaurant_Management.dao; using System.Windows.Forms; namespace Restaurant_Management.bul.frm { public partial class frmPayBill : XtraForm { public static bool isPay; public frmPayBill(int id, string name, string checkin, DataTable bill,...
33.694444
127
0.610058
[ "MIT" ]
daomtthuan/application-restaurant-management
Application/Restaurant Management/Restaurant Management/bul/frm/frmPayBill.cs
1,218
C#
using System; namespace MerriamWebster.NET.Dto { /// <summary> /// A reference from an entry to a table /// </summary> /// <remarks> /// <b>Display Guidance:</b> /// Typically presented as a link in a separate paragraph, where the link text is provided by <see cref="Displayname"/>. /// The...
32.875
124
0.580798
[ "MIT" ]
HannoZ/MerriamWebster.NET
source/MerriamWebster.NET/MerriamWebster.NET/Dto/Table.cs
1,054
C#
// <copyright file="GetLiveXamlInfoPackage.cs" company="Matt Lacey Ltd."> // Copyright (c) Matt Lacey Ltd. All rights reserved. // </copyright> using System; using System.Runtime.InteropServices; using System.Threading; using Microsoft.VisualStudio.Shell; using Task = System.Threading.Tasks.Task; namespace GetLiveXa...
37.333333
131
0.752679
[ "MIT" ]
mrlacey/GetLiveXamlInfo
GetLiveXamlInfo/GetLiveXamlInfoPackage.cs
1,122
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("02...
38.621622
84
0.746676
[ "MIT" ]
NinoSimeonov/Telerik-Academy
Web Services and Cloud Technologies/04. Windows Communication Foundation (WCF)/02. SubstringModule.Services/Properties/AssemblyInfo.cs
1,432
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using War3Api.Object.Abilities; using War3Api.Object.Enums; using War3Net.Build.Object; using War3Net.Common.Extensions; namespace War3Api.Object.Abilities { public sealed class SeaWitchManaShield : Ability ...
64.82
168
0.735267
[ "MIT" ]
YakaryBovine/AzerothWarsCSharp
src/War3Api.Object/Generated/1.32.10.17734/Abilities/SeaWitchManaShield.cs
6,482
C#
using System.Collections.Generic; using Core.Repositories; using MediatR; using MeetingsSearch.Meetings.Events; using MeetingsSearch.Meetings.Queries; using MeetingsSearch.Storage; using Microsoft.Extensions.DependencyInjection; namespace MeetingsSearch.Meetings { public static class Config { public st...
33.52381
117
0.758523
[ "MIT" ]
NicoJuicy/EventSourcing.NetCore
Workshops/BuildYourOwnEventStore/02-EventSourcingAdvanced/MeetingsSearch/Meetings/Config.cs
704
C#
using Abp.Application.Navigation; using Abp.Localization; using JD.Invoicing.Authorization; namespace JD.Invoicing.Web.Startup { /// <summary> /// This class defines menus for the application. /// </summary> public class InvoicingNavigationProvider : NavigationProvider { public override vo...
45.614786
101
0.395206
[ "MIT" ]
IT-Evan/JD.Invoicing
src/JD.Invoicing.Web.Mvc/Startup/InvoicingNavigationProvider.cs
11,725
C#
using System; using System.Collections.Generic; using System.Text; namespace CoinbaseProApi.NetCore.Entities { public enum TimeInForce { GTC, GTT, IOC, FOK } public enum SIDE { NONE, BUY, SELL } public enum TradeType { L...
12.42623
41
0.453826
[ "MIT" ]
mscheetz/CoinbaseProApi.NetCore
CoinbaseProApi.NetCore/CoinbaseProApi.NetCore/Entities/Enums.cs
760
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.ComponentModel; using System.Diagnostics; using System; using System.Collections; using System.Reflecti...
31.181102
98
0.580556
[ "MIT" ]
coderIML/dotnet_corefx
src/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestService.cs
3,960
C#
namespace VRTK { using UnityEngine; using System; [Serializable] public class VRTK_ControllerModelElementPaths { [Tooltip("The overall shape of the controller.")] public string bodyModelPath = ""; [Tooltip("The model that represents the trigger button.")] public str...
40.75
70
0.651183
[ "MIT" ]
3kitz-DesignB/Eksperimental
Assets/VRTK/Scripts/Utilities/ControllerModelSettings/VRTK_ControllerModelElementPaths.cs
1,143
C#
using tsorcRevamp.UI; using Terraria.UI; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.UI { class BonfireUIState : UIState { public tsorcDragableUIPanel BonfireUI; public tsorcUIHoverTextBut...
55.898438
201
0.6355
[ "MIT" ]
RecursiveCollapse/tsorcRevamp
UI/BonfireUIState.cs
7,157
C#
using System; using System.Collections.Generic; using System.Text; namespace FlickrNet { /// <summary> /// Used by <see cref="Flickr.PlacesPlacesForUser()"/>. /// </summary> public enum PlaceType { /// <summary> /// No place type selected. Not used by the Flickr API. /// </...
21.261905
63
0.441209
[ "Unlicense" ]
jjxtra/FlickrDownloader
FlickrNet/PlaceType.cs
895
C#
using System; using System.Collections.Generic; using Xunit; using Moq; using SEDC.Travel.Domain.Contract; using SEDC.Travel.Domain.Model; using SEDC.Travel.Service.Model.DTO; namespace SEDC.Travel.Service.Tests._02 { [Collection("HotelCollection")] public class SearchServiceTest //: IClassFixture<HotelFixt...
39.529183
229
0.631755
[ "MIT" ]
dejan0zdravkovski/sk2020-dotnetunittest-01
src/Module02/SEDC.Travel.Service.Tests/02/SearchServiceTest.cs
10,161
C#
using System; using System.Linq; using System.Web.UI; using System.Web.UI.WebControls; using CMS.Base; using CMS.Base.Web.UI; using CMS.Helpers; using CMS.PortalEngine; using CMS.PortalEngine.Web.UI; using AjaxControlToolkit; public partial class CMSWebParts_Layouts_Tabs : CMSAbstractLayoutWebPart { #region "Va...
23.605985
217
0.501056
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSWebParts/Layouts/Tabs.ascx.cs
9,468
C#
using System; using UnityEngine.InputSystem.LowLevel; #if ENABLE_VR using UnityEngine.XR; #endif namespace UnityEngine.InputSystem.XR { /// <summary> /// The TrackedPoseDriver component applies the current Pose value of a tracked device to the transform of the GameObject. /// TrackedPoseDriver can track mu...
27.987288
126
0.537169
[ "MIT" ]
Ayshie-God/7382-Team-D-2020
7382-Team-D-2020/Horror Escape Puzzle Game/Library/PackageCache/com.unity.inputsystem@1.0.0-preview.5/InputSystem/Plugins/XR/TrackedPoseDriver.cs
6,605
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; using UnityEditor.UIElements; using Toolbar = UnityEditor.UIElements.Toolbar; namespace UIElementsExamples { public class E19_Breadcrumbs : EditorWindow { [MenuItem("U...
33.433333
123
0.56331
[ "MIT" ]
suweitao1998/Editor_Example
Assets/Examples/Editor/E19_Breadcrumbs.cs
5,015
C#
using AbhsChinese.Code.Common; using AbhsChinese.Domain.Dto.Request.School; using AbhsChinese.Domain.Dto.Response; using AbhsChinese.Domain.Dto.Response.School; using AbhsChinese.Domain.Entity.School; using AbhsChinese.Repository.IRepository.School; using AbhsChinese.Repository.Repository.School; using System; using S...
29.794118
128
0.583416
[ "Apache-2.0" ]
GuoQqizz/SmartChinese
AbhsChinese.Bll/SchoolTeacherBll.cs
4,108
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
34.392857
145
0.607477
[ "BSD-3-Clause" ]
KiaArmani/XurSuite
Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Generated_/Destiny/Definitions/Milestones/DestinyMilestoneActivityVariantDefinition.cs
965
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace MarkdownTool.Model { class DocGenericPrimitive : DocPrimitive { private static readonly Regex GenericCountRgx = new Regex("`(\\d+)"); public DocPrimitive[] TypeParameters { get; set; }...
25.842105
84
0.586558
[ "MIT" ]
aloneguid/dotnet-markdown-cli-tool
src/MarkdownTool/Model/DocGenericPrimitive.cs
984
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using ScooterApp.Domain.Auth; namespace ScooterApp.Extensions.Authentication { public static class PrincipalExtensions { public static RiderClaim ToRiderClaims(this ClaimsPrincipal claimsPrincipal) ...
45.8
148
0.646288
[ "MIT" ]
EhsanAminii/e-scooter
ScooterApp.Extensions/Authentication/PrincipalExtensions.cs
1,605
C#
using MBBSEmu.Memory; using MBBSEmu.Module; using System.Collections.Generic; using System.Text; using Xunit; namespace MBBSEmu.Tests.ExportedModules.Majorbbs { public class stgopt_Tests : ExportedModuleTestBase { private const int STGOPT_ORDINAL = 566; [Theory] [InlineData("Normal")]...
31.973684
144
0.62716
[ "MIT" ]
enusbaum/MBBSEmu
MBBSEmu.Tests/ExportedModules/Majorbbs/stgopt_Tests.cs
1,217
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4016 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
32.384615
85
0.472684
[ "Apache-2.0" ]
cmorrow/cmorrow.github.io
portfolio/TABS/web/usercontrols/news_tabs.ascx.designer.cs
842
C#
using WebApp_TransportCompany.Models; namespace WebApp_TransportCompany.ViewModels { public class TruckFormPartialViewModel { public Truck Truck { get; set; } } }
18.5
44
0.724324
[ "MIT" ]
YusupFayzrahmanov/WebApp_TransportCompany
ViewModels/TruckFormPartialViewModel.cs
187
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
30.896057
156
0.691415
[ "MIT" ]
ScottColson/XrmUnitTest
DLaB.Xrm.Entities/PluginTraceLog.cs
17,240
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseGame : MonoBehaviour { public void Pause(){ if (Time.timeScale > 0) { Time.timeScale = 0; } else { Time.timeScale = 1; } } }
15.933333
40
0.682008
[ "MIT" ]
RavArty/RollocoBall
Assets/Scipts/GamePlayScripts/PauseGame.cs
241
C#
using System; namespace Encapsulation.ConsoleApp { class Program { static void Main(string[] args) { bool keepGoing; do { Console.WriteLine("Do you wish to adopt a dog?"); bool willAdopt = Console.ReadLine().ToLower() == "ye...
27.934783
75
0.461479
[ "MIT" ]
SoneSaile/dls-intro
src/Encapsulation/Encapsulation.ConsoleApp/Program.cs
1,287
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.Collections.Generic; namespace Microsoft.AspNetCore.Razor.Language { public abstract class TagMatchingRuleDescriptorBui...
32.291667
111
0.741935
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/src/TagMatchingRuleDescriptorBuilder.cs
777
C#
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. using System.Reflection; [assembly: AssemblyTitle("NetworkProfiler")] [assembly: AssemblyDescription( "A tool to profile network traffic" )] [assembly: AssemblyConfiguration("")]
30.25
70
0.772727
[ "MIT" ]
CaptainUnknown/UnrealEngine_NVIDIAGameWorks
Engine/Source/Programs/NetworkProfiler/NetworkProfiler/Properties/AssemblyInfo.cs
242
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using Moryx.AbstractionLayer.Resources; using Moryx.AbstractionLayer.Resources.Attributes; using Moryx.Container; using Moryx.Logging; using Moryx.Model; using Moryx.Model.Repositories; using Moryx.Resources.Model.AP...
47.751381
276
0.609588
[ "Apache-2.0" ]
milmilkat/MORYX-AbstractionLayer
src/Moryx.Resources.Management/Resources/ResourceLinker.cs
25,929
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Resources; using System.Text; using Microsoft.Bui...
46.901099
260
0.586317
[ "MIT" ]
478254406/msbuild
src/Utilities/TrackedDependencies/FlatTrackingData.cs
42,682
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// <summary>Stamp capacity information.</summary> public partial class StampCapacity : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models...
50.852
164
0.634705
[ "MIT" ]
3quanfeng/azure-powershell
src/Functions/generated/api/Models/Api20190801/StampCapacity.cs
12,464
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace FlutterHost { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18.055556
42
0.704615
[ "Unlicense" ]
fsdsabel/flutter_net_host
src/FlutterHost/App.xaml.cs
327
C#
using System; using System.Threading; using Microsoft.Extensions.Logging; using Orleans.Runtime.Scheduler; namespace Orleans.Runtime.Messaging { internal class IncomingMessageAgent : AsynchAgent { private readonly IMessageCenter messageCenter; private readonly ActivationDirectory directory; ...
40.497409
165
0.519575
[ "MIT" ]
MikeHardman/orleans
src/Orleans.Runtime/Messaging/IncomingMessageAgent.cs
7,816
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
29.108108
93
0.573816
[ "MIT" ]
AArnott/Newtonsoft.Json
Src/Newtonsoft.Json/Utilities/StringReference.cs
3,233
C#
using System; using System.Linq; using Expressive.Exceptions; using Expressive.Expressions; using Expressive.Functions; using Moq; using NUnit.Framework; using NUnit.Framework.Constraints; namespace Expressive.Tests.Functions { public static class FunctionBaseTests { [Test] public static void ...
46.375
145
0.653639
[ "MIT" ]
antoniaelek/expressive
Source/Expressive.Tests/Functions/FunctionBaseTests.cs
2,228
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("P0...
38.513514
84
0.748772
[ "MIT" ]
melnelen/CSharpPart1
H02DataTypesAndVariables/P06StringsAndObjects/Properties/AssemblyInfo.cs
1,428
C#
/** * Copyright (C) 2015 smndtrl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribu...
28.465116
72
0.661765
[ "MIT" ]
BayrakMustafa/WhatsApp-API-NET
MyLibAxolotl/UntrustedIdentityException.cs
1,226
C#
using System; using Newtonsoft.Json; using Valetude.Rollbar; using Xunit; namespace Rollbar.Test { public class RollbarExceptionFixture { [Fact] public void Exception_cant_be_null() { Assert.Throws<ArgumentNullException>(() => { var rollbarException = new RollbarExcepti...
37.393258
104
0.605769
[ "MIT" ]
Valetude/Rollbar.Net
Valetude.Rollbar.Test/RollbarExceptionFixture.cs
3,330
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.Collections.Generic; using System.Li...
39.795918
141
0.651282
[ "Apache-2.0" ]
gmcelhanon/Ed-Fi-ODS-1
Utilities/DataLoading/EdFi.LoadTools/Engine/MappingFactories/ResourceToIdentityMetadataMappingFactory.cs
1,950
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.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Internal; namespace Microsoft.Ent...
48.791411
125
0.599145
[ "Apache-2.0" ]
chrisblock/EntityFramework
src/EFCore.Relational/Metadata/Internal/TableMapping.cs
7,953
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 Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; internal partial class Inter...
35.823529
116
0.761905
[ "MIT" ]
1shekhar/runtime
src/libraries/Common/src/Interop/Windows/Advapi32/Interop.OpenService.cs
609
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.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Htt...
39.247664
119
0.578878
[ "Apache-2.0" ]
Mani4007/ASPNET
test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/PartialViewResultTest.cs
8,399
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Parse; using Parse.Core.Internal; using System; using System.Collections.Generic; using System.Net; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace Parse.Test { [TestClass] public class U...
47.489899
168
0.621291
[ "BSD-3-Clause" ]
RxParse/Parse-SDK-dotNET
Parse.Test/UserControllerTests.cs
9,403
C#
// <auto-generated /> using System; using Harvest.Core.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using NetTopologySuite.Geometries; namespace Harve...
34.472681
89
0.395429
[ "MIT" ]
ucdavis/Harvest
Harvest.Core/Migrations/Sqlite/20210420170842_updateAndRemoveTablesForSlothService.Designer.cs
27,132
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BindingAttributes; using Disunity.Store.Data.Services; using Disunity.Store.Entities; using Disunity.Store.Entities.Factories; using Disunity.Store.Extensions; using Microsoft.AspNetCore.Hosting; using TopoSort; ...
33.119565
93
0.573351
[ "MIT" ]
disunity-hq/disunity
Disunity.Store/Shared/Data/Seeds/TargetSeed.cs
3,047
C#
// <copyright file="Benchmark2.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> #pragma warning disable namespace ContainsDraft201909Feature.ContainsKeywordValidation { using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Di...
31.340909
111
0.611313
[ "Apache-2.0" ]
corvus-dotnet/Corvus.JsonSchema
Solutions/Corvus.JsonSchema.Benchmarking/201909/ContainsDraft201909/ContainsKeywordValidation/Benchmark2.cs
1,379
C#
// <auto-generated /> using System; using Fritz.ResourceManagement.Web.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Fritz.ResourceManagement.Web.Mi...
32.90404
89
0.479355
[ "MIT" ]
FritzAndFriends/ResourceManagement
src/Fritz.ResourceManagement.Web/Migrations/20190725143654_NewDatabase.Designer.cs
6,517
C#
namespace SimpleAuth.Stores.Redis.AcceptanceTests.Features { using System; using System.IdentityModel.Tokens.Jwt; using Microsoft.IdentityModel.Tokens; using SimpleAuth.Client; using SimpleAuth.Shared; using SimpleAuth.Shared.Responses; using Xbehave; using Xunit; using Xunit.Abstra...
32.223404
115
0.510069
[ "Apache-2.0" ]
jjrdk/SimpleAuth
tests/simpleauth.stores.redis.acceptancetests/Features/JwksFeature.cs
3,031
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.AwsN...
43.818182
146
0.666568
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/CloudFront/ResponseHeadersPolicy.cs
3,374
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...
38.269231
224
0.651005
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AmplifyBackend/Generated/Model/Internal/MarshallTransformations/CreateBackendAuthForgotPasswordConfigUnmarshaller.cs
3,980
C#
// Copyright (c) 2016-2020 Alexander Ong // See LICENSE in project root for license information. using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MoonscraperEngine.Input { [Serializable] public class JoystickMap : IInputMap, IEnumerable { ...
28.87108
183
0.44014
[ "BSD-3-Clause" ]
Mario64iscool2/Moonscraper-Chart-Editor
Moonscraper Chart Editor/Assets/Scripts/Engine/Input/JoystickMap.cs
8,288
C#
namespace Secucard.Connect.DemoApp._02_client_payments { using System; using Product.Payment.Model; using System.IO; using Secucard.Connect.Product.Document.Model; public class Create_Secupay_Payout_Transaction { public SecupayPayout Run(SecucardConnect client, Customer customer, Conta...
45.4875
174
0.605386
[ "Apache-2.0" ]
secucard/secucard-connect-net-sdk-demo
app/Secucard.Connect.DemoApp/02_client_payments/Create_Secupay_Payout_Transaction.cs
3,641
C#
using Gum.DataTypes; using Gum.Managers; using Gum.Wireframe; using Microsoft.Xna.Framework.Graphics; using RenderingLibrary; using RenderingLibrary.Content; using RenderingLibrary.Graphics; using RenderingLibrary.Math.Geometry; using System; using System.Collections.Generic; using System.Linq; using System.Text; nam...
35.298246
129
0.548376
[ "MIT" ]
gitter-badger/Gum
GumRuntime/InstanceSaveExtensionMethods.GumRuntime.cs
6,038
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"); yo...
29.411017
133
0.664313
[ "Apache-2.0" ]
Anomalous-Software/Lucene.NET
src/core/Search/ConstantScoreQuery.cs
6,941
C#
using Newtonsoft.Json; using Serilog; using System; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using EO59.Api.Demo.Models; using EO59.Api.Demo.Services; namespace EO59.Api.Demo { /// <summary> /// This is a demo class to show data retrieval workflow for EO59 API /...
43.231818
126
0.559563
[ "MIT" ]
EO59-LLc/api-demo
ApiReaderService.cs
9,513
C#
// Copyright (c) Quarrel. All rights reserved. using System; using DiscordAPI.Models; using DiscordAPI.Voice; using DiscordAPI.Voice.DownstreamEvents; using GalaSoft.MvvmLight.Ioc; using GalaSoft.MvvmLight.Messaging; using Quarrel.ViewModels.Messages.Gateway; using Quarrel.ViewModels.Messages.Voice; using Quarrel.Vie...
37.164835
124
0.549773
[ "Apache-2.0" ]
UWPCommunity/Quarrel
src/Quarrel/Services/Voice/VoiceService.cs
10,148
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.8.1.0 // SpecFlow Generator Version:1.8.0.0 // Runtime Version:4.0.30319.269 // // Changes to this fi...
40.833333
251
0.571725
[ "Apache-2.0" ]
wayne-o/delete-me
source/Conference.AcceptanceTests/Conference.Specflow/Features/UserInterface/Views/Registration/SelfRegistrationEndToEndHappy.feature.cs
13,477
C#
namespace HBaseManagementStudio { partial class NewTableForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
49.131707
147
0.617355
[ "Apache-2.0" ]
zhengyangyong/HBaseManagementStudio
HBaseManagementStudio/Form/NewTableForm.Designer.cs
10,076
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PizzaShop.Data; namespace PizzaShop.Migrations { [DbContext(typeof(PizzaShopContext))] ...
28.241935
75
0.529983
[ "MIT" ]
troyfitzwater/pizza-shop-lab
PizzaShop/Migrations/20191030185516_ChangedCostBackToInt.Designer.cs
1,753
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 ...
44.638298
159
0.70877
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.GeneratedSnippets/BigtableServiceApiClient.CheckAndMutateRow1Snippet.g.cs
2,098
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...
40.593939
131
0.52971
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/VolumeUnmarshaller.cs
6,698
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using Microsoft.Azure.WebJobs.Script.Configuration; using Microsoft.Azure.WebJobs.Script.WebHost.Confi...
38.754717
112
0.585686
[ "Apache-2.0", "MIT" ]
Hazhzeng/azure-functions-host
test/WebJobs.Script.Tests/Configuration/CustomHttpHeadersOptionsSetupTests.cs
4,110
C#
// dnlib: See LICENSE.txt for more info using System.IO; using dnlib.DotNet.Pdb.Symbols; using dnlib.IO; namespace dnlib.DotNet.Pdb.Managed { /// <summary> /// Creates a <see cref="SymbolReader"/> instance /// </summary> static class SymbolReaderFactory { /// <summary> /// Creates a new <see cref="SymbolRead...
26.955556
95
0.671063
[ "MIT" ]
KevOrr/dnlib
src/DotNet/Pdb/Managed/SymbolReaderFactory.cs
1,215
C#
using Unity.Entities; public struct SimulatedUnitRequestHandler : IComponentData { public bool SelectActionRequestSent; public bool LockActionRequestSent; }
18.555556
58
0.808383
[ "MIT" ]
r00f/LeyLineNetworking
workers/unity/Assets/Scripts/ECSPrototype/Systems/Simulated/SimulatedUnitRequestHandler.cs
167
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using HoloToolkit.Unity; using System.Collections.Generic; using HoloToolkit.Unity.InputModule; namespace HoloToolkit.Examples.GazeRuler { ///...
32.335664
117
0.520329
[ "MIT" ]
ChrisMa130/CSE461_P3
Assets/HoloToolkit-Examples/GazeRuler/Scripts/LineManager.cs
4,624
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.Device.I2c; using System.Device.Model; using System.Threading; using UnitsNet; namespace Iot.Device.Ahtxx { /// <summary> /// Base class for comm...
35.290698
116
0.550082
[ "MIT" ]
CarlosSardo/nanoFramework.IoT.Device
devices/Ahtxx/AhtBase.cs
6,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Unity.UIWidgets.foundation; using Unity.UIWidgets.gestures; using Unity.UIWidgets.ui; using UnityEngine.Assertions; namespace Unity.UIWidgets.painting { public class TextSpan : DiagnosticableTree, IEquatable<Text...
34.801917
120
0.465987
[ "Unlicense" ]
ameru/karting-microgame-unity
try not to fall off rainbow road/Library/PackageCache/com.unity.uiwidgets@1.0.6-preview/Runtime/painting/text_span.cs
10,895
C#
#region Using directives using System; using System.Configuration; using System.IO; using System.IO.IsolatedStorage; using System.Xml; using System.Diagnostics; using Timer = System.Threading.Timer; using TimerCallback = System.Threading.TimerCallback; using StringDictionary = System.Collections.Specialized...
38.445455
166
0.536392
[ "BSD-3-Clause" ]
RssBandit/RssBandit
source/RssBandit/WinGui/Genghis/Preferences.cs
21,147
C#
using Org.BouncyCastle.Bcpg; using Org.BouncyCastle.Bcpg.OpenPgp; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities.IO; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PGPSteam { public class PGPLib { #region Methods String m_Public...
30.1125
85
0.552927
[ "MIT" ]
alandoherty/pgpsteam
Source/PGPLib.cs
2,411
C#
using UnityEngine; using System.Collections; using System; [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class DOMParserAttribute : Attribute { public string[] Names { get; private set; } public Type[] Types { get; private set; } public DOMParserAttribute(params string[] names) ...
21
62
0.644841
[ "CC0-1.0" ]
Grupo-M-JuegosSerios/ProyectFinal
ProyectoFinal/Assets/uAdventure/__Scripts/Core/Loader/Subparsers/DOMParserAttribute.cs
506
C#
using Dapper; using Dapper.Contrib.Extensions; using DataAccess.Interfaces; using Domain.Models; using Microsoft.Data.SqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace DataAccess { public class DapperUserRepository : IUserRepository {...
31.194175
119
0.524121
[ "MIT" ]
filipbelevski/WebApiHomework
SEDC.WebApi.Workshop.Movies.API/DataAccess/DapperUserRepository.cs
3,215
C#
using Engine.Model.Common.Dto; using System; using System.Security; namespace Engine.Model.Common.Entities { [Serializable] public class FileDescription : IEquatable<FileDescription> { private readonly FileId _id; private readonly long _size; private readonly string _name; /// <summary> ///...
20.207547
61
0.591036
[ "MIT" ]
Nirklav/TCPChat
Engine/Model/Common/Entities/FileDescription.cs
2,144
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.175
109
0.656745
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/StreamProcessorOutput.cs
2,654
C#
using Microsoft.AspNetCore.StaticFiles; namespace Audiochan.Core.Common.Extensions { public static class FileExtensions { private static readonly FileExtensionContentTypeProvider FileExtensionContentTypeProvider = new(); public static string GetContentType(this string fileName, string? defaul...
34.230769
106
0.673034
[ "MIT" ]
nollidnosnhoj/Audiochan
src/api/src/Audiochan.Core/Common/Extensions/FileExtensions.cs
892
C#