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
namespace Aquarius.Weixin.Entity.Pay { /// <summary> /// 场景信息 /// </summary> public class SceneInfo { /// <summary> /// 门店id /// (MaxLength:32) /// </summary> public string id { get; set; } /// <summary> /// 门店名称 /// (MaxLength:64) ...
24.2
138
0.455464
[ "MIT" ]
Weidaicheng/Aquarius.Weixin
src/Aquarius.Weixin/Aquarius.Weixin/Entity/Pay/SceneInfo.cs
1,137
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum CameraState { ORBIT, ORBIT_TO_PLANE, PLANE, PLANE_TO_ORBIT } public class CameraController : MonoBehaviour { public GameObject center; public float acceleration = 1.0f; public float speed = 1.0f; ...
25.989011
115
0.512474
[ "MIT" ]
pavelkouril/ld40
Assets/Scripts/Camera/CameraController.cs
11,827
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("AWSSDK.MediaLive")] [assembly: AssemblyDes...
46.875
226
0.752667
[ "Apache-2.0" ]
costleya/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/MediaLive/Properties/AssemblyInfo.cs
1,500
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18052 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.612903
152
0.567029
[ "MIT" ]
gstamac/AllGreen
src/AllGreen.Runner.WPF/Properties/Settings.Designer.cs
1,106
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 namespace DotNetNuke.Modules.Journal.Controls { using System; using System.Collections.Generic; using Sy...
31.122222
171
0.613709
[ "MIT" ]
Mariusz11711/DNN
DNN Platform/Modules/Journal/JournalListControl.cs
2,803
C#
// Copyright (c) CSA, NJUST. All rights reserved. // Licensed under the Mozilla license. See LICENSE file in the project root for full license information. using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseIgnore : MonoBehaviour, ICanvasRaycastFilter { public bool I...
20.259259
105
0.694698
[ "MPL-2.0" ]
NJUST-CSA-Develop-Group/The-11th-TuringCup
src/Project/Assets/Scrpit/UI/MouseIgnore.cs
549
C#
using System; using System.IO; using System.Linq; using Ela; using Ela.Linking; using Elide.CodeEditor.Infrastructure; using Elide.CodeEditor.Views; using Elide.Core; using Elide.ElaCode.ObjectModel; using Elide.Environment; using Ela.Parsing; namespace Elide.ElaCode { public sealed class ElaCodePar...
34.65
163
0.545455
[ "MIT" ]
vorov2/ela
Elide/Elide.ElaCode/ElaCodeParser.cs
2,081
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System.Collections; using UnityEngine.UI; namespace HoloToolkit.Examples.Prototyping { /// <summary> /// CycleStatusDisplay shows t...
29.967213
112
0.558534
[ "MIT" ]
FlorianJa/BeamLite-Unity
Assets/HoloToolkit-Examples/Prototyping/Scripts/CycleStatusDisplay.cs
1,830
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace toDoList.Class { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollectio...
37
113
0.583012
[ "Apache-2.0" ]
ggraur/toDoList
Class/BundleConfig.cs
1,297
C#
using System; namespace OzricEngine.logic { /// <summary> /// A named input or output, with a current value. /// </summary> public class Pin { public string name { get; set; } public ValueType type { get; set; } public Value value { get; set; } public P...
28.601626
93
0.37436
[ "Apache-2.0" ]
jchown/ozric
OzricEngine/nodes/Pin.cs
3,518
C#
using System; using System.Collections.Generic; using System.Text; using Nebula.CoreLibrary.Shared; namespace Nebula.Membership { public class Role : EntityBase { public string Key { get; set; } public string Description { get; set; } public virtual ICollection<UserGroupRole> UserGrou...
21.8125
78
0.687679
[ "MIT" ]
fatihmert93/NebulaFramework
Nebula.Membership/Role.cs
351
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; using System.Xml.Serialization; using System.Xml; [XmlRoot("PartCollection")] public class PartDatabase { [XmlArray("Parts")] [XmlArrayItem("Part")] public List<Part> parts = new List<Part>(); public static PartDat...
24.384615
110
0.741325
[ "MIT" ]
Mr-Tibberz/Parker-JR-Project
Parker_DAGD_340/Assets/_scripts/PartDatabase.cs
636
C#
namespace CubularServer.Game { public interface IFood : IID, IPoint3D { } }
14.666667
42
0.647727
[ "MIT" ]
ivanpfeff/cubular
cubular-server/CubularServer/Game/IFood.cs
90
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.IO; using System.Net.Http; using Microsoft.TestCommon; namespace System.Web.OData.Formatter { public class ODataMessageWrapperTest ...
35.017241
133
0.614476
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
OData/test/System.Web.OData.Test/OData/Formatter/ODataMessageWrapperTest.cs
2,033
C#
using UnityEngine; #if UNITY_2021_2_OR_NEWER using UnityEngine.TerrainTools; #else using UnityEngine.Experimental.TerrainAPI; #endif namespace sc.terrain.layersampler { [ExecuteInEditMode] [RequireComponent(typeof(Terrain))] public class TerrainLayerComponent : MonoBehaviour { public TerrainLay...
29.972973
136
0.58927
[ "MIT" ]
staggartcreations/UnityTerrainLayerSampler
Runtime/TerrainLayerComponent.cs
2,218
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
15.503268
63
0.592749
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-imm/Imm/Model/V20170906/CreateSetResponse.cs
2,372
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("MiniRender")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
25.351351
56
0.714286
[ "MIT" ]
asheigithub/MiniRenderer
MiniRender/Properties/AssemblyInfo.cs
1,273
C#
// ====================================================================== // // filename : IImporter.cs // description : // // created by 雪雁 at 2019-09-11 13:51 // 文档官网:https://docs.xin-lai.com // 公众号教程:麦扣聊技术 // QQ群:85318032(编程交流) // Blog:http://...
31.25
112
0.486667
[ "MIT" ]
ExcaliOne/Magicodes.IE
src/Magicodes.ExporterAndImporter.Core/IImporter.cs
1,622
C#
using System; using NAudio.CoreAudioApi; using VoiceRecorder.Model; namespace VoiceRecorder.AudioEngine.MP3RecorderImpl { /// <summary> /// The class Microphone is an adapter on MMDevice. /// </summary> internal class Microphone : IDevice { public Microphone(MMDevice device) { ...
22.40625
55
0.550907
[ "MIT" ]
ArgishtyAyvazyan/VoiceRecorder
VoiceRecorder/AudioEngine/MP3RecorderImpl/Microphone.cs
719
C#
// Copyright (c) 2019 Jean-Philippe Bruyère <jp_bruyere@hotmail.com> // // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) using System; using Vulkan; using static Vulkan.Vk; namespace vke { public class PresentQueue : Queue { public readonly VkSurfaceKHR Surface;...
34.698276
139
0.589814
[ "MIT" ]
Shawdooow/vke.net
vke/src/base/Queue.cs
4,028
C#
using Heroes.Models; using Heroes.Models.AbilityTalents; using System; using System.IO; using System.Text.Json; namespace Heroes.Icons.DataDocument { /// <summary> /// Base class reader for unit and hero related data. /// </summary> public abstract class UnitDataBase : DataDocumentBase, IDataDocument ...
53.835859
141
0.621933
[ "MIT" ]
HeroesToolChest/Heroes.Icons
Heroes.Icons/DataDocument/UnitDataBase.cs
21,321
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using SixLabors.ImageSharp.ColorSpaces; using SixLabors.ImageSharp.ColorSpaces.Conversion; using Xunit; namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion { /// <summary> /// Tests <see cre...
39.15625
129
0.580474
[ "Apache-2.0" ]
GyleIverson/ImageSharp
tests/ImageSharp.Tests/Colorspaces/Conversion/CieXyzAndCieLabConversionTest.cs
3,761
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...
41.254098
195
0.661037
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/KinesisVideo/Generated/Model/Internal/MarshallTransformations/DescribeImageGenerationConfigurationResponseUnmarshaller.cs
5,033
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3PosterStatePosterObserved : CScriptable...
32.73913
139
0.756972
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/W3PosterStatePosterObserved.cs
753
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Text; #if WINDOWS_UWP using Windows...
45.043771
226
0.609508
[ "MIT" ]
ArchieCoder/WindowsCommunityToolkit
Microsoft.Toolkit.Uwp.Notifications/Toasts/Builder/ToastContentBuilder.Visuals.cs
26,756
C#
using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ItemCreatePanel : MonoBehaviour { [SerializeField] private GameObject _panel; private void Update() { PollToggle(); } private void PollToggle() { ...
23.581395
88
0.613412
[ "MIT" ]
DanielEverland/Dead-Air-Blueprint-Prototype
Assets/Scripts/UI/ItemCreatePanel.cs
1,016
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Window...
30.581673
135
0.45766
[ "Apache-2.0" ]
Neotoxic-off/Misty
Misty/Misty/Misty.cs
7,678
C#
using SAPBlazorAnimate.Models; using System; using System.Collections.Generic; using System.Text; namespace SAPBlazorAnimate.Models { #region Attention Seekers public class SAPAttentionSeekersGroup { public string Bounce => $" {AnimateType.bounce} animated "; public string Flash => $" {Ani...
36.176471
91
0.666938
[ "MIT" ]
DanielHWe/SAPBlazorAnimate
SAPBlazorAnimate/Models/AnimateBook.cs
7,382
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 System.Linq.Expressions; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Query; using Microsoft.En...
58.550725
113
0.668441
[ "Apache-2.0" ]
belav/efcore
src/EFCore.Cosmos/Query/Internal/KeyAccessExpression.cs
8,082
C#
using HPTK.Controllers.Interaction; using HPTK.Helpers; using HPTK.Models.Avatar; using HPTK.Settings; using HPTK.Views.Handlers; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace HPTK.Controllers.Avatar { public class AvatarController : AvatarHandler { public Av...
23.648649
77
0.609143
[ "MIT" ]
LudiKha/HPTK
Runtime/Modules/Avatar/AvatarController.cs
877
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic.Core; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using WorldCities.Data; using WorldCities.Data.Models; namespace WorldCities.Controller...
32.561644
119
0.459823
[ "MIT" ]
FlorianMeinhart/ASP.NET-Core-5-and-Angular
Chapter_08/WorldCities/Controllers/CountriesController.cs
7,133
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using XamarinEvolve.DataObjects; using XamarinEvolve.Clients.Portable; namespace XamarinEvolve.Clients.UI { public class SpeakerCell: ViewCell { readonly INavigation navigation; string sessionId; public Sp...
26.265306
80
0.544678
[ "MIT" ]
BeeLabs/app-evolve
src/XamarinEvolve.Clients.UI/Cells/SpeakerCell.xaml.cs
1,289
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.Buffers.Text; using System.Collections.Sequences; using System.Text.Http; namespace System.Diagnostics { public abstract class Log { publ...
33.981308
199
0.543454
[ "MIT" ]
maryamariyan/corefxlab
samples/LowAllocationWebServer/LowAllocationWebServerLibrary/Log.cs
3,638
C#
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace MonoGame.Extended.NuclexGui.Controls.Desktop { public class GuiButtonControl : GuiPressableControl { /// <summary>Text that will be shown on the button</summary> public string Text; public T...
27.633333
75
0.629674
[ "MIT" ]
Acidburn0zzz/MonoGame.Extended
Source/MonoGame.Extended.NuclexGui/Controls/Desktop/GuiButtonControl.cs
831
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Xms.Core; using Xms.Core.Context; using Xms.Core.Data; using Xms.Data.Provider; using Xms.Flow; using Xms.Flow.Core; using Xms.Flow.Domain; using Xms.Infrastructure.Utility; using Xms.S...
38.139831
164
0.539218
[ "MIT" ]
feilingdeng/xms
Presentation/Xms.Web/Areas/Customize/Controllers/FlowController.cs
18,190
C#
// Copyright (c) 2015 Alachisoft // // 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 t...
39.59401
355
0.491217
[ "Apache-2.0" ]
NCacheDev/NCache
Src/NCCommon/Util/Log4net.cs
23,796
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using Pinwheel.TextureGraph; namespace Pinwheel.TextureGraph { [TCustomParametersDrawer(typeof(TSharpenNode))] public class TSharpenNodeParamsDrawer : TParametersDrawer { private static readonly GUIContent inte...
30.95
114
0.701131
[ "MIT" ]
Abelark/Project-3---Rocket-Punch
Assets/Polaris - Low Poly Ecosystem/TextureGraph/Core/Editor/Nodes/TSharpenNodeParamsDrawer.cs
619
C#
using BackendAPI.Utils; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BackendAPI.Objects.Implementation.DeckActions.OBS { public class SceneItemVisibilityAction : AbstractDeckAc...
32.166667
130
0.636509
[ "MIT" ]
brutalzinn/ButtonDeck
BackendAPI/Backend/Objects/Implementation/DeckActions/OBS/SceneItemVisibilityAction.cs
2,511
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;...
26.693603
67
0.458628
[ "MIT" ]
Marcus0110/tpt18-project-1
SnakeGame_TA18E_Vettik/SnakeGame_TA18E_Vettik/MainWindow.xaml.cs
7,930
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.ResourceManager.Network.Models { /// <summary> The IpGroups resource information. </summary> public partial class IpGroup :...
47.604167
259
0.65733
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/IpGroup.cs
2,285
C#
using Newtonsoft.Json; using System; namespace Serenity.Services { /// <summary> /// Serialize/deserialize a SortBy object as string</summary> /// <typeparam name="T"> /// Type</typeparam> public class JsonSortByConverter : JsonConverter { /// <summary> /// Wr...
37.840909
125
0.548649
[ "MIT" ]
JarLob/Serenity
src/Serenity.Net.Services/Json/JsonSortByConverter.cs
3,332
C#
using Microsoft.AspNetCore.Mvc; using WhatSearch.Core; using WhatSearch.Models; using WhatSearch.Services.Interfaces; using WhatSearch.WebAPIs.Filters; namespace WhatSearch.Controllers { //[Route("[controller]")] public class PageController : Controller { //[Route("")] //public IAc...
27.616438
75
0.479167
[ "MIT" ]
uni2tw/WhatSearch
WhatSearch/Controllers/PageController.cs
2,032
C#
using IO.Reactivex.Functions; using Java.Util.Concurrent; using System; namespace IO.Reactivex.Internal.Operators.Observable { public sealed partial class ObservableInternalHelper { public sealed partial class FlatMapIntoIterable { Java.Lang.Object IFunction.Apply(Java.Lang.Object ...
24.823529
65
0.64455
[ "MIT" ]
MonkSoul/Xamarin.Android.Bindings
Xamarin.Android.RxJava/src/Xamarin.Android.RxJava/Additions/FlatMapIntoIterable.cs
424
C#
/**** * PMSM calculation - automate PMSM design process * Created 2016 by Ngo Phuong Le * https://github.com/lehn85/pmsm_calculation * All files are provided under the MIT license. ****/ using System; using System.Collections.Generic; using System.Threading; using log4net; using fastJSON; namespace calc_from_ge...
29.86
130
0.599129
[ "MIT" ]
lehn85/pmsm_calculation
PMSM_calculation/motor/AbstractAnalyser.cs
2,988
C#
using System.Text.RegularExpressions; namespace LTMCompanyNameFree.YoyoCmsTemplate.Web.Views { public static class UrlChecker { private static readonly Regex UrlWithProtocolRegex = new Regex("^.{1,10}://.*$"); public static bool IsRooted(string url) { if (url.StartsWith("/"...
21.84
89
0.509158
[ "MIT" ]
cnmediar/YoyoCmsFree.Template
src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Web.Mvc/Views/UrlChecker.cs
546
C#
using System; using System.Windows.Forms; namespace Home_Appliance_Store { static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Appl...
22.666667
65
0.569328
[ "Apache-2.0" ]
Bulatik-707/Home_Appliance_Store
Program.cs
527
C#
using System; using System.Linq.Expressions; using System.Reflection; namespace OdataToEntity.InMemory { internal sealed class NullPropagationVisitor : ExpressionVisitor { public static String SafeSubstring(String text, int start, int length) { if (start >= text.Length) ...
43.81203
131
0.542303
[ "MIT" ]
DawidPotgieter/OdataToEntity
source/OdataToEntity/InMemory/NullPropagationVisitor.cs
5,829
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.CodeDom.Compiler; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using...
41.504595
290
0.539593
[ "Apache-2.0" ]
ConnectionMaster/nodejstools
Nodejs/Product/Nodejs/SharedProject/ProjectNode.cs
282,079
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Microsoft.XLANGs.BaseTypes; using Microsoft.BizTalk.XLANGs.BTXEngine; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify ...
38.775
84
0.755642
[ "MIT" ]
BTDF/BTDF
src/btdf/Samples/BizTalk/Bam/Pipelines/Properties/AssemblyInfo.cs
1,554
C#
using OpenLoganalyzerLib.Core.Enum; using OpenLoganalyzerLib.Core.Interfaces.Loader; using OpenLoganalyzerLib.Core.Interfaces.Loglines; using OpenLoganalyzerLib.Core.Loglines; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text.RegularExpressions; namespace O...
34.311475
143
0.48925
[ "MIT" ]
XanatosX/OpenLoganalyzer
OpenLoganalyzerLib/Core/Loader/FileLoader.cs
4,188
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/osconfig/v1alpha/os_policy.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collecti...
47.046824
895
0.546384
[ "Apache-2.0" ]
LaudateCorpus1/google-cloud-dotnet
apis/Google.Cloud.OsConfig.V1Alpha/Google.Cloud.OsConfig.V1Alpha/OsPolicy.g.cs
346,641
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.710526
153
0.583277
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookTableColumnsCollectionPage.cs
1,471
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShieldWall : MonoBehaviour { IEnumerator Wall() { SphereCollider Sphere = GetComponent<SphereCollider>(); while (Sphere.radius < 3) { Sphere.radius += Time.deltaTime * 5; ...
19.818182
63
0.593272
[ "Apache-2.0" ]
bruno-pLima/PandoraPlayers
Players/Juninho/Ataques/ShieldWall.cs
656
C#
using UmaMusumeAPI.Controllers; namespace UmaMusumeAPI.Models.Tables { [GeneratedController] public class SingleModeRaceLive { public int Id { get; set; } public long Grade { get; set; } public long RaceInstanceId { get; set; } public long MusicId { get; set; } } }
22.571429
48
0.632911
[ "Apache-2.0" ]
SimpleSandman/UmaMusumeAPI
UmaMusumeAPI/Models/Tables/SingleModeRaceLive.cs
318
C#
using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Text.RegularExpressions; using System.Threading; using System.Web; using System.Configuration; using System.Xml; using YTS.Tools; namespace YTS.Web.UI { /// <summary> /...
37.069307
178
0.503673
[ "Apache-2.0" ]
YellowTulipShow/CSharp
dotnet_framework/YTS.Web.UI/HttpModule.cs
16,436
C#
// // https://github.com/mythz/ServiceStack.Redis // ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system // // Authors: // Demis Bellot (demis.bellot@gmail.com) // // Copyright 2013 ServiceStack. // // Licensed under the same terms of Redis and ServiceStack: new BSD license. // usi...
23.916667
85
0.71777
[ "BSD-3-Clause" ]
GSerjo/ServiceStack
src/ServiceStack.Interfaces/Redis/Generic/IRedisHash.Generic.cs
551
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.Sql.Models { /// <summary> /// Defines values for TargetElasticPoolEditions. /// </summary> [Newtonsoft.Json....
31.909091
91
0.696581
[ "Apache-2.0" ]
pbolduc/Azure-Resource-Management-Utilities
src/ResourceManagement/Sql/Microsoft.Azure.Management.Sql/Generated/Models/TargetElasticPoolEditions.cs
702
C#
using AllReady.Areas.Admin.Features.Activities; using AllReady.Models; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using Xunit; namespace AllReady.UnitTest.Activities { public class GetActivityDetail : InMemoryContextTest { protected overr...
35.69697
86
0.542445
[ "MIT" ]
JesseLiberty/allReady
AllReadyApp/Web-App/AllReady.UnitTest/Activities/GetActivityDetail.cs
2,358
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программным средством. // Версия среды выполнения: 4.0.30319.296 // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создан повторно. /...
40.166667
185
0.618603
[ "MIT" ]
nomoreserious/FlowSimulation
FlowSimulation.Test/Properties/Resources.Designer.cs
3,423
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace API.Data.Migrations { public partial class IdentityAdded : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNetRoles", ...
45.472973
117
0.494998
[ "MIT" ]
jlamza/MoviesApp
API/Data/Migrations/20201226232138_IdentityAdded.cs
10,097
C#
/* * Copyright (c) 2014-2021 GraphDefined GmbH * This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP> * * 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 * * ...
32.630252
103
0.652073
[ "Apache-2.0" ]
OpenChargingCloud/WWCP_OCPP
WWCP_OCPPv1.6/CentralSystem/ICentralSystemServer.cs
7,768
C#
using System.Reflection; namespace Eshava.Storm.Models { internal class KeyProperty { public PropertyInfo PropertyInfo { get; set; } public bool AutoGenerated { get; set; } public string ColumnName { get; set; } } }
20.545455
48
0.725664
[ "MIT" ]
MichaelPruefer/storm
Eshava.Storm/Models/KeyProperty.cs
228
C#
using System; using System.Threading; using System.Threading.Tasks; using AutoMapper; using EshopManager.Application.Interfaces.Repositories; using EshopManager.Domain.Contracts; using EshopManager.Shared.Wrapper; using MediatR; namespace EshopManager.Application.Features.ExtendedAttributes.Queries.GetById { publ...
51.534884
209
0.75722
[ "MIT" ]
tarafdarmansour/EShopManager
src/Application/Features/ExtendedAttributes/Queries/GetById/GetExtendedAttributeByIdQuery.cs
2,218
C#
using System; using System.Threading.Tasks; namespace MQTTnet.Implementations { public static class PlatformAbstractionLayer { #if NET452 public static Task CompletedTask => Task.FromResult(0); public static byte[] EmptyByteArray { get; } = new byte[0]; #else public static Task Comple...
23.428571
75
0.652439
[ "MIT" ]
765643729/MQTTnet
Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs
658
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.Win32.SafeHandles; using System.IO; using System.Runtime.InteropServices; internal partial class In...
36.888889
151
0.722892
[ "MIT" ]
06needhamt/runtime
src/libraries/Common/src/Interop/Windows/Kernel32/Interop.DeleteVolumeMountPoint.cs
996
C#
// <copyright file="UsersUnitOfWork.cs" company="YAGNI"> // All rights reserved. // </copyright> // <summary>Holds implementation of UsersUnitOfWork class.</summary> using Bytes2you.Validation; using LibrarySystem.Data.Users; using LibrarySystem.Repositories.Contracts; using LibrarySystem.Repositories.Contracts.Data...
37.962264
116
0.67495
[ "MIT" ]
TeamYAGNI/LibrarySystem
LibrarySystem/LibrarySystem.Repositories/Data.Users/UnitOfWork/UsersUnitOfWork.cs
2,014
C#
using FluentNHibernate.Automapping; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using FluentNHibernate.Conventions.Helpers; using Meganium.Api.Entities; using NHibernate; using NHibernate.Cfg; using NHibernate.Tool.hbm2ddl; using NHibernate.Validator.Cfg; using NHibernate.Validator.Engine; namespace Me...
33.759259
111
0.658804
[ "MIT" ]
afonsof/meganium
Api/NHibernateBuilder.cs
1,825
C#
version https://git-lfs.github.com/spec/v1 oid sha256:184a7e969c764b337260d6dd3d0d48d68f5b4fc01707df46e04bc6d02471a807 size 508
32
75
0.882813
[ "MIT" ]
Vakuzar/Multithreaded-Blood-Sim
Blood/Library/PackageCache/com.unity.shadergraph@8.1.0/Editor/Data/Nodes/IMasterNode.cs
128
C#
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using OrchardCore.Modules; namespace OrchardCore.Mvc.HelloWorld { public class Startup : StartupBase { private readonly IConfiguration _configuration; public Startup(...
28.028571
131
0.59633
[ "BSD-3-Clause" ]
AkosLukacs/OrchardCore
src/OrchardCore.Modules/OrchardCore.Mvc.HelloWorld/Startup.cs
981
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Swiddler.Converters { public class TreeIndentConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return new T...
25.125
103
0.626866
[ "Apache-2.0" ]
ihonliu/Swiddler
Source/Swiddler/Converters/TreeIndentConverter.cs
605
C#
// // System.CodeDom CodeTypeReferenceExpression Class implementation // // Author: // Daniel Stodden (stodden@in.tum.de) // Marek Safar (marek.safar@seznam.cz) // // (C) 2001 Ximian, Inc. // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docum...
25.942857
97
0.665474
[ "Apache-2.0" ]
121468615/mono
mcs/class/System/System.CodeDom/CodeTypeReference.cs
7,264
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
50.232558
130
0.660648
[ "MIT" ]
ChimpPACS/dicom-server
src/Microsoft.Health.Dicom.Operations.Client/Extensions/DurableOrchestrationStatusExtensions.cs
2,162
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
32.220779
210
0.630391
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190901/GetBastionShareableLink.cs
2,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Web; using Umbrella.Utilities; namespace Umbrella.Legacy.WebUtilities.Extensions { //TODO: Add unit tests public static class StringExtensions { /...
40.692308
163
0.642722
[ "MIT" ]
Zinofi/umbrella
Legacy/src/Umbrella.Legacy.WebUtilities/Extensions/StringExtensions.cs
1,589
C#
using System; using System.Collections.Generic; using MFiles.VAF.Configuration; using MFilesAPI; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace MFiles.VAF.Extensions.Tests.ExtensionMethods.ObjVerEx { /// <summary> /// Tests <see cref="ObjVerExExtensionMethods.TryGetPropertyText(Common....
35.125604
137
0.734837
[ "MIT" ]
falk-huth-ewerk/VAF.Extensions.Community
MFiles.VAF.Extensions.Tests/ExtensionMethods/ObjVerEx/TryGetPropertyText.cs
7,273
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 osu.Framework.Allocation; using osu.Framework.Caching; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Gr...
34.365079
120
0.491224
[ "MIT" ]
AaqibAhamed/osu
osu.Game/Overlays/Toolbar/ToolbarButton.cs
8,411
C#
using System; namespace ShopBackend.Dtos { public class UserLoginDto { public UserLoginDto() { } public string Email { get; set; } public string Username { get; set; } public string Password { get; set; } public string ConfirmPassword { get; set; } ...
17.157895
51
0.564417
[ "MIT" ]
DimitarKazakov/React-Project
backend/ShopBackends/Dtos/UserLoginDto.cs
328
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; [assembly: AssemblyTitle("Microsoft Rest Client Runtime Tests")] [assembly: AssemblyDescription("Tests for the M...
42.842105
95
0.77887
[ "MIT" ]
DiogenesPolanco/azure-sdk-for-net
src/ClientRuntime/Microsoft.Rest.ClientRuntime.Tests/Properties/AssemblyInfo.cs
814
C#
using System.Collections.Concurrent; namespace Csla.Channels.RabbitMq { internal static class Wip { public static readonly ConcurrentDictionary<string, WipItem> WorkInProgress = new ConcurrentDictionary<string, WipItem>(); } internal class WipItem { public Csla.Reflection.AsyncManualResetEve...
23.235294
82
0.726582
[ "MIT" ]
Alstig/csla
Source/Csla.Channels.RabbitMq/WorkInProgress.cs
397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace api.importacao { public class Program { public...
25.777778
70
0.645115
[ "Apache-2.0" ]
claudiocasa/Importacao
api.importacao/Program.cs
696
C#
// CivOne // // To the extent possible under law, the person who associated CC0 with // CivOne has waived all copyright and related or neighboring rights // to CivOne. // // You should have received a copy of the CC0 legalcode along with this // work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. us...
54.486804
260
0.694456
[ "CC0-1.0" ]
Andersw88/CivOne
src/Screens/Setup.cs
18,580
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...
41.45
84
0.782871
[ "Apache-2.0" ]
anandtpatel/AutoCompare
src/AutoCompare.Console/Properties/AssemblyInfo.cs
831
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("AWSSDK.MediaConvert")] [assembly: Assembly...
49.125
297
0.758906
[ "Apache-2.0" ]
InsiteVR/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/MediaConvert/Properties/AssemblyInfo.cs
1,572
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SportsFinal { public abstract class Sport : ISport, IScoring { public string Name { get; private set; } public string Description { get; private set; } public...
24.913793
98
0.542561
[ "MIT" ]
sim2kid/PROG-301-FA21
SportsFinal/Sport.cs
1,447
C#
using Abp; using Topshelf.HostConfigurators; using Topshelf.Logging; namespace Topshelf.Abp { public static class HostConfiguratorExtensions { public static HostConfigurator UseAbp(this HostConfigurator configurator, AbpBootstrapper abpBootstrapper) { var log = HostLogger.Get(typeo...
29.473684
114
0.705357
[ "MIT" ]
a-merson/Topshelf.Abp.Integrations
src/Topshelf.Abp/HostConfiguratorExtensions.cs
562
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using PlanningPoker2018_backend_2.Models; namespace PlanningPoker2018_backend_2.Controllers { [Produces("application/json")] [Route("api/RoomParticipants")] ...
28.317073
123
0.548665
[ "MIT" ]
Mieta/se2018-poker-backend
PlanningPoker2018-backend-2/Controllers/RoomParticipantsController.cs
3,485
C#
using Net.FreeORM.Logic.BaseDal; namespace Net.FreeORM.TestWFA.Source.DL { public class MainPostgreSqlDL: BaseDL { public MainPostgreSqlDL() : base("mainPgSql") { } } }
17.416667
40
0.617225
[ "Apache-2.0" ]
mustafasacli/Net.FreeORM.Data.Repo
Net.FreeORM.Test/Net.FreeORM.TestWFA/Source/DL/MainPostgreSqlDL.cs
211
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
32.692308
107
0.497255
[ "MIT" ]
AlanFlorance/azure-powershell
src/HealthcareApis/generated/runtime/Parser/TokenReader.cs
1,239
C#
/** * Author: dyx1001 * Email: dyx1001@126.com * License: MIT * Git URL: https://github.com/dyx1001/BigBlueButtonAPI.NET */ using System; using System.Collections.Generic; using System.Linq; namespace BigBlueButtonAPI.Core { /// <summary> /// It contains the config data for the BigBlueButton API. ///...
33.15625
177
0.641847
[ "MIT" ]
dyx1001/BigBlueButtonAPI.NET
Source/BigBlueButtonAPI.NET/Core/BigBlueButtonAPISettings.cs
1,065
C#
using System; using System.Collections.Generic; namespace Naticon.Handlers { /// <summary>System.DateTime.Parse based handler. To be used as a fallback mechanism.</summary> public class BCLDateTimeHandler : IHandler { public Span Handle(IList<Token> tokens, Options options) { var time = DateTime.Parse(option...
26.2
96
0.745547
[ "MIT" ]
risadams/Naticon
src/Naticon/Handlers/BCLDateTimeHandler.cs
393
C#
/* * Copyright (C) 2016-2021 Kerygma Digital Co. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at https://mozilla.org/MPL/2.0/. */ using System.Collections.Generic; using System.Threading.Tasks; u...
32.173913
110
0.725676
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
tenaciousprime/bahaibot
src/BibleBot.Backend/Models/BibleProvider.cs
740
C#
namespace HyperMapper.Vocab { public class FieldName { } }
11.666667
27
0.642857
[ "MIT" ]
mcintyre321/HyperMapper
HyperMapper/Vocab/FieldName.cs
70
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.916031
209
0.599316
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/datalake-store/Microsoft.Azure.Management.DataLake.Store/src/Generated/DataLakeStoreAccountManagementClient.cs
16,080
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using...
42.688645
184
0.522482
[ "Apache-2.0" ]
semihokur/pattern-matching-csharp
Src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_ConditionalAccess.cs
11,656
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; namespace Silk.NET.Vulkan { public un...
31.842105
73
0.667769
[ "MIT" ]
mcavanagh/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/DeviceGroupSubmitInfo.gen.cs
1,815
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Acs0; using AElf.Contracts.Deployer; using AElf.Contracts.Genesis; using AElf.Cryptography.ECDSA; using AElf.CSharp.Core; using AElf.Kernel; using AElf.Kernel.Blockchain.Application; using AElf.Kernel.Blockchain.Domain;...
40.57377
119
0.67798
[ "MIT" ]
ezaruba/AElf
src/AElf.Contracts.TestKit/ContractTestBase.cs
4,950
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...
35.653846
158
0.728155
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementOrStatementStatementNotStatementStatementByteMatchStatementFieldToMatchSingleHeaderGetArgs.cs
927
C#
namespace Models { public class SampleDataModel : QueenModel { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } public byte Age { get; set; } } }
21.727273
45
0.560669
[ "MIT" ]
ephe09/RabbitMQ_helperServices-master
Models/SampleDataModel.cs
241
C#
using System; using System.Collections.Generic; using Inventor; public class MotionLimits { private Dictionary<ComponentOccurrence, bool> oldContactState = new Dictionary<ComponentOccurrence, bool>(); private Dictionary<ComponentOccurrence, bool> oldVisibleState = new Dictionary<ComponentOccurrence, bool>(); ...
27.514019
112
0.467052
[ "Apache-2.0" ]
NWalker1208/synthesis
exporters/BxDRobotExporter/robot_exporter/JointResolver/SkeletalStructure/MotionLimits.cs
2,946
C#
using Discord; using Discord.Audio; using ProGraduaatBot.Utilities; namespace ProGraduaatBot.Modules.Voice.Streaming { public class QueueStreamer : IEmbeddable { private CancellationTokenSource _cancellationTokenSource; private IVoiceChannel _voiceChannel; private IAudioClient _audioClient; private Thread _...
23.147368
120
0.683947
[ "MIT" ]
Ho-Gent/ProGraduaat-Gent
src/ProGraduaatBot/Modules/Voice/Streaming/QueueStreamer.cs
4,400
C#