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
#if ODIN_INSPECTOR using System.Linq; using Sirenix.OdinInspector.Editor; namespace FPCSharpUnity.unity.Editor.unity_serialization { public static class OdinUtils { public static InspectorProperty getChildSmart(this InspectorProperty property, string name) => property.Children[name] // When placed i...
43.642857
107
0.775777
[ "MIT" ]
FPCSharpUnity/FPCSharpUnity
parts/0000-library/Assets/Vendor/FPCSharpUnity/Editor/unity_serialization/OdinUtils.cs
611
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WaveSpawnTanks : MonoBehaviour { public int WaveSize; public GameObject EnemyPrefab; public float EnemyInterval; public Transform spawnPoint; public float startTime; public Transform[] WayPo...
23.914286
120
0.62963
[ "MIT" ]
balashanmugam/cmpt-742-project
Assets/TowerDefence_Vsquad/Scripts/Scripts_towers_enemies/WaveSpawnTanks.cs
839
C#
 using System; using Microsoft.AspNetCore.Authentication; using NetCore2.MVC.BasicAuthentication.Authentication; namespace Microsoft.AspNetCore.Builder { public static class BasicAuthenticationAppBuilderExtensions { public static AuthenticationBuilder AddBasic(this AuthenticationBuilder builder) ...
39.16129
141
0.769357
[ "MIT" ]
Vladimir-Novick/NetCore2.MVC.BasicAuthentication
NetCore2.MVC.BasicAuthentication/Authentication/BasicAuthenticationExtensions.cs
1,216
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GiveawayFreeSteamBot.Models { public class Channel : Config { } }
15.583333
37
0.743316
[ "MIT" ]
kuriharaa/GiveawayDiscordNotifier
src/Models/Channel.cs
189
C#
using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace AppShapes.Core.Service { public class ConfigureWebHostConfigurationCommand { public void Execute(IWebHostBuilder builder, Action<WebHostBuilderContext, IConfigurationBuilder> options) { ...
27.642857
114
0.744186
[ "Apache-2.0" ]
appshapes-org/dotnet-core
AppShapes.Core.Service/ConfigureWebHostConfigurationCommand.cs
389
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using AppleMusic; namespace AppleMusicSample.Pages { public partial class PlaybackPage : ContentPage { Song song; public Song CurrentSong { get => song; set { song = value; OnPropertyChanged (); OnPropertyChanged (nameof (Pl...
18.214286
67
0.684967
[ "Apache-2.0" ]
Clancey/AppleMusicApi
Sample/AppleMusicSample/Pages/PlaybackPage.xaml.cs
767
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("07....
37.621622
84
0.746408
[ "MIT" ]
l3kov9/CSharpOOPBasics
StaticMembers/07.BasicMath/Properties/AssemblyInfo.cs
1,395
C#
// <auto-generated /> using System; using BoxingStore.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Boxi...
37.251269
125
0.458472
[ "MIT" ]
Svetlin17/BoxingStore
BoxingStore/Data/Migrations/20210730132758_UserFullNameColumn.Designer.cs
14,679
C#
using UnityEngine; public class ShopManager : MonoBehaviour { protected ShopItem currentSelectedItem; public delegate void ShopItemEvent(ShopItem item); private static event ShopItemEvent SelectButton; public static event ShopItemEvent Purchase; void Start() { Shop.Close += RemoveSel...
23.113208
73
0.631837
[ "Apache-2.0" ]
maximbtw/HookWarsGame
Hook Wars/Assets/Scripts/ShopScripts/ShopManager.cs
1,248
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...
45.5888
295
0.566174
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/LoadBalancerLoadBalancingRulesOperations.cs
28,493
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Alex.Blocks.State; using Alex.Common.Utils.Vectors; using Alex.Worlds.Abstraction; using Alex.Worlds.Chunks; namespace Alex.Worlds; public class CollisionBlockAccess : IBlockAccess, IDisposable { private readonly IBlockAccess ...
23.577982
127
0.756031
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
codingwatching/Alex
src/Alex/Worlds/CollissionBlockAccess.cs
2,570
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
35.231013
142
0.718764
[ "MIT" ]
galich/SharpDevelop
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/QuickClassBrowser.cs
11,135
C#
//----------------------------------------------------------------------------- // Copyright (c) 2017-2021 informedcitizenry <informedcitizenry@gmail.com> // // Licensed under the MIT license. See LICENSE for full license information. // //----------------------------------------------------------------------------- ...
39.428571
118
0.574275
[ "MIT" ]
informedcitizenry/6502.Net
Core6502DotNet/src/Utility/Json/SchemaBuilderException.cs
1,658
C#
using UnityEngine; namespace theGame { class TheGame : MonoBehaviour { public static bool Inited; #region Singleton private static TheGame _instance; public static TheGame Instance { get { if (_instance == null) ...
23.479592
82
0.476749
[ "MIT" ]
koderon/Full-Sources-Game
Scripts/theGame/TheGame.cs
2,303
C#
using MediatR; using Microsoft.Extensions.Logging; using System; using System.Threading; using System.Threading.Tasks; namespace OrderingApplication.Behaviours { public class UnhandledExceptionBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> where TRequest : IRequest<TResponse> { ...
31.588235
143
0.631285
[ "MIT" ]
srinathvaradan10/aspnetMicroServices
src/Services/Ordering/OrderingApplication/Behaviours/UnhandledExceptionBehaviour.cs
1,076
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
55.006438
262
0.650763
[ "MIT" ]
AhmedLeithy/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplication.cs
25,633
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NamingRegistrationConvention.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // -----------------...
40.5
211
0.557505
[ "MIT" ]
IvanKupriyanov/Catel
src/Catel.Core/Catel.Core.Shared/IoC/Conventions/NamingRegistrationConvention.cs
3,080
C#
namespace SistemaHotel { partial class frmCliente { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
46.194767
151
0.583286
[ "Unlicense" ]
mannuscritto/SistemaHotel
frmCliente.Designer.cs
15,894
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // Manual changes will be overwritten if the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ #if...
34.530074
135
0.679081
[ "MIT" ]
buybackoff/Blake2Fast
src/Blake2Fast/Blake2b/Blake2bSse4.cs
79,801
C#
namespace EventStore.Core.LogAbstraction { public interface ISystemStreamLookup<TStreamId> { TStreamId AllStream { get; } TStreamId SettingsStream { get; } bool IsMetaStream(TStreamId streamId); bool IsSystemStream(TStreamId streamId); TStreamId MetaStreamOf(TStreamId streamId); TStreamId OriginalStreamO...
29
50
0.79023
[ "Apache-2.0", "CC0-1.0" ]
roketworks/EventStore
src/EventStore.Core/LogAbstraction/ISystemStreamLookup.cs
350
C#
using Hoteles.BL; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Hoteles { public partial class Form3 : Form { public Form3()...
14.740741
107
0.693467
[ "MIT" ]
yosephf02f/P
Hoteles/Hoteles/Form3.cs
798
C#
using Ninject; namespace LAST.Business.DependencyResolvers.Ninject { public class InstanceFactory { public static T GetInstance<T>() { return new StandardKernel(new BusinessModule()).Get<T>(); } } }
19.153846
69
0.618474
[ "MIT" ]
aTiKhan/layered-architecture-solution-template
TemplateProject/LAST.Business/DependencyResolvers/Ninject/InstanceFactory.cs
251
C#
using UnityEngine; using System.Collections; public class LandoltTouch : MonoBehaviour { public Color normalColor = Color.green; public Color touchedColor = Color.blue; private Renderer renderer_; void Start() { renderer_ = GetComponent<Renderer>(); } void OnTouchStart(Vector2 pos) { renderer_.material...
15.5
42
0.735484
[ "MIT" ]
hecomi/LITTAI-game
Assets/Scripts/Recognition/LandoltTouch.cs
467
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...
34.910256
143
0.573448
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-alicloud
sdk/dotnet/CloudSso/Group.cs
5,446
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...
63.440678
209
0.649212
[ "MIT" ]
Click4PV/azure-powershell
src/Migrate/generated/api/Support/ProtectionHealth.TypeConverter.cs
3,685
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...
34.40625
144
0.668483
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/EventGrid/Inputs/SystemTopicEventSubscriptionAdvancedFilterNumberLessThanGetArgs.cs
1,101
C#
/* MIT License Copyright (c) 2016 JetBrains http://www.jetbrains.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mo...
37.442308
123
0.6599
[ "MIT" ]
bozd4g/EksiSozluk.CloneUI
EksiSozluk.CloneUI/EksiSozluk.CloneUI/Extension/Notify/Annotations.cs
44,783
C#
// // Enums.cs // // Author: // Natalia Portillo <claunia@claunia.com> // // Copyright (c) 2017-2018 Copyright © Claunia.com // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software witho...
37.256684
134
0.498206
[ "MIT" ]
claunia/libexeinfo
libexeinfo/Geos/Enums.cs
6,970
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: AssemblyConfigurat...
42.3
84
0.786052
[ "MIT" ]
Martijn-Sharp/House-Insight
src/Martijn.HouseInsight.EntityFramework/Properties/AssemblyInfo.cs
848
C#
using IdentityWithDapper.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace IdentityWithDapper.Controllers { public class HomeController : Controller { ...
24.605263
112
0.645989
[ "MIT" ]
renebentes/1977
IdentityWithDapper/Controllers/HomeController.cs
937
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using AmazonPay.CommonRequests; using Common.Logging; namespace AmazonPay { public class Signature { //pass only the...
36.806373
154
0.542652
[ "Apache-2.0" ]
4SELLERS/amazon-pay-sdk-csharp
AmazonPay/Signature.cs
15,019
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace GoGreenV3.Attributes { public class AccessDeniedAuthorizeAttribute : AuthorizeAttribute { public override void OnAuthorization(AuthorizationContext filterContext) { ...
28.846154
80
0.629333
[ "MIT" ]
Jessi810/GoGreenV3
GoGreenV3/Attributes/AccessDeniedAuthorizeAttribute.cs
752
C#
namespace RabbitMQManager { public class Constants { public const string RabbitMQConfigPropertyName = "rabbitMQConfig"; } }
18.125
74
0.696552
[ "MIT" ]
DittmannAxel/iotedge-industrial-service-bus
src/iotedge/modules/RabbitMQManager/Constants.cs
147
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to us...
30.282353
93
0.753302
[ "MIT" ]
164306530/ILSpy
ICSharpCode.Decompiler/TypeSystem/TypeVisitor.cs
2,576
C#
namespace Treats.Models { public class TreatFlavor { public int TreatFlavorId { get; set; } public int FlavorId { get; set; } public int TreatId { get; set; } public Flavor Flavor { get; set; } public Treat Treat { get; set; } } }
26.090909
46
0.56446
[ "Unlicense" ]
MagpieMortician/Treats.Solution
Models/TreatFlavor.cs
287
C#
namespace Birthday.Telegram.Bot.Domain.AggregationModels; /// <summary> /// Repository for manage chat members /// </summary> public interface IChatMemberRepository { /// <summary> /// Create new Chat member in store /// </summary> /// <param name="value">Model for create new chat member</par...
43.018868
124
0.685088
[ "MIT" ]
kokos-coding/birthday-telegram-bot
src/Birthday.Telegram.Bot.Domain/AggregationModels/IChatMemberRepository.cs
2,280
C#
//----------------------------------------------------------------------- // <copyright file="Player.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //-------...
41.360632
193
0.507139
[ "Apache-2.0" ]
chrillejb/akka.net
src/core/Akka.Remote.TestKit/Player.cs
28,791
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace Kappa.RestServices.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate ...
42.763158
261
0.553282
[ "MIT" ]
Divailo/CodeForBulgaria
KappaServer/Kappa.RestServices/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,500
C#
namespace Microsoft.Examples.V3 { using Microsoft.AspNet.OData; using Microsoft.AspNet.OData.Query; using Microsoft.AspNetCore.Mvc; using Microsoft.Examples.Models; using Microsoft.OData; using System; using System.Collections.Generic; using System.Linq; using static Microsoft.AspNe...
37.291667
109
0.524022
[ "MIT" ]
Bhaskers-Blu-Org2/aspnet-api-versioning
samples/aspnetcore/SwaggerODataSample/V3/PeopleController.cs
8,057
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace SyncKusto.Validation.ErrorMessages { public class NonSpecificOperationError : IOperationError { public NonSpecificOperationError(Exception exception) { Exception...
23.294118
61
0.681818
[ "MIT" ]
Bhaskers-Blu-Org2/synckusto
SyncKusto/Validation/ErrorMessages/NonSpecificOperationError.cs
398
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-generate...
40.37037
152
0.566972
[ "MIT" ]
marcopuccio/pocs
uai/2016/eeExam/csharp-module/FinalEconomia/Services/Properties/Settings.Designer.cs
1,092
C#
using System; using System.Threading.Tasks; using System.Linq.Expressions; using System.Collections.Generic; namespace Company.Domain { public interface IRolePermissionService { Task<RoleEntity> FindRole(Expression<Func<RoleEntity, bool>> expression); IAsyncEnumerable<RoleEntity> GetRoles(); ...
29.3125
81
0.759062
[ "MIT" ]
CristianBonilla/company-news-auth-backend
Company.Domain/Services/IRolePermissionService.cs
469
C#
using HelixToolkit.Wpf; using HX7_Render; using System.Windows; using System.Windows.Data; using System; using System.Collections.Generic; using System.Text; using System.Configuration; using System.Linq; using System.Threading.Tasks; using System.Diagnostics; namespace final_uni_project { public partial class Ma...
34.324675
128
0.449489
[ "Apache-2.0" ]
ch-hristov/final_project
final_uni_project/MainWindow.xaml.cs
5,288
C#
using System; using UnityEngine; namespace HT.Framework { /// <summary> /// 步骤操作之间的连线 /// </summary> [Serializable] public sealed class StepWired { [SerializeField] internal int Left = 0; [SerializeField] internal int Right = 0; #if UNITY_EDITOR /// <summary> ...
20.655172
48
0.51586
[ "MIT" ]
LZhenHong/HTFramework
RunTime/StepMaster/Base/StepWired.cs
631
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Darts; namespace ChallengeSimpleDarts { public class Game { private Player _player1; private Player _player2; private Random _random; public Game(string player1Name, string player2Name)...
24.083333
82
0.489273
[ "MIT" ]
AbdulRehmanTekhqs/CS-ASP-045-Solution
Lesson-45-Solution/ChallengeSimpleDarts/Game.cs
1,447
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Server_Game_Frame.Script.proto { public class MsgGetText:MsgBase { public MsgGetText() { proName = "MsgGetText"; } public string text = "";...
17.315789
40
0.635258
[ "Apache-2.0" ]
biaomopopo/Unity3D-Server
Server Game Frame/Server Game Frame/Script/proto/MsgGetText.cs
331
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Device.Gpio; namespace Iot.Device.RotaryEncoder { /// <summary> /// Scaled Quadrature Rotary Controller binding /// </summary> public clas...
56.861111
221
0.666952
[ "MIT" ]
CarlosSardo/nanoFramework.IoT.Device
devices/RotaryEncoder/ScaledQuadratureEncoder.cs
8,188
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.676056
275
0.601992
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/DeviceFarm/Basic/Get-DFArtifactList-Cmdlet.cs
13,256
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; using Qiniu.Auth; using Qiniu.Conf; using Qiniu.RPC; namespace Qiniu.RSF { /// <summary> /// RS Fetch /// </summary> public class RSFClient : QiniuAuthClient { private const int MAX_LIMIT = 1000; //失败重试次数 private const int RETRY...
19.608187
109
0.543096
[ "MIT" ]
meloht/yihuiServer
YihuiMgr/Qiniu/RSF/RSFClient.cs
3,417
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.Reflection.Metadata; using Internal.TypeSystem; using Internal.TypeSystem.Ecma; namespace ILCompiler { public enum SpecialMethodKind ...
35.774194
127
0.575293
[ "MIT" ]
ZZHGit/corert
src/ILCompiler.Compiler/src/Compiler/MethodExtensions.cs
3,329
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.txt file in the project root for more information. using System.IO; using System.Text; namespace roslyn.optprof.lib { public static class StreamExtensions ...
30.217391
156
0.65036
[ "MIT" ]
MiYanni/roslyn-tools
src/OptProf/roslyn.optprof.lib/Vsix/StreamExtensions.cs
697
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
40.962264
137
0.563795
[ "Apache-2.0" ]
andrewdbond/CompositeWPF
sourceCode/compositewpf/V4/PrismLibrary/Desktop/Prism/Events/WeakDelegatesManager.cs
2,171
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 Foundation; using osu.Framework.iOS; using osu.Game.Tests; namespace osu.Game.Rulesets.Mania.Tests.iOS { [Register("AppDelegate")] public class ...
25.684211
80
0.653689
[ "MIT" ]
oldschool-otaku/osu
osu.Game.Rulesets.Mania.Tests.iOS/AppDelegate.cs
472
C#
 namespace CLDR.LocaleDataMarkupLanguage { public enum listPatternPartDraft { approved, contributed, provisional, unconfirmed, } }
11.916667
39
0.755245
[ "MIT", "Unlicense" ]
lirmont/Font-Tool
Font Tool/Support Classes/CLDR/ldml/parts/listPatternPartDraft.cs
145
C#
namespace Stump.DofusProtocol.Messages { using System; using System.Linq; using System.Text; using Stump.DofusProtocol.Types; using Stump.Core.IO; [Serializable] public class GameRolePlayDelayedObjectUseMessage : GameRolePlayDelayedActionMessage { public new const uint Id = 642...
27.930233
135
0.630308
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.DofusProtocol/Messages/Messages/Game/Context/Roleplay/Delay/GameRolePlayDelayedObjectUseMessage.cs
1,203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aurora.Profiles.LeagueOfLegends.GSI.Nodes { public class SlotNode : Node { public bool HasItem => Item != ItemID.None; public bool CanUse; public bo...
30.72028
61
0.552584
[ "MIT" ]
ADoesGit/Aurora
Project-Aurora/Project-Aurora/Profiles/LeagueOfLegends/GSI/Nodes/ItemNode.cs
8,503
C#
namespace CarDealer.Data.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Supplier { public int Id { get; set; } [Required] [MaxLength(100)] public string Name { get; set; } public bool IsImporter { get; set; ...
18.95
48
0.596306
[ "MIT" ]
tanyogeorgiev/ASP.NET-Core-MVC
CarDealer/CarDealer.Web/CarDealer.Data/Models/Supplier.cs
381
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 System; using System.Collections.Concurrent; using System....
45.720588
118
0.650048
[ "Apache-2.0" ]
RlolN/openiddict-core
src/OpenIddict.NHibernate/Resolvers/OpenIddictAuthorizationStoreResolver.cs
3,111
C#
using System; using System.Reflection; namespace Reflection { public class MyType { public MyType() { Console.WriteLine(); Console.WriteLine(value: "MyType instantiated!"); } } class Test { public static void Call() { App...
31.575342
128
0.573102
[ "MIT" ]
EnD1ZeR/otus_serializer
Reflection/AssemblyResolver.cs
2,307
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 Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.EmbeddedLan...
54.916667
100
0.659484
[ "Apache-2.0" ]
Sliptory/roslyn
src/Workspaces/Core/Portable/EmbeddedLanguages/VirtualChars/IVirtualCharService.cs
3,297
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...
31.846154
116
0.644122
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/DescribeApplicationSnapshotRequest.cs
2,484
C#
/*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
28.810458
131
0.657668
[ "Apache-2.0" ]
agnicore/nfx
src/NFX.Wave/MVC/ActionResult.cs
8,816
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2018. * * * * Use subject to the terms of the Apache License 2.0 available at ...
41.26009
147
0.627106
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/Plugins/LeapMotion/North Star/Scripts/IPDAdjuster.cs
9,201
C#
using Android.App; using Android.Widget; using Android.OS; using Android.Content.PM; using Android.Views; namespace TeslaUiSample.Droid { [Activity( MainLauncher = true, ConfigurationChanges = global::Uno.UI.ActivityHelper.AllConfigChanges, WindowSoftInputMode = SoftInput.AdjustPan | SoftInput.StateHidden ...
20.947368
73
0.776382
[ "MIT" ]
MartinZikmund/uno-tesla-ui-sample
TeslaUiSample/TeslaUiSample.Droid/MainActivity.cs
400
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Text; namespace HappyCoding.WinUISimple.Util { public class PropertyChangedBase : INotifyPropertyChanged { public event PropertyChangedEventHandler? PropertyChanged; ...
45.552239
132
0.651376
[ "MIT" ]
RolandKoenig/HappyCoding
2021/HappyCoding.WinUISimple/HappyCoding.WinUISimple/HappyCoding.WinUISimple/Util/PropertyChangedBase.cs
3,054
C#
using System.Windows; namespace ReactiveBingViewer { /// <summary> /// App.xaml の相互作用ロジック /// </summary> public partial class App : Application { public static string BingApiAccountKey { get; private set; } public static string VisionApiSubscriptionKey { get; private set; } ...
30
115
0.598925
[ "MIT" ]
pierre3/ReactiveBingViewer
ReactiveBingViewer/App.xaml.cs
950
C#
namespace LeagueManager.Tryouts.Models { public interface ITryout { } }
12.142857
39
0.670588
[ "MIT" ]
kicker3082/LeagueManager
Business Logic/Entities/LeagueManager.Tryouts.Models/ITryout.cs
87
C#
using System; using KBot.Common.Extension; using KBot.Game.Enum; namespace KBot.Network.Packet.Inventories { public class Ivn : IPacket { public InventoryType InventoryType { get; set; } public InventorySub Item { get; set; } } public class IvnCreator : IPacketCreator { pu...
29.233333
89
0.444128
[ "Apache-2.0" ]
Roxeez/KBot
srcs/KBot.Network/Packet/Inventories/Ivn.cs
1,756
C#
using System; using Xunit; namespace NonFactors.Mvc.Lookup.Tests.Unit { public class LookupColumnTests { [Fact] public void LookupColumn_NullKey_Throws() { Assert.Equal("key", Assert.Throws<ArgumentNullException>(() => new LookupColumn(null!, "Test")).ParamName); } ...
25.461538
119
0.584592
[ "MIT" ]
aynur-safin/AspNetCore.Lookup
test/Mvc.Lookup.Tests/Unit/LookupColumnTests.cs
664
C#
//----------------------------------------------------------------------- // <copyright file="NetworkIdentityCreated.cs" company="Lost Signal LLC"> // Copyright (c) Lost Signal LLC. All rights reserved. // </copyright> //----------------------------------------------------------------------- #if UNITY_2018_3_OR_N...
27.12
74
0.528024
[ "Unlicense", "MIT" ]
LostSignal/Lost-Library
Lost/Lost.Networking/Runtime/Unity/Messages/NetworkIdentityCreated.cs
1,358
C#
using System; using System.Collections.Generic; using System.Linq; using QuranX.Persistence.Models; namespace QuranX.Web.Views.RootAnalysis { public class VerseViewModel { public readonly int ChapterNumber; public readonly int VerseNumber; public readonly VerseAnalysisWord SelectedWord; public readonly Vers...
26.181818
57
0.780093
[ "MIT" ]
QuranX/QuranX
src/QuranX.Web/Views/RootAnalysis/VerseViewModel.cs
866
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> //---...
41.791667
80
0.652044
[ "MIT" ]
NeSh74/CSharp-OOP-June-2021
02.Encapsulation/02. CSharp-OOP-Encapsulation-Lab/2.Salary_Increase/obj/Release/netcoreapp3.1/2.Salary_Increase.AssemblyInfo.cs
1,003
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Functional.Context { internal static class AnnotationPrefix { public const string NodeAdd = "node-add"; public const string NodesAdd = "nodes-add"; ...
32.178571
113
0.658158
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Functional/Context/0. _Model/AnnotationPrefix.cs
903
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier< Microsoft.Ne...
37.65316
200
0.536717
[ "MIT" ]
JoeRobich/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/MarkAllNonSerializableFieldsTests.cs
23,232
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.Migrations; using Xunit; namespace Microsoft.EntityF...
31.758621
111
0.712269
[ "Apache-2.0" ]
skalpin/EntityFrameworkCore
test/EFCore.SqlServer.Tests/SqlServerMigrationBuilderTest.cs
921
C#
using Microsoft.EntityFrameworkCore; namespace DocOpen.Data { public class DocOpenContext : DbContext { public DocOpenContext(DbContextOptions<DocOpenContext> options) : base(options){ } public DbSet<Submission> Submissions{get; set;} public DbSet<Project> Projects{get; set;} ...
25.352941
88
0.675174
[ "MIT" ]
tonnyeremin/docopen
src/DocOpen/DataLayer/DocOpenContext.cs
431
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Actor { public int id; public string name; public string title; public string weapon; public float strength = 15.5f; public int level; public string Talk() { return "Hi, I ...
18.576923
36
0.573499
[ "Apache-2.0" ]
KevinJeon/Unity_Practice
New Unity Project (1)/Assets/Actor.cs
483
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExplosiveEnemy : Enemy { [SerializeField] private GameObject explosion; [SerializeField] private float explosionDelay; [SerializeField] private float explosionRadius; [SerializeField] private int explosionDamag...
24.8
120
0.619545
[ "MIT" ]
Gabriel-Spinola/Space-Hell-mini-jaaj
Space Jam Game Folder/Assets/Scripts/Enemies/ExplosiveEnemy.cs
2,110
C#
using System.Threading.Tasks; using EasyAbp.Abp.WeChat.MiniProgram.Services.Login; using Shouldly; using Xunit; namespace EasyAbp.Abp.WeChat.MiniProgram.Tests.Services { public class LoginServiceTests : AbpWeChatMiniProgramTestBase { private readonly LoginService _loginService; public LoginSer...
30.454545
65
0.643781
[ "MIT" ]
EasyAbp/Abp.WeChat
tests/EasyAbp.Abp.WeChat.MiniProgram.Tests/Services/LoginServiceTests.cs
1,005
C#
/* * Ory APIs * * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. * * The version of the OpenAPI document: v0.0.1-alpha.3 * Contact: support@ory.sh * Generated by: https://github.com/o...
26.239583
179
0.583565
[ "Apache-2.0" ]
Stackwalkerllc/sdk
clients/client/dotnet/src/Ory.Client.Test/Model/ClientPluginEnvTests.cs
2,519
C#
// // TrackerTestRig.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2006 Alan McGovern // // 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 restrict...
29.867925
89
0.587492
[ "MIT" ]
wizard872/monotorrent
src/Tests/Tests.MonoTorrent.Client/Tracker/TrackerTestRig.cs
4,749
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.IO; using System.Linq; using System.Reflection; using System.Reflection.Metadata; using Roslyn...
42.160656
193
0.576328
[ "Apache-2.0" ]
pottereric/roslyn
src/Compilers/Core/Desktop/DesktopAssemblyIdentityComparer.cs
12,861
C#
// Copyright (c) Daniel Crenna. 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; using System.Collections.Generic; using System.Reactive.Disposables; namespace reactive.pipes { public class Co...
21.180851
121
0.710196
[ "Apache-2.0" ]
JTOne123/reactive-pipes
src/reactive.pipes/CompositeSubscription.cs
1,993
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;...
28.726027
102
0.636147
[ "MIT" ]
JoyfulReaper/HeadFirstCSharp
ExperimentWithControls/ExperimentWithControls/MainWindow.xaml.cs
2,099
C#
/* Copyright 2019 - 2021 Inetum 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 ...
37.984716
218
0.574409
[ "Apache-2.0" ]
Gfi-Innovation/UMI3D-SDK
UMI3D-SDK/Assets/UMI3D SDK/EnvironmentDevelopmentKit/Core/Runtime/UMI3DEnvironment.cs
17,399
C#
using System.Runtime.CompilerServices; using LibSvnSharp.Interop.Apr; // ReSharper disable once CheckNamespace namespace LibSvnSharp.Interop.Svn { // ReSharper disable once InconsistentNaming partial class svn_pools { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static apr_poo...
35.8
104
0.761173
[ "Apache-2.0" ]
mendix/LibSvnSharp
src/LibSvnSharp/Interop/UnmanagedApiExtensions.cs
718
C#
#if UNITY_EDITOR || FBXSDK_RUNTIME //------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the ...
39.657534
144
0.708808
[ "CC0-1.0" ]
ewanreis/fmp-v1
fmp/Library/PackageCache/com.autodesk.fbx@4.0.1/Runtime/Scripts/FbxPropertyString.cs
2,895
C#
using SUS.MvcFramework; using System.Threading.Tasks; namespace CarShop { public static class Program { public static async Task Main(string[] args) { await Host.CreateHostAsync(new Startup()); } } }
16.733333
54
0.613546
[ "MIT" ]
GeorgiGradev/C-Web
01. C# Web Basics/11. Exams/02. Car Shop/MySolution/Apps/CarShop/Program.cs
253
C#
//****************************************************************************************************** // SubFileStream_IoSession.cs - Gbtc // // Copyright © 2014, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements....
40.315
146
0.52313
[ "MIT" ]
GridProtectionAlliance/openHistorian
Source/Libraries/GSF.SortedTreeStore/IO/FileStructure/SubFileStream_IoSession.cs
8,066
C#
namespace Monochrome.GUI.Controls { public class CheckButton : Button { } }
12.571429
37
0.659091
[ "MIT" ]
Zumorica/Monochrome.GUI
Controls/CheckButton.cs
88
C#
namespace ACR_SyncTool.DockerClient.OAuth; internal class OAuthToken { [JsonPropertyName("token")] public string Token { get; set; } = string.Empty; //[JsonPropertyName("access_token")] //public string AccessToken { get; set; } //[JsonPropertyName("expires_in")] //public int ExpiresIn { get;...
25.8125
53
0.668281
[ "MIT" ]
IvanJosipovic/ACR-SyncTool
src/DockerClient/OAuth/OAuthToken.cs
415
C#
using System; using System.Threading.Tasks; using AspNetRateLimit.Common.Models; using AspNetRateLimit.Common.Store; using Microsoft.Extensions.Caching.Distributed; using Newtonsoft.Json; namespace AspNetCoreRateLimit.Store { public class DistributedCacheRateLimitCounterStore : IRateLimitCounterStore { ...
36
123
0.622475
[ "MIT" ]
stuarthunter/AspNetCoreRateLimit
src/AspNetCoreRateLimit/Store/DistributedCacheRateLimitCounterStore.cs
2,378
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UFO.Server.Domain; namespace UFO.Commander.ViewModels { public class CategoryViewModel { private Category category; public string Id => category?.CategoryId; publ...
18.1
49
0.618785
[ "Apache-2.0" ]
untitled-no1/ufo
ufo/UFO.Server/UFO.Commander/ViewModels/CategoryViewModel.cs
545
C#
using System.Linq; using UnhollowerRuntimeLib.XrefScans; namespace ml_lme { static class MethodsResolver { static System.Reflection.MethodInfo ms_isInVR = null; static System.Reflection.MethodInfo ms_setAvatarIntParam = null; static System.Reflection.MethodInfo ms_setAvatarFloatParam =...
57.241379
180
0.594729
[ "MIT" ]
nonce-twice/ml_mods
ml_lme/MethodsResolver.cs
6,642
C#
namespace Bio.Algorithms.Alignment { /// <summary> /// Implements the pair-wise overlap alignment algorithm described in Chapter 2 of /// Biological Sequence Analysis; Durbin, Eddy, Krogh and Mitchison; Cambridge Press; 1998. /// </summary> public class PairwiseOverlapAligner : DynamicProgrammingPa...
42
143
0.648589
[ "Apache-2.0" ]
dotnetbio/bio
Source/Bio.Core/Algorithms/Alignment/PairwiseOverlapAligner.cs
2,270
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TableToJsonTableMapper.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed unde...
36.666667
121
0.594444
[ "Apache-2.0" ]
Lordsauron/pickles
src/Pickles/Pickles.DocumentationBuilders.Json/Mapper/TableToJsonTableMapper.cs
1,982
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie los valores de estos atributos para modificar la información // asociada a un ensamblado. [asse...
42.055556
114
0.743065
[ "MIT" ]
Dannygarcia7/quieropizza
QuieroPizza/QuieroPizza.Web/Properties/AssemblyInfo.cs
1,533
C#
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
35.864078
135
0.556849
[ "Apache-2.0" ]
JTP3XP/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/Workspace.cs
3,696
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Engine.Platform; using Engine; namespace MyGUIPlugin { public class DoubleNumericEdit { public event MyGUIEvent ValueChanged; private EditBox edit; private String lastCaption; ...
29.183036
93
0.443476
[ "MIT" ]
AnomalousMedical/Engine
MyGUIPlugin/Plugin/Widgets/NumericEdits/DoubleNumericEdit.cs
6,539
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using RockLibVerifier = RockLib.Logging.AspNetCore.Analyzers.Test.CSharpCodeFixVerifier< RockLib.Logging.AspNetCore.Analyzers.AddInfoLogAttributeAnalyzer, RockLib.Logging.AspNetCore.Analyzers.AddInfoLogAttributeCodeFixProvider>; ...
20.189189
88
0.593039
[ "MIT" ]
RockLib/RockLib.Analyzers
Logging.AspNetCore/RockLib.Logging.AspNetCore.Analyzers.Test/AddInfoLogAttributeCodeFixProviderTests.cs
2,243
C#