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 UNITY_EDITOR using UnityEngine; using UnityEditor; using System.Reflection; using System.Linq; namespace ParadoxNotion.Design { ///Will show value only if another field is equal to target public class ShowIfDrawer : AttributeDrawer<ShowIfAttribute> { public override object OnGUI(GU...
41.798913
149
0.584189
[ "MIT" ]
lihaochen910/UnityGoapAIDemo
Assets/Plugins/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/AttributeDrawers.cs
7,693
C#
// Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if !UNITY_2018_3_OR_NEWER using System; using System.Buffers; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic;...
42.876972
212
0.56548
[ "BSD-2-Clause" ]
ChenLongxi666/MessagePack-CSharp
src/MessagePack.UnityClient/Assets/Scripts/MessagePack/Formatters/TypelessFormatter.cs
13,594
C#
using Koralium.SqlParser.Expressions; using Koralium.SqlParser.Literals; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace Koralium.SqlParser.Tests { public class ExpressionEqualsTests { [Test] public void TestBooleanScalarExpressionEquals() ...
38.572268
156
0.515004
[ "Apache-2.0" ]
rs-swc/Koralium
netcore/tests/Koralium.SqlParser.Tests/ExpressionEqualsTests.cs
32,827
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Trivial.Chemistry { /// <summary> /// The model of the molecular formula. /// </summary> public class MolecularFormula : IEquatable<MolecularFormula> { /// <summary...
44.184332
352
0.51773
[ "MIT" ]
nuscien/trivial
Chemistry/Chemistry/MolecularFormula.cs
38,438
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZSZ.DTO; using ZSZ.IService; using ZSZ.Service.Entities; using System.Data.Entity; namespace ZSZ.Service { public class RegionService : IRegionService { private RegionDTO ToDTO(Reg...
29.96
61
0.534713
[ "Apache-2.0" ]
laoshuai/ZSZ
ZSZ.Service/RegionService.cs
1,500
C#
using PC.PowerApps.Common.Entities.Dataverse; using PC.PowerApps.Common.ScheduledJobs; namespace PC.PowerApps.Common.Repositories { public static class BankAccountRepository { public static void SetTransactionImportStatusToPending(pc_BankAccount bankAccount) { if (bankAccount.pc_Tr...
30.571429
98
0.626168
[ "MIT" ]
Pilseta-cilvekiem/Participant-Management
PC.PowerApps/PC.PowerApps.Common/Repositories/BankAccountRepository.cs
1,072
C#
// Copyright (c) 2016-2020 Alexander Ong // See LICENSE in project root for license information. using UnityEngine; using System.Collections; using MoonscraperEngine; using MoonscraperEngine.Audio; using MoonscraperChartEditor.Song; public abstract class MovementController : MonoBehaviour { const float DESYNCLE...
32.194915
129
0.599105
[ "BSD-3-Clause" ]
Mario64iscool2/Moonscraper-Chart-Editor
Moonscraper Chart Editor/Assets/Scripts/Game/Controllers/MovementController.cs
3,801
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...
40.585586
177
0.665483
[ "Apache-2.0" ]
AltairMartinez/aws-sdk-unity-net
src/Services/DynamoDBv2/Generated/Model/Internal/MarshallTransformations/DescribeGlobalTableSettingsResponseUnmarshaller.cs
4,505
C#
using System; using System.Drawing; using System.Windows.Forms; using System.IO; using System.Threading; using System.Diagnostics; namespace Mandelbrot { /// <summary> /// Summary description for ImaginaryPlane. /// </summary> public class ImaginaryPlane { // private static ImaginaryPlaneRange DefaultImaginaryPl...
23.539735
93
0.664369
[ "MIT" ]
bfriesen/Mandelbrot
ImaginaryPlane.cs
7,109
C#
using Npgsql; using Spurious2.Core.LcboImporting.Domain; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; namespace Spurious2.Repositories.LcboImporting.Repositories { public class ProductRepository : IProductRepository { read...
34.271028
151
0.52168
[ "MIT" ]
claq2/spurious2
Spurious2.Repositories/LcboImporting/Repositories/ProductRepository.cs
3,669
C#
// Licensed to Finnovation Labs Limited under one or more agreements. // Finnovation Labs Limited licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Net.Http; using System.Reflection; using System.Security.Cryptography.X509Cert...
47.22093
127
0.683822
[ "MIT" ]
finlabsuk/open-banking-connector
test/OpenBanking.Library.Connector.BankTests/BankTests/PlainAppTests.cs
8,124
C#
using System; using System.Collections.Generic; using System.Text; namespace Texxtoor.BaseLibrary.Core.Utilities.Imaging.Barcode { /// <summary> /// Barcode interface for symbology layout. /// Written by: Brad Barnhill /// </summary> interface IBarcode { string Encoded_Value {...
17.966667
61
0.552876
[ "Apache-2.0" ]
joergkrause/texxtoor
Texxtoor/Solution/Texxtoor.BaseLibrary.Core/Utilities/Imaging/Barcode/IBarcode.cs
539
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using PluginCore; namespace ASCompletion.Model { /// <summary> /// Object representation of an ActionScript MemberModel /// </summary> [Serializable] public class MemberModel: ICloneable, ICompa...
35.854867
145
0.474529
[ "MIT" ]
Acidburn0zzz/flashdevelop
External/Plugins/ASCompletion/Model/MemberModel.cs
19,694
C#
using Content.Shared.Input; using Robust.Shared.Input; namespace Content.Client.Input { /// <summary> /// Contains a helper function for setting up all content /// contexts, and modifying existing engine ones. /// </summary> public static class ContentContexts { public static vo...
54.065217
77
0.708886
[ "MIT" ]
Bokkiewokkie/space-station-14
Content.Client/Input/ContentContexts.cs
4,974
C#
// Copyright (c) 20016-2018 Peter M. // // File: SudnyExekutorOprava_udajov.cs // Company: MalikP. // // 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...
38.325
73
0.737769
[ "MIT" ]
peterM/Obchodny-Vestnik-SR
src/MalikP.BusinessJournal.Models.V1/Drazba/SudnyExekutorOprava_udajov.cs
1,535
C#
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System.ComponentModel.Composition; using System.Linq; using System.Windows.Forms; using DotSpatial.Controls.Header; using DotSpatial.Extensions;...
30.473684
116
0.568653
[ "MIT" ]
AlexanderSemenyak/DotSpatial
Source/DotSpatial.Controls/DefaultRequiredImports/HeaderControl.cs
2,318
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("MC...
37.837838
84
0.743571
[ "MIT" ]
Gohla/MTGCardDetection
MCD.CMD/Properties/AssemblyInfo.cs
1,404
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.DataTransfer { #if __ANDROID__ || __IOS__ || NET46 || false || __MACOS__ [global::Uno.NotImplemented] #endif public partial class DataPackage { #if __ANDROID__ || __IOS__ || NE...
51.005102
231
0.784735
[ "Apache-2.0" ]
billchungiii/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.DataTransfer/DataPackage.cs
9,997
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...
34.160377
120
0.617785
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20181001/Outputs/ApplicationGatewayHttpListenerResponse.cs
3,621
C#
#pragma warning disable CS1591 namespace TheXDS.Triton.Tests { public partial class MiddlewareTests : TritonEfTestClass { } }
15.555556
60
0.728571
[ "MIT" ]
TheXDS/Trit-n
src/Tests/Triton.Tests.EFCore/Tests/MiddlewareTests.cs
142
C#
using System; using System.Collections.Generic; using System.Text; namespace MVCSharp.Examples.AdvancedCustomization.ApplicationLogic { public enum ViewCategory { Mail, Notes, Tasks, None } }
15.866667
66
0.659664
[ "MIT" ]
zherar7ordoya/AP3
(CSharp)/3) MVP Pattern/MVCSharp/Examples/Advanced (Office2007 UI and more)/ApplicationLogic/ViewCategory.cs
240
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using Framework.EventBus; using Framework.Events; using Framework.EventStore; using Framework.Exceptions; using Framework.Snapshotting; namespace Framework.Aggregate { public class AggregateRepository : IAggregateRepos...
36.631579
129
0.604885
[ "MIT" ]
NilavPatel/Todo.CQRS
Framework/Aggregate/AggregateRepository.cs
4,176
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> //--...
42.849315
172
0.607737
[ "Apache-2.0" ]
jezzsantos/clinics
src/Domain.Common/Properties/Resources.Designer.cs
3,130
C#
using System.Collections.Generic; using DSCore; using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Runtime; using DynaShape.GeometryBinders; using HelixToolkit.Wpf.SharpDX.Core; using Point = Autodesk.DesignScript.Geometry.Point; namespace DynaShape.ZeroTouch { public static class GeometryBinders ...
31.269663
92
0.593963
[ "MIT" ]
htlcnn/DynaShape
DynaShape/ZeroTouch/GeometryBinders.cs
2,785
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18010 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
36.602459
171
0.52245
[ "MIT" ]
imanushin/leak-blocker
Projects/LeakBlocker.Server.Installer/SQL.Designer.cs
8,933
C#
namespace Serilog.Exceptions.Destructurers { using System; using System.Collections.Generic; using Serilog.Exceptions.Core; /// <summary> /// Base class for more specific destructurers. /// It destructures all the standard properties that every <see cref="Exception"/> has. /// </su...
51.731034
168
0.594721
[ "MIT" ]
RehanSaeed/Serilog.Exceptions
Source/Serilog.Exceptions/Destructurers/ExceptionDestructurer.cs
15,002
C#
using System; using System.Collections.Generic; using System.Xml.Linq; using Engine.Model; namespace Engine.Data { public static class FromDataFactory { public static T Get<T>(string name) where T: class { string typestring = typeof(T).Name; return GetFromXmlFile<T>(nam...
29.431818
87
0.528958
[ "MIT" ]
isonym/MalifauxCharSheet
MalifauxCharSheet/Engine/Data/FromDataFactory.cs
1,297
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IceTube.DataModels { public class YoutubeVideo { public int Id { get; set; } public string ActivityId { get; set; } public string VideoId { get; set; } public DateTime?...
25.054054
61
0.629989
[ "MIT" ]
watermelonpizza/icetube
IceTube/DataModels/YoutubeVideo.cs
929
C#
/* * Ory Kratos API * * Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the adminis...
34.461538
431
0.662946
[ "Apache-2.0" ]
vinckr/sdk
clients/kratos/dotnet/src/Ory.Kratos.Client.Test/Model/KratosSubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyTests.cs
3,584
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Manatee.Json.Internal; using Manatee.Json.Patch; using Manatee.Json.Schema; using Manatee.Json.Serialization; using Manat...
22.62069
62
0.742378
[ "MIT" ]
jinhong-/Manatee.Json
Manatee.Json.Tests/DevTest.cs
658
C#
/* Copyright © 2015 Intel Corporation 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.eclipse.org/legal/epl-v10.html . https://github.com/viqet * Contributors: * Intel Corporation...
30.425926
126
0.637858
[ "EPL-1.0" ]
VIQET/VIQET-Desktop
VIQET-UI/ViqetDesktop/Pages/Common/Setting.xaml.cs
1,646
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ArrowSpawner : MonoBehaviour { [Header("Objects")] public GameObject Arrow; [Header("State")] public bool ShootLeft; [Header("Private")] private float shootSpeed = 0.5f; private float shootTimer =...
25.170213
87
0.57481
[ "MIT" ]
claby2/tower-scaling
Assets/Scripts/ArrowSpawner.cs
1,185
C#
// <copyright file="ExpandableDictionaryConverter.cs" company="Shkyrockett" > // Copyright © 2017 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license infor...
33.755814
136
0.590768
[ "MIT" ]
Shkyrockett/engine
Engine.Base/Converters/ExpandableDictionaryConverter.cs
2,906
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> //-----------------------------------------...
25.333333
81
0.432018
[ "Apache-2.0", "BSD-3-Clause" ]
alexrogier/RPGFL
DesktopModules/BattleFrameworkModule/View.ascx.designer.cs
458
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...
66
282
0.685045
[ "MIT" ]
Agazoth/azure-powershell
src/VMware/generated/api/Models/Api20211201/PlacementPolicy.json.cs
7,021
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; using Horizon.Payment.Alipay.Utility; namespace Horizon.Payment.Alipay.Request { /// <summary> /// ant.merchant.expand.indirect.image.upload /// </summary> public class AntMerchantExpandIndirectImageUploadRequest : IAlipayUploadR...
23.503497
129
0.551324
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/AntMerchantExpandIndirectImageUploadRequest.cs
3,415
C#
using Content.Server.GameObjects.Components.Damage; using Content.Server.GameObjects.Components.Interactable.Tools; using Content.Server.GameObjects.Components.Power; using Content.Server.GameObjects.EntitySystems; using Content.Server.Interfaces; using Content.Shared.GameObjects.Components.Gravity; using Microsoft.Ent...
32.028986
133
0.578431
[ "MIT" ]
ComicIronic/space-station-14
Content.Server/GameObjects/Components/Gravity/GravityGeneratorComponent.cs
6,630
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("Com...
37.513514
84
0.747118
[ "MIT" ]
ANamelessWolf/AutoCADAPI2018-1
Compuertas/Properties/AssemblyInfo.cs
1,391
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FunctionManager : MonoBehaviour { //public or private void function's name // Start is called before the first frame update public Game Object[] player ; private void Start() { player = ...
19.657895
116
0.599732
[ "Apache-2.0" ]
senauust/Unity
Return.cs
749
C#
// Port to MongoDB of MySql Connector by Adrian Lanning <adrian@nimblejump.com> // Copyright (c) 2011 Adrian Lanning <adrian@nimblejump.com> // // Copyright (c) 2004-2008 MySQL AB, 2008-2009 Sun Microsystems, Inc. // // MySQL Connector/NET is licensed under the terms of the GPLv2 // <http://www.gnu.org/licenses/old-li...
40.593468
138
0.583544
[ "MIT" ]
foxsofter/MongoProviders
MongoProviders.UnitTests/MembershipProviderTest.cs
36,049
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Roslynator.CodeAnalysis.CSharp; using Roslynator.Testing.CSharp; using Xunit; namespace Ros...
19.305556
165
0.614676
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/Tests/CodeAnalysis.Analyzers.Tests/RCS9004CallAnyInsteadOfAccessingCountTests.cs
6,952
C#
using RememBeer.Business.Logic.Account.Confirm.Contracts; namespace RememBeer.Business.Logic.Account.Confirm { public class ConfirmEventArgs : IConfirmEventArgs { public ConfirmEventArgs(string userId, string code) { this.UserId = userId; this.Code = code; } ...
22.833333
59
0.625304
[ "MIT" ]
J0hnyBG/RememBeerMe
src/RememBeer.Business/Logic/Account/Confirm/ConfirmEventArgs.cs
413
C#
using System.Net; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore.Serialization.Objects; using JsonApiDotNetCoreExampleTests.Startups; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreExampleTests.IntegrationTests.CustomRoutes { public sealed class ApiControllerAttrib...
36.925
146
0.729858
[ "MIT" ]
jlits/JsonApiDotNetCore
test/JsonApiDotNetCoreExampleTests/IntegrationTests/CustomRoutes/ApiControllerAttributeTests.cs
1,477
C#
using System; using UnityEngine; namespace KontrolSystem.KSP.Runtime.KSPVessel { public partial class KSPVesselModule { public class SimulatedParachute : SimulatedPart { private ModuleParachute para; private ModuleParachute.deploymentStates state; private double open...
46.141304
181
0.567138
[ "MIT" ]
untoldwind/KontrolSystem
KSPRuntime/KSPVessel/KSPVesselModule.SimulatedParachute.cs
8,492
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...
30.56
102
0.608966
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/GetUserDefinedFunctionRequest.cs
3,056
C#
// Copyright (c) Umbraco. // See LICENSE for more details. namespace Umbraco.Cms.Tests.Common.Builders.Interfaces { public interface IWithNameBuilder { string Name { get; set; } } }
18.454545
54
0.669951
[ "MIT" ]
Ambertvu/Umbraco-CMS
tests/Umbraco.Tests.Common/Builders/Interfaces/IWithNameBuilder.cs
203
C#
using Orleans; using Orleans.Providers; using SimpleGrainInterfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleGrains { [StorageProvider(ProviderName="basic")] public class MyGrain : Grain<MyGrainState>, IMyGrain { ...
23.381443
116
0.570106
[ "MIT" ]
OrleansContrib/Orleans.StorageProviders.SimpleSQLServerStorage
Tests/SimpleGrains/MyGrain.cs
2,270
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.Models; using Azure.ResourceManager.WebPubSub.Models; namespace Azure.ResourceManager.WebPubSub { ...
61.118881
778
0.671968
[ "MIT" ]
AntonioVT/azure-sdk-for-net
sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubData.cs
8,740
C#
using System.Collections.Generic; using System.Net.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Moq; using NUnit.Framework; using ViennaNET.CallContext; namespace ViennaNET.WebApi.Configurators.HttpClients.Basic.Tests { [TestFixture] [Category("Unit")] [Te...
35.044643
111
0.69758
[ "MIT" ]
Magicianred/ViennaNET
ViennaNET.WebApi.Configurators.HttpClients.Basic.Tests/BasicHttpClientsConfiguratorTests.cs
3,925
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace UIElements.CounterElements { public class LevelCounterElement : CounterElementAbstract { [SerializeField] private Sprite _level1; [SerializeField] private Sprite _level5; protected override IEnume...
29.65
71
0.655987
[ "MIT" ]
Volodej/GalagaTestProject
Assets/Scripts/UIElements/CounterElements/LevelCounterElement.cs
593
C#
/* Copyright 2013 Daikon Forge */ using UnityEngine; using UnityEditor; using System; using System.Linq; using System.Reflection; using System.Collections; using System.Collections.Generic; [CanEditMultipleObjects] [CustomEditor( typeof( dfButton ), true )] public class dfButtonInspector : dfControlInspector { pri...
28.727273
159
0.69503
[ "Apache-2.0" ]
takemurakimio/missing-part-1
Assets/Daikon Forge/DFGUI/Editor/dfButtonInspector.cs
8,534
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xamarin.Forms.Labs { public static class BindableObjectExtensions { public static T GetValue<T>(this BindableObject bindableObject, BindableProperty property) ...
23.764706
99
0.683168
[ "Apache-2.0" ]
Applifting/Xamarin-Forms-Labs
src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Extensions/BindableObjectExtensions.cs
406
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "EnemyInfo", menuName = "BiuBiuBoom/EnemyInfo", order = 0)] public class EnemyInfo : ScriptableObject { [Header("瘫痪时长")] public float fallDownTime; [Header("瘫痪延长时长")] public float plusFallDownT...
20.933333
87
0.702229
[ "MIT" ]
Vinkle-hzt/BiuBiuBoom
Assets/Scripts/Info/EnemyInfo.cs
734
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Linq; namespace SixLabors.ImageSharp.MetaData.Profiles.Icc { /// <summary> /// The purpose of this tag type is to provide a mechanism to relate physical /// colorant amounts with th...
35.5
160
0.602266
[ "Apache-2.0" ]
HighEndGuy/ImageSharp
src/ImageSharp/MetaData/Profiles/ICC/TagDataEntries/IccResponseCurveSet16TagDataEntry.cs
3,268
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.Un...
31.037543
161
0.622168
[ "Apache-2.0" ]
ElanHasson/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/WhereKeywordRecommenderTests.cs
9,096
C#
using System; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; using Android.Animation; using Android.Content.Res; using Android.Graphics.Drawables; using Android.OS; using Android.Views; using Android.Widget; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using XamEffects...
30.443478
98
0.561839
[ "MIT" ]
michaelkollmann/XamEffects
src/XamEffects.Droid/TouchEffectPlatform.cs
7,004
C#
using Sdk.Application.Common.Interfaces; using Sdk.Application.TodoLists.Queries.ExportTodos; using Sdk.Infrastructure.Files.Maps; using CsvHelper; using System.Collections.Generic; using System.Globalization; using System.IO; namespace Sdk.Infrastructure.Files { public class CsvFileBuilder : ICsvFileBuilder ...
30.464286
96
0.681125
[ "MIT" ]
ronhowe/CleanArchitecture
src/Sdk.Infrastructure/Files/CsvFileBuilder.cs
855
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Windows.Input; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using MvvmCross.Binding.BindingContext; u...
31.271429
145
0.595249
[ "MIT" ]
ZeProgFactory/XamarinMediaManager
Samples/ElementPlayer.Android/LinkerPleaseInclude.cs
4,380
C#
// ----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- using System; using System.ComponentModel.Composition.Factories; using System.ComponentModel.Composition.Hos...
45.512704
384
0.65154
[ "MIT" ]
zhy29563/MyMEF
redist/test/ComponentModelUnitTest/System/ComponentModel/Composition/ReflectionModel/ReflectionModelServicesTests.cs
50,155
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Globalization; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using PasswordVault.Models; using PasswordVault.Data; using PasswordVault.Services; using Microsoft.Extensions.Options; using...
40.380952
156
0.5398
[ "Apache-2.0" ]
willem445/PasswordVault
PasswordVault.WebApi/Services/Authentication/WebAuthenticationService.cs
3,394
C#
namespace TestApp { partial class FormMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
46.054217
156
0.586789
[ "MIT" ]
VPKSoft/VPKSoft.SearchText
TestApp/FormMain.Designer.cs
7,647
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
27.895954
99
0.514712
[ "MIT" ]
3quanfeng/azure-powershell
src/DigitalTwins/generated/runtime/Nodes/JsonDate.cs
4,656
C#
//----------------------------------------------------------------------- // <copyright file="FrameApi.cs" company="Google"> // // Copyright 2017 Google Inc. 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. // ...
40.431925
115
0.645146
[ "Apache-2.0" ]
BSAA0203/AR_Paint
AR/Assets/GoogleARCore/SDK/Scripts/Api/Wrappers/FrameApi.cs
8,612
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.278846
170
0.583741
[ "MIT" ]
jakesee/excel-sets
Sets/Properties/Resources.Designer.cs
4,295
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using BankLedger; namespace BankLedgerTests { [TestClass] public class AccountTests { [TestMethod] public void Menu_NumberInput_ValidNumberOutput() { //Arrange Account test...
26.181159
133
0.443122
[ "MIT" ]
Herberholz/BankLedger
BankLedger/BankLedgerTests/AccountTests.cs
3,615
C#
using System; using System.Collections.Generic; using CoreGraphics; using MapKit; using MapsDemo.Controls; using MapsDemo.iOS.Renderer; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Maps.iOS; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(CustomMap), typeof(CustomMapRenderer))] namespace M...
38.165217
108
0.606744
[ "MIT" ]
jorgemht/Xamarin-3.0
MapsDemo/MapsDemo/MapsDemo.iOS/Renderer/CustomMapRenderer.cs
4,391
C#
using KeyPay.DomainModels.V2.PayRun; namespace KeyPay.ApiFunctions.V2 { public class SuperAdjustmentsFunction : BaseFunction { public SuperAdjustmentsFunction(ApiRequestExecutor api) : base(api) { } public SuperAdjustmentResponse List(int businessId, int payRunId) { ...
28.9375
128
0.667387
[ "MIT" ]
KeyPay/keypay-dotnet
src/keypay-dotnet/ApiFunctions/V2/SuperAdjustmentsFunction.cs
463
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("Ren...
37.567568
84
0.747482
[ "MIT" ]
Iran/RenCSharpBot
RenCShapBot/Properties/AssemblyInfo.cs
1,393
C#
using BeatSaberMarkupLanguage.Components; using BeatSaberMarkupLanguage.Parser; using HMUI; using IPA.Utilities; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using static BeatSaberMarkupLanguage.BSMLParser; using static BeatSaberMarkupLanguage.Components.CustomListTableData;...
52.715789
340
0.638578
[ "MIT" ]
Pespiri/BeatSaberMarkupLanguage
BeatSaberMarkupLanguage/TypeHandlers/CustomListTableDataHandler.cs
5,010
C#
using System; using System.Reflection; namespace WebAPI_Learning1.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
21.75
59
0.754789
[ "Apache-2.0" ]
davidbull931997/asp.net
WebAPI_Buoi2/WebAPI_Learning1/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
261
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("ga...
36.034483
84
0.74067
[ "MIT" ]
buaafw/6d-pose-estimation-with-ml-in-ar
gabriel/client/legacy-windows-client/gabriel-client/Properties/AssemblyInfo.cs
1,048
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class Noise { public static float[,] GenerateNoiseMap(int mapWidth, int mapHeight, int seed, float scale, int octaves, float persistance, float lacunarity, Vector2 offset) { float[,] noiseMap = new float[mapWi...
31.973684
161
0.496708
[ "MIT" ]
igodsmark/MapGen-Unity
Assets/Scripts/Noise.cs
2,432
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")...
19.588235
73
0.648048
[ "Apache-2.0" ]
sdk-team/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/ModifyDTCSecurityIpHostsForSQLServerResponse.cs
1,665
C#
using Dapper; using ModelCreater.DbHelper; using ModelCreater.Model; using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Text.RegularExpressions;...
39.911602
176
0.53696
[ "MIT" ]
asfuyao/ModelCreater
ModelCreater/FrmMain.cs
7,344
C#
using UISleuth.Widgets; namespace UISleuth.Messages { internal class CallConstructorRequest : Request { public UIConstructor Constructor { get; set; } public UIProperty Property { get; set; } public string WidgetId { get; set; } } internal class CallConstructorResponse : Respo...
25.352941
54
0.647332
[ "MIT" ]
michaeled/uisleuth
Mobile/Source/UISleuth/Messages/CallConstructorRequest.cs
433
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Direct...
50.390244
145
0.738625
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3dcommon/D3D_CBUFFER_TYPE.cs
2,068
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...
32.15873
86
0.621422
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/applicationinsights/Microsoft.Azure.Management.ApplicationInsights/src/Generated/Models/ErrorResponseException.cs
2,026
C#
using System.AddIn.Pipeline; namespace MK6.GameKeeper.AddIns { [AddInBase] public interface GameKeeperAddIn { void Start(); void Stop(); AddInStatus Status { get; } } }
16.230769
36
0.606635
[ "MIT" ]
market6/MK6.GameKeeper.AddInBase
MK6.GameKeeper.AddIns/GameKeeperAddIn.cs
213
C#
using NUnit.Framework; using PrototypeApp; using PrototypeApp.AOP; using System; using System.Collections.Generic; using System.Linq; using System.Security; using System.Text; using System.Threading.Tasks; namespace UnitTests { [TestFixture] public class Class1 { //[Test] //public void Tes...
23.608696
92
0.592081
[ "MIT" ]
bobbyache/CsPrototypes
CastleWindsor/CastleWindsorPrototype/UnitTests/Class1.cs
1,088
C#
// // NeuroLoopGain Library // Library containing helper classes used to implement the NeuroLoopGain analysis. // // Copyright 2012 Marco Roessen // // 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 t...
30.962963
82
0.72488
[ "MIT" ]
UiL-OTS-labs/EDFPlusChecker
Source/NeuroLoogGainLibrary/Edf/PrereadTALs.cs
838
C#
/* Copyright (c) 2010 Michael Lidgren 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, modify, merge, publish, distr...
38.508475
115
0.735035
[ "Unlicense" ]
CaptainSandman/DarkHavoc
Dependencies/MonoGame/ThirdParty/Lidgren.Network/NetTime.cs
2,274
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Http.Result { /// <summary> /// Implements an interface for registering external methods that provide /// custom IResult instances. ///...
35.727273
77
0.727735
[ "MIT" ]
TechnicalConsultant123/aspnetcore
src/Http/Http.Results/src/ResultExtensions.cs
393
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2019 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ namespace GameFramework.Sound { ...
25.117647
63
0.468384
[ "MIT" ]
ElPsyCongree/GameFramework
GameFramework/Sound/ISoundGroupHelper.cs
448
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Transfusion.Pages { public class IndexModel : PageModel { private readonly ILogger<I...
19.346154
53
0.667992
[ "MIT" ]
sbannikov/csharpcroc
2020-Spring/Transfusion/Pages/Index.cshtml.cs
505
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebMVC.Application.Services.Scraper.Models.Dto { public class OccurenceDto { public int No { get; set; } public string Word { get; set; } public int Occurence {...
20.117647
56
0.675439
[ "MIT" ]
kelvint96/Sitecore.Analyzer.Seo
src/Web/WebMVC/Application/Services/Scraper/Models/Dto/OccurenceDto.cs
344
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.VoiceCommands { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public partial class VoiceCommandConfirmationResult { #if __ANDROID__ || __I...
30.304348
140
0.761836
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.VoiceCommands/VoiceCommandConfirmationResult.cs
697
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly:...
41.108108
104
0.73044
[ "MIT" ]
tbenoist1/eiin839
ProjetBiking/Server/Properties/AssemblyInfo.cs
1,546
C#
//Copyright (C) Microsoft Corporation. All rights reserved. using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Reflection; // See the ReadMe.html for additional information public class ObjectDumper { public static void Write(object element) { Wr...
30.630303
113
0.39632
[ "MIT" ]
coojee2012/pm3
Tools/ObjectDumper.cs
5,056
C#
using EdityMcEditface.HtmlRenderer; using EdityMcEditface.HtmlRenderer.FileInfo; using HtmlAgilityPack; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace EdityMcEditface.HtmlRenderer.C...
38.285714
157
0.609931
[ "MIT" ]
threax/EdityMcEditface
EdityMcEditface.HtmlRenderer/Compiler/JsonCompiler.cs
3,486
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; // // Push a new high score public class NewHighScorePanel : MonoBehaviour { // input field for player's name public UnityEngine.UI.InputField nameInput; // server connection for high score public HighScoreClient highSco...
21.782609
73
0.657685
[ "MIT" ]
UNEW-INFT3050/INFT3050_19Sem2
Week11_Stroids/Assets/Scripts/Menus/NewHighScorePanel.cs
1,004
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using Cumulocity.SDK.Client.Rest.API.Cep.Notification; using Cumulocity.SDK.Client.Rest.Representation.Cep; namespace Cumulocity.SDK.Client.Rest.API.Cep { /// <summary> /// API for integration with Custom Event Processing modules fr...
35.269565
104
0.671844
[ "MIT" ]
SoftwareAG/cumulocity-sdk-cs
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Cep/ICepApi.cs
4,058
C#
namespace Fonet { using System.Collections; using Fonet.Apps; using Fonet.DataTypes; using Fonet.Fo.Flow; using Fonet.Fo.Pagination; using Fonet.Layout; using Fonet.Render.Pdf; /// <summary> /// This class acts as a bridge between the XML:FO parser and the /// formatti...
32.464789
142
0.521367
[ "Apache-2.0" ]
Genocs/PdfTemplating.XslFO
OpenSource.FONet.NetFramework/Core/StreamRenderer.cs
9,220
C#
using System; using System.Collections.Generic; using System.Text; using System.Collections; using Infosys.Solutions.CodeGeneration.Framework; namespace Infosys.Lif.LegacyWorkbench.CodeProviders.HostCallers { internal class WCFHostCP : ContentProvider { Entities.GenericCollection<ContractModuleMapping...
32.401515
141
0.488193
[ "Apache-2.0" ]
Infosys/Intelligent-Bot-Management-
Data Integration Framework/Legacy Workbench/LegacyParserComponents/CodeProviders/HostCallers/WCFHostCP.cs
8,554
C#
using NUnit.Framework; using static NSelene.Selene; namespace NSelene.Tests.Integration.SharedDriver.SeleneSpec { using System; using System.Linq; using System.Reflection; using Harness; using OpenQA.Selenium; [TestFixture] public class SeleneElement_Should_Specs : BaseTest { /...
34.51634
127
0.474266
[ "MIT" ]
davespoon/NSelene
NSeleneTests/Integration/SharedDriver/SeleneElement_Should_Specs.cs
26,437
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 Xunit; namespace System.Linq.Parallel.Tests { public class ToArrayTests { [Theory] [M...
36.233333
125
0.613615
[ "MIT" ]
hougongchao/corefx
src/System.Linq.Parallel/tests/QueryOperators/ToArrayTests.cs
2,174
C#
using System.Xml.Serialization; namespace WarHub.ArmouryModel.Source { [WhamNodeCore] [XmlType("infoLink")] public sealed partial class InfoLinkCore : EntryBaseCore { [XmlAttribute("targetId")] public string TargetId { get; } [XmlAttribute("type")] public InfoLinkKind ...
21.375
60
0.643275
[ "MIT" ]
amis92/wham
src/WarHub.ArmouryModel.Source/InfoLinkCore.cs
344
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("Rebus.Forklift.RabbitMq")] [assembly: Ass...
38.333333
84
0.742754
[ "MIT" ]
lucasantarelli/rebus
Rebus.Forklift.RabbitMq/Properties/AssemblyInfo.cs
1,383
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v3.0.8.100 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //--------------------------------------------...
31.413793
115
0.708562
[ "MIT" ]
markglibres/mbran-umbraco-components
src/MBran.Components.Test/App_Data/Models/ModulePicker.generated.cs
1,822
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.DirectoryServices; using System.Collections.Generic; using System.Collections; using Syst...
44.907681
178
0.523837
[ "MIT" ]
BigBadBleuCheese/corefx
src/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/AD/ADDNLinkedAttrSet.cs
63,724
C#
using System; namespace RestEase { /// <summary> /// Marks a parameter as being a query param /// </summary> [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, Inherited = false, AllowMultiple = false)] public sealed class QueryAttribute : Attribute { pri...
41.617978
145
0.591793
[ "MIT" ]
Mu-L/RestEase
src/Common/QueryAttribute.cs
3,618
C#