content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Linehaul_Helper.ViewModels; using Linehaul_Helper.Models; using Linehaul_Helper.Exceptions; using System.Threading.Tasks; using System.Diagnostics; namespace Linehaul_Helper.UnitTest.Tests { [TestClass] public class PlateNumberPageViewMod...
27.791667
69
0.713643
[ "MIT" ]
RodgerLeblanc/Linehaul-Helper
Linehaul_Helper.UnitTest/Tests/PlateNumberPageViewModelUnitTest.cs
669
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HXD.BookLibrary.Models { public class PageHelper { public int TotalCount { get; set; } public int CurrentPage { get; set; } public int PageIndex { get; set; } public int PageSize { ge...
23.875
44
0.636126
[ "Apache-2.0" ]
hxd1230/BookLibrary
HXD.BookLibrary/Models/PageHelper.cs
384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Robotis { class Com { /// <summary> /// Sucsessfull transmition. /// </summary> public const int TXSUCCESS = 0; /// <summary> /// Sucsessfull reception. /// ...
21.27451
39
0.497696
[ "BSD-3-Clause" ]
orlin369/NineManMorris
Robotis/Com.cs
1,087
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using MVC_Core_Entity_ToDoList_01.Models; namespace MVC_Core_Entity_ToDoList_01.Controllers { public class TestController : Controller { public IActionResult Index...
27.73913
81
0.663009
[ "MIT" ]
philanderson888/2019-06-c-sharp-labs
labs/StandaloneProjects/MVC_Core_Entity_ToDoList_01/Controllers/TestController.cs
640
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Scruffy.Data.Entity; namespace S...
38.937677
125
0.490869
[ "MIT" ]
thoenissen/Scruffy
Scruffy.Data/Entity/Migrations/20210612150000_Update8.Designer.cs
27,492
C#
// *********************************************************************** // Assembly : TessellationAndVoxelizationGeometryLibrary // Author : Design Engineering Lab // Created : 03-05-2015 // // Last Modified By : Matt Campbell // Last Modified On : 05-28-2016 // **************************...
46.442857
113
0.573054
[ "MIT" ]
micampbell/TVGLSTEPImport
TessellationAndVoxelizationGeometryLibrary/TessellatedSolid/ModifyTessellation/ComplexifyTessellation.cs
6,505
C#
using System.Threading; namespace MemoryLeak { public class ShortLivedEventPublisher { public static int Count; private readonly IEventPublisher publisher; public ShortLivedEventPublisher(IEventPublisher publisher) { this.publisher = publisher; Interloc...
22
66
0.596154
[ "MIT" ]
Janek91/-EventMemoryLeakExample
MemoryLeak/ShortLivedEventPublisher.cs
574
C#
using System.Collections.Generic; using System.Windows.Forms; using NUnit.Framework; using RaceGame2.Lib.Cars; using RaceGame2.Lib.Maps; namespace RaceGame2.Lib.Tests { class CheckpointTest { [Test] public void testCheckpoint() { Car car = new Pickup(); car.Tes...
35.90566
109
0.549658
[ "Apache-2.0" ]
aranna00/racegame
RaceGame2/Tests/CheckpointTest.cs
1,905
C#
using Bing.Biz.OAuthLogin.Core; namespace Bing.Biz.OAuthLogin.Alibaba { /// <summary> /// 阿里巴巴授权提供程序 /// </summary> public interface IAlibabaAuthorizationProvider: IAuthorizationUrlProvider<AlibabaAuthorizationRequest> { } }
20.916667
106
0.713147
[ "MIT" ]
Alean-singleDog/Bing.NetCore
src/Bing.Biz.OAuthLogin/Alibaba/IAlibabaAuthorizationProvider.cs
273
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; using static Utils; using static TilemapManager; public static class Terrain { // Constants public const float HEIGHT_DIFF = 0.2f; //0.3f default //height difference used to calc. heightmap va...
40.275701
130
0.454287
[ "MIT" ]
obecerra3/OpenWorld2D_Unity
Scripts/World/Terrain.cs
17,238
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable using System; using System.Linq; using Microsoft.Extensions.Internal; using Microsoft.VisualStudio.LanguageServer.Protocol; namespace Microsoft.Vis...
36.445946
137
0.621431
[ "MIT" ]
50Wliu/razor-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/HtmlCSharp/RazorMapToDocumentEditsParams.cs
2,699
C#
using FlatRedBall.Glue.CodeGeneration; using FlatRedBall.Glue.CodeGeneration.CodeBuilder; using FlatRedBall.Glue.Parsing; using FlatRedBall.Glue.SaveClasses; using System; using System.Collections.Generic; using System.Text; using ToolsUtilities; namespace OfficialPlugins.Compiler.CodeGeneration { class CompilerP...
38.269231
185
0.710553
[ "MIT" ]
vchelaru/FlatRedBall
FRBDK/Glue/OfficialPlugins/Compiler/CodeGeneration/CompilerPluginElementCodeGenerator.cs
997
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.PowerShell; /// <summary>Defines the request body for bulk remove of move resources operation.</summary> [System.ComponentModel.TypeConverter(typeof(BulkRemoveRe...
74
487
0.713814
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/ResourceMover/generated/api/Models/Api202101/BulkRemoveRequest.PowerShell.cs
9,856
C#
//The MIT License (MIT) // //Copyright (c) 2015 Fabian Fischer // //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,...
35.040816
80
0.695399
[ "MIT" ]
ossimc82/RotMG-Proxy-Alpha-
IProxy/networking/cliPackets/ShootAckPacket.cs
1,719
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 Xunit; using Xunit.Abstractions; using System.IO; using System.Linq; using System.Xml.Schema; namespace Syst...
51.341912
152
0.527103
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.Xml/tests/XmlSchema/XmlSchemaSet/TC_SchemaSet_AnyAttribute.cs
13,967
C#
namespace UnityEditor.TestTools.TestRunner.GUI { internal class RenderingOptions { public string nameFilter; public bool showSucceeded; public bool showFailed; public bool showIgnored; public bool showNotRunned; public string[] categories; } }
24.307692
47
0.639241
[ "MIT" ]
AI-Pree/Small-World
Library/PackageCache/com.unity.test-framework@1.1.24/UnityEditor.TestRunner/GUI/TestListBuilder/RenderingOptions.cs
316
C#
/* Copyright 2010-2012 10gen Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
29.628571
74
0.701061
[ "Apache-2.0" ]
nilayparikh/mongo-csharp-driver
Bson/Serialization/IBsonMemberMapModifier.cs
1,039
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace AESEncryptDecyptFile { public class SettingsProvider { [DllImport("kernel32.dll")] private static ex...
36.383562
149
0.552711
[ "MIT" ]
Duy-Thanh/AESEncryptDecryptFile
AESEncryptDecyptFile/AESEncryptDecyptFile/SettingsProvider.cs
2,658
C#
// The MIT License(MIT) // // Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors // // 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 withou...
37.640244
142
0.640369
[ "MIT" ]
SheepChao/LiveCharts2
src/skiasharp/LiveChartsCore.SkiaSharp.WPF/MotionCanvas.cs
6,175
C#
namespace UpgradeOctoSystem.Abstractions.Enums { public enum BlobContainers { None, SomeFile } }
15.625
47
0.632
[ "Unlicense" ]
d3ullist/upgraded-octo-system
UpgradeOctoSystem/UpgradeOctoSystem.Abstractions/Enums/BlobContainers.cs
127
C#
using System; namespace SharpOffice.Core.Attributes { /// <summary> /// Specifies SharpOffice applications that may load this class or assembly. /// </summary> [AttributeUsage( AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true, Inherited = true)] public class...
25.714286
80
0.65
[ "MIT" ]
manio143/SharpOffice
SharpOffice.Core/Attributes/ApplicationAttribute.cs
542
C#
using System; using Bridge.Html5; using Philadelphia.Common; namespace Philadelphia.Web { public class LoginFormView : IFormView<HTMLElement> { public InputView Login { get; } = new InputView(I18n.Translate("Username")) .With(x => x.InputWidget.Name = "username") .With(x => x.InputW...
43.53125
112
0.623833
[ "Apache-2.0" ]
todo-it/philadelphia
Philadelphia.Web/Mvp/Forms/LoginFormView.cs
1,393
C#
namespace Tauron.Application.ImageOrginazer.ViewModels.Views.ContainerManager { public class SyncErrorNoStade { } }
19.571429
78
0.715328
[ "MIT" ]
Tauron1990/ImageOrgenizer
Tauron.Application.ImageOrginazer.ViewModels/Views/ContainerManager/SyncErrorNoStade.cs
139
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.Runtime.InteropServices; using Microsoft.AspNetCore.Razor.TagHelpers; namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers; /// <summary> /// A class used to run <s...
34.15493
110
0.645361
[ "MIT" ]
3ejki/aspnetcore
src/Razor/Razor.Runtime/src/Runtime/TagHelpers/TagHelperRunner.cs
2,425
C#
// // BinaryConverterFactory.cs // This file is part of Stardust // // Author: Jonas Syrstad (jsyrstad2+StardustCore@gmail.com), http://no.linkedin.com/in/jonassyrstad/) // Copyright (c) 2014 Jonas Syrstad. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of t...
40.219512
102
0.751364
[ "Apache-2.0" ]
JonasSyrstad/Stardust.Nucleus
Stardust.Clusters/Clusters/BinaryConverterFactory.cs
1,651
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; using System.Runtime.CompilerServices; using System.Text; using Kalk.Core.Helpers; using Scriban.Functions; using Scriban.Helpers; using Scriban.Runtime; using Scriban.Syntax; namespace...
41.424931
209
0.44965
[ "BSD-2-Clause" ]
thild/kalk
src/Kalk.Core/Modules/MiscModule.cs
60,151
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
41.510989
125
0.650827
[ "ECL-2.0", "Apache-2.0" ]
bob-bins/pulumi-newrelic
sdk/dotnet/Inputs/OneDashboardPageGetArgs.cs
7,555
C#
using System.ComponentModel; using System.Runtime.CompilerServices; namespace PetitGeo30.Models { public abstract class BaseModel : INotifyPropertyChanged { #region INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged([Calle...
27.388889
86
0.713996
[ "MIT" ]
RodgerLeblanc/PetitGeo30
PetitGeo30/PetitGeo30/Models/BaseModel.cs
495
C#
using System.Collections.Generic; namespace HaloOnline.Server.Model.TitleResource { //TODO: Remove TitleInstanceImpl once all TitleInstance subclasses are documented public class TitleInstanceImpl : TitleInstance { private readonly string _className; private readonly List<TitleProperty> _p...
28.074074
92
0.643799
[ "MIT" ]
Atvaark/Emurado
HaloOnline.Server.Model/TitleResource/TitleInstanceImpl.cs
760
C#
/* ---------------------------------------------------------- 文件名称:UnicodeConverter.h 作者:秦建辉 MSN:splashcn@msn.com 当前版本:V1.0 历史版本: V1.0 2011年05月12日 完成正式版本。 功能描述: Unicode内码转换器。用于utf-8、utf-16(UCS2)、utf-32(UCS4)之间的编码转换 ------------------------------------------------------------ */ using System; using System.T...
30.909548
109
0.328239
[ "BSD-3-Clause" ]
qingfengzs/LollipopGo
LollipopGo/src/LollipopU3D/class5/Assets/UnicodeConverter.cs
6,347
C#
using AutoMapper; using FleetControl.Application.Interfaces.Mapping; using FleetControl.Core; using FleetControl.Domain; using System; namespace FleetControl.Application.Queries { public class CustomerDto : IHaveCustomMapping { public int BAID { get; set; } public string LiftingNumber { get; s...
55.509804
175
0.65136
[ "MIT" ]
sdemaine/FleetControl_CQRS
FleetControl.Application.Queries.Core/SharedDtos/CustomerDto.cs
5,664
C#
using Content.Shared.Eui; using Robust.Shared.Serialization; namespace Content.Shared.Administration { [Serializable, NetSerializable] public sealed class SetOutfitEuiState : EuiStateBase { public EntityUid TargetEntityId; } }
21
56
0.75
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Shared/Administration/SetOutfitEuiState.cs
252
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V231.Segment; using NHapi.Model.V231.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V231.Group { ///<summary> ///Represents the PPP_PCB_PATHWAY_ROLE Group. A Group is an ordered ...
26.052632
158
0.660317
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V231/Group/PPP_PCB_PATHWAY_ROLE.cs
3,465
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Windows.Storage; using Windows.UI.Xaml.Controls; names...
34.636964
114
0.597523
[ "MIT" ]
AMollis/MixedRealityCompanionKit
HoloLensCommander/HoloLensCommander/Controls/DeviceMonitorControl.xaml.cs
10,497
C#
using System.ComponentModel.DataAnnotations; using System.Web.Mvc; namespace ImprintCMS.Models { [MetadataType(typeof(ConfigurationMetadata))] public partial class Configuration { } public class ConfigurationMetadata { [Required(ErrorMessage = "*")] [StringLength(50, ErrorMess...
44.019231
125
0.671909
[ "Apache-2.0" ]
peders/Imprint-CMS
ImprintCMS/Models/Configuration.cs
2,291
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. #nullable enable using System.Collections.Generic; using System.Composition; using System.Linq; using System.Threa...
48.424242
206
0.706508
[ "Apache-2.0" ]
Sliptory/roslyn
src/Features/LanguageServer/Protocol/Handler/Formatting/FormatDocumentOnTypeHandler.cs
3,198
C#
using UnityEngine; using UnityEngine.Events; /// <summary> /// Virtual Controller to handle the input from Unity. /// </summary> public class VirtualController : Common<VirtualController> { private readonly UnityEvent fireEvent = new UnityEvent(); /// <summary> /// Update is called once per frame...
23.263158
76
0.588989
[ "MIT" ]
kevinkabatra/UnityTutorialBlockBreaker
Assets/UnityLayer/Player/VirtualController.cs
1,328
C#
namespace UIWidgets.Styles { using System; using UnityEngine; using UnityEngine.UI; /// <summary> /// Style for the Dropdown. /// </summary> [Serializable] public class StyleDropdown : IStyleDefaultValues { /// <summary> /// Style for the background. /// </summary> [SerializeField] public StyleImag...
21.900826
67
0.678868
[ "MIT" ]
cschladetsch/CardChess
Assets/External/NewUIWidgets/Scripts/Style/Unity/StyleDropdown.cs
2,652
C#
using Newtonsoft.Json; namespace DGP.Genshin.DataModel.Character { public class CharStatValues { [JsonProperty("1")] public string? Level1 { get; set; } [JsonProperty("20")] public string? Level20 { get; set; } [JsonProperty("20+")] public string? Level20p { get; set; } [JsonPr...
45.608696
67
0.601525
[ "MIT" ]
CzHUV/Snap.Genshin
DGP.Genshin/DataModel/Character/CharStatValues.cs
1,051
C#
using System.ComponentModel.DataAnnotations; using TaskoMask.Application.Share.Resources; namespace TaskoMask.Application.Share.Dtos.Administration.Roles { public abstract class RoleBaseDto { public string Id { get; set; } [Display(Name = nameof(ApplicationMetadata.Name), ResourceType = type...
46.482759
171
0.756677
[ "MIT" ]
hamed-shirbandi/TaskoMask
Src/Libraries/2-Application/Application.Core.Models/Dtos/Administration/Roles/RoleBaseDto.cs
1,350
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Batch { public partial class AzureBatchApplicationPackageCreateTask : ExternalProcessTaskBase<AzureBatchApplicationPackageCreateTask> ...
28.178571
189
0.595057
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Batch/AzureBatchApplicationPackageCreateTask.cs
1,578
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.Diagnostics; using System.Threading; using Iot.Device.Lm75; /////////////////////////////////////////////////////////////////////...
30.642857
75
0.698135
[ "MIT" ]
KittyDotNet/nanoFramework.IoT.Device
devices/Lm75/samples/Program.cs
860
C#
namespace EraserBotFrontend { partial class TeamListView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </sum...
28.864865
108
0.536517
[ "MIT" ]
sethballantyne/eraser-bot-frontend
EraserBotFrontend/TeamListView.Designer.cs
1,070
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
51.211538
1,358
0.681187
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/x_ActClassDocumentEntryAct.cs
2,663
C#
using System.Collections.Generic; using AoLibs.Dialogs.Core.Interfaces; namespace AoLibs.Dialogs.Core { /// <summary> /// Base implementation of <see cref="ICustomDialogsManager{TDialogIndex}"/> /// </summary> /// <typeparam name="TDialogIndex">Enum defining dialog pages.</typeparam> public abstra...
40.085714
121
0.678546
[ "MIT" ]
mmaasstteerr/AoLibs
AoLibs.Dialogs.Core/Classes/CustomDialogsManagerBase.cs
1,405
C#
using Avalonia; using System; using System.Diagnostics; namespace AvaloniaDemo { internal class Program { private static void Main(string[] args) { try { BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); } catch (Exception...
23.214286
73
0.504615
[ "MIT" ]
wieslawsoltes/PanAndZoom
samples/AvaloniaDemo/Program.cs
652
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestSuites.Rdp; using Microsoft.Protocols.TestTools; using Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpemt; using Microsoft.Protoco...
49.248322
172
0.649859
[ "MIT" ]
hshavit-infinidat/WindowsProtocolTestSuites
TestSuites/RDP/Client/src/TestSuite/RDPEUDP/S2_DataTransfer.cs
22,014
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using NUnit.Framework; using ServiceStack.Text.Tests.Support; namespace ServiceStack.Text.Tests.JsonTests { [TestFixture] public class LowercaseUnderscoreTests : TestBase { [SetUp] public void Se...
32.102941
291
0.497481
[ "BSD-3-Clause" ]
ChuckSavage/ServiceStack.Text
tests/ServiceStack.Text.Tests/JsonTests/LowercaseUnderscoreTests.cs
2,116
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using IdentityServer4.Models; using GrantTypes = IdentityServer4.Admin.Infrastructure.GrantTypes; namespace IdentityServer4.Admin.Controllers.API.Dtos { public class CreateClientDto { /// <summary> /// ...
39.355828
214
0.573889
[ "MIT" ]
blinds52/IdentityServer4.Admin
src/IdentityServer4.Admin/Controllers/API/Dtos/CreateClientDto.cs
12,846
C#
// Copyright (c) 2019 Alachisoft // // 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 law o...
36.029412
134
0.689388
[ "Apache-2.0" ]
delsoft/NCache
Src/NCCache/Caching/Messaging/MultiCastMessage.cs
2,452
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using static ZNCHANY.Api.Entities.Enums.CommonEnum; namespace ZNCHANY.Api.Entities { [Serializable] public class Dncsrm_parameter { ...
18.562232
62
0.428786
[ "Apache-2.0" ]
zazzlec/znchany
ZNCHANY.Api/Entities/SGModels/Dncsrm_parameter.cs
9,736
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using GUIOdyssey.Areas.HelpPage.ModelDescriptions; namespace GUIOdyssey.Areas.HelpPage { /// <summary> /// A custom <se...
44.351852
161
0.618232
[ "MIT" ]
manu3193/Odyssey
OdysseyTheBegining/GUIOdyssey/GUIOdyssey/Areas/HelpPage/XmlDocumentationProvider.cs
7,185
C#
#region License /* Microsoft Public License (Ms-PL) MonoGame - Copyright © 2009 The MonoGame Team All rights reserved. This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reprodu...
26.152439
276
0.711355
[ "MIT" ]
Adrriii/MonoGame
MonoGame.Framework/DesktopGL/GamerServices/SignedInGamer.cs
8,583
C#
using System; using System.Collections.Generic; namespace LJD.App.Model.DbModels { public partial class SysFunction { public SysFunction() { R_RolePermission = new HashSet<R_RolePermission>(); R_UserPermissions = new HashSet<R_UserPermissions>(); } publ...
33.939394
85
0.614286
[ "MIT" ]
188867052/LJDAPP
src/LJD.App.Model/DbModels/SysFunction.cs
1,122
C#
using Microsoft.Xna.Framework; using Pathoschild.Stardew.TractorMod.Framework.Config; using Pathoschild.Stardew.TractorMod.Framework.ModAttachments; using StardewModdingAPI; using StardewValley; using StardewValley.TerrainFeatures; using StardewValley.Tools; using SObject = StardewValley.Object; namespace Pathoschild....
42.287671
153
0.62747
[ "MIT" ]
S2SKY/StardewMods-1
TractorMod/Framework/Attachments/HoeAttachment.cs
3,087
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using ServiceStack.Text; using SimpleCqrs.Eventing; namespace SimpleCqrs.EventStore.SqlServer { public class SqlServerEventStore : IEventStore { private readonly IDomainEventS...
42.598291
255
0.552568
[ "Unlicense", "MIT" ]
AdnanAsotic/SimpleCQRS
src/EventStores/SimpleCqrs.EventStore.SqlServer/SqlServerEventStore.cs
4,986
C#
// ******************************************************************************* // <copyright file="EntityTypeMapperTests.cs" company="Intuit"> // Copyright (c) 2019 Intuit // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
50.714286
116
0.675704
[ "Apache-2.0" ]
LaudateCorpus1/TSheets-V1-DotNET-SDK
Intuit.TSheets.Tests/Unit/Client/Utilities/EntityTypeMapperTests.cs
2,842
C#
 using System; namespace AntMe.Extension.Community { public sealed class Extension : IExtensionPack { public string Author { get { return "Tom Wendel @ AntMe! GmbH"; } } public string Description { get { return "Test Extension um zu sehen wie das so läuft"; } } public string Name { g...
26.52381
99
0.642729
[ "MIT" ]
AntMeNet/AntMeCore
src/AntMe.Extension.Community/Extension.cs
560
C#
using System.Diagnostics.CodeAnalysis; namespace Rosd.Data.Conventions; /// <summary> /// LowerCaseConverter is used in database where table/columns use the "tablename" convention. /// </summary> public sealed class LowerCaseConverter : CaseConventionConverter { [return: NotNullIfNotNull("input")] protected ...
24.142857
94
0.682446
[ "Apache-2.0" ]
diev/RepofDocs
Rosd.Data/Conventions/LowerCaseConverter.cs
509
C#
using System; using System.ComponentModel.DataAnnotations; using System.Globalization; namespace Tubumu.Modules.Framework.ModelValidation.Attributes { /// <summary> /// CompareAttribute /// </summary> [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, Allo...
35.763975
188
0.554359
[ "MIT" ]
zhaoyanwenqi/Tubumu
src/Tubumu.Modules.Framework/ModelValidation/Attributes/CompareAttribute.cs
5,788
C#
using System; namespace PersonInfo { public class StartUp { static void Main(string[] args) { string name = Console.ReadLine(); int age = int.Parse(Console.ReadLine()); string id = Console.ReadLine(); string birthdate = Console.ReadLine(); ...
29.25
79
0.586325
[ "MIT" ]
danailstratiev/Csharp-SoftUni-Development
Csharp OOP/04. Interfaces and Abstraction/P02.MultipleImplementation/StartUp.cs
587
C#
using HierarchyGrid.Definitions; using ReactiveUI; using System.Collections.Generic; using System; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using MoreLinq; ...
46.426045
200
0.545936
[ "MIT" ]
CyLuGh/HierarchyGrid
src/VirtualHierarchyGrid/HierarchyGrid.Render.cs
28,879
C#
 // -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="TestRecurringInfo.cs"> // Copyright (c) 2018 Aspose.Tasks for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any pers...
48.928144
119
0.488312
[ "MIT" ]
aspose-tasks-cloud/aspose-tasks-cloud-dotnet
Aspose.Tasks.Cloud.Sdk.Tests/Tasks/TestRecurringInfo.cs
8,173
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
52.592593
182
0.677641
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ISecurityBaselineStateSummaryRequest.cs
5,680
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...
25.8
104
0.582849
[ "Apache-2.0" ]
nechemiaseif/aws-sdk-net
sdk/src/Services/Cloud9/Generated/AmazonCloud9Config.cs
2,064
C#
/* * Copyright 2019-2021 Andrey Pokidov <andrey.pokidov@gmail.com> * * 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 requ...
26.47561
163
0.593275
[ "Apache-2.0" ]
Morgend/Geometry.Net
src/Geometry/Stereometry/Ray3.cs
2,173
C#
using System; using System.Collections.ObjectModel; namespace Count4U.Model.ProcessC4U { public class Ports : ObservableCollection<Port> { public static Ports FromEnumerable(System.Collections.Generic.IEnumerable<Port> List) { Ports ports = new Ports(); foreach (Port item in List) { ...
21.423077
87
0.624776
[ "MIT" ]
parad74/Count4U.Service.5
src/Count4U.Model.ServiceContract/ProcessC4U/Port/Ports.cs
559
C#
using System.Linq; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using RabbitMQ.Client.Core.DependencyInjection.Configuration; using RabbitMQ.Client.Core.DependencyInjection.Exceptions; using RabbitMQ.Client.Core.Depe...
53.552632
198
0.72629
[ "MIT" ]
ualehosaini/RabbitMQ.Client.Core.DependencyInjection
src/RabbitMQ.Client.Core.DependencyInjection/BatchMessageHandlerDependencyInjectionExtensions.cs
4,070
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace ChromeRemoteSharp.DomStorageDomain { public partial class DomStorageDomain { /// <summary> /// /// <see cref="https://chromedevtools.github.io/devtools...
31.666667
119
0.617544
[ "MIT" ]
jefersonsv/ChromeRemoteSharp
src/ChromeRemoteSharp/DomStorageDomain/RemoveDOMStorageItemAsync.cs
855
C#
// Copyright (c) Microsoft Corporation. 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.Globalization; using System.Net.Http; using Microsoft.Rest; using Xunit.Abstractions; namespace Fluen...
34.753623
139
0.660967
[ "MIT" ]
AntoineGa/azure-libraries-for-net
Tests/Fluent.Tests/Common/XunitTracingInterceptor.cs
2,398
C#
using UnityEngine; using System.Collections; using DrForgetful; public class PlayerNoJumpMission : Mission { public PlayerNoJumpMission() { eventType = "playerJump"; missionTime = 3; } public override string GetDescription() { return "Don't jump for " + missionTime.ToString() + " seconds!"; } public o...
13.708333
66
0.641337
[ "MIT" ]
Sartoon/unity-missions
Mission System/PlatformerExamples/PlayerNoJumpMission.cs
660
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
52.979592
253
0.599255
[ "MIT" ]
Agazoth/azure-powershell
src/Marketplace/Marketplace.Autorest/generated/api/Models/Api20210601/QueryRequestApprovalProperties.TypeConverter.cs
7,642
C#
//Copyright 2019 Volodymyr Podshyvalov // //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 law or agreed t...
31.318021
105
0.559179
[ "Apache-2.0" ]
ElbyFross/datum-point
Frameworks/WpfHandler/UI/Controls/Logon/RegistrationPanel.xaml.cs
8,865
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Diagnostics; using Test.Utilities; using Xunit; namespace Microsoft.NetCore.Analyzers.Runtime.UnitTests { public class Insta...
39.690217
166
0.514537
[ "Apache-2.0" ]
RikkiGibson/roslyn-analyzers
src/Microsoft.NetCore.Analyzers/UnitTests/Runtime/InstantiateArgumentExceptionsCorrectlyTests.cs
21,909
C#
namespace Byteology.GuardClauses { /// <summary> /// Provides an extension point for guarding an argument. /// </summary> /// <typeparam name="T">The type of the guarded argument</typeparam> public interface IGuardClause<out T> { /// <summary> /// Gets the guarded argum...
27.1
73
0.546125
[ "MIT" ]
Byteology/guard-clauses
Byteology.GuardClauses/IGuardClause.cs
544
C#
using DataSync; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using UnityEngine; namespace LabDataCollector { public sealed class DataCollector : ILabDataManager { private bool _sendToServe...
28.285714
125
0.534165
[ "MIT" ]
Wulabalabo/LabDataCollector
LabDataCollector/Assets/LabDataCollector/Scripts/DataCollector.cs
6,796
C#
// *********************************************************************************** // Created by zbw911 // 创建于:2012年12月18日 10:44 // // 修改于:2013年02月18日 18:24 // 文件名:CheckSQL.cs // // 如果有更好的建议或意见请邮件至zbw911#gmail.com // *********************************************************************************** us...
30.731481
167
0.437481
[ "MIT" ]
zbw911/DevLib.AdoDataAcess
Framework/DataAcess/dev.DBUtility/Helper/CheckSQL.cs
3,499
C#
using System; using System.Windows.Input; using Cradiator.Views; namespace Cradiator.Commands { public class ShowSettingsCommand : ICommand { readonly ICradiatorView _view; readonly ISettingsWindow _settingsWindow; public ShowSettingsCommand(ICradiatorView view, ISettingsWindow settingsWindow) { _view =...
19.3
81
0.758204
[ "MIT" ]
PandaWood/Cradiator
src/Cradiator/Commands/ShowSettingsCommand.cs
579
C#
using System; using System.Runtime.InteropServices; using System.Text; namespace SPExplorer.UI.Auth { public static class CookieReader { /// <summary> /// Enables the retrieval of cookies that are marked as "HTTPOnly". /// Do not use this flag if you expose a scriptable interface, ...
30.163934
105
0.548913
[ "MIT" ]
xsolon/spexplorer
SpExplorer.UI.Auth/SpExplorer.UI.Auth/CookieReader.cs
1,842
C#
#region using System.Collections; using System.Collections.Generic; using dnlib.DotNet.MD; #endregion namespace dnlib.DotNet.Writer { /// <summary> /// MD table interface /// </summary> public interface IMDTable { /// <summary> /// Gets the table type /// </summar...
27.055085
133
0.479092
[ "MIT" ]
Dekryptor/KoiVM-Virtualization
dnlib/src/DotNet/Writer/MDTable.cs
6,387
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\ksmedia.h(370,1) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct KSNODETYPE_LEVEL_CALIBRATION_NOISE_SOURCE { } }
25.545455
88
0.725979
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/KSNODETYPE_LEVEL_CALIBRATION_NOISE_SOURCE.cs
283
C#
// Copyright (C) 2014 dot42 // // Original filename: HashSet.cs // // 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 require...
24.845361
76
0.515768
[ "Apache-2.0" ]
Dot42Xna/master
System/Collections/Generic/HashSet.cs
2,410
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Physics; using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { ...
35.334842
148
0.589704
[ "MIT" ]
Bhaskers-Blu-Org2/GalaxyExplorer
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/LinePointer.cs
7,811
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
40.822581
84
0.659423
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Common/Comt_mt001101ca/ReferencedRecord.cs
2,531
C#
using static System.Console; namespace MethodChainingDemo.ChainingDemo { public class SoftwareDeveloper { public SoftwareDeveloper GathersRequirements() { WriteLine("Software Develper Gathers Requirements."); return this; } public SoftwareDeveloper W...
21.081081
71
0.584615
[ "MIT" ]
vishipayyallore/speaker_series_csharp_dotnetcode
Day5/MethodChainingDemo/MethodChainingDemo/ChainingDemo/SoftwareDeveloper.cs
782
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may n...
36.666667
117
0.720856
[ "Apache-2.0" ]
sriksun/ExpressionEvaluator
ExpressionEvaulatorTests/Transformer/ParanthesizedExpressionTransformerTests.cs
1,872
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using System.IO; namespace DiscountAPI.Infrasturcture.Context { public abstract class DesignTimeDbContextFactory<TContext> : IDesignTimeDbContextFactory<TContext> where TContext : DbCo...
40.958333
102
0.711089
[ "MIT" ]
efeonier/DiscountAPI
DiscountAPI.Infrasturcture/Context/DesignTimeDbContextFactory.cs
983
C#
/*! * (c) 2016-2018 EntIT Software LLC, a Micro Focus company * * 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...
37.346939
153
0.67377
[ "Apache-2.0" ]
MicroFocus/octane-visual-studio-plugin
octane-visual-studio-plugin-tests/Utilities/Entity/TaskUtilities.cs
1,832
C#
using CsvHelper; using Raven.Client; using Raven.Client.Document; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using TwinCitiesCodeC...
35.728571
153
0.611755
[ "MIT" ]
JudahGabriel/twincitiescodecamp
TwinCitiesCodeCamp/Controllers/FilesController.cs
2,503
C#
#region license //MIT License //Copyright(c) 2013-2020 Andreas Hübner //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...
43.268657
139
0.71197
[ "MIT" ]
tetrodoxin/Interlook.Configuration
src/Interlook.Configuration/IParsingResultsBuilder.cs
2,902
C#
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; //This Main function should not be run on an active database, it will cause inconsistencies in the data. //These functions are examples on how to ...
31.536232
104
0.612132
[ "Artistic-2.0" ]
rogera24/Multi_Agent_Models
School Work/Capstone_Database_Controller/Main.cs
2,178
C#
# CS_ARCH_X86, CS_MODE_32, CS_OPT_SYNTAX_ATT 0x0f,0x0f,0xca,0xbf = pavgusb %mm2, %mm1 0x0f,0x0f,0x5c,0x16,0x09,0xbf = pavgusb 9(%esi, %edx), %mm3 0x0f,0x0f,0xca,0x1d = pf2id %mm2, %mm1 0x0f,0x0f,0x5c,0x16,0x09,0x1d = pf2id 9(%esi, %edx), %mm3 0x0f,0x0f,0xca,0xae = pfacc %mm2, %mm1 0x0f,0x0f,0xca,0x9e = pfadd %mm2, %mm1...
39.233333
59
0.703483
[ "BSD-3-Clause" ]
FlyGoat/capstone
suite/MC/X86/3DNow.s.cs
1,177
C#
namespace demo { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="d...
41.388235
137
0.608584
[ "MIT", "Unlicense" ]
NuLL3rr0r/tutorials-in-my-class
C#/FlashIntegration/demo/Form1.Designer.cs
3,520
C#
namespace SapphireDb.Command { public class CollectionCommandBase : CommandBase { public string CollectionName { get; set; } public string ContextName { get; set; } = "default"; } }
23.444444
60
0.649289
[ "MIT" ]
greenapp-debug/SapphireDb
SapphireDb/Command/CollectionCommandBase.cs
213
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using NuGet.Frameworks; namespace Snap.Core; internal static class SnapConstants { public static readonly string SnapAppLibraryName = "Snap.App"; public static readonly string SnapDllFilename = "Snap.dll"; public static string Sn...
43.363636
118
0.758211
[ "MIT" ]
fintermobilityas/snapx
src/Snap/Core/SnapConstants.cs
1,431
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Web { internal static class OidcConstants { public const string AdditionalClaims = "claims"; public const string ScopeOfflineAccess = "offline_access"; public con...
31.923077
66
0.703614
[ "MIT" ]
Azure/ace-luna
src/Microsoft.Identity.Web/OidcConstants.cs
415
C#
/* ======================================================================== * Copyright (c) 2019 <vmarvin@gmail.com>. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
40.186992
110
0.605098
[ "MIT" ]
vmarvin/FRQR
Utils.cs
5,443
C#
using System; using System.Collections.Generic; using System.Text; namespace Doublel.DynamicQueryBuilder.Sort { public enum QuerySortDirection { ASC, DESC } }
14.538462
42
0.68254
[ "Apache-2.0" ]
Olymo/Doublel.QueryableBuilder
src/Sort/QuerySortDirection.cs
191
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ImageSwitcher : MonoBehaviour { public Material Mat; public Texture[] Textures; private int Index; public SteamVR_TrackedController Controller; // Use this for initialization void Start () { Controller.MenuButtonCli...
18.52
53
0.717063
[ "MIT" ]
cdv-skelex/skelex
skelex/Assets/scripts/ImageSwitcher.cs
465
C#
using Microsoft.Xna.Framework; using System.Collections.Generic; using System.Runtime.Serialization; namespace C3DE.Components { /// <summary> /// A component responible to manage transform operations (translation, rotation and scaling). /// </summary> [DataContract] public class Transform : Compo...
29.056452
124
0.539134
[ "MIT" ]
demonixis/C3DE
C3DE/Components/Transform.cs
7,208
C#