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.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MobileOperator { class MobileOperator { static void Main(string[] args) { string duration = Console.ReadLine(); string contractType = Console.Re...
25.964286
57
0.339294
[ "MIT" ]
bodyquest/SoftwareUniversity-Bulgaria
Programming Basics C# Sept2018/EXAMS/2017-Sept-EXAM/MobileOperator/MobileOperator.cs
2,183
C#
using System.Web; using EPiServer.Web; namespace Foundation.Features.Preview { public class PartialViewDisplayChannel : DisplayChannel { public const string PartialViewDisplayChannelName = "Partial View Preview"; public override string ChannelName => PartialViewDisplayChannelName; pu...
27.857143
83
0.748718
[ "Apache-2.0" ]
eripe/foundation-mvc-cms
src/Foundation/Features/Preview/PartialViewDisplayChannel.cs
392
C#
namespace FavLocations.Properties { // This class allows you to handle specific events on the settings class: // The SettingChanging event is raised before a setting's value is changed. // The PropertyChanged event is raised after a setting's value is changed. // The SettingsLoaded event i...
42.448276
114
0.657189
[ "MIT" ]
Anindra123/FavLocations
FavLocations/Settings.cs
1,233
C#
using System; using System.Collections.Generic; using System.Configuration.Provider; namespace Candor.Sample { public abstract class LocationProvider : ProviderBase { /// <summary> /// retrieve an existing location details by the identity. /// </summary> /// <param name="locati...
32.413793
94
0.595745
[ "MIT" ]
michael-lang/sample-ng2-mvc
Candor.Sample/LocationProvider.cs
942
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...
34.388235
108
0.63428
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/CloudTrail/Generated/Model/CancelQueryRequest.cs
2,923
C#
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Concurrency; using Microsoft.Azure.IoTSolutions.DeviceSimulation.Serv...
37.793478
113
0.623814
[ "MIT" ]
ZeroInfinite/device-simulation-dotnet
SimulationAgent/SimulationThreads/UpdatePropertiesTask.cs
3,479
C#
namespace CleanArchitecture.Core.Services { public class SomeDomainService { // TODO: This would handle operations involving multiple aggregates or entities } }
22.75
87
0.725275
[ "MIT" ]
1-NET-CORE-BASES/CleanArchitecture
src/CleanArchitecture.Core/Services/SomeDomainService.cs
184
C#
namespace MDManagement.Common { public static class DataValidations { public static class Adress { public const int AddressMaxLength = 150; } public static class Company { public const int NameMaxLength = 30; public const int Descript...
25.869565
78
0.560504
[ "MIT" ]
Mirkoniks/MDManagement
MDManagement.Common/DataValidations.cs
1,192
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.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.CodeAnalysis.Un...
35.090909
160
0.737478
[ "Apache-2.0" ]
amcasey/roslyn-analyzers
src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/UriReturnValuesShouldNotBeStringsTests.Fixer.cs
1,158
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...
47.683761
142
0.591235
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20180701/VirtualHub.cs
11,158
C#
namespace QOAM.Website.Helpers { using System.Web.Security; public interface IMembership { bool ValidateUser(string username, string password); bool DeleteUser(string username, bool deleteAllRelatedData); MembershipCreateStatus CreateUser(string username, string password, string ...
26.933333
90
0.725248
[ "MIT" ]
QOAM/qoam
src/Website/Helpers/IMembership.cs
406
C#
using BlazorApp.Context; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace BlazorApp.Server { public class Startup {...
27.33871
107
0.576401
[ "Apache-2.0" ]
JadedEric/fun-with-blazor
BlazorApp/Server/Startup.cs
1,695
C#
using System.Collections.Generic; using System.Linq; using RestSharp; namespace Indicia.HubSpot.Support { internal static class RestRequestExtensions { public static void AddQueryParameters(this RestRequest request, IDictionary<string, string> queryParameters) { if (queryParameters...
27.227273
116
0.614357
[ "MIT" ]
IndiciaConnectivity/Indicia.HubSpot
Indicia.HubSpot/Support/RestRequestExtensions.cs
601
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace CodeBuilder.Util.Test { public class LoggerTest { private static Logger logger; [SetUp] public void Setup() { logger = InternalTrace.GetLogger(typ...
18.128205
65
0.519095
[ "MIT" ]
ijlynivfhp/CodeBuilder
CodeBuilder.Framework.Test/Util/Logging/LoggerTest.cs
709
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...
32.761194
208
0.603417
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Resources/V20210501/GetTemplateSpecVersion.cs
4,390
C#
using System; using System.Linq; using Android.App; using Android.Graphics; using Android.Runtime; using Com.Google.Android.Exoplayer2; using Com.Google.Android.Exoplayer2.UI; using MediaManager.Media; namespace MediaManager.Platforms.Android.Media { public class MediaDescriptionAdapter : Java.Lang.Object, Player...
31.6
111
0.718706
[ "MIT" ]
mr5z/XamarinMediaManager
MediaManager/Platforms/Android/Media/MediaDescriptionAdapter.cs
1,424
C#
using UnityEditor; using UnityEditor.SceneManagement; using UnityEngine; [InitializeOnLoad] public static class DefaultSetup { const string k_NewSceneFolderParent = "Assets/Creator Kit - Puzzle/Scenes"; const string k_NewSceneFolderName = "UserCreated"; const string k_NewSceneFolder = k_NewSceneFolderPare...
30.733333
115
0.68872
[ "MIT" ]
tianxiawuzhei/unitystudy
Puzzle/PuzzleStudy/Assets/Creator Kit - Puzzle/Scripts/Editor/DefaultSetup.cs
1,846
C#
#if DEBUG using System; using System.Globalization; using System.IO; using System.Text; using System.Threading; using NUnit.Framework; namespace DevExpress.Logify.Core.Internal.Tests { [TestFixture] public class AttachmentsCollectorTests : CollectorTestsBase { AttachmentsCollector collector; A...
40.20339
199
0.604975
[ "MIT" ]
cghersi/UWPExamples
TestARM64/Logify.Alert.Core/Tests/Collectors/AttachmentsCollectorTests.cs
2,374
C#
namespace Textorizer.Html { internal readonly struct TokenInfo { public readonly int ElementDepth; public readonly Token Token; public TokenInfo(int elementDepth, Token token) { ElementDepth = elementDepth; Token = token; } } }
22.428571
55
0.576433
[ "Unlicense" ]
Ruzzie/Textorizer
source/Textorizer/Html/TokenInfo.cs
316
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
40.059701
146
0.577496
[ "MIT" ]
FosterMichelle/azure-powershell
src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/StopAzureStreamAnalyticsJobCommand.cs
2,620
C#
namespace RemoveVillain { public static class Configuration { public const string ConnectionString = @"Server=.;Database=MinionsDB;Integrated Security = True"; } }
23.125
105
0.702703
[ "MIT" ]
ivanov-mi/SoftUni-Training
05EntityFrameworkCore/01AdoNetIntroduction/06RemoveVillain/Configuration.cs
187
C#
using System.Threading; using System.Threading.Tasks; namespace SmtpServer.Protocol { public sealed class HeloCommand : SmtpCommand { readonly string _domain; /// <summary> /// Constructor. /// </summary> /// <param name="domain">The domain name.</param> public...
29.170732
107
0.584448
[ "MIT" ]
Wirth/SmtpServer
Src/SmtpServer/Protocol/HeloCommand.cs
1,198
C#
using System; using System.Collections.Generic; using System.Text; namespace Flattiverse { /// <summary> /// This exception will be thrown, when the you try to login but are already connected. /// </summary> public class AlreadyConnectedException : InvalidOperationException { in...
25.588235
92
0.652874
[ "MIT" ]
GhostTyper/flattiverse
Connector/Connector/AlreadyConnectedException.cs
437
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("08...
38.405405
84
0.749472
[ "MIT" ]
nellypeneva/SoftUniProjects
01_ProgrFundamentalsMay/15_Arrays-Lab/08_CondenseArrayToNumber/Properties/AssemblyInfo.cs
1,424
C#
using System; using System.IO; using System.Timers; using ConnectivityLib; using Microsoft.Win32; using ShutdownLib; namespace VxShutdownTimer.GUI.Triggers.DirectoryTrigger { public class DirectoryViewModel:BindableBase { private bool _isRunning, _isEnabled = true; private FileSystemWatcher _w...
29.780172
138
0.495007
[ "Apache-2.0" ]
Hantang0517/Vx-Shutdown-Timer
VxShutdownTimer.GUI/Triggers/DirectoryTrigger/DirectoryViewModel.cs
6,911
C#
namespace Au.More { /// <summary> /// Assembly functions. /// </summary> internal static class AssemblyUtil_ { /// <summary> /// Returns true if the build configuration of the assembly is Debug. Returns false if Release (optimized). /// </summary> /// <remarks> /// Returns true if the assembly has <see ...
41.91954
146
0.685221
[ "MIT" ]
qmgindi/Au
Au/Internal/AssemblyUtil_.cs
3,649
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Concurrent; using System.Collections.Generic; using SixLabors.ImageSharp.Formats; using SixLabors.ImageSharp.Formats.Bmp; using SixLabors.ImageSharp.Formats.Gif; using SixLabors.ImageSharp.Formats.Jpe...
39.798995
132
0.61149
[ "Apache-2.0" ]
IldarKhayrutdinov/ImageSharp
src/ImageSharp/Configuration.cs
7,920
C#
namespace ElearningApp { partial class AddEditCourseView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
55.309917
177
0.643482
[ "MIT" ]
babis200/ElearningApp
ElearningApp/AddEditCourseView.Designer.cs
13,451
C#
/* This is free and unencumbered software released into the public domain. */ using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Conreality SDK for .NET")] [assembly: AssemblyDescription("Conreality Software Development Kit (SD...
33.208333
85
0.772898
[ "Unlicense" ]
conreality/conreality.net
src/Conreality/Properties/AssemblyInfo.cs
797
C#
using System; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Ubiquity.NET.CSemVer; namespace CSemVer.Build.Tasks { public class CreateVersionInfo : Task { [Required] public string BuildMajor { get; set; } [Required] public string BuildMinor { ...
34.294872
146
0.495701
[ "MIT" ]
UbiquityDotNET/CSemVer.GitBuild
src/CSemVer.Build.Tasks/CreateVersionInfo.cs
2,675
C#
/* * MIT License * * Copyright (c) 2017 Michael VanOverbeek and ShiftOS devs * * 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 r...
39.830612
180
0.55941
[ "MIT" ]
Gamer-Gaming/shiftos
ShiftOS.Server/Properties/Resources.Designer.cs
19,517
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; using Orleans; using Orleans.AzureUtils; using Orleans.Runtime; using Orleans.Runtime.Configuration; using Orleans.ServiceBus.Providers; using Orleans.Streams; using Orleans.Tes...
42.271429
166
0.643799
[ "MIT" ]
JingqiaoFu/orleans
test/Tester/StreamingTests/EHStreamPerPartitionTests.cs
5,920
C#
/* * API Doctor * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 w...
44.442495
273
0.521236
[ "MIT" ]
andrueastman/apidoctor
ApiDoctor.Validation/DocFile.cs
68,397
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.ComponentModel; using System.Diagnostics; using Micr...
40.834606
149
0.59403
[ "MIT" ]
ThadHouse/roslyn
src/Features/Core/Portable/Completion/CompletionItem.cs
16,050
C#
using System; using Gtk; namespace Moscrif.IDE.Option { public interface IOptionsPanel { void Initialize (PreferencesDialog dialog, object dataObject); string Label {get;} string Icon {get;} Widget CreatePanelWidget (); bool IsVisible (); bool ValidateChanges (); void ApplyChanges (); void ShowP...
15.857143
64
0.708709
[ "BSD-3-Clause" ]
moscrif/ide
settings/IOptionsPanel.cs
333
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Runtime.CompilerServices; using Comet.Reflection; namespace Comet { public class State<T> : BindingObject { public State(T value) { Value = value; } public State() { } public T Value { get...
19.39726
92
0.65678
[ "MIT" ]
VincentH-Net/Comet
src/Comet/State.cs
1,418
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.Dynamics365.UIAutomation.Browser; using OpenQA.Selenium; namespace Microsoft.Dynamics365.UIAutomation.Api { public class Office365 : XrmPage { public Office365(InteractiveBrowser br...
37.8125
139
0.613636
[ "MIT" ]
CuriositySoftwareIreland/TestModeller-Dynamics365Framework
Framework/Microsoft.Dynamics365.UIAutomation.Api/Pages/Office365.cs
2,422
C#
namespace MAVN.Service.CustomerAPI.Models.ConversionRate { public class BurnRuleConversionRateRequestModel: ConversionRateRequestModel { public string BurnRuleId { get; set; } } }
25.125
79
0.746269
[ "MIT" ]
HannaAndreevna/MAVN.Service.CustomerAPI
src/MAVN.Service.CustomerAPI/Models/ConversionRate/BurnRuleConversionRateRequestModel.cs
203
C#
using System; using System.Linq; using Realms; using Toggl.Multivac; namespace Toggl.PrimeRadiant.Realm { public sealed class RealmIdProvider : RealmObject { [PrimaryKey] public int Key { get; set; } public long Id { get; set; } } public sealed class IdProvider : IIdProvider ...
25.538462
82
0.521837
[ "BSD-3-Clause" ]
AzureMentor/mobileapp
Toggl.PrimeRadiant.Realm/IdProvider.cs
1,330
C#
using Xunit; using Xunit.Internal; using Xunit.Runner.Common; using Xunit.v3; using ClassWithTraits = Namespace2.ClassWithTraits; using InnerClass1 = Namespace1.ClassInNamespace1.InnerClass1; using InnerClass2 = Namespace1.ClassInNamespace1.InnerClass2; public class XunitFiltersTests { static readonly _TestCaseDisco...
33.613065
140
0.763418
[ "Apache-2.0" ]
KiKoS0/xunit
src/xunit.v3.runner.common.tests/Frameworks/XunitFiltersTests.cs
13,380
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using AppsFlyerSDK; // This class is intended to be used the the AppsFlyerObject.prefab public class AppsFlyerObjectScript : MonoBehaviour , IAppsFlyerConversionData { // These fields are set from the editor so do not modify! //**...
29.433333
117
0.648924
[ "Apache-2.0" ]
Avid-ly/Avidly-Unity-TraceAnalysisSDK-Demo
AvidlyTraceDemo/Assets/AppsFlyer/AppsFlyerObjectScript.cs
1,766
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.22973
187
0.679826
[ "Apache-2.0" ]
AltairMartinez/aws-sdk-unity-net
src/Services/DynamoDBv2/Generated/Model/Internal/MarshallTransformations/DescribeBackupEndpointDiscoveryMarshaller.cs
2,533
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ProjectOnion.Http.WebApi.V1.ViewModel.Entity; using ProjectOnion.Model.Models; namespace ProjectOnion.Http.WebApi.V1.ViewModel.TestViewData { public class TestGetViewModel : EntityConverter<Test> { p...
21.28
60
0.669173
[ "MIT" ]
abhinav2127/Onion-Architecture-dotNet
src/ProjectOnion/WebApi/V1/ViewModel/TestViewData/TestGetViewModel.cs
534
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using DA = Autodesk.Forge.DesignAutomation.Http; using Au...
33.337838
136
0.681394
[ "MIT" ]
simonmoreau/RevitToIFCApp
api/WorkItem/GetWorkItemStatus.cs
2,467
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using NUnit.Framework; using SSRSMigrate.SSRS.Writer; using SSRSMigrate.SSRS.Item; using SSRSMigrate.TestHelper; using System.Net; using SSRSMigrate.SSRS.Errors; namespace SSRSMigrate.IntegrationTests.SS...
36.049002
194
0.536273
[ "MIT" ]
jpann/SSRSMigrate
SSRSMigrate/SSRSMigrate.IntegrationTests/SSRS/Writer/ReportServer2010/ReportServerWriter_ReportTests.cs
19,865
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> //--...
58.966125
387
0.680883
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/AssetMaintenanceJobType.cs
43,519
C#
using LanguageExt; using RVis.Base.Extensions; using RVis.Model; using RVis.Model.Extensions; using RVisUI.AppInf; using System; using System.Linq; using System.Reactive.Linq; namespace Sampling { internal sealed partial class ModuleState { private class _ParametersStateDTO { public string? Selected...
38.130653
124
0.68951
[ "MIT" ]
GMPtk/RVis
UI/Module/Sampling/State/Impl/ModuleState.cs
7,590
C#
using System.Collections.Generic; using CoolNameGenerator.GA.Chromosomes; using CoolNameGenerator.GA.Populations; namespace CoolNameGenerator.GA.Reinsertions { /// <summary> /// Defines an interface for reinsertions. /// <remarks> /// If less offspring are produced than the min size of...
40.134615
120
0.620987
[ "Apache-2.0" ]
Behzadkhosravifar/CoolNameGenerator
src/CoolNameGenerator/GA/Reinsertions/IReinsertion.cs
2,089
C#
namespace HomeAutomation.Protocols.App.v0.Requests.Rooms { [RequestType(0x02, 0x01, 0x00, 0x00)] public class GetAllRoomsDataRequest : ConnectionRequiredRequestBase { } }
25.571429
69
0.776536
[ "MIT" ]
jan-schubert/HomeAutomation
Source/HomeAutomation.Protocols.App/v0/Requests/Rooms/GetAllRoomsDataRequest.cs
181
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Java.IO { // Metadata.xml XPath class reference: path="/api/package[@name='java.io']/class[@name='FilterOutputStream']" [global::Android.Runtime.Register ("java/io/FilterOutputStream", DoNotGenerateAcw=true)] publi...
38.023256
227
0.736086
[ "MIT" ]
mattleibow/java.interop
tools/generator/Tests/expected.ji/Streams/Java.IO.FilterOutputStream.cs
3,270
C#
// © 2015 Mario Lelas #define EDITOR_UTILS_INFO #if UNITY_EDITOR using UnityEngine; using UnityEditor; namespace MLSpace { /// <summary> /// control axis information /// </summary> public class InputAxis { public enum AxisType { KeyOrMouseButton = 0, MouseMo...
36.06701
145
0.571816
[ "MIT" ]
emirbeyhatun/EnemyCoverSystem
EnemyCoverSystem/Assets/_RagdollManager/Scripts/Editor/EditorUtils.cs
7,000
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK GitHub: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
36.221187
194
0.587388
[ "MIT" ]
DeeJayTC/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Classic/Microsoft.Bot.Builder.Classic/FormFlow/Attributes.cs
31,116
C#
/* _BEGIN_TEMPLATE_ { "id": "DRGA_BOSS_33t", "name": [ "达拉燃烧弹", "DALA-SMASH!!" ], "text": [ "对所有随从造成$10点伤害,再对所有随从造成$5点伤害。", "Deal $10 damage to all minions, then deal $5 damage to all minions." ], "cardClass": "NEUTRAL", "type": "SPELL", "cost": 0, "rarity": null, "set": "YEAR_OF_THE...
17.481481
73
0.597458
[ "MIT" ]
chi-rei-den/Silverfish
cards/YEAR_OF_THE_DRAGON/DRGA/Sim_DRGA_BOSS_33t.cs
528
C#
using UnityEngine.EventSystems; using UnityEngine; public class SprintButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { public void OnPointerDown(PointerEventData eventData) { PlayerController.isSprinting = true; } public void OnPointerUp(PointerEventData eventData) { ...
23.0625
81
0.739837
[ "MIT" ]
jeremiahbaclig/Goby
Assets/Scripts/SprintButton.cs
371
C#
namespace Jane.ObjectMapping { /// <summary> /// Defines a simple interface to map objects. /// </summary> public interface IObjectMapper { /// <summary> /// Converts an object to another. Creates a new object of <see cref="TDestination"/>. /// </summary> /// <typepa...
43.52
104
0.637868
[ "Apache-2.0" ]
Caskia/Jane
src/Jane/ObjectMapping/IObjectMapper.cs
1,090
C#
using System; using System.Collections; using System.Collections.Generic; namespace g3 { public class MeshConnectedComponents : IEnumerable<MeshConnectedComponents.Component> { public DMesh3 Mesh; // if a Filter is set, only triangles contained in Filter are // considered. Both filters will be applied if ava...
20.827815
114
0.60461
[ "BSD-2-Clause" ]
595787816/agg-sharp
geometry3Sharp/mesh_selection/MeshConnectedComponents.cs
6,292
C#
using System; using System.Collections.Generic; using System.Text; namespace SkyDCore.Log { /// <summary> /// 不含脚本的HTML日志 /// </summary> public class HtmlLogLayoutNoScript : HtmlLogLayout { protected override string _Script => String.Empty; } }
18.6
58
0.666667
[ "Apache-2.0" ]
manasheep/SkyDCore
SkyDCore.Log/HtmlLogLayoutNoScript.cs
295
C#
using AppStudio.Services; using AppStudio.ViewModels; using Windows.ApplicationModel.DataTransfer; using Windows.UI.Core; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace AppStudio.Views { public sealed partial class RssDetail : Pag...
28.337349
93
0.596514
[ "MIT" ]
SangramChavan/IEEE-Connected-Learning-Win-8.1
AppStudio.Windows/Views/RssDetailPage.xaml.cs
2,352
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hoops.Core.Enum { public static class GroupTypes { public enum GroupType { BoardMember = 0, SeasonCandidateOnly = 1, SeasonPlayers = 2, CoachesSponsors = 3, AllMembers = 4 }; ...
25.733333
131
0.702073
[ "MIT" ]
rsalit1516/Hoops
Hoops.Core/Enum/GroupTypes.cs
388
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...
39.096491
197
0.624187
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataFactory/V20180601/Inputs/AzureMLLinkedServiceArgs.cs
4,457
C#
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- using System.Collections.Generic; namespace HR.TA.Common.Email { /// <summary> /// Clas...
48.558824
117
0.642641
[ "MIT" ]
QPC-database/msrecruit-scheduling-engine
common/HR.TA.CommonLibrary/HR.TA.Common/Common/Common.Email/Constants.cs
6,604
C#
using IotHub.Core.Cqrs; using IotHub.Core.Redis; using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; namespace IotHub.Core.CqrsEngine { public static class EngineeCommandWorkerQueue { //in-memory queue, ...
35.304478
158
0.430794
[ "MIT" ]
badpaybad/cqrs-dot-net-core
IotHub.Core/CqrsEngine/EngineeCommandWorkerQueue.cs
11,829
C#
using System; using XposeCraft.Game; using XposeCraft.Game.Actors.Buildings; using XposeCraft.Game.Actors.Units; using XposeCraft.Game.Control.GameActions; using XposeCraft.Game.Enums; using XposeCraft.Game.Helpers; namespace XposeCraft.GameInternal.TestExamples { /// <summary> /// Prva faza hry. /// /...
34.675926
97
0.525234
[ "Apache-2.0" ]
scscgit/XposeCraft
Assets/Game/Scripts/GameInternal/TestExamples/EconomyTest.cs
3,745
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Xml; using UnityEngine; namespace AsmExplorer { public partial class WebService { private const BindingFlags A...
37.894309
164
0.47404
[ "BSD-2-Clause", "MIT" ]
sschoener/unity-asmexplorer
AsmExplorer/WebService.cs
9,322
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("He...
37.810811
84
0.744103
[ "MIT" ]
Mithra/hermes
source/_Common/Hermes.Entity/Properties/AssemblyInfo.cs
1,402
C#
using System; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; using PossumLabs.Specflow.Core.FluidDataCreation; namespace PossumLabs.Specflow.Core.UnitTests.FluidDataCreation { [TestClass] public class SetupUnitTestJson { public DataCreatorFacto...
37.495798
182
0.575415
[ "MIT" ]
BasHamer/PossumLabs.Specflow.Core
PossumLabs.Specflow.Core.UnitTests/FluidDataCreation/SetupUnitTestJson.cs
8,926
C#
namespace BackOffice.Infrastructure.EF.Configurations { public class EmployeeConfiguration : IEntityTypeConfiguration<Employee> { public void Configure(EntityTypeBuilder<Employee> builder) { builder.ToTable("Employees"); builder.HasKey(p => p.Id); builder.P...
30.588235
102
0.661538
[ "MIT" ]
beyondnetPeru/Beyondnet.Product.SkillMap
src/Services/BackOffice/BackOffice.Infrastructure.EF/Configurations/EmployeeConfiguration.cs
522
C#
#pragma checksum "D:\project\MSP\UWP\MathGame\MathGame\View\MenujuGameDua.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "7791F09E5FB1B6328B4D0A2E4EA5BED8" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Chang...
47.520833
169
0.630425
[ "MIT" ]
bintangthunder/UWP_MathLogic
MathGame/obj/ARM/Release/View/MenujuGameDua.g.i.cs
2,283
C#
namespace SpriteVortex { partial class AboutSplash { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
44.181818
159
0.622428
[ "MIT" ]
rafaelvasco/SpriteVortex
SpriteVortex/Forms/AboutSplash.Designer.cs
3,888
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
37.525641
166
0.539802
[ "MIT" ]
Agazoth/azure-powershell
src/ContainerInstance/generated/runtime/EventData.cs
2,850
C#
// <copyright file="RequestCultureProvider.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // </copyright> namespace Microsoft.Teams.Apps.CompanyCommunicator.Localization { using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Localization; using Mi...
41.256098
129
0.607153
[ "MIT" ]
asensionacher/microsoft-teams-apps-company-communicator-itnow
Source/CompanyCommunicator/Localization/RequestCultureProvider.cs
3,383
C#
 namespace WinFormsApp1 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
31.629032
107
0.552269
[ "CC0-1.0" ]
DiegoLChagas/C-entra21
forms/forms/WinFormsApp1/WinFormsApp1/Form1.Designer.cs
1,963
C#
/* Copyright 2017 Cimpress 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, software distribute...
27.692308
72
0.741667
[ "Apache-2.0" ]
sizilium/Mosaic.Infrastructure
src/WpfInfrastructure/Screens/Model/MessageType.cs
720
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> //--------------------------------------------...
21.333333
80
0.485577
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_CustomTemplate_EncryptMemory/Assets/Scripts/Configs/Gen/test/CompositeJsonTable2.cs
832
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace SZORM.InternalExtensions { public static class ReflectionExtension { public static Type GetMemberType(this MemberInfo propertyOrField) { ...
34.396226
108
0.589687
[ "MIT" ]
WinterWoods/SZORM
InternalExtensions/ReflectionExtension.cs
3,648
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Pagination { using System; using System.Collections; using System.Collections.Gener...
44.421512
195
0.563445
[ "MIT" ]
askazakov/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Pagination/CrossPartitionRangePageAsyncEnumerator.cs
15,283
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Security.Crypt...
34.302632
118
0.64135
[ "MIT" ]
diverdan92/corefx
src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Asn1/CertBagAsn.xml.cs
2,609
C#
using System; using System.Collections.Generic; namespace PagarmeCoreApi.PCL.Http.Response { public class HttpStringResponse : HttpResponse { /// <summary> /// Raw string body of the http response /// </summary> public string Body { get; set; } } }
21.928571
51
0.602606
[ "MIT" ]
gotsu-unica/pagarme-core-api-dotnet-framework
PagarmeCoreApi.PCL/Http/Response/HttpStringResponse.cs
307
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.137931
153
0.625314
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceManagementResourceAccessProfileBaseQueryByPlatformTypeRequestBuilder.cs
1,193
C#
/* _BEGIN_TEMPLATE_ { "id": "OG_254", "name": [ "奥秘吞噬者", "Eater of Secrets" ], "text": [ "<b>战吼:</b>摧毁所有敌方<b>奥秘</b>。每摧毁一个,便获得+1/+1。", "<b>Battlecry:</b> Destroy all enemy <b>Secrets</b>. Gain +1/+1 for each." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 4, "rarity": "RARE", ...
22.431818
99
0.524823
[ "MIT" ]
chi-rei-den/Silverfish
cards/OG/OG/Sim_OG_254.cs
1,041
C#
using System; using CompanyName.MyMeetings.Modules.Payments.Domain.MeetingGroupPaymentRegisters; using CompanyName.MyMeetings.Modules.Payments.Domain.MeetingGroupPaymentRegisters.Events; using CompanyName.MyMeetings.Modules.Payments.Domain.MeetingGroupPaymentRegisters.Rules; using CompanyName.MyMeetings.Modules.Paymen...
44.768421
130
0.686339
[ "MIT" ]
Bardr/modular-monolith-with-ddd
src/Modules/Payments/Tests/UnitTests/MeetingGroupPaymentRegisters/MeetingGroupPaymentRegistersTests.cs
4,255
C#
namespace com.xamarin.recipes.filepicker { using Android.App; using Android.OS; using Android.Support.V4.App; using PDFNetAndroidXamarinSample; [Activity(Label = "@string/file_browser_name")] public class FilePickerActivity : FragmentActivity { protected override void OnCreate(Bundle bun...
24.722222
56
0.692135
[ "MIT" ]
moljac/Samples.AndroidX
samples/issues/0014-NoClassDefFoundError androidx.lifecycle.LifecycleOwner/to-Xamarin-v2/samples/PDFNetAndroidXamarinSample/PDFNetAndroidXamarinSample/FilePickerActivity.cs
447
C#
using Reactive.Bindings; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yomiage.GUI.Models { public class LayoutService { /// <summary> /// ボイスプリセットの表示 /// </summary> public ReactivePropertySlim<bool...
36.985294
127
0.629821
[ "MIT" ]
InochiPM/YomiageLibrary
Yomiage.GUI/Models/LayoutService.cs
2,645
C#
using MS.Lib.Config.Abstractions; using System.ComponentModel.DataAnnotations; namespace MS.Module.Admin.Application.ConfigService.ViewModels { public class ConfigUpdateModel { [Required(ErrorMessage = "配置类编码不能为空")] public string Code { get; set; } public ConfigType Type { get; set; }...
26
62
0.670673
[ "MIT" ]
billowliu2/MS
src/Admin/Library/Application/ConfigService/ViewModels/ConfigUpdateModel.cs
452
C#
using System.Collections.Specialized; using DNTProfiler.Common.Models; using DNTProfiler.Common.Mvvm; using DNTProfiler.Infrastructure.ViewModels; using DNTProfiler.PluginsBase; namespace DNTProfiler.CommandsByRowsReturned.ViewModels { public class MainViewModel : ChartsViewModelBase { public MainView...
33.865385
104
0.568995
[ "Apache-2.0" ]
Mohsenbahrzadeh/DNTProfiler
Plugins/DNTProfiler.CommandsByRowsReturned/ViewModels/MainViewModel.cs
1,763
C#
// Decompiled with JetBrains decompiler // Type: HPQWMIEXLib.hpqWmiEventsClass // Assembly: Interop.HPQWMIEXLib, Version=4.0.112.1, Culture=neutral, PublicKeyToken=9c6f83d5b7f3d097 // MVID: E296F39D-9128-4C42-8E9C-5979CDD45E80 // Assembly location: C:\Windows.old\Program Files (x86)\Hewlett-Packard\Shared\Interop.HPQW...
40.40625
142
0.774169
[ "Apache-2.0" ]
lancelot-1987/KoolSense
Interop.HPQWMIEXLib/hpqWmiEventsClass.cs
1,295
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Graph.Rbac.Models { public partial class OptionalClaims : IUtf8JsonSerializable {...
36.917431
122
0.488817
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/testcommon/Azure.Graph.Rbac/src/Generated/Models/OptionalClaims.Serialization.cs
4,024
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using System.Text; namespace SharpLogger { public partial class LogControl : UserControl, ILogAppender, ILogHandler { private readonly Dictionary<string, Color> colors = new D...
28.923588
92
0.470365
[ "MIT" ]
samuelventura/SharpLogger
SharpLogger.UI/LogControl.cs
8,708
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Mime; using System.Security.Claims; using System...
43.625455
320
0.604735
[ "MIT" ]
tebeco/azure-signalr
src/Microsoft.Azure.SignalR.AspNet/Middleware/NegotiateMiddleware.cs
11,999
C#
using Tizen.UIExtensions.ElmSharp; namespace Microsoft.Maui { public static class DatePickerExtensions { public static void UpdateFormat(this Entry nativeDatePicker, IDatePicker datePicker) { UpdateDate(nativeDatePicker, datePicker); } public static void UpdateDate(this Entry nativeDatePicker, IDatePick...
24.647059
86
0.785203
[ "MIT" ]
JoonghyunCho/TestBed
src/Core/src/Platform/Tizen/DatePickerExtensions.cs
421
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Store : MonoBehaviour { public GameManager gm; public Slider progressSlider; public Text storeCountText; public Text buyButtonText; public int storeTimer; public int profit; private bool startTi...
21.424242
68
0.702263
[ "MIT" ]
hungrybanana/clicker-game
Version 0.1/Assets/Scripts/Store.cs
1,416
C#
using Blog.Core.Common; using Blog.Core.Common.LogHelper; using Blog.Core.IRepository.UnitOfWork; using Castle.DynamicProxy; using Microsoft.AspNetCore.SignalR; using StackExchange.Profiling; using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Blog.Core.AOP { /// <sum...
27.031579
130
0.503115
[ "MIT" ]
183demao/Blog.Core
Blog.Core/AOP/BlogTranAOP.cs
2,692
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 ...
34.6
63
0.726397
[ "Apache-2.0" ]
apache/incubator-plc4x
plc4net/spi/spi/model/values/PlcLINT.cs
1,038
C#
 using System; using ProjectBlue.RepulserEngine.DataStore; using ProjectBlue.RepulserEngine.Domain.Model; using ProjectBlue.RepulserEngine.Presentation; using UniRx; using UnityEngine; using Zenject; namespace ProjectBlue.RepulserEngine.Domain.UseCase { public class PulseSettingUseCase : IInitializable, IDisposa...
36.7875
153
0.664288
[ "MIT" ]
sugi-cho/RepulserEngine
Assets/Scripts/Domain/UseCase/PulseSettingUseCase.cs
3,131
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum CardVisibility { None, Player, Everyone }
12.384615
34
0.677019
[ "MIT" ]
metalac190/CardGamePrototype
Assets/Scripts/CardSystem/Enums/CardVisibility.cs
163
C#
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DClean.Application.Interfaces; using DClean.Domain.Entities.Presistence.Identity; using DClean.Infrastructure.Persistence.Repositories; namespace DClean.Infras...
31.105263
121
0.633672
[ "MIT" ]
amro93/DClean
DClean/DClean.Infrastructure.Persistence/Seeds/DefaultTenantSeed.cs
1,184
C#
using System; using System.Collections; using System.Collections.Generic; enum EInt8 : sbyte { A = -1, B, C, D } enum EUInt8 : byte { A, B, C, D } enum EInt16 : short { A = -1, B, C, D } enum EUInt16 : ushort { A, B, C, D } enum EInt32 : int { A = -1, B, C, D } enum EUInt32 : uint { A, B, C, D } enum EInt64 ...
19.861582
80
0.535201
[ "MIT" ]
GrapeCity/pagefx
tests/Simple/CSharp/Casting/Arrays/ToValue/FromValue/EUInt8.cs
7,031
C#
using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; public class Server : MonoBehaviour { private enum eConnectionType { udp, tcp } CliParser parser = new CliParser(); [Header("Client config")] [SerializeField] private e...
23.180556
60
0.59976
[ "MPL-2.0" ]
ditrit/OGrEE-3D
Assets/Scripts/Network/Server.cs
1,669
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace CustomerProcessor { [Serializable] public sealed class BasicAccountDetails : IAccountDetails, ISerializable { public string Name { get; private set; } public decimal Balance { g...
37.625
121
0.627243
[ "MIT" ]
sport-monkey/devtest
CustomerProcessor/BasicAccountDetails.cs
1,507
C#
namespace MechEngineer.Features.Performance; internal class PerformanceSettings : ISettings { public bool Enabled { get; set; } = false; public string EnabledDescription => "Some performance patches to the vanilla game. Could interfere with other performance patches from other mods."; }
42.285714
152
0.780405
[ "Unlicense" ]
CptMoore/MechEngineMod
source/Features/Performance/PerformanceSettings.cs
296
C#