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 System.Windows.Forms; namespace SpotifyKeys { public class HotKey : IMessageFilter, IDisposable { private bool disposed = false; private readonly IntPtr handle; private readonly int id; private readonly Keys key; private readonly KeyModifier...
31.956522
121
0.543197
[ "MIT" ]
nobbyfix/SpotifyKeys
SpotifyKeys/HotKey.cs
2,942
C#
using Content.Server.DoAfter; using Content.Server.Popups; using Content.Server.Sticky.Components; using Content.Server.Sticky.Events; using Content.Shared.Hands.EntitySystems; using Content.Shared.Interaction; using Content.Shared.Sticky.Components; using Content.Shared.Verbs; using Robust.Shared.Containers; using Ro...
34.938017
114
0.627558
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Server/Sticky/Systems/StickySystem.cs
8,457
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nucleus.ConsoleEngine { public enum CommandFeedback { Success, WrongNumberOfArguments, Error } }
18.25
40
0.721461
[ "MIT" ]
lucasassislar/nucleusdotnet
Nucleus.Gaming/Nucleus.Gaming/ConsoleEngine/CommandFeedback.cs
221
C#
using System; using System.Linq; using System.Reflection; using FluentAssertions; using Nest; using Newtonsoft.Json; using Tests.Framework; namespace Tests.CodeStandards { [ProjectReferenceOnly] public class QueriesStandards { protected static PropertyInfo[] QueryProperties = typeof(IQueryContainer)...
37.376812
127
0.689802
[ "Apache-2.0" ]
jslicer/elasticsearch-net
src/Tests/CodeStandards/Queries.doc.cs
2,581
C#
 using NUnit.Framework; namespace System.IO.Abstractions.Tests { [TestFixture] public class FileSystemTests { [Test] public void Is_Serializable() { var fileSystem = new FileSystem(); var memoryStream = new MemoryStream(); var serializer = new R...
27.104762
101
0.53584
[ "MIT" ]
BrianMcBrayer/System.IO.Abstractions
tests/System.IO.Abstractions.Tests/FileSystemTests.cs
2,848
C#
using UnityEngine; using UnityGameEvents; using UnityGameEventUnityEngineExtensions.Objects; namespace UnityGameEventUnityEngineExtensions { public interface IUnityEngineRayGameEventListenerController : IGameEventWithParameterListenerController<UnityEngineRayGameEventListenerObjectScript, Ray> { // ......
27.416667
157
0.823708
[ "MIT" ]
BigETI/UnityGameEventUnityEngineExtensions
Runtime/Interfaces/IUnityEngineRayGameEventListenerController.cs
329
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...
35.371795
135
0.665821
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.StorageGateway/Model/Internal/MarshallTransformations/ResetCacheRequestMarshaller.cs
2,759
C#
namespace TicketingSystem.Web.ViewModels.Comments { using System; using AutoMapper; using TicketSystem.Web.Infrastructure.Mapping; using Models; public class CommentViewModel : IMapFrom<Comment>, IHaveCustomMappings { public int Id { get; set; } public string AuthorName { get; s...
32.578947
90
0.646204
[ "MIT" ]
crDahaka/Ticketing-System-ASP.NET-MVC-5
TicketingSystem.Web/ViewModels/Comments/CommentViewModel.cs
621
C#
using Esquire.Models; namespace Esquire.Data.Repositories { public interface ICodedQuestionBaseRepository : IRepository<CodedQuestionBase> { } }
18.555556
82
0.724551
[ "Apache-2.0" ]
CDCgov/phlip-backend
Data/Repositories/ICodedQuestionBaseRepository.cs
169
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/WebServices.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
41.136364
151
0.680663
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/WebServices/WS_HTTP_HEADER_AUTH_POLICY_DESCRIPTIONTests.cs
1,812
C#
using System; using TicTacToe.Server.Core.Packets.Handlers.Handler; using TicTacToe.Shared.Packet.Types; namespace TicTacToe.Core.Game.Packets.Handlers.Types { public class GameMovePacketHandler : PacketHandler<MovePacket> { public override void Handle(MovePacket instance, object state, object sender) { Cons...
25.071429
79
0.780627
[ "MIT" ]
PerfectlyFineCode/tictactoe-server
src/Tic Tac Toe/TicTacToe.Core/Game/Packets/Handlers/Types/GameMovePacketHandler.cs
353
C#
using PG.Commons.Xml.Values; namespace PG.StarWarsGame.Commons.Xml.Tags.Engine.FoC { public sealed class MPDefaultFreeStartingUnitsXmlTagDefinition : AXmlTagDefinition { private const string KEY_ID = "MP_Default_Free_Starting_Units"; private const XmlValueType PG_TYPE = XmlValueType.Boolean; ...
41.058824
90
0.744986
[ "MIT" ]
AlamoEngine-Tools/PetroglyphTools
PG.StarWarsGame/PG.StarWarsGame/Commons/Xml/Tags/Engine/FoC/MPDefaultFreeStartingUnitsXmlTagDefinition.cs
698
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR.Hubs; using Microsoft.AspNet.SignalR; namespace SignalRChat { public class ChatHub : Hub { public void Send(string name, string message) { // Call the broadcastMessag...
25.315789
66
0.671518
[ "Apache-2.0" ]
abayaz61/NCache
Samples/dotnet/SignalRChat/SignalRChat/ChatHub.cs
483
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Idfy.Infrastructure; namespace Idfy.Signature { /// <summary> /// Sign contracts, declarations, forms and other documents using digital signatures. /// </summary> public class SignatureService : IdfyBa...
39.549407
154
0.557166
[ "Apache-2.0" ]
JTOne123/idfy-sdk-net
src/Idfy.SDK/Services/Signature/SignatureService.cs
30,020
C#
//////////////////////////////// // // Copyright 2019 Battelle Energy Alliance, LLC // // //////////////////////////////// using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace CSET_Main.Framework { public class ProfileFunction { pri...
33.985401
127
0.563789
[ "MIT" ]
Harshilpatel134/cisagovdocker
CSETWebApi/CSETWeb_Api/BusinessLogic/Framework/ProfileFunction.cs
4,656
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace ProjectTracker.Model.Migrations { public partial class StatusChangedToString : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "StatusInt", ...
27.6
71
0.524845
[ "MIT" ]
TarunBola/ProjectTracker
Model/Migrations/20210327181338_StatusChangedToString.cs
968
C#
using System; using System.IO; using System.Linq; using System.Reflection; using System.Security.Claims; using System.Threading.Tasks; using System.Transactions; using BlazorAppQA.Infrastructure.ApplicationContext; using BlazorAppQA.Infrastructure.BaseCommandHandler; using BlazorAppQA.Infrastructure.Common; using Blaz...
42.938272
134
0.628235
[ "MIT" ]
fcapellino/net-core-blazor-qa
BlazorAppQA.Infrastructure/CommandHandlers/InsertNewQuestionHandler/InsertNewQuestionCommandHandler.cs
3,480
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.Staffing { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)] public...
26.8
155
0.8
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Staffing/Put_DependentOutput.cs
670
C#
/* * ISO standards can be purchased through the ANSI webstore at https://webstore.ansi.org */ using AgGateway.ADAPT.ISOv4Plugin.ExtensionMethods; using AgGateway.ADAPT.ISOv4Plugin.ISOModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AgGat...
48.64127
221
0.561252
[ "EPL-1.0" ]
martinsw/ISOv4Plugin
ISOv4Plugin/Mappers/TimeLogMapper.cs
30,644
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.SignalR.Protocol; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.SignalR.Internal; internal stat...
64.53271
184
0.775815
[ "MIT" ]
3ejki/aspnetcore
src/SignalR/server/Core/src/Internal/DefaultHubDispatcherLog.cs
6,905
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 ...
16.404908
63
0.591997
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-dyplsapi/Dyplsapi/Model/V20170525/QuerySecretNoRemainResponse.cs
2,674
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Luis; using Microsoft.Bot.Solutions.Testing.Mocks; using PhoneSkill.Services.Luis; using PhoneSkill.Tests.Flow.Utterances; namespace PhoneSkill.Tests.TestDouble { public class P...
38.582051
185
0.526018
[ "MIT" ]
ConnectionMaster/botframework-components
skills/csharp/tests/phoneskill.tests/TestDouble/PhoneSkillMockLuisRecognizerFactory.cs
15,049
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Final.Data; using Final.Models; using Microsoft.AspNetCore.Authorization; namespace Final.Area...
33.245714
166
0.504297
[ "MIT" ]
nguyendev/CNW
Final/src/Final/Areas/Wp-admin/Controllers/CategoryController.cs
5,818
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Iso.Api.Extensions; using Iso.Api.Models; using Microsoft.AspNetCore.Mvc; namespace Iso.Api.Services { internal class CurrenciesService : BaseService<IsoCurrency> { private readonly IEnumerable<IsoCountry> _...
29.9
119
0.733278
[ "MIT" ]
JimbeanZN/iso
src/Iso.Api/Services/CurrenciesService.cs
1,198
C#
using SimpleHomeAuto.Data; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primi...
27.210526
94
0.704062
[ "MIT" ]
nicoschmitt/Home.Auto
SimpleHomeAuto/Views/InfoPage.xaml.cs
1,036
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Support { public interface IServiceCommandProvider { ValueTask<ServiceCommand> GetCommand(string serviceId); Task<object> Run(string text, params string[] Injection...
24.357143
75
0.750733
[ "MIT" ]
16it/surging
src/Surging.Core/Surging.Core.CPlatform/Support/IServiceCommandProvider.cs
343
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using Cysharp.Threading.Tasks; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace com.enemyhideout.fsm.tests { [TestFixture] public partial class TestFsm { void AssertLog(Lis...
32.569892
114
0.62826
[ "MIT" ]
robotron2084/enemy-fsm
Enemy-FSM/Assets/enemy-fsm/Tests/TestFsm.cs
3,031
C#
namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// BPS_O29 (Message) - /// </summary> public interface BPS_O29 : HL7V26Layout { /// <summary> /// MSH /// </summary> Segment<MSH> MSH { get; } /// <summary> /// SFT /// ...
19.512195
48
0.425
[ "Apache-2.0" ]
ahives/Machete
src/Machete.HL7Schema/V26/Messages/BPS_O29.cs
800
C#
using IPB.LogicApp.Standard.Testing.Model; using IPB.LogicApp.Standard.Testing.Model.WorkflowRunOverview; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Linq; using System.Net.Http; namespace IPB.LogicApp.Standard.Testing.Helpers { public class WorkflowHelper { public st...
43.753425
292
0.646838
[ "MIT" ]
michaelstephensonuk/IntegrationPlaybook-LogicApp-Standard-Testing
IPB.LogicApp.Standard.Testing/Helpers/WorkflowHelper.cs
6,390
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("TimecardsIOC")] [assembly: AssemblyDescrip...
39.027778
84
0.749466
[ "MIT" ]
danhickok/timecards
Timecards/TimecardsIOC/Properties/AssemblyInfo.cs
1,408
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace DReporting.Web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.045455
70
0.706806
[ "MIT" ]
Ronglin-kooboo/DReportiing
DReporting.Web/Global.asax.cs
575
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...
34.715909
143
0.655974
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Amplify/Generated/Model/Internal/MarshallTransformations/GetArtifactUrlRequestMarshaller.cs
3,055
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...
35.254777
171
0.588076
[ "ECL-2.0", "Apache-2.0" ]
Dominik-K/pulumi-aws
sdk/dotnet/Cfg/AggregateAuthorization.cs
5,535
C#
// Copyright (C) Microsoft Corporation. All rights reserved. using Microsoft.AI.Skills.SkillInterfacePreview; using System; using System.Threading.Tasks; using Windows.Graphics.Imaging; using Windows.Media; using Windows.Storage; using Windows.Storage.Streams; namespace FrameSourceHelper_UWP { public sealed clas...
37.88764
169
0.639383
[ "MIT" ]
dhung-msft/WindowsVisionSkillsPreview
samples/Common/cs/ImageFileFrameSource.cs
3,374
C#
using DomainFramework.Core; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OrganizationPersonWithCommonEntities.OrganizationPersonBoundedContext { public class PersonQueryAggregate : GetByIdQueryAggregate<Person, int, PersonOutputDto> { public...
39.697917
237
0.602467
[ "MIT" ]
jgonte/DomainFramework
DomainFramework.Tests/OrganizationPersonWithCommonEntities/OrganizationPersonBoundedContext/QueryAggregates/PersonQueryAggregate.cs
3,811
C#
using SoccerManager.Web.Models.Base; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using System.Web.Mvc; namespace SoccerManager.Web.Models { public class TransferenciaVM : BaseVM { public Jogador Jogador { get; set; }...
26.033333
108
0.647887
[ "MIT" ]
leonardoacoelho/Soccer_Manager
SoccerManager/SoccerManager.Web/Models/TransferenciaVM.cs
783
C#
using UnityEngine; namespace DiMe.Urarulla { public interface ISelectionResponse { public void OnSelect(Transform selection); public void OnDeselect(Transform selection); public void SetDotProduct(float distance); } }
23.090909
52
0.708661
[ "MIT" ]
JerePystynen/unity-wheel-of-joy
Urarulla/Assets/Scripts/Selecting/ISelectionResponse.cs
254
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> //---------------------------------...
31.748
98
0.649238
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx.designer.cs
7,939
C#
namespace TestBed { partial class NewProject { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
55.444976
136
0.61719
[ "MIT" ]
collinsmichael/GodHands
WinForms/GodHands/TestBed/NewProject.Designer.cs
11,590
C#
using System; // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedParameter.Global namespace aoc2020.Days { public class Day25 : IDay { public (Func<string> Part1, Func<string> Part2) Parts(string input) { var lines = input.SplitAsInt(); return ( ...
24.859649
75
0.474241
[ "MIT" ]
hillerstorm/aoc2020-csharp
aoc2020-csharp/Days/Day25.cs
1,419
C#
/**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com 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 ...
31.057143
79
0.574057
[ "Unlicense" ]
HongXiao/Scut
Source/Middleware/ZyGames.Framework.Game/Pay/ServerInfo.cs
2,186
C#
using System; using System.Diagnostics; using System.Text.Json; using System.IO; using TyphonHIRBackend; class Program { static Stopwatch _init = Stopwatch.StartNew(); static void ReportElapsed(string operation) { Console.WriteLine($"{operation} finished. Elapsed: {_init.Elapsed.TotalMilliseconds:...
31.84375
105
0.652601
[ "Apache-2.0" ]
eliphatfs/typhon
typhon-hir-backend/Program.cs
1,021
C#
using JT808.Protocol.Enums; using JT808.Protocol.Formatters; using JT808.Protocol.MessagePack; using JT808.Protocol.Metadata; using System.Collections.Generic; namespace JT808.Protocol.MessageBody { /// <summary> /// 设置电话本 /// </summary> public class JT808_0x8401 : JT808Bodies, IJT808MessagePackFormat...
43.225806
113
0.645896
[ "MIT" ]
491134648/JT808
src/JT808.Protocol/MessageBody/JT808_0x8401.cs
2,718
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Puppet.Common.Devices; using Puppet.Common.Events; using Puppet.Common.Notifiers; using Puppet.Common.Services; namespace Puppet.Common.Automation { public abstract class DoorWatcherBase : AutomationBase ...
36.901235
117
0.50552
[ "MIT" ]
CamSoper/puppet
Puppet.Common/Automation/DoorWatcherBase.cs
2,991
C#
using System.Data; namespace Jerrycurl.Cqs.Commands.Internal.Compilation { internal delegate void BufferWriter(IDataReader dataReader, FieldBuffer[] buffers); }
23.857143
87
0.802395
[ "MIT" ]
rhodosaur/jerrycurl
src/Mvc/Jerrycurl.Cqs/Commands/Internal/Compilation/BufferWriter.cs
169
C#
using Microsoft.Azure.Devices.Client; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography.X509Certificates; namespace Robin { class Program { static Dev...
33.514286
140
0.603154
[ "Apache-2.0" ]
erryB/IoT_simDevices
Robin/Program.cs
2,348
C#
using System; using System.Reflection; using Xunit; namespace Atc.Tests.Extensions.Reflection { public class AssemblyExtensionsTests { [Fact] public void IsAssemblyDebugBuild() { // Act var actual = Assembly.GetExecutingAssembly().IsDebugBuild(); //...
25.226415
86
0.529544
[ "MIT" ]
TomMalow/atc
test/Atc.Tests/Extensions/Reflection/AssemblyExtensionsTests.cs
1,339
C#
using System; namespace ProceduralLevel.UnityPlugins.Input.Unity { public class GroupProvider : AListProvider { private AInputProvider m_UsedProvider; public AInputProvider UsedProvider { get { return m_UsedProvider; } } public GroupProvider() { } protected override RawInputState GetS...
20.9375
72
0.629851
[ "MIT" ]
LukaszKr/UnityPlugins.Input
Unity/Provider/Impl/List/GroupProvider.cs
1,007
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using FluentNHibernate.MappingModel; namespace FluentNHibernate.Conventions.Inspections { public class DiscriminatorInspector : ColumnBasedInspector, IDiscriminatorInspector { private readonly Inspecto...
27.850746
187
0.566988
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/FluentNHibernate/Conventions/Inspections/DiscriminatorInspector.cs
1,866
C#
using System; using Menu; using Override; using UnityEngine; using ZeoFlow.Pickup.Interfaces; namespace Puzzle { /// <summary> /// <para> PyramidController </para> /// <author> @TeodorHMX1 </author> /// </summary> public class PyramidController : MonoBehaviour, IOnPuzzle { [Hea...
32.571429
84
0.473099
[ "Apache-2.0" ]
TeodorHMX1/descent
Assets/Plugins/Scripts/Puzzle/PyramidController.cs
10,262
C#
using System; using System.Windows.Forms; namespace ArchiveTools { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Applic...
21.5
65
0.572093
[ "MIT" ]
GridProtectionAlliance/openHistorian
Source/Tools/ArchiveTools/Program.cs
432
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SilupostWeb.Data.Entity { public class SystemWebAdminUserRolesModel { public string SystemWebAdminUserRoleId { get; set; } public SystemWebAdminRoleModel SystemWebAdmin...
31.263158
73
0.723906
[ "Apache-2.0" ]
erwin-io/Silupost
SilupostWebApp/SilupostWeb.Data/Entity/SystemWebAdminUserRolesModel.cs
596
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 Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Microsoft.EntityFrameworkCore.Metadata { /// <summary> /// Represents a database sequence ...
51.143885
127
0.642003
[ "MIT" ]
KaloyanIT/efcore
src/EFCore.Relational/Metadata/IConventionSequence.cs
7,109
C#
using System; using System.Collections.Generic; using System.Linq; using System.Collections.Concurrent; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.Collections; using Speckle.Newtonsoft.Json; using Speckle.Core.Models; using Speckle.Core.Kits; using Speckle.Core.Api; using Speckl...
36.006596
238
0.623933
[ "Apache-2.0" ]
bimgeek/speckle-sharp
ConnectorAutocadCivil/ConnectorAutocadCivil/UI/ConnectorBindingsAutocadCivil.cs
27,295
C#
namespace gov.sandia.sld.common.requestresponse { /// <summary> /// Used when doing debugging testing so we can simulate a SMART HD failure-is-predicted. /// </summary> //public class SMARTFailureRequest : Request //{ // public bool FailureIsPredicted { get; set; } // public SMARTFai...
26.352941
93
0.587054
[ "MIT" ]
gaybro8777/common
src/RequestResponseLib/SMARTFailureRequest.cs
450
C#
using Application.Interfaces.Repositories; using Domain.Entities; using Infrastructure.Persistence.Contexts; using Infrastructure.Persistence.Repository; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using System.Linq; using Micros...
38.316872
188
0.511868
[ "MIT" ]
arvindgawas/rcmconvapi
Infrastructure.Persistence/Repositories/NcmRepositoryAysnc.cs
9,313
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace HoloToolkit.Unity { public class UAudioProfiler : EditorWindow { p...
35.531746
143
0.559303
[ "MIT" ]
AllBecomesGood/Share-UpdateHolograms
ShareAndKeepSynced/Assets/HoloToolKit/SpatialSound/Scripts/UAudioManager/Editor/UAudioProfiler.cs
4,479
C#
namespace XSerialization { /// <summary> /// Provides an interface for all XSerializationAttribute /// TOCHECK : Gathers all XSerialization attributes for them to be find easier /// </summary> public interface IXSerializationAttribute { } }
24.545455
82
0.688889
[ "MIT" ]
mastertnt/XRay
XSerialization/IXSerializationAttribute.cs
272
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.448276
153
0.599103
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDirectoryObjectGetUserOwnedObjectsRequestBuilder.cs
1,115
C#
using System; using System.Drawing; using System.IO; using System.Net.Sockets; using System.Windows.Forms; using Server; using VenomRAT_HVNC.Server.Connection; using VenomRAT_HVNC.Server.Helper; namespace VenomRAT_HVNC.Server.Forms { public partial class FormDownloadFile : Form { public Form1 F { get; ...
31.578947
135
0.441905
[ "Unlicense" ]
GitPlaya/Venom5-HVNC-Rat
VenomRAT_HVNC/Server/Forms/FormDownloadFile.cs
4,200
C#
// <auto-generated /> using System; using AccountManager.Models.Contexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AccountManager.Migrations { [DbContext(typeof(AccountContext))] partial clas...
34.769231
76
0.496313
[ "MIT" ]
imdanix007/Account-Manager
Migrations/AccountContextModelSnapshot.cs
2,714
C#
using CadEditor; using System; //css_include shared_settings/BlockUtils.cs; //css_include shared_settings/SharedUtils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x9610, 4, 16*16, 16, 16); } public bool isBigBlockEditorEnabled() { return false; } public bool isBlockEditor...
49.259259
113
0.706015
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/final_fight_3_unl/Settings_FinalFight3_NES-2-2.cs
1,330
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.ObjectModel; using Microsoft.CodeAnalysis; using Microsoft.VisualStudio.Editor.Razor; using Microsoft.VisualStud...
41.450216
212
0.643133
[ "Apache-2.0" ]
AmadeusW/Razor
test/Microsoft.VisualStudio.LanguageServices.Razor.Test/DefaultVisualStudioWorkspaceAccessorTest.cs
9,577
C#
using UnityEngine; namespace Gameframe.InfoTables { /// <summary> /// Scriptable object with a InfoId /// Intended to be used with an InfoTable /// </summary> public class InfoScriptableObject : ScriptableObject { [SerializeField,Tooltip("The InfoId's hashed value will be used as the integer value whe...
20.454545
114
0.653333
[ "Apache-2.0" ]
coryleach/UnityInfoTables
Runtime/InfoScriptableObject.cs
452
C#
using Umbraco.Core.Events; using Umbraco.Core.Logging; using Umbraco.Core.Scoping; namespace Umbraco.Core.Services.Implement { // fixme that one does not add anything = kill public abstract class ScopeRepositoryService : RepositoryService { protected ScopeRepositoryService(IScopeProvider provider,...
30.666667
125
0.743478
[ "MIT" ]
bharanijayasuri/umbraco8
src/Umbraco.Core/Services/Implement/ScopeRepositoryService.cs
462
C#
namespace LiteNetLibManager { public static partial class GameReqTypes { public const ushort EnterGame = 0; public const ushort ClientReady = 1; public const ushort ClientNotReady = 2; } }
22.6
47
0.663717
[ "MIT" ]
AldeRoberge/LiteNetLibManager
Scripts/GameApi/GameReqTypes.cs
228
C#
using System.Net.Security; using System.Security.Authentication; namespace CookedRabbit.Library.Models { /// <summary> /// Class to fully season RabbitServices to your taste! /// </summary> public class SslSeasoning { #region RabbitMQ SSL/TLS Settings /// <summary> /// Rab...
36.653061
162
0.626392
[ "MIT" ]
area55git/CookedRabbit
CookedRabbit.Library/Models/SslSeasoning.cs
1,798
C#
//============================= //作者:龙英杰 //日期:2015/10/26 //用途:技能符文表 //============================= using UnityEngine; using System.Collections; using System.Collections.Generic; public class SkillRuneRefTable : AssetTable { public List<SkillRuneRef> infoList = new List<SkillRuneRef>(); } [System.Serializable...
18.126984
66
0.530648
[ "BSD-3-Clause" ]
cheng219/tianyu
Assets/Shares/Tables/SkillRuneRefTable.cs
1,280
C#
using System; using System.Threading; using Otii; namespace BasicMeasurement { class Program { private const int RecordingTime = 30000; static void Main(string[] args) { // Calling Connect without parameters will connect to a local instance of Otii var client = new OtiiCli...
29.603774
90
0.533461
[ "MIT" ]
qoitech/otii-tcp-client-csharp
Examples/BasicMeasurement/Program.cs
1,571
C#
/* * SimScale API * * The version of the OpenAPI document: 0.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; usi...
95.642857
1,196
0.676534
[ "MIT" ]
SimScaleGmbH/simscale-csharp-sdk
src/SimScale.Sdk/Model/MUMPSSolver.cs
44,187
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.IO; public class IniHelper { private static Dictionary<string, object> _cache = new Dictionary<string, object>(); private static Diction...
34.714286
119
0.686471
[ "Apache-2.0" ]
2881099/dotnetGen_mysql
GenMy/Lib/IniHelper.cs
3,890
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy...
32.434211
77
0.675456
[ "MIT" ]
0xced/PDFsharp
src/PdfSharp/Internal/Lock.cs
2,465
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> //--...
40.640777
183
0.582418
[ "MIT" ]
MegaRGJ/UPT
Properties/Resources.Designer.cs
4,188
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.Diagnostics; using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter...
27.5
101
0.707879
[ "MIT" ]
Benny1007/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/DebugAdapter/ScopesRequest.cs
825
C#
namespace WindowsFormsApplication10.pl { partial class FRM_LOGIN { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
40.642857
156
0.556415
[ "MIT" ]
ayman101440/final
pl/FRM_LOGIN.Designer.cs
5,743
C#
using Magnum.Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Magnum.Core.Services { /// <summary> /// Interface IContentHandlerRegistry /// </summary> public interface IContentHandlerRegistry { /// <summary> /...
36.804348
106
0.689309
[ "Apache-2.0" ]
DISN/Magnum
Src/Magnum.Core/Services/IContentHandlerRegistry.cs
1,695
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 System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Testing; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixV...
32.804734
161
0.684343
[ "Apache-2.0" ]
edespong/roslyn-analyzers
src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/IdentifiersShouldNotMatchKeywordsTypeRuleTests.cs
5,546
C#
using QuarterShare.Command; using QuarterShare.Connection; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace QuarterShare.Worker { class ServerWorker : Worker { ...
26.955882
100
0.436989
[ "MIT" ]
Jerrylum/.25share-windows
QuarterShare/Worker/ServerWorker.cs
1,839
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace santennio.utils.ui { public class FixLayoutWithFit : MonoBehaviour { // Start is called before the first frame update void OnEnable() { LayoutRebuilder.ForceRebuild...
20.1
92
0.674129
[ "MIT" ]
SantEnnio/InstagramUI_InUnity
Assets/Scenes/Scripts/FixLayoutWithFit.cs
402
C#
using CDK.Damage; using CDK.Data; using UnityEngine; namespace CDK { [CreateAssetMenu(fileName = "ammo_", menuName = CConst.EDITOR_SCRIPTABLEOBJECT_CREATION_PREFIX + "Ammo data", order = 51)] public class CAmmoScriptableObject : CItemBaseScriptableObject, ICDamageDealerItem { public CHitInfoData HitInfo { get {...
27.666667
123
0.761162
[ "MIT" ]
Chrisdbhr/CDK
Scripts/Gameplay/Items/ScriptableObjects/CAmmoScriptableObject.cs
1,411
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using System.Security.Claims; using System.Te...
40.913043
133
0.714134
[ "Apache-2.0" ]
cfdd73/AspNet.Security.OAuth.Providers
src/AspNet.Security.OAuth.Myob/MyobAuthenticationHandler.cs
1,882
C#
// Copyright (c) 2021 EPAM Systems // // 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 ...
30.488889
75
0.75656
[ "Apache-2.0" ]
epam/fix-antenna-net-core
Tests/Core.Tests/FixEngine/ResetLogon/InitiatorResetLogonTest.cs
1,374
C#
namespace System.Web.Routing { using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Routing, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] public class RouteValueDic...
42.440252
132
0.66064
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/xsp/system/Web/Routing/RouteValueDictionary.cs
6,750
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.EntityFrameworkCore.Infrastructure; namespace Microsoft.EntityFrameworkCore.Metadata.Builders { /// <summary> /// <para> /// Provides a simpl...
48.5
131
0.64545
[ "MIT" ]
KaloyanIT/efcore
src/EFCore/Metadata/Builders/KeyBuilder`.cs
2,231
C#
using SD.Data.Models.DomainModels; using System; namespace SD.Web.Areas.Administration.Models.SensorViewModels { public class SensorTableViewModel { public SensorTableViewModel(){} public SensorTableViewModel(UserSensor userSensor) { this.Id = userSensor.Id; this.Name = userSensor.Name; this.Latitud...
22.854167
62
0.711942
[ "MIT" ]
ateber91/TelerikProject
SD.Web/SD.Web/Areas/Administration/Models/SensorViewModels/SensorTableViewModel.cs
1,099
C#
using DaRT.Properties; using System; using System.Windows.Forms; namespace DaRT { public partial class GUIban : Form { private RCon _rcon; private Ban _ban; public GUIban(RCon rcon, int id, string name, string guid, string ip, bool online) { InitializeComponent(); ...
28.051852
222
0.442567
[ "MIT" ]
bravo10delta/DaRT
DaRT/Windows/GUIban.cs
3,789
C#
using Discount.API.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Discount.API.Repositories { public interface IDiscountRepo { Task<Coupon> GetDisc(string productName); Task<bool> CreateDisc(Coupon coupon); Task<boo...
22.722222
50
0.716381
[ "MIT" ]
Daniels-Main/MicroServices
src/Services/Discount/Discount.API/Repositories/IDiscountRepo.cs
411
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 System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Mic...
40.896229
338
0.599916
[ "Apache-2.0" ]
DavidKarlas/roslyn
src/Compilers/CSharp/Test/Symbol/Symbols/SymbolErrorTests.cs
781,897
C#
using System; namespace CSharpCodeAnalysis.Test.TestCodes { public partial class Test_NewMethodAddedToClass { public void Test1() { System.Diagnostics.Debug.WriteLine("hello"); } } }
19.333333
56
0.62931
[ "MIT" ]
andreinitescu/HotReloading
IDE/CSharpCodeAnalysis.Test/TestCodes/Test_NewMethodAddedToClass.cs
234
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 ...
49.103448
150
0.757022
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-quickbi-public/Quickbi_public/Transform/V20200731/GetUserGroupInfoResponseUnmarshaller.cs
2,848
C#
namespace Intro.Web { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; public static class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string...
25.904762
70
0.555147
[ "MIT" ]
tonchevaAleksandra/C-Sharp-Web-Development-SoftUni-Problems
ASP.NET Core/ASP.Net Core App Intro/Web/Intro.Web/Program.cs
546
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.583333
83
0.667606
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200801/Outputs/Ipv6CircuitConnectionConfigResponse.cs
1,065
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; public partial class DonateComplete : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if ...
28.25641
113
0.568058
[ "Unlicense" ]
Darren-Lim-School-Project/ESE3006
DonateComplete.aspx.cs
1,104
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.QnA; using Newtonsoft.Json; namespace $safeprojectname$.Middleware.Telemet...
48.2
180
0.643154
[ "MIT" ]
SVemulapalli/AI
templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryQnAMaker.cs
5,063
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; namespace ET { public struct ProcessActorId { public int Process; public long ActorId; public ProcessActorId(long actorId) { InstanceIdStruct instanceIdStruct = new InstanceIdStruc...
25
78
0.65931
[ "MIT" ]
dayfox5317/ET_Lua
Server/Model/Module/Message/NetInnerComponent.cs
727
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using VueExample.Models; namespace VueExample.Entities.Configurations { public class CodeProductConfiguration : IEntityTypeConfiguration<CodeProduct> { public void Configure(EntityTypeBuilder<CodeProduct> builde...
32.857143
109
0.73913
[ "MIT" ]
7is7/SVR2.0
Entities/Configurations/CodeProductConfiguration.cs
460
C#
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using Newtonsoft.Json; /* * TODO: * - Need Sessions (Cookie-based for HTTP): cannot currently distinguish between different requests */ namespace Nekara.Networking { delegate void Middlew...
37.052817
146
0.561722
[ "MIT" ]
p-org/nekara-csharp
Source/NekaraRpcServer/Networking/HttpServer.cs
10,525
C#
#region License /* * WebSocketServer.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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...
28.967593
83
0.546314
[ "MIT" ]
ARAisling/NiceHashMiner
src/3rdparty/websocket-sharp/Server/WebSocketServer.cs
43,799
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class SFactToChange : CVariable { [Ordinal(0)] [RED("factName")] public CName FactName { get; set; } [Ordinal(1)] [RED("factValue")] public CInt32 FactValu...
30.444444
100
0.691606
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/SFactToChange.cs
531
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> //----------------------------------------...
32.340909
84
0.508784
[ "MIT" ]
atanas-georgiev/TelerikAcademy
16.ASP.NET-Web-Forms/Homeworks/02. ASP.NET-Web-Forms-Intro/Task02_WebFormsApp/Account/Confirm.aspx.designer.cs
1,425
C#