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
/* _BEGIN_TEMPLATE_ { "id": "OG_162", "name": [ "克苏恩的信徒", "Disciple of C'Thun" ], "text": [ "<b>战吼:</b>\n造成2点伤害。使你的克苏恩获得+2/+2<i>(无论它在哪里)。</i>", "<b>Battlecry:</b> Deal 2 damage. Give your C'Thun +2/+2 <i>(wherever it is)</i>." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 3, "...
21.820513
99
0.53819
[ "MIT" ]
chi-rei-den/Silverfish
cards/OG/OG/Sim_OG_162.cs
915
C#
using System.Runtime.CompilerServices; using System.Text; using System.Linq; using System.Collections.Generic; using System; using OzzyEntityLibraries.Repository; using OzzyEntityLibraries.DTO.Models; using OzzyEntityLibraries.ORM.Models; namespace OzzyEntityLibraries.Services { public class CustomersService ...
32.991071
119
0.582679
[ "MIT" ]
OzzyOzmen/Entity-Asp.Net-Core-CodeFirst-MVC-Project
OzzyEntityLibraries.Services/CustomersService.cs
3,697
C#
using Main; using AI.Blackboard; using AI.BehaviourTree; using AI.Base; using UnityEngine; using AI.RuleBased; namespace BT { class ConditionCanSeeEnemy : Condition { public override bool IsTrue(IAgent agent) { Tank t = (Tank)agent; Tank oppTank = Match.instance.GetOppo...
31.590643
105
0.509071
[ "MIT" ]
FinneyTang/TankBattle
Assets/Scripts/ExampleAI/BT/MyTank.cs
5,404
C#
using System; public class Gandalf { private int happinessIndex; private Mood mood; private MoodFactory moodFactory; public Gandalf() { this.moodFactory = new MoodFactory(); } private void SetMood() { if (this.happinessIndex < -5) { this.mood = moo...
20.897959
61
0.515625
[ "MIT" ]
stStoyanov93/SoftUni-CSharp-Fundamentals-2018
C# OOP Basics/04 Inheritance/EXE_Inheritance/P05_MordorsCruelPlan/Models/Gandalf.cs
1,026
C#
namespace BenchmarkDotNet.Horology { public class FrequencyUnit { public string Name { get; } public string Description { get; } public long HertzAmount { get; } private FrequencyUnit(string name, string description, long hertzAmount) { Name = name; ...
40.208333
109
0.640415
[ "MIT" ]
AlexGhiondea/BenchmarkDotNet
src/BenchmarkDotNet.Core/Horology/FrequencyUnit.cs
967
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MetalFistUpgrade : PlayerUpgrade { [SerializeField] protected float cooldown = 5.0f; [SerializeField] protected bool canPunch = true; [SerializeField] protected float wait = 0.1f; protected bool ca...
31.547368
118
0.617618
[ "MIT" ]
HassaanAbbasi/Robo-Repair
Assets/Standard Assets/Scripts/Player/Upgrades/MetalFistUpgrade.cs
2,999
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.72093
109
0.640845
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Management/V20190501/Outputs/OnErrorDeploymentExtendedResponse.cs
1,278
C#
using System; using System.Collections.Generic; using Comet.Samples.Models; namespace Comet.Samples { public class ListViewSample1 : View { //This should come from a database or something List<Song> Songs = new List<Song> { new Song { Title = "All the Small Things", Artist = "Blink-182", Album = ...
28.731707
128
0.687606
[ "MIT" ]
davidwengier/Comet
sample/Comet.Samples/ListViewSample1.cs
1,180
C#
namespace FreshBooks.Api.EstimateList { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.81.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml....
25.745098
79
0.472963
[ "MIT" ]
mattjcowan/FreshBooks.Api
src/FreshBooks.Api/EstimateListRequest.cs
2,628
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Text.RegularExpressions; namespace PromiseTechnology.DesktopTiles { public partial clas...
27.142857
71
0.592982
[ "MIT" ]
ntindle/CPUTile
RefreshEditor.cs
1,142
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; namespace LiveSplit.Celeste { public static class MemoryReader { private static Dictionary<int, Module64[]> ModuleCache = new Dictionary<int, Module64[]>(); public stat...
45.365471
163
0.53388
[ "MIT" ]
ShootMe/LiveSplit.Celeste
MemoryReader.cs
20,235
C#
using Uno.UI.Samples.Controls; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; #if NETFX_CORE using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.X...
25.777778
96
0.806034
[ "Apache-2.0" ]
06needhamt/uno
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/BorderTests/AutoBorderStretchwithtopmargin.xaml.cs
928
C#
namespace SIS.Framework.Utilities { public static class ControllerUtilities { public static string GetControllerName(object controller) { return controller.GetType() .Name .Replace(MvcContext.Get.ControllersSuffix, string.Empty); } } }
24.384615
73
0.605678
[ "MIT" ]
KolyaPetrova/SoftUni--CSharp-Web
C# Web Development Basics/11. Exam Preparations/1. Mish-Mash/SIS.Framework/Utilities/ControllerUtilities.cs
319
C#
using UnityEngine; using System.Collections; public class WallGame : IGame { public void Begin(IHost host) { host.RelocateTargets(); host.UpdatePoseTime(HoleConfiguration.INSTANCE.SkillTime, -1); } public void Update(IHost host, float timeRemaining, float poseTime) { if (p...
20.333333
78
0.486759
[ "MIT", "CC0-1.0", "Unlicense" ]
sixtostart/walls
Assets/Games/WallGame.cs
795
C#
namespace Sims1WidescreenPatcher.Far.Models { public interface IJob { byte[] Bytes { get; set; } string Output { get; set; } int Width { get; set; } int Height { get; set; } void Extract(); } }
22.363636
44
0.536585
[ "MIT" ]
FaithBeam/Sims-1-Complete-Collection-Widescreen-Patcher
Sims1WidescreenPatcher.Far/Models/IJob.cs
248
C#
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Linq; namespace CommandLineDotnetCore.Text { /// <summary> /// Models a command line usage example. /...
39.165414
192
0.591092
[ "MIT" ]
sfspacov/CommandLineDotnetCore
Text/Example.cs
5,211
C#
// ------------------------------------------------------------------ // Copyright (c) Microsoft. All Rights Reserved. // ------------------------------------------------------------------ namespace Microsoft.ServiceFabric.Common { using System.Collections.Generic; using System.Linq; /// <summary> /...
35.886792
127
0.547844
[ "MIT" ]
aL3891/service-fabric-client-dotnet
src/Microsoft.ServiceFabric.Common/PagedData.cs
1,904
C#
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Exporters; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Reports; namespace LinqToDB.Benchmarks ...
33.276923
122
0.684697
[ "MIT" ]
Edward-Alchikha/linq2db
Tests/Tests.Benchmarks/Config.cs
2,101
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("Microsoft.Bot.Connector")] [assemb...
40.457143
85
0.734463
[ "MIT" ]
haritha91/BotBuilder
CSharp/Library/Microsoft.Bot.Connector.NetFramework/Properties/AssemblyInfo.cs
1,419
C#
using System; namespace TheDefenseofCosolas { class Program { static void Main(string[] args) { /* Objectives: Ask the user for the target row and column. Compute the neighboring rows and columns of where to deploy the squad ...
35.054054
96
0.55744
[ "MIT" ]
bofur24/TheCSharpPlayersGuide
Challenges/TheDefenseofCosolas/Program.cs
1,299
C#
#pragma checksum "..\..\..\Views\MainView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4B65D1118399A068EB6A3A5CAD7A5C7432C85D7C" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // //...
39.534653
141
0.697471
[ "Unlicense" ]
Polimat/Gamma
obj/Release/Views/MainView.g.cs
3,995
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...
42.642241
255
0.616092
[ "ECL-2.0", "Apache-2.0" ]
suresh198526/pulumi-azure
sdk/dotnet/PrivateDns/ZoneVirtualNetworkLink.cs
9,893
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using netcore_rest_api.Models; namespace netcore_rest_api.Data { public class ApiDbContext : IdentityDbContext { public virtual DbSet<ItemData> Items { get; set; } public ApiDbContext(DbContextOptions<ApiDbContext...
25.785714
81
0.778393
[ "MIT" ]
dmfabritius/netcore-rest-api
Data/ApiDbContext.cs
361
C#
namespace Dotnet9.Application.Contracts; public class EntityDto { public int Id { get; set; } public override string ToString() { return $"[DTO: {GetType().Name}] Id = {Id}"; } }
18.636364
52
0.609756
[ "MIT" ]
dotnet9/Dotnet9
src/Dotnet9.Application.Contracts/EntityDto.cs
207
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using Syste...
42.186992
155
0.614087
[ "MIT" ]
BigOtzelot/OnvifLogInfoTester
OnvifLogInfoTester/MainWindow.xaml.cs
10,380
C#
namespace gamepad { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
57.26971
163
0.644472
[ "MIT" ]
ioawnen/TouchGamepad
GamePad/Form1.Designer.cs
13,804
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. #if !DONOTREFPRINTINGASMMETA // // // Description: Manages plug-in document serializers // // See spec...
38.185811
197
0.617889
[ "MIT" ]
KodamaSakuno/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/Serialization/SerializerProvider.cs
11,303
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FinalView : MonoBehaviour { public GameObject thanks; public GameObject jiewubiao; public GameObject playerName; private bool isLocked; private int waitForZ; private Animator ani;...
25.125
121
0.591487
[ "MIT" ]
IdlessChaye/TouhouNingyoMatsuri
TouhouNingyoMatsuri/Assets/C_Scripts/UI/UIView/FinalView.cs
1,819
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnGrid : MonoBehaviour { public GameObject[] gridElements; private int playerPos; [SerializeField] private GameObject playerCard; [SerializeField] private float playerSpeed; [SerializeFiel...
36.735211
276
0.555632
[ "Artistic-2.0" ]
artgtx/SibGameJam2020Memes
Assets/Scripts/Ultranyan/SpawnGrid.cs
13,048
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Wheather2_to_Bacnet")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("F. Chaxel")] [assembly: AssemblyProduct("Wheather2_to_Bacnet")] [...
32.421053
59
0.769481
[ "MIT" ]
DHSERVICE56/DH-SERVICRES
BacnetExplore/CodeExamples/Wheather2_to_Bacnet/Properties/AssemblyInfo.cs
619
C#
using Thriot.Framework.Azure.DataAccess; using Thriot.Framework.Azure.TableOperations; using Thriot.Framework.Exceptions; using Thriot.Management.Model; using Thriot.Management.Model.Operations; using Thriot.Management.Operations.Azure.DataAccess; namespace Thriot.Management.Operations.Azure { public class Settin...
34.810811
88
0.656444
[ "MIT" ]
kpocza/thriot
Service/Management/Thriot.Management.Operations.Azure/SettingOperations.cs
2,578
C#
using System; using System.Runtime.InteropServices; using System.Windows.Forms; using NAudio.CoreAudioApi; using NAudio.Wave; namespace NAudioDemo.MediaFoundationDemo { /// <summary> /// An experimental example of how WASAPI could be used on a GUI thread /// (to get round STA/MTA threading issue...
38.184127
149
0.486947
[ "MIT" ]
Glepooek/NAudio
NAudioDemo/MediaFoundationDemo/WasapiOutGuiThread.cs
12,030
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("Xen...
37.621622
84
0.746408
[ "Apache-2.0" ]
Xenation/Xenon
XenonBuild/Properties/AssemblyInfo.Editor.cs
1,395
C#
using Esfa.Recruit.Vacancies.Client.Application.Validation; using Esfa.Recruit.Vacancies.Client.Domain.Entities; using FluentAssertions; using Xunit; namespace Esfa.Recruit.UnitTests.Vacancies.Client.Application.VacancyValidation.SingleField { public class ExternalApplicationUrlValidationTests : VacancyValidation...
38.155556
91
0.62318
[ "MIT" ]
SkillsFundingAgency/das-recru
src/Shared/UnitTests/Vacancies.Client/Application/VacancyValidation/SingleField/ExternalApplicationUrlValidationTests.cs
3,436
C#
namespace WindowsFormsApplication1 { partial class EntryDeleteView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
55.9375
230
0.610335
[ "MIT" ]
ibrahimsumon1994/Ticket_Reservation_System_with_testing
WindowsFormsApplication1/EntryDeleteView.Designer.cs
25,062
C#
using System; using System.Diagnostics; namespace HttpCapture { class DiagnosticObserver : IObserver<DiagnosticListener> { void IObserver<DiagnosticListener>.OnCompleted() { } void IObserver<DiagnosticListener>.OnError(Exception error) { } void IObserv...
21.64
75
0.5878
[ "Apache-2.0" ]
joymon/dotnet-demos
diagnostics/HttpCapture/HttpCapture/DiagnosticObserver.cs
543
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// AUTOGENERATED: DO NOT EDIT! /// </summary> public partial class TdApi { public class RemoveFavoriteSticker : Function<Ok> { [JsonProperty("@type")] public override string DataType { get; set; } = "r...
26.272727
108
0.586505
[ "MIT" ]
Behnam-Emamian/tdsharp
TDLib.Api/Functions/RemoveFavoriteSticker.cs
578
C#
namespace Sudoku.Solving.Manual.Chaining; /// <summary> /// Indicates a type code for a chain. /// </summary> [Closed] public enum ChainingTypeCode : byte { /// <summary> /// Indicates the M-Wing. /// </summary> MWing = 1, /// <summary> /// Indicates the split wing. /// </summary> SplitWing, /// <summary> ...
17.155963
56
0.631016
[ "MIT" ]
XiaoXin1900/Sudoku
src/Sudoku.Solving.Old/Solving/Manual/Chaining/ChainingTypeCode.cs
1,872
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; namespace Users.Api { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilde...
30.16
82
0.557029
[ "MIT" ]
Inozpavel/WorkPlanner
Users.Api/Program.cs
754
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLite.Scaffolder { public enum Unique { Yes, No } }
13.933333
33
0.674641
[ "MIT" ]
mmaloparic/SQLiteScaffolder
SQLite Scaffolder/SQLite.Scaffolder/Enum/Unique.cs
211
C#
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Web { using System; [Flags] public enum HttpVersions { HttpV10 = 1 << 0, HttpV11 = 1 << 1, Any = HttpV10 | HttpV11 } public static class...
21.363636
112
0.62766
[ "BSD-2-Clause" ]
chtoucas/Narvalo.NET
src/Narvalo.Web/HttpVersions.cs
472
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using WindowsAppChatClient.ViewModels; namespace WinAppChatClient.Views; public sealed partial class GroupChatUC : UserControl { public GroupChatUC() { InitializeComponent(); if (Appli...
24.133333
88
0.680939
[ "MIT" ]
christiannagel/ProfessionalCSharp2021
3_Web/SignalR/SignalRSample/WinAppChatClient/Views/GroupChatUC.xaml.cs
726
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using AuthorizationServer.ViewModels.Shared; using Microsoft.Asp...
31.727273
94
0.626552
[ "Apache-2.0" ]
RossGao/OpenIddictSample
samples/ImplicitFlow/AuthorizationServer/Controllers/ErrorController.cs
1,049
C#
// ----------------------------------------------------------------------- // <copyright file="InstallerIdentifierValidator.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. Licensed under the MIT License. // </copyright> // -----------------------------------------------------------...
34.92
96
0.52921
[ "MIT" ]
RDMacLachlan/winget-cli-restsource
src/WinGet.RestSource.Utils/Validators/StringValidators/InstallerIdentifierValidator.cs
875
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...
54.068182
247
0.769231
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementOrStatementStatementRegexPatternSetReferenceStatementGetArgs.cs
2,379
C#
namespace BookLovers.Seed.Models.Configuration { public class OwnResourceConfiguration { public int UserCount { get; set; } public int SeriesCount { get; set; } public int TicketsCount { get; set; } public int QuotesCount { get; set; } public int ReviewsCount { get; ...
21.457627
62
0.559242
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers.Seed/Models/Configuration/OwnResourceConfiguration.cs
1,268
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </auto-generated> //------------------------------------------------------------------------------ namespa...
34.25
181
0.580697
[ "Apache-2.0" ]
bxxxjxxg/USBEventHooking
USBEventHooking/Properties/Resources.Designer.cs
2,846
C#
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Reflection; using System.Collections.Spec...
38.483721
207
0.496374
[ "MIT" ]
filipesousa20/Umbraco-CMS-V7
src/Umbraco.Web/umbraco.presentation/umbraco/developer/Macros/assemblyBrowser.aspx.cs
8,274
C#
using System; using System.Threading; using System.Threading.Tasks; using Hinode.Izumi.Services.DiscordServices.DiscordGuildService.Queries; using MediatR; namespace Hinode.Izumi.Services.DiscordServices.DiscordGuildService.Commands { public record RenameDiscordUserCommand(long Id, string NewName) : IRequest; ...
30.333333
109
0.64497
[ "MIT" ]
envyvox/Hinode.Izumi
Hinode.Izumi.Services/DiscordServices/DiscordGuildService/Commands/RenameDiscordUserCommand.cs
1,188
C#
using System.Collections.Generic; #if !NETSTANDARD2_1 using System.Runtime.Serialization; #else using System.Text.Json.Serialization; #endif namespace Docker.DotNet.Models { #if !NETSTANDARD2_1 [DataContract] #endif public class ImagesPruneParameters // (main.ImagesPruneParameters) { [QueryStringPa...
24.842105
83
0.745763
[ "Apache-2.0" ]
ewisted/Docker.DotNet
src/Docker.DotNet/Models/ImagesPruneParameters.Generated.cs
472
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace ButtonGlide.Droid { [Activity(Label = "ButtonGlide", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChange...
26.36
160
0.698027
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter21/ButtonGlide/ButtonGlide/ButtonGlide.Droid/MainActivity.cs
659
C#
using Nuke.Common.Tooling; using Nuke.Common.Tools.DotNet; static class DotNetBuildSettingsExtensions { public static DotNetBuildSettings SetContinuousIntegrationBuild(this DotNetBuildSettings settings, bool value) => settings.SetProcessArgumentConfigurator(a => a.Add($"/p:ContinuousIntegrationBuild={valu...
43.625
123
0.796562
[ "MIT" ]
KuraiAndras/CsprojToAsmdef
Build/DotNetBuildSettingsExtensions.cs
351
C#
// <copyright> // Copyright 2013 by the Spark Development Network // // 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 b...
41.700599
171
0.502537
[ "Apache-2.0", "Unlicense" ]
ThursdayChurch/rockweb.thursdaychurch.org
Blocks/Event/CalendarContentChannelItemList.ascx.cs
20,894
C#
using System; using NUnit.Framework; using UnityEngine; namespace Mirror.Tests.RemoteAttrributeTest { class RpcNetworkIdentityBehaviour : NetworkBehaviour { public event Action<NetworkIdentity> onSendNetworkIdentityCalled; public event Action<GameObject> onSendGameObjectCalled; public e...
38.382609
155
0.644767
[ "MIT" ]
10allday/OpenMMO
Plugins/3rdParty/Mirror/Tests/Editor/RpcNetworkIdentityTest.cs
4,414
C#
using System; using System.Collections; using TripolistMailAdapter; namespace TripolisDialogueAdapter.Action { class ContactAction { private log4net.ILog logger = log4net.LogManager.GetLogger(typeof(ContactAction)); private cn.tripolis.dialogue.contact.ContactService contactService = n...
42.221154
170
0.526076
[ "Apache-2.0" ]
ZhouAnPing/Mail
Mail/TripolisDialogueAdapter/Action/ContactAction.cs
8,784
C#
using System; namespace NWaves.Filters.OnePole { /// <summary> /// Represents one-pole highpass filter. /// </summary> public class HighPassFilter : OnePoleFilter { /// <summary> /// Gets cutoff frequency. /// </summary> public double Frequency { get; protected set; ...
28.541667
99
0.545255
[ "MIT" ]
ar1st0crat/NWaves
NWaves/Filters/OnePole/HighPassFilter.cs
1,370
C#
// ----------------------------------------------------------------------- // <copyright file="DesignTimeDefaultDbContextFactory.cs" company="OSharp开源团队"> // Copyright (c) 2014-2020 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-d...
32.27907
101
0.590778
[ "Apache-2.0" ]
1051324354/osharp
samples/web/Liuliu.Demo.Web/Startups/DesignTimeDefaultDbContextFactory.cs
1,438
C#
using MoneyNote.Identity.Enities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MoneyNote.YoutubeManagement.Models { public class JsGridFilter { public int pageIndex { get; set; } = 0; public int pageSize { get; set; } = 0; p...
28.368421
72
0.571058
[ "MIT" ]
badpaybad/youtube-video-management
MoneyNote.YoutubeManagement/Models/JsGridFilter.cs
2,697
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Reflection; namespace Duktape { using UnityEngine; using UnityEditor; public class EventAdderCodeGen : IDisposable { protected CodeGenerator cg; protected EventBindingInfo bin...
36.729167
163
0.606069
[ "MIT" ]
ialex32x/duktape-framework
Assets/Duktape/Editor/CodeGenHelper_Event.cs
3,590
C#
using Ardalis.Specification.UnitTests.Fixture.Specs; using FluentAssertions; using Xunit; namespace Ardalis.Specification.UnitTests.BuilderTests { public class SpecificationBuilderExtensions_AsNoTrackingWithIdentityResolution { [Fact] public void DoesNothing_GivenSpecWithoutAsNoTrackingWithIdentityResolut...
27.441176
87
0.768489
[ "MIT" ]
Allann/Specification
Specification/tests/Ardalis.Specification.UnitTests/BuilderTests/SpecificationBuilderExtensions_AsNoTrackingWithIdentityResolution.cs
935
C#
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using EnergonSoftware.Core.IO; using EnergonSoftware.Core.Packet; namespace EnergonSoftware.Backend.Packet { /// <summary> /// /// </summary> /// <remarks> /// Binary Packet Format: /// MARKER | ID | ENCODING ...
32.945736
142
0.585412
[ "Apache-2.0" ]
Luminoth/EnergonBackend
Backend/Packet/NetworkPacket.cs
4,252
C#
using System; using System.Collections.Generic; using System.Text; namespace MeetUpPlanner.Shared { /// <summary> /// Describes a "tracking report": A list of all persons who had participated with the user in an event in the past /// </summary> public class TrackingReport { /// <summary> ...
29.846154
119
0.585052
[ "MIT" ]
BlazorHub/MeetUpPlanner
MeetUpPlanner/Shared/TrackingReport.cs
1,166
C#
namespace MyForum.Web.ViewModels.Votes { public class VoteResponseModel { public int VotesCount { get; set; } } }
16.875
43
0.644444
[ "MIT" ]
BorisLechev/MyForum
Server/Web/MyForum.Web.ViewModels/Votes/VoteResponseModel.cs
137
C#
using System; using Csla.Core; using System.ComponentModel; using Csla.Serialization.Mobile; using System.Collections.Specialized; using System.Collections.Generic; namespace Csla { /// <summary> /// This is the base class from which most business collections /// or lists will be derived. /// </summary> ///...
35.565217
93
0.765281
[ "MIT" ]
Alstig/csla
Source/Csla.Shared/IBusinessListBase.cs
820
C#
namespace Ecology.API.Models { public class SpeciesViewModel { public int Id { get; set; } public string Name { get; set; } } }
15.8
40
0.575949
[ "MIT" ]
encounter12/AnimalHabitat
EcologyServer/Ecology.API/Models/SpeciesViewModel.cs
160
C#
/* Sharp86 - 8086 Emulator Copyright (C) 2017-2018 Topten Software. Sharp86 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Sharp86 is dis...
27.948718
123
0.633028
[ "MIT" ]
mediaexplorer74/Win3Mu
Sharp86/Sharp86DebuggerCore/ExpressionBreakPoint.cs
2,182
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...
35.882353
141
0.678033
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/InvalidParameterExceptionUnmarshaller.cs
3,050
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponen...
31.92
170
0.585631
[ "MIT" ]
enisgurkann/UblTr
Ubl-Tr/Common/CommonAggregateComponents/DeclarationType.cs
2,394
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletMove : MonoBehaviour { public GameObject bullet; float elapsedTime = 0f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { transform.Translat...
17.555556
55
0.624473
[ "MIT" ]
RustedBot/Game-Engines
Lab 1/Assets/BulletMove.cs
476
C#
namespace Machete.X12Schema.V5010 { using X12; public interface L2330C_837I : X12Layout { Segment<NM1> AttendingProvider { get; } SegmentList<REF> SecondaryIdentification { get; } } }
18.076923
57
0.608511
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.X12Schema/Generated/V5010/Layouts/L2330C_837I.cs
237
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...
33.245902
138
0.641026
[ "ECL-2.0", "Apache-2.0" ]
nvpnathan/pulumi-nsxt
sdk/dotnet/Inputs/PolicyVlanSegmentSubnetDhcpV6ConfigGetArgs.cs
2,028
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CreditsMenuController : UIMenuBase { // Update is called once per frame new void Update() { base.Update(); if (Input.GetButtonDown("A_Button")) { if (_currentSelection == 0) ...
19.666667
59
0.583535
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Q-ro/ColdLineElpoblado
Assets/Scripts/UI/CreditsMenuController.cs
415
C#
#region using LoESoft.Core; #endregion namespace LoESoft.GameServer.networking.outgoing { public class PETYARDUPDATE : OutgoingMessage { public int Type { get; set; } public override MessageID ID => MessageID.PETYARDUPDATE; public override Message CreateInstance() => new PETYARDUPD...
20.074074
72
0.608856
[ "MIT" ]
Devwarlt/LOE-V7-SERVER
gameserver/networking/messages/outgoing/PETYARDUPDATE.cs
544
C#
using System; using System.Collections.Generic; using ESC2.Library.Data.Interfaces; // This file is generated from the database. Do not manually edit. // Generated by: https://github.com/brian-nelson/repo-generator // To extend the class beyond a POCO, create a additional partial class // named AssetType.cs namespac...
32.878788
71
0.642396
[ "MIT" ]
brian-nelson/ESC2
src/modules/System/ESC2.Module.System.Data/DataObjects/Operational/AssetType_generated.cs
1,085
C#
namespace SharpIpp.Model { public enum ResolutionUnit { DotsPerInch = 3, DotsPerCm = 4 } }
14.875
30
0.571429
[ "MIT" ]
KittyDotNet/SharpIpp
SharpIpp/Model/ResolutionUnit.cs
121
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
26.792381
111
0.703896
[ "MIT" ]
topgenorth/xamarin.android-jobschedulersample
JobScheduleSample/Resources/Resource.Designer.cs
14,066
C#
using TUNING; using UnityEngine; public class LiquidPumpingStationConfig : IBuildingConfig { public const string ID = "LiquidPumpingStation"; public override BuildingDef CreateBuildingDef() { BuildingDef obj = BuildingTemplates.CreateBuildingDef("LiquidPumpingStation", 2, 4, "waterpump_kanim", 100, 10f, BUILDING...
41.306452
270
0.787193
[ "MIT" ]
undancer/oni-data
Managed/main/LiquidPumpingStationConfig.cs
2,561
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Majestics.Data.Migrations { public partial class contestsAndMarks : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "Ip", ...
26.575758
71
0.526796
[ "Apache-2.0" ]
obodnar0/majestics
Data/Migrations/20200528200733_contestsAndMarks.cs
879
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Xunit...
26.838129
98
0.565742
[ "MIT" ]
belav/runtime
src/libraries/System.IO.FileSystem/tests/PortedCommon/IOServices.cs
7,461
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from include/vulkan/vulkan_core.h in the KhronosGroup/Vulkan-Headers repository for tag v1.2.198 // Original source is Copyright © 2015-2021 The Khronos Group Inc....
43.795455
158
0.697457
[ "MIT" ]
tannergooding/terrafx.interop.vulkan
tests/Interop/Vulkan/Vulkan/vulkan/vulkan_core/VkPhysicalDeviceFragmentDensityMapFeaturesEXTTests.cs
1,929
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
37.487768
145
0.547253
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/AddPairwiseWideningAndAdd.Vector128.SByte.cs
24,517
C#
using PlanetaryDiversity.API; using System; using System.Linq; using UnityEngine; //using Report = PlanetaryDiversity.Report; namespace PlanetaryDiversity.CelestialBodies.Atmosphere { /// <summary> /// Changes the pressure and temperature curves of the planets /// </summary> public class AtmospherePr...
49.243243
217
0.649835
[ "MIT" ]
linuxgurugamer/Planetary-Diversity
src/celestialbodies/atmosphere/AtmospherePressureTweak.cs
3,646
C#
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restri...
32.981395
116
0.616415
[ "MIT" ]
Mhtshum/Dnn.Platform
DNN Platform/Tests/DotNetNuke.Tests.Core/CBOTest.cs
7,094
C#
using SharpCircuit.src; using System; using System.Collections; using System.Collections.Generic; namespace SharpCircuit.src.elements { // Contributed by Edward Calver. public class SchmittTrigger : InvertingSchmittTrigger { public override void step(Circuit sim) { double v0 ...
25.696429
72
0.421821
[ "MIT" ]
HDG-Gabriel/Electrophorus
SharpCircuits/src/elements/SchmittTrigger.cs
1,439
C#
using Microsoft.EntityFrameworkCore; namespace DL_Core_WebAPP_Release.Models { public class DLContext : DbContext { public DLContext(DbContextOptions<DLContext> options) : base(options) { } public DbSet<Author> Authors { get; set; } public DbSet<Book> Books { get; s...
26.238095
61
0.624319
[ "MIT" ]
Krish-Chandra/DL_ASPNET_CORE
src/DL_Core_WebAPP_Release/Models/DLContext.cs
551
C#
using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Adornments; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; using RestClient; using RestClientVS; namespace MarkdownEdito...
34.731343
126
0.637731
[ "Apache-2.0" ]
timheuer/RestClientVS
src/RestClientVS/Language/RestErrorTagger.cs
2,327
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.Immutable; using System.Diagnostics; using System.Linq; using Analyzer.Utilities; using Analyzer.Utilities.Extensions;...
41.498195
175
0.628273
[ "Apache-2.0" ]
JakeYallop/roslyn-analyzers
src/Utilities/FlowAnalysis/FlowAnalysis/Framework/DataFlow/AnalysisEntity.cs
11,497
C#
/* * Copyright © 2010 Intuit Inc. All rights reserved. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.opensource.org/licenses/eclipse-1.0.php *...
32.5
146
0.648583
[ "BSD-3-Clause" ]
KarderCorp/QuickBase-C-Sharp-SDK
Intuit.QuickBase.Client/QRecordFactory.cs
1,238
C#
namespace Zu.ChromeDevTools.Runtime { using Newtonsoft.Json; /// <summary> /// Object internal property descriptor. This property isn't normally visible in JavaScript code. /// </summary> public sealed class InternalPropertyDescriptor { /// <summary> /// Conventional property na...
25.275862
101
0.548431
[ "Apache-2.0" ]
DoctorDump/AsyncChromeDriver
ChromeDevToolsClient/Runtime/InternalPropertyDescriptor.cs
733
C#
using Bullseye; using Bullseye.Internal; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using static Bullseye.Targets; ...
38.047619
219
0.490166
[ "MIT" ]
FSDKO/YamlDotNet
tools/build/Program.cs
11,202
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WriterSetup.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license informatio...
32.589286
120
0.472329
[ "MIT" ]
cdrnet/Sundew.Generator
Source/Sundew.Generator/Output/WriterSetup.cs
1,827
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SMVisualization { public partial class RenderOptionsForm : Form { ...
32.246753
133
0.754329
[ "MIT" ]
dgerding/Construct
SeeingMachinesVisualization/SeeingMachinesProject/SMVisualization/SMVisualization/RenderOptionsForm.cs
4,968
C#
using System.IO; using System.Windows.Controls; using System.Windows.Media.Imaging; using NuGetPackageExplorer.Types; namespace PackageExplorer { [PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif", ".bmp", ".ico")] internal class ImageFileViewer : IPackageContentViewer { #region IPac...
28
86
0.557604
[ "MIT" ]
ItsMrQ/NugetPE-Mod
PackageExplorer/MefServices/ImageFileViewer.cs
870
C#
// <auto-generated> // 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 // re...
40.352941
475
0.627447
[ "MIT" ]
MahmoudYounes/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Image.cs
4,802
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.ServiceFab...
31.693069
137
0.558263
[ "MIT" ]
AndreyTretyak/service-fabric
src/prod/src/managed/powershell/RemoveClusterPackage.cs
3,201
C#
using System; using System.Drawing; using System.Windows.Forms; namespace Effect2DEditor { public class CustomUserControl : UserControl { private BufferedGraphics grafx; private BufferedGraphicsContext context; protected void InitializeBuffer() { this.SetStyle(Contr...
35.4375
110
0.610229
[ "Apache-2.0" ]
KHCmaster/PPD
Win/Effect2DEditor/CustomUserControl.cs
1,703
C#
namespace Ange.Domain.Entities { using System; using System.Collections.Generic; using Enumerations; public class Room { public Room() { Participants = new HashSet<UserRoom>(); Messages = new HashSet<ChatMessage>(); } public Guid Id { get; se...
27.545455
71
0.592409
[ "MIT" ]
v4rden/Ange
Ange.Domain/Entities/Room.cs
606
C#
namespace JobPortal.Authentication.External { public class ExternalAuthUserInfo { public string ProviderKey { get; set; } public string Name { get; set; } public string EmailAddress { get; set; } public string Surname { get; set; } public string Provider { get; set; ...
20.625
48
0.615152
[ "MIT" ]
akshaygopi26/JobPortalDotnetAngular
aspnet-core/src/JobPortal.Web.Core/Authentication/External/ExternalAuthUserInfo.cs
332
C#
//============================================================== // Copyright (C) 2020 Inc. All rights reserved. // //============================================================== // Create by 种道洋 at 2020/5/26 12:44:42. // Version 1.0 // 种道洋 //============================================================== using...
25.274194
152
0.490108
[ "Apache-2.0" ]
bingwang12/Spider
Common/Cdy.Spider.Common/Logo/LogoHelper.cs
1,581
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License using Microsoft.MixedReality.Toolkit.Input; using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement { /// <summary> /// The internal event receiver for the events defined in the...
32
114
0.615278
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/MRTK/SDK/Experimental/InteractiveElement/IE/EvtReceivers/FocusReceiver.cs
1,442
C#