content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Collections; using System.Collections.Generic; using Quester.QuestEditor; using UnityEngine; [CreateAssetMenu(fileName = "Asset Map", menuName = "Asset Map")] public class QuesterAssetMap : ScriptableObject { [SerializeField] private List<QuestGraph> _quests; private static Dictionary<int, QuestG...
23.326923
93
0.619126
[ "MIT" ]
nmacadam/Quester
Assets/Scripts/Scriptable Object Definitions/QuesterAssetMap.cs
1,215
C#
namespace VerifyTests; public abstract class WriteOnlyJsonConverter<T> : WriteOnlyJsonConverter { public sealed override void Write(VerifyJsonWriter writer, object value) => Write(writer, (T) value); public abstract void Write(VerifyJsonWriter writer, T value); static Type? nullableType; ...
23.580645
79
0.616963
[ "MIT" ]
SimonCropp/Verify
src/Verify/Serialization/WriteOnlyJsonConverterT.cs
733
C#
namespace Domain.UseCases; [ServiceLifetime(ServiceLifetime.Singleton)] public class PublishQuestionAnsweredEventUseCaseHandler : ICommandHandler<PublishQuestionAnsweredEventUseCase> { private readonly IMediator mediator; public PublishQuestionAnsweredEventUseCaseHandler(IMediator mediator) => this.mediator =...
40.73913
155
0.786553
[ "CC0-1.0" ]
arjangeertsema/hexagonal-architecture
Domain/Domain.UseCases/PublishQuestionAnsweredEventUseCaseHandler.cs
937
C#
namespace RedditBet.Areas.HelpPage.ModelDescriptions { public class EnumValueDescription { public string Documentation { get; set; } public string Name { get; set; } public string Value { get; set; } } }
22.818182
53
0.61753
[ "MIT" ]
robotnoises/rCfb_BetBot
RedditBet.API/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs
251
C#
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace Pathoschild.Stardew.Common.Integrations.Cobalt { /// <summary>The API provided by the Cobalt mod.</summary> public interface ICobaltApi { /********* ** Public methods *********/ /// <summary>Get the c...
30.8
84
0.646104
[ "MIT" ]
Alexhia/StardewMods
Common/Integrations/Cobalt/ICobaltApi.cs
616
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Core { [JsiiByValue(fqn: "@alicloud/ros-cdk-core.RemovalPolicyOptions")] public class RemovalPolicyOptions : AlibabaCloud.SDK.ROS.CDK.Core.IRemovalPolicyOptions { [JsiiOptional] ...
30.444444
127
0.636253
[ "Apache-2.0" ]
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Core/AlibabaCloud/SDK/ROS/CDK/Core/RemovalPolicyOptions.cs
822
C#
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Mozu.Api.Resources.Platform; using Mozu.Api.Test.Factories.Platform; using Mozu.Api.Test.Factories.Platform.Entitylists; using Mozu.Api.Test.Helpers; us...
36.239437
190
0.648853
[ "MIT" ]
GaryWayneSmith/mozu-dotnet
Mozu.Api.Test/MsTestCases/TenantDataTest.cs
5,148
C#
using System; using System.IO; using Microsoft.WindowsAzure.Storage; using Rebus.Exceptions; namespace Rebus.AzureStorage.Tests { public static class AzureConfig { public static CloudStorageAccount StorageAccount => CloudStorageAccount.Parse(ConnectionString); public static string ConnectionS...
33.666667
152
0.628452
[ "MIT" ]
micdah/Rebus.AzureStorage
Rebus.AzureStorage.Tests/TestConfig.cs
1,921
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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
34.647059
145
0.683079
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/DispDOMUIEventTests.cs
1,769
C#
#region license // Copyright (c) 2007-2010 Mauricio Scheffer // // 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 requir...
41.255396
130
0.522365
[ "Apache-2.0" ]
630383257/SolrNet
SolrNet/Impl/ResponseParsers/FacetsResponseParser.cs
11,473
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
32.344538
103
0.577553
[ "MIT" ]
Avd6977/squidex
src/Squidex.Infrastructure/EventSourcing/Grains/EventConsumerManagerGrain.cs
3,852
C#
using System; class DeclareVariables { static void Main() { byte apples = 97; sbyte pearhes = -115; short pears = -10000; ushort blueberries = 52130; uint strowberries = 4825932; Console.WriteLine("In my life I eat " + apples + " apples " + pearhes + " pearch...
24.666667
195
0.556306
[ "MIT" ]
Roskataa/Telerik-Homework-C-Part-1
Primitive Data Types and Variables/01.Declare Variables/DeclareVariables.cs
446
C#
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Axiverse.Services.Proto; using Grpc.Core; namespace Axiverse.Services.ChatService { public class ChatServiceImpl : Proto.ChatServic...
32.240506
143
0.543384
[ "MIT" ]
AxiverseCode/Axiverse
Source/Services/Axiverse.Services.ChatService/ChatServiceImpl.cs
2,549
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace P0_AndresOrozco.Migrations { public partial class m0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "customers", ...
36.823529
77
0.476038
[ "MIT" ]
12142020-dotnet-uta/AndresOrozcoRepo1
P0_Store_Application/P0_AndresOrozco/Migrations/20201229212113_m0.cs
3,758
C#
using JetBrains.Annotations; using JetBrains.Application.Threading; using JetBrains.DocumentManagers; using JetBrains.DocumentManagers.Transactions; using JetBrains.DocumentModel; using JetBrains.DocumentModel.Impl; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.RdBackend.Common.Features.Docum...
42.790123
126
0.651183
[ "Apache-2.0" ]
JetBrains/resharper-unity
resharper/resharper-unity/src/Rider/RiderUnitySharedFilesSavingSuppressor.cs
3,466
C#
using System; using OnlineChessCore.Game.Board; using OnlineChessCore.Game.Events.Args; using OnlineChessCore.Game.Pieces; namespace OnlineChessCore.Game.Events { public class GameEvents { public event EventHandler<PieceTakenOverArgs> PieceTakenOver; protected virtual void OnPieceTake...
32.822222
130
0.657414
[ "MIT" ]
KYPremco/ChessCore
Game/Events/GameEvents.cs
1,479
C#
namespace HwProj.CourseWorkService.API.Models.DTO { public class OverviewApplicationDTO { public long Id { get; set; } public long CourseWorkId { get; set; } public string CourseWorkTitle { get; set; } public string StudentName { get; set; } public int StudentGroup { g...
23.8125
51
0.614173
[ "MIT" ]
InteIIigeNET/HwProj-2.0.1
HwProj.CourseWorkService/HwProj.CourseWorkService.API/Models/DTO/OverviewApplicationDTO.cs
383
C#
using System; namespace Wox.Infrastructure { [Obsolete("This class is obsolete and should not be used. Please use the static function StringMatcher.FuzzySearch")] public class FuzzyMatcher { private string query; private MatchOption opt; private FuzzyMatcher(string query, MatchOpt...
25.666667
121
0.605667
[ "MIT" ]
01DKAC/PowerToys
src/modules/launcher/Wox.Infrastructure/FuzzyMatcher.cs
849
C#
using System; namespace IFY.Phorm.Connectivity { /// <summary> /// Handles provision of existing or new <see cref="IPhormDbConnection"/> instances. /// </summary> public interface IPhormDbConnectionProvider { /// <summary> /// Allow subscribers to perform actions when a connection ...
34.608696
105
0.650754
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
IFYates/Phorm
src/IFY.Phorm/Connectivity/IPhormDbConnectionProvider.cs
798
C#
using ExitGames.Client.Photon; using ExitGames.Client.Photon.Lite; using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using UnityEngine; internal class NetworkingPeer : LoadbalancingP...
42.707424
335
0.497378
[ "MIT" ]
Jagerente/RCFixed
Source/NetworkingPeer.cs
136,922
C#
namespace RdcMan { internal class PluginContext : IPluginContext { IMainForm IPluginContext.MainForm => Program.TheForm; IServerTree IPluginContext.Tree => ServerTree.Instance; } }
19.8
58
0.742424
[ "MIT" ]
jiangfangzheng/RDCMan-mod
RdcMan/ConfigForm/PluginContext.cs
198
C#
using Bj.Essentials.Entities; using Bjx.WCF.Contracts; using System; using System.Collections.Generic; using System.ServiceModel; namespace Bj.Essentials.Proxies { public class HoldReasonClient : ClientBase<IHoldReasonService>, IHoldReasonService { public IEnumerable<HoldReason> GetAll(string company) ...
26.2
86
0.653435
[ "BSD-3-Clause" ]
brownjordaninternational/OrchardCMS
src/Orchard.Web/Modules/Entiat.CustomSettings/HoldReasonClient.cs
655
C#
#region Imports using System; using System.Data; using System.Linq; #endregion namespace CrazyflieDotNet.Crazyflie.TransferProtocol { /// <summary> /// Commander Payload Format: /// Name | Index | Type | Size (bytes) /// roll 0 float 4 /// pitch 4 float ...
28.697368
167
0.638545
[ "MIT" ]
SupraBitKid/CrazyflieDotNet
CrazyflieDotNet/Source/CrazyflieDotNet.Crazyflie/TransferProtocol/CommanderPacketPayload.cs
6,543
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace DemLib { public class Ribbon { private Dictionary<int, Color> mRibbon = null; private int step = 0; public int Step { set { step = value; } ...
36.27027
95
0.477645
[ "Apache-2.0" ]
henshin123/dem-
DemLib/Ribbon.cs
2,686
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p2.Pisp.Models { using Microsoft.Rest; using Newton...
47.340517
957
0.642174
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p2/Pisp/Models/OBWriteInternationalScheduledResponse3Data.cs
10,983
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.Collections.Immutable; using System.Composition; using StarkPlatform.Compiler.AddMissingImports; using StarkPlatform.Compiler.Stark.AddImport; u...
44.470588
161
0.822751
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Stark.Features/AddImport/CSharpAddMissingImportsFeatureService.cs
758
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...
82.071429
1,358
0.748912
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/Consent_codeSystem.cs
2,298
C#
#nullable enable using System; using System.Dynamic; using DevToys.Core; using DevToys.Models; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using YamlDotNet.Core; using YamlDotNet.Serialization; namespace DevToys.Helpers.JsonYaml { internal static class YamlHelper { /// <summary> /// De...
29.191304
119
0.467084
[ "MIT" ]
DDC-NDRS/DevToys
src/dev/impl/DevToys/Helpers/JsonYaml/YamlHelper.cs
3,359
C#
using System; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using StatusGeneric; namespace GenericServices.Unity { /// <summary> /// This is the sync interface to CrudServicesAsync, which assumes you have one DbContext which the CrudServic...
77.106061
188
0.68373
[ "MIT" ]
JanKupke1/EfCore.GenericServices.Unity
GenericServices/ICrudServicesAsync.cs
10,180
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("Sh...
38.135135
84
0.746279
[ "MIT" ]
kalinalazarova1/SharedWeekends
SharedWeekends.Data/Properties/AssemblyInfo.cs
1,414
C#
//-------------------------------------------------- // <copyright file="FileLogger.cs" company="Magenic"> // Copyright 2020 Magenic, All rights Reserved // </copyright> // <summary>Writes event logs to plain text file</summary> //-------------------------------------------------- using Magenic.Maqs.Utilities.Data; u...
38.987179
164
0.544722
[ "MIT" ]
BrannenGH/MAQS
Framework/Utilities/Logging/FileLogger.cs
6,084
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Mvc; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Models.Editors; using Umbraco.Core.Services; using Umbraco.We...
40.239583
145
0.555397
[ "MIT" ]
melispalaz/Umbraco-CMS
src/Umbraco.Web/Editors/ContentControllerBase.cs
7,726
C#
namespace FootballTeamGenerator.Commands { using System.Linq; public class CommandParser { public Command Parse(string input) { var inputParts = input.Split(";"); var name = inputParts[0]; var arguments = inputParts.Skip(1).ToArray(); return...
21.705882
57
0.569106
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-OOP/Homeworks-And-Labs/03EncapsulationExercise/05FootballTeamGenerator/Commands/CommandParser.cs
371
C#
// SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium // SPDX-License-Identifier: Apache License 2.0 using Monai.Deploy.Messaging.Common; namespace Monai.Deploy.WorkflowManager.PayloadListener.Services { public interface IEventPayloadReceiverService { /// <summary> /// Receives a workflow m...
37.8
94
0.687831
[ "Apache-2.0" ]
Project-MONAI/monai-deploy-workflow-manager
src/PayloadListener/Services/IEventPayloadRecieverService.cs
948
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.493333
153
0.615783
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/Vendor.cs
6,374
C#
namespace Epi.Windows.ImportExport.Dialogs { partial class ProjectUpgradeDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being use...
50.146617
163
0.58745
[ "Apache-2.0" ]
Epi-Info/Epi-Info-Community-Edition
Epi.Windows.ImportExport/Dialogs/ProjectUpgradeDialog.Designer.cs
13,339
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...
59.097222
323
0.672033
[ "MIT" ]
AlanFlorance/azure-powershell
src/Kusto/generated/api/Models/Api20220201/EndpointDetail.PowerShell.cs
8,367
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.820755
81
0.586523
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20160810/Outputs/VMNicDetailsResponse.cs
3,161
C#
using System.Linq; namespace TorrentExtractor.Qbittorrent.ConsoleApp.Helpers { public static class ArgsHelper { public static string[] RemoveEmptyArgs(string[] args) { for (var index = 0; index < args.Length; index++) { if (!args[index].StartsWith("-")) ...
29.5
83
0.437288
[ "MIT" ]
plneto/TorrentExtractor
src/TorrentExtractor.Qbittorrent.ConsoleApp/Helpers/ArgsHelper.cs
887
C#
using System; using Android.Content; using Android.Widget; namespace MonoDroid.Dialog { public class DialogHelper { private Context context; private RootElement formLayer; //public event Action<Section, Element> ElementClick; //public event Action<Section, Element> ElementLong...
30.661017
105
0.585406
[ "MIT" ]
drubin/c-sharp
mono-for-android/3.4/Pubnub-Messaging/MonoDroid.Dialog/DialogHelper.cs
1,811
C#
// <copyright> // Copyright by the Spark Development Network // // Licensed under the Rock Community License (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.rockrms.com/license // // Unless required by applicable law or ag...
45.540557
206
0.534141
[ "Apache-2.0" ]
KingdomFirst/RockBlocks
Cms/PublicProfileEdit.ascx.cs
75,235
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...
47.637097
178
0.682241
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Organizations/Generated/Model/HandshakeNotFoundException.cs
5,907
C#
namespace EDiary.Services.Mapping { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using AutoMapper; using AutoMapper.Configuration; public static class AutoMapperConfig { private static bool initialized; public static IMap...
35.305556
99
0.468135
[ "MIT" ]
markodjunev/E-Diary
EDiary/Services/EDiary.Services.Mapping/AutoMapperConfig.cs
3,815
C#
namespace GameDesingerTools { partial class TabExport { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如...
54.401408
169
0.634434
[ "MIT" ]
RivenZoo/FullSource
Jx3Full/Source/Source/Tools/GameDesignerEditor/GameDesignerTools/MainFrame/TabExport.Designer.cs
7,792
C#
namespace SharpHook; using SharpHook.Native; /// <summary> /// Represents an object which can simulate keyboard and mouse events. /// </summary> /// <remarks> /// The methods of this interface correspond to constants defined in the <see cref="EventType" /> enum. /// </remarks> public interface IEventSimulator { /...
40.676471
119
0.660882
[ "MIT" ]
Luxusio/SharpHook
SharpHook/IEventSimulator.cs
2,766
C#
using Microsoft.Extensions.Options; using Microsoft.VisualStudio.TestTools.UnitTesting; using MigrationTools.DataContracts; namespace MigrationTools.Endpoints.Tests { [TestClass()] public class FileSystemWorkItemEndpointTests { [TestMethod] public void ConfiguredTest() { ...
42.367925
143
0.631931
[ "MIT" ]
GitMje/azure-devops-migration-tools
src/MigrationTools.Clients.FileSystem.Tests/Endpoints/FileSystemWorkItemEndpointTests.cs
4,493
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Web; using Microsoft.AspNetCore.Cryptography.KeyDerivation; namespace AD_Services { public class EncryptionDecryption : Dictionary<string, string> { ...
35.28
161
0.535525
[ "MIT" ]
99s/Airlines_API_Demo_Base
AD_API_CORE/AD_Services/EncryptionDecryption.cs
10,586
C#
using System.Collections.Generic; using EvansDiary.Interfaces; namespace EvansDiary.Web.ViewModels { public class FamilyViewModel { public IEnumerable<IAssociatedImage> Images { get; set; } } }
21.4
65
0.733645
[ "MIT" ]
emzyme20/evansdiary
EvansDiary.Web/ViewModels/FamilyViewModel.cs
214
C#
/* * Mock Server API * * MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby and a simple REST API (as shown below). MockServer Proxy is a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Fo...
37.257576
599
0.579504
[ "MIT" ]
bangush/mockserverclient
mockserver.client.net/Model/HttpClassCallback.cs
4,918
C#
//------------------------------------------------------------ // Author: 烟雨迷离半世殇 // Mail: 1778139321@qq.com // Data: 2019年4月27日 11:25:25 //------------------------------------------------------------ using libx; using UnityEngine; namespace ETModel { [ObjectSystem] public class FUICheckForResUpdateComponentS...
35.836066
134
0.532937
[ "MIT" ]
mosheepdev/NKGMobaBasedOnET
Unity/Assets/Model/NKGMOBA/FairyGUI/System/FUICheckForResUpdate/FUICheckForResUpdateComponentStartSystem.cs
2,284
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...
30.013158
109
0.624726
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/GetFindingsResponse.cs
2,281
C#
using System; namespace UberStrok.Core.Views { [Serializable] public class BasicClanView { public BasicClanView() { } public int GroupId { get; set; } public int MembersCount { get; set; } = 50; public string Description { get; set; } public stri...
24.478261
53
0.401066
[ "MIT" ]
PoH98/uberstrok
src/UberStrok.Core.Views/BasicClanView.cs
2,817
C#
using System.Collections.Generic; using System.Linq; using Pulse.Domain.EntryItems.Entities; using Pulse.Web.Controllers.Patients.ResponseModels; namespace Pulse.Web.Extensions { public static class SourceTextInfoExtensions { public static IList<SourceTextInfo> ToSourceTextInfoList(this IEnum...
31.405405
107
0.468589
[ "Apache-2.0" ]
rowellx68/PulseTile-React
api/Pulse.Web/Extensions/SourceTextInfoExtensions.cs
2,326
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
32.066667
107
0.686071
[ "Apache-2.0" ]
AppliedSystems/IdentityServer3
source/Core/Results/WelcomeActionResult.cs
1,926
C#
using System; using System.Collections.Generic; using GSM.Software; namespace GSM.Tests.Software { class CallHistoryTest : Test { // Private Fields private readonly CallHistory callHistory = null; // Constructors public CallHistoryTest(CallHistory callHistory) { ...
27.186441
103
0.581671
[ "MIT" ]
trinityimma/TelerikAcademy
Programming/3.ObjectOrientedProgramming/1.DefiningClassesPartOne/1.GSM.Tests/Software/CallHistoryTest.cs
1,604
C#
using Common.Logging; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Discount.Grpc.Extensions; using Serilog; namespace Discount.Grpc { public class Program { public static void Main(string[] args) { var host = CreateHostBuilder(args).Build(); ...
32.172414
136
0.628081
[ "MIT" ]
rahulsahay19/Ecommerce-ASPNet
src/Services/Discount/Discount.Grpc/Program.cs
933
C#
using System; using System.Text; using System.Windows.Controls; using ICSharpCode.AvalonEdit; using ConscriptDesigner.Control; using ConscriptDesigner.Anchorables; using System.IO; namespace ConscriptDesigner.Content { /// <summary>A content file representing .conscript extension.</summary> public class ContentScri...
26.370213
82
0.547846
[ "MIT" ]
trigger-death/ZeldaOracle
ZeldaOracle/ConscriptDesigner/Content/ContentScript.cs
6,199
C#
#region License /* * Ext.cs * * Some parts of this code are derived from Mono (http://www.mono-project.com): * - GetStatusDescription is derived from HttpListenerResponse.cs (System.Net) * - IsPredefinedScheme is derived from Uri.cs (System) * - MaybeUri is derived from Uri.cs (System) * * The MIT License * *...
31.243867
100
0.551582
[ "Apache-2.0" ]
UMI3D/UMI3D-Tangram
Projet-Tangram/Assets/UMI3D SDK/dependencies/websocket-sharp-master/websocket-sharp/Ext.cs
63,675
C#
#pragma checksum "C:\Users\djree\source\repos\RobofestOSS\RobofestOSSWeb\RobofestWTECore\Areas\Identity\Pages\Account\Manage\DownloadPersonalData.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e3c13bd0255fd370ccd5c5aaf6bd29ffae443e28" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.Asp...
63.106061
312
0.7503
[ "MIT" ]
HDLOfficial/RobofestOSSWeb
RobofestWTECore/obj/Release/netcoreapp2.1/Razor/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.g.cs
8,330
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DomainModel { public class PostLinks { public int PostId { get; set; } public int LinkedPost { get; set; } } }
18.733333
44
0.644128
[ "MIT" ]
Rmood/SOVA
DomainModel/PostLinks.cs
283
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { public partial class NotificationGroupType : Object { /// <summary> /// A group containing notifications of ty...
32.058824
207
0.553211
[ "MIT" ]
YogurtTheHorse/tdsharp
TDLib.Api/Objects/NotificationGroupTypeMentions.cs
1,090
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum EnemyState { walk, attack, stagger, die } public class Enemy : MonoBehaviour { [HideInInspector]public EnemyState CurrentState; [Header("Movement and attack variables")] public float M...
26.695876
125
0.562464
[ "MIT" ]
exeynod/ml-AI
Assets/Scripts/Enemy/Enemy.cs
5,181
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 "li...
35.223684
102
0.553978
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DescribeInternetGatewaysRequest.cs
5,354
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; namespace Kernys.Bson { public class BSONValue { public enum ValueType { Double, String, Array, Binary, Bool...
28.689258
125
0.460575
[ "MIT" ]
cuekYT/GTproxy
Kernys.Bson/SimpleBSON.cs
22,437
C#
//----------------------------------------------------------------------- // <copyright file="TestSubscriber.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> /...
41.361818
186
0.523759
[ "Apache-2.0" ]
Bogdan-Rotund/akka.net
src/core/Akka.Streams.TestKit/TestSubscriber.cs
22,751
C#
using J2N.Threading; using J2N.Threading.Atomic; using Lucene.Net.Analysis.Standard; using Lucene.Net.Documents; using Lucene.Net.Index.Extensions; using Lucene.Net.Store; using Lucene.Net.Support.Threading; using Lucene.Net.Util; using NUnit.Framework; using RandomizedTesting.Generators; using System; using System.Co...
40.049751
197
0.574012
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
40,252
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...
42.464286
188
0.626156
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/PolicyInsights/Latest/RemediationAtResourceGroup.cs
7,134
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> //---...
46.538462
143
0.67438
[ "MIT" ]
Ultz/BeagleFramework
Ultz.BeagleFramework.MySql/obj/Debug/netstandard2.0/Ultz.BeagleFramework.MySql.AssemblyInfo.cs
1,210
C#
using Core.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Core.DataAccess { public interface IEntityRepository<T> where T : class, IEntity, new() { // CRUD Operations void Ad...
24.619048
73
0.669246
[ "MIT" ]
tuncerrstm/ReCapProject
Core/DataAccess/IEntityRepository.cs
519
C#
#region License // Copyright 2015-2021 John Källén // // 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 a...
24.766667
76
0.491252
[ "Apache-2.0" ]
amwsaq/pytocs
src/Core/CodeModel/IndentingTextWriter.cs
3,717
C#
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_EDITOR || !UNITY_FLASH #define REFLECTION_SUPPORT #endif #if REFLECTION_SUPPORT using System.Reflection; using System.Diagnost...
19.603365
111
0.638627
[ "MIT" ]
741645596/batgame
Assets/NGUI/Scripts/Internal/PropertyReference.cs
8,156
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 System; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Game.Online.Roo...
35.630952
122
0.632142
[ "MIT" ]
1uws/osu
osu.Game/Screens/OnlinePlay/OnlinePlayComposite.cs
2,910
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace Switcher.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // ap...
31.375
95
0.749004
[ "MIT" ]
Zyver-Meeps/Switcher.Old
Switcher/Switcher.iOS/AppDelegate.cs
1,006
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
38.30137
151
0.669528
[ "MIT" ]
ClarkThyLord/Ti-poll
Ti-poll/Ti-poll/Profile.xaml.cs
2,798
C#
using System.ComponentModel; namespace EtherCATMaster { /// <summary> /// 軸狀態編號。 /// </summary> public enum AxisStates { /// <summary> /// 軸尚未啟用。 /// </summary> [Description("軸尚未啟用。")] MC_AS_DISABLED = 0, /// <summary> /// 軸啟用且為停止狀態,準備接收新的運動命...
24.929825
51
0.478536
[ "BSD-3-Clause" ]
Muzsor/MicroIPC
EtherCATMaster/Enum/AxisStates.cs
1,883
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using UAlbion.Api; namespace UAlbion.TestCommon { public class MockFileSystem : IFileSystem { static readonly char[] Separa...
35.820513
148
0.51885
[ "MIT" ]
Metibor/ualbion
src/Tests/UAlbion.TestCommon/MockFileSystem.cs
8,384
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("Lib...
37.833333
84
0.751836
[ "MIT" ]
ArnaudovSt/LibrarySystem
LibrarySystem/LibrarySystem.Web/Properties/AssemblyInfo.cs
1,365
C#
using System; using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Markup; namespace Wpf.Controls { /// <summary> /// Implemetation of a Split Button /// </summary> [TemplatePart(Name = "PART_DropDo...
36.458781
220
0.583956
[ "Apache-2.0" ]
mcleo-d/SFE-Minuet-DesktopClient
minuet/Paragon.Runtime/WPF/Download/SplitButton.cs
10,174
C#
using UnityScreenNavigator.Runtime.Foundation.AssetLoader; namespace Demo.Scripts { public class DemoAssetLoader : AssetLoaderObject { private readonly ResourcesAssetLoader _loader = new ResourcesAssetLoader(); public override AssetLoadHandle<T> Load<T>(string key) { return...
26.413793
83
0.625326
[ "MIT" ]
Haruma-K/UnityScreenNavigator
Assets/Demo/Scripts/DemoAssetLoader.cs
766
C#
namespace BUR_UI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name=...
53.713015
172
0.621358
[ "MIT" ]
cnswico/PLM-BUS-UI
BUR_UI/Form1.Designer.cs
114,734
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using SecondChanceParts.Web.Data; using SecondChanceParts.Web.Models; namespace SecondChancePar...
29.043478
104
0.633982
[ "Apache-2.0" ]
Appdynamics/appd-azure-workshop
labs/app-services/src/SecondChanceParts.Web/Pages/Cart/Create.cshtml.cs
1,336
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regener...
40.851852
87
0.590209
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
HatfieldConsultants/Hatfield.EnviroData.Core
Source/Hatfield.EnviroData.Core/TaxonomicClassifierExternalIdentifier.cs
1,103
C#
using Tamir.SharpSsh.java.io; namespace Tamir.Streams { /// <summary> /// Summary description for InputStreamWrapper. /// </summary> public class InputStreamWrapper : InputStream { System.IO.Stream s; public InputStreamWrapper(System.IO.Stream s) { this.s = s; } public override int Re...
19.136364
65
0.650831
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
linux-distro/package/nuxleus/Source/Vendor/sharpssh/SharpSSH/java/io/InputStreamWrapper.cs
421
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Xml.Schema; using System.Xml.Serialization; namespace ES2.Amplitude.Xml.Serialization { /// <remarks/> [GeneratedCode("xsd", "2.0.50727.3038")] [Serializable] [DebuggerStepThro...
19.311688
70
0.70881
[ "MIT" ]
Scrivener07/Endless-Studio
Source/Studio.ES2/Amplitude/Xml/Serialization/XmlAttributeOverride.cs
1,489
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...
42.979381
178
0.648837
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/InvalidWebACLIdException.cs
4,169
C#
namespace Example { using OpenTK.Input; using System; using Zenseless.ExampleFramework; class Controller { [STAThread] private static void Main() { var window = new ExampleWindow(); var visual = new MainVisual(window.RenderContext.RenderState, window.ContentLoader); window.GameWindow.MouseMove += ...
26.482759
108
0.68099
[ "Apache-2.0" ]
amadron/FinalProject_ShaderProg
examples/SHADER/07 - CameraTransformation/CameraTransformationExample.cs
770
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 WindowsInput.Native; using Xunit; using Xunit.Abstractions; namespace System.Windows.Forms.UITests { pub...
37.176471
126
0.605222
[ "MIT" ]
DmitryGorokhov/winforms
src/System.Windows.Forms/tests/IntegrationTests/UIIntegrationTests/PrintPreviewDialogTests.cs
3,794
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using ScadaIssuesPortal.Core.Entities; using System; namespace ScadaIssuesPortal.Data.Configurations { public class ReportingCaseCommentConfiguration : IEntityTypeConfiguration<ReportingCaseComment> { public vo...
30.190476
99
0.664038
[ "MIT" ]
nagasudhirpulla/wrldc_scada_issues_portal
src/WrldcScadaIssuesPortal/ScadaIssuesPortal.Data/Configurations/ReportingCaseCommentConfiguration.cs
636
C#
using Alabo.Web.Mvc.Attributes; using System.ComponentModel.DataAnnotations; namespace Alabo.App.Share.Rewards.Domain.Enums { /// <summary> /// 产品限制方式 /// </summary> [ClassProperty(Name = "产品限制方式")] public enum ProductLimitType { /// <summary> /// 产品线范围内 /// </s...
23.538462
48
0.545752
[ "MIT" ]
tongxin3267/alabo
src/03.app/01-Alabo.App.Share/Rewards/Domain/Enums/ProductLimitType.cs
690
C#
namespace ModelDownloader.Configuration { public class PluginConfig { public virtual bool BlurNSFWImages { get; set; } = true; public virtual bool DisableWarnings { get; set; } = false; public virtual bool AutomaticallyGeneratePreviews { get; set; } = false; public virtual strin...
33.727273
80
0.663073
[ "MIT" ]
ErisApps/ModelDownloader
ModelDownloader/Configuration/PluginConfig.cs
373
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> ...
32.709677
148
0.607495
[ "MIT" ]
retrodump/Wintermute-Engine
src/Tests/WrapperTest/WrapperTest/Properties/Settings.Designer.cs
1,016
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class VectorTest : MonoBehaviour { public GameObject p0; public GameObject p1; public GameObject p2; // Start is called before the first frame update void Start() { } // Update is called on...
28.190476
158
0.610923
[ "MIT" ]
SiTae9317/FittingTest
Assets/Scripts/VectorTest.cs
1,778
C#
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; namespace Bitbird.Core.Tasks { public class AsyncTimer : IDisposable { private readonly TimeSpan initialDelay; private readonly TimeSpan interval; private readonly bool a...
32.530516
114
0.502814
[ "MIT" ]
bitbird-dev/Bitbird.Core
Bitbird.Core/Tasks/AsyncTimer.cs
6,931
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace EntityFrameworkCore.Jet.IntegrationTests.Model20_HiddenBackingField { public interface IEntity { int Id...
24.450704
77
0.569124
[ "Apache-2.0" ]
MichaelSteinecke/EntityFrameworkCore.Jet
test/EFCore.Jet.IntegrationTests/Model20_HiddenBackingField/Model.cs
1,738
C#
namespace Twitch.Net.Enums { public enum SearchType { suggest } }
10.875
27
0.574713
[ "Apache-2.0" ]
gibletto/twitch.net
Twitch.Net/Enums/SearchType.cs
89
C#
// ----------------------------------------------------------------------- // <copyright file="FunctionAuthCacheRefreshEventHandler.cs" company="OSharp开源团队"> // Copyright (c) 2014-2018 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <las...
31.909091
107
0.549858
[ "Apache-2.0" ]
2012desuming/osharp
src/OSharp.Permissions/Security/Events/FunctionAuthCacheRefreshEventHandler.cs
2,188
C#
using Chiota.ViewModels.Classes; namespace Chiota.ViewModels { using System; using System.Threading.Tasks; using System.Windows.Input; using Chiota.Models; using Chiota.Views; using Xamarin.Forms; public class CheckSeedStoredViewModel : BaseViewModel { public Action DisplayInvalidSeedPrompt; ...
21.227273
91
0.615275
[ "MIT" ]
Felandil/Chiota
Chiota/Chiota/ViewModels/CheckSeedStoredViewModel.cs
1,403
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("zimuku")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct...
25.054054
56
0.713053
[ "Apache-2.0" ]
Haku-Men/TPlayer
Plugins/zimuku/Properties/AssemblyInfo.cs
1,268
C#
using System; using System.Collections.Generic; namespace NetOpnApi { /// <summary> /// A common interface for parameter sets. /// </summary> public interface IParameterSet { /// <summary> /// Get a list of parameters to add to the request URL. /// </summary> /// <r...
29.083333
95
0.573066
[ "MIT" ]
barkerest/NetOpnApi
NetOpnApi/IParameterSet.cs
1,049
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using PdfSharp.Drawing; using PdfSharp.Pdf; using Scarif_DS_1.exceptions; namespace Scarif_DS_1.modulos.Create { //Classe da Funcionalidade criar public class CreateMod : IModel { private string _pathDestino; ...
34.787671
125
0.478047
[ "MIT" ]
Cheebaccas-Team/scarif-ds-1
Scarif DS-1/modulos/Create/CreateMod.cs
10,169
C#