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
// // Copyright (c) Microsoft and contributors. 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. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
53.403555
186
0.426504
[ "Apache-2.0" ]
ailn/azure-sdk-for-net
src/ResourceManagement/KeyVaultManagement/KeyVaultManagement/Generated/VaultOperations.cs
81,120
C#
using System; using TestWrapper.Container.Multi.Base; using TestWrapper.Facades.Info; using TestWrapper.Utils.Exceptions; using TestWrapper.Workers.Wrappers; namespace TestWrapper.Facades { internal abstract class WorkFacade<TWorkerWrapper, TMultiContainer> : IWorkFacade where TWorkerWrapper : class, IWor...
25.108696
104
0.549784
[ "MIT" ]
ErikMoczi/Unity.TestRunner.Jobs
Assets/TestWrapper/Facades/WorkFacade.cs
2,312
C#
using System; using System.Globalization; namespace NosAyudamos { [NoExport] public abstract class DomainEvent : IEventMetadata { protected DomainEvent() => EventId = PreciseTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ", CultureInfo.InvariantCulture); [System.Text.Json.Serialization...
40.46
135
0.652496
[ "MIT" ]
devlooped/api.nosayudamos.org
Core/Infrastructure/DomainEvent.cs
2,025
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace BookShop.Data.Repositories { public class BookShopRepository<T> : IBookShopRepository<T> where T : class { private DbCo...
23.11
79
0.515794
[ "MIT" ]
ttitto/WebDevelopment
Web Services and Cloud/WebApiServicesHW/BookShop/BookShop.Data/Repositories/BookShopRepository.cs
2,313
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2...
53
177
0.777015
[ "MIT" ]
enisgurkann/UblTr
Ubl-Tr/Common/CommonBasicComponents/OperatingYearsQuantityType.cs
583
C#
using System; using System.Reflection; namespace DragonSpark.Composition { public struct AppliedExport { public AppliedExport( Type subject, MemberInfo location, Type exportAs ) { Subject = subject; Location = location; ExportAs = exportAs; } public Type Subject {get; } public MemberInfo Locatio...
17.52381
74
0.711957
[ "MIT" ]
DragonSpark/VoteReporter
Framework/DragonSpark/Composition/AppliedExport.cs
368
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayOpenAppDeveloperCheckdevelopervalidQueryModel Data Structure. /// </summary> public class AlipayOpenAppDeveloperCheckdevelopervalidQueryModel : AlipayObject { /// <summary> ...
26.588235
83
0.661504
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenAppDeveloperCheckdevelopervalidQueryModel.cs
464
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; class TcpListener { public static IPAddress getIp() { string host = Dns.GetHostName(); var address = Dns.GetHostEntry(host); foreach (var ip in address.Addr...
22.932432
92
0.553329
[ "MIT" ]
RacoonCode/KeyLogger
server/main.cs
1,697
C#
// Different states of the game public enum GameState { NotStarted, Started, Paused, GameOver }
12.555556
32
0.654867
[ "MIT" ]
ThaiDuongVu/MoonPath
Assets/Scripts/GameState.cs
115
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
33.104348
119
0.641713
[ "MIT" ]
jkorell/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/CustomContractResolver.cs
3,809
C#
using System; using System.Collections.Generic; using System.Text; using gView.Framework.Data; using gView.Framework.Geometry; using System.IO; using System.Xml; using gView.Framework.system; using gView.Framework.Carto; using gView.Framework.OGC.GML; using gView.Framework.FDB; namespace gView.Interoperability.OGC.Dat...
29.211604
136
0.493399
[ "MIT" ]
chandusekhar/gViewGisOS
gView.Interoperability.OGC/Dataset/GML/Dataset.cs
8,559
C#
using System; namespace PSTk.Networking { /// <summary> /// Represents current flag of connection routines. /// </summary> [Flags, Obsolete] public enum ConnectionFlag { /// <summary> /// When not listening for inbound connections. /// </summary> Idle, ...
21.740741
92
0.550256
[ "MIT" ]
Devwarlt/core-algorithms
PSTk.Networking/ConnectionFlag.cs
589
C#
//----------------------------------------------------------------------- // <copyright file="KnowledgeSourceBase.cs" company="Breanos GmbH"> // Copyright Notice: // DAIPAN - This file, program or part of a program is considered part of the DAIPAN framework by Breanos GmbH for Industrie 4.0 // Published in 2018 by Ge...
33.428571
215
0.586081
[ "CC0-1.0" ]
BREANOS-ABE/daipan
Assistant/Assistant/BlackboardClassLibrary/KnowledgeSources/KnowledgeSourceBase.cs
3,282
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using TygaSoft.BLL; using TygaSoft.Model; namespace TygaSoft.Web.Admin.Sys { public partial class AddCategory : System.Web.UI.Page { protected void Page_Load(objec...
27.276923
70
0.481105
[ "MIT" ]
Arainsd/Wms
src/TygaSoft/Web/Admin/Base/AddCategory.aspx.cs
1,775
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.Linq; #if ASPNETWEBAPI using System.Web.Http.Routing.Constraints; #else using System.Web.Mvc.Routing.Constraints; using System.Web.Routing;...
36.003968
161
0.623278
[ "Apache-2.0" ]
1508553303/AspNetWebStack
test/Common/Routing/InlineRouteTemplateParserTests.cs
9,073
C#
/* * Copyright(c) 2022 nifanfa, This code is part of the Moos licensed under the MIT licence. */ using Internal.Runtime.CompilerServices; using System.Runtime.InteropServices; static class GDT { [StructLayout(LayoutKind.Sequential, Pack = 1)] struct GDTEntry { public ushort LimitLow; pub...
26.268293
91
0.57165
[ "MIT" ]
nifanfa/OS-Sharp64
Kernel/Misc/GDT.cs
3,231
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Global settings for Volumetric Lines rendering /// </summary> public class VolumetricLineSettings : MonoBehaviour { /// <summary> /// If set to true, volumetric lines rendering will not apply scaling based on ...
24.457143
85
0.691589
[ "MIT" ]
VnceGd/CS345_FinalProject
Assets/VolumetricLines/Scripts/VolumetricLineSettings.cs
858
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives...
26.918919
99
0.694779
[ "MIT" ]
pithline/FMS
Pithline.FMS.DocumentDelivery/Views/AddCustomerPage.xaml.cs
998
C#
using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; using JetBrains.Annotations; using Project.Scripts.Game; using Project.Scripts.Sprites; using Project.Scripts.Timer; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; // using Random = UnityEngine.Random; namespace ...
33.638418
104
0.567686
[ "MIT" ]
shantanumaskeri/unity-position-test
Assets/Project/Scripts/Output/OutputPresenter.cs
5,954
C#
// Copyright (c) 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, copy, m...
20.416327
147
0.668932
[ "MIT" ]
zer0Kerbal/ILSpy
ICSharpCode.Decompiler.Tests/ILPrettyTestRunner.cs
5,004
C#
using System.Collections.Generic; namespace Selfnet { public class Spout { public string Id { get; set; } public string Name { get; set; } public string Description { get; set; } public Dictionary<string, ParameterDescriptor> Params { get; set; } } }
22.846154
75
0.622896
[ "MIT" ]
gleroi/selfnet
Selfnet/Spout.cs
299
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Itineraries; using AllReady.Features.Notifications; using AllReady.Models; using MediatR; using Microsoft.AspNetCore.Mvc.Rendering; using Moq; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features...
34.522059
233
0.569542
[ "MIT" ]
digitaldrummerj-ionic/allReady
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Itineraries/AddTeamMemberCommandHandlerAsyncTests.cs
4,697
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HtmlIndexFormatter.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed under the...
41.106557
159
0.531406
[ "Apache-2.0" ]
CoverGo/pickles
src/Pickles.DocumentationBuilders.Html/HtmlIndexFormatter.cs
5,015
C#
using UnityEditor; using UnityEngine; namespace UGFramework.UGEditor { public class CommandToolxample : ScriptableObject { [MenuItem(MenuConfig.EXAMPLES + "/CommandTool/Shell")] public static void Shell() { var filePath = "UGEditor/CommandTool/CommandToolExample/Shell.sh"; CommandTool.ExecuteShell(file...
22.333333
69
0.755224
[ "MIT" ]
Lu-Kye/UGFramework
Assets/UGEditor/CommandTool/CommandToolExample/Editor/CommandToolExample.cs
337
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. #nullable disable using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Xml....
38.49589
149
0.588357
[ "MIT" ]
belav/roslyn
src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_Create.cs
14,053
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi.Enums { /// <summary> /// SupportByVersion MSHTML 4 /// </summary> [SupportByVersion("MSHTML", 4)] [EntityType(EntityType.IsEnum)] public enum _htmlRules { /// <summary> /// SupportByVersion MSHTML 4 /// </summa...
21.887097
36
0.61238
[ "MIT" ]
DominikPalo/NetOffice
Source/MSHTML/Enums/_htmlRules.cs
1,359
C#
/*********************************************** EasyTouch V Copyright © 2014-2015 The Hedgehog Team http://www.thehedgehogteam.com/Forum/ The.Hedgehog.Team@gmail.com **********************************************/ using UnityEngine; using System.Collections; using UnityEngine.Events; using UnityEngin...
22.222222
109
0.690294
[ "MIT" ]
11one/PanzerWar
Assets/ExtraPlugins/EasyTouchBundle/EasyTouch/Plugins/Components/QuickTwist.cs
3,401
C#
using System; namespace Xamarin.Forms { public class OnAppTheme<T> : BindingBase { WeakReference<BindableObject> _weakTarget; BindableProperty _targetProperty; public OnAppTheme() { Application.Current.RequestedThemeChanged += ThemeChanged; } void ThemeChanged(object sender, AppThemeChangedEventA...
19.692308
143
0.670898
[ "MIT" ]
Ezeji/Xamarin.Forms
Xamarin.Forms.Core/OnAppTheme.cs
2,050
C#
using Huawei.SCCMPlugin.PluginUI.Entitys; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Huawei.SCCMPlugin.PluginUI.Helper { public sealed class DictHelper { /// <summary> /// 获取字典指定key的值 /// </summary> /// <param name="dic">字典</...
27.162791
84
0.523973
[ "MIT" ]
Huawei/Server_Management_Plugin_SCCM
src/Client/Huawei.SCCMPlugin.PluginUI/Helper/DictHelper.cs
1,242
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.Buffers; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; us...
41.280992
181
0.634535
[ "MIT" ]
radical/sdk
src/RazorSdk/SourceGenerators/RazorSourceGenerator.cs
9,990
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.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Quic; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptog...
41.085106
176
0.691611
[ "MIT" ]
NicoNekoru/runtime
src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs
3,862
C#
using UnityEngine; namespace Quester.QuestEditor { public class CollectNode : QuestNode { public ObjectID Collectable; public override void InitializeObjective() { var collectGameObject = ObjectIDMap.Instance.Get(Collectable); var objective = collectGameObject....
25
79
0.609091
[ "MIT" ]
nmacadam/Quester
Assets/New Quest Graph/CollectNode.cs
552
C#
namespace Gu.Units { using System; using System.Collections.Generic; using System.Diagnostics; internal static class Ensure { internal static void GreaterThan<T>(T value, T min, string parameterName) where T : IComparable<T> { Debug.Assert(!string.IsNullOrEm...
32.095238
112
0.597923
[ "MIT" ]
GuOrg/Gu.Units
Gu.Units/Internals/Ensure/Ensure.compare.cs
676
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using NUnit.Framework; using NServiceKit.Common.Utils; using NServiceKit.DataAnnotations; using NServiceKit.OrmLite.SqlServer; namespace NServiceKit.OrmLite.Tests { /// <summary>A SQL builder tests.</summary> [TestFixture] ...
33.402062
123
0.53858
[ "BSD-3-Clause" ]
azraelrabbit/NServiceKit.OrmLite
tests/NServiceKit.OrmLite.Tests/SqlBuilderTests.cs
3,242
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace FluentAssertions.Types { /// <summary> /// Allows for fluent filtering a list of types. /// </summary> public class TypeSelector : IEnumerable<Type> { private List...
32.73057
125
0.551686
[ "Apache-2.0" ]
BrunoJuchli/fluentassertions
Src/FluentAssertions/Types/TypeSelector.cs
6,317
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> //--...
40.569536
177
0.577865
[ "MIT" ]
trdwll/CaptureThat
CaptureThat/CaptureThat/Properties/Resources.Designer.cs
6,128
C#
//----------------------------------------------------------------------- // <copyright file="DashboardViewModel.cs" company="Wohs Inc."> // Copyright © Wohs Inc. // </copyright> //----------------------------------------------------------------------- namespace Lurker.UI.ViewModels { using System; using ...
31.692464
180
0.511664
[ "MIT" ]
C1rdec/Poe-Lurker
src/Lurker.UI/ViewModels/DashboardViewModel.cs
15,564
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using...
36.056604
109
0.541078
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/Core.Development/View/FormFormChoose.cs
5,781
C#
/** * Copyright 2003, 2004, 2005. CodeStreet LLC. * * 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 ...
35.644444
188
0.699501
[ "Apache-2.0" ]
jamsel/jamsel
src/CSHARP/Selector/CodeStreet/Selector/Parser/BusinessException.cs
1,604
C#
using System; namespace Megaphone.Core { public interface IFrameworkProvider { Uri GetUri(string serviceName, string version, bool useHttps); } }
18.555556
70
0.700599
[ "Apache-2.0" ]
thiagoloureiro/Megaphone.NetStandard
Megaphone.Core/IFrameworkProvider.cs
169
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
42.646296
186
0.585219
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftRightLogicalRoundedAdd.Vector128.Byte.1.cs
23,029
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("RazorCompiler")] [assembly: AssemblyDescri...
38.138889
84
0.747269
[ "MIT" ]
DiogenesPolanco/autorest
Tools/RazorCompiler/RazorCompiler/Properties/AssemblyInfo.cs
1,375
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TestDraw { public partial class Form1 : Form { ...
31.309859
93
0.563653
[ "MIT" ]
surfsky/TestWinForms
TestCurve/Form1.cs
2,225
C#
namespace PlayerController { using UnityEngine; [RequireComponent(typeof(CharacterController))] public class Mark : MonoBehaviour { AudioSource AmbientSound; float forwardMovement = 1.0f; float leftMovement = 1.0f; float rightMovement = 1.0f; float backMo...
25.082645
86
0.521582
[ "MIT" ]
rodrigomassanori/The-Fall-Of-Zombunny
Mark.cs
3,037
C#
namespace Infra.Transacao { public interface IUnitOfWork { void Commit(); } }
12.375
32
0.59596
[ "MIT" ]
newtonisaac/API-Pattern
Infra/Transacao/IUnitOfWork.cs
101
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementAndStatementStatementAndStatementStatementRegexPatternSetReferenceStatementTextTransformation), fullyQualifiedName: "aws.Wafv2WebAclRuleStat...
45.372093
348
0.719631
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementAndStatementStatementAndStatementStatementRegexPatternSetReferenceStatementTextTransformation.cs
1,951
C#
using System.Collections; using TG.Core; using UnityEngine; namespace TG.GameJamTemplate { /// <summary> /// Handles gameplay functionality /// </summary> public class GameplayManager : Singleton<GameplayManager> { [Header("References")] [SerializeField] HUDManager _hudManager = de...
24.55814
72
0.599432
[ "MIT" ]
tarcisiotm/gamejamtemplate
Assets/3rdParty/GameJamTemplate/Scripts/Managers/GameplayManager.cs
1,058
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Syst...
39.285714
84
0.532727
[ "BSD-3-Clause" ]
0xCM/z0
src/core/src/ops/edit.cs
2,200
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mud.Engine.Runtime.Game.Character; namespace Mud.Engine.Runtime.Game.Character { public class InformationMessage : CharacterMessage { public InformationMessage(string message, ICha...
23.166667
77
0.719424
[ "MIT" ]
zydronium/muddesigner
Main/Source/Engine/Engine.Runtime/Source/Game/Character/InformationMessage.cs
419
C#
using System; using System.Collections.Generic; using System.Globalization; using NatureRecorder.Entities.Db; using NatureRecorder.Interpreter.Entities; namespace NatureRecorder.Interpreter.Base { public abstract class AddEditCommandBase : CommandBase { protected const string DateFormat = "dd/MM/yyyy...
38.932075
159
0.511292
[ "MIT" ]
davewalker5/NatureRecorderDb
src/NatureRecorder.Interpreter/Base/AddEditCommandBase.cs
20,636
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Connection.UnitTests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [as...
26.459459
59
0.722165
[ "Unlicense" ]
visiontrail/LMT2018
Src/SCMT/Control/SCMTOperationCore/Connection.UnitTests/Properties/AssemblyInfo.cs
1,330
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.Net.Mail; using System.Threading.Tasks; using System.Web.Hosting; using AnglicanGeek.MarkdownMailer; using Elmah; using NuGe...
39.576271
125
0.583512
[ "Apache-2.0" ]
0xced/NuGetGallery
src/NuGetGallery/Infrastructure/Mail/BackgroundMarkdownMessageService.cs
4,672
C#
using System; using NUnit.Framework; namespace JsonConfig.Tests { [TestFixture()] public class InvalidJson { [Test] [ExpectedException (typeof(Newtonsoft.Json.JsonReaderException))] public void EvidentlyInvalidJson () { dynamic scope = Config.Global; scope.ApplyJson ("jibberisch"); } [Test] [Exp...
20.259259
67
0.705667
[ "MIT" ]
nefarius/JsonConfig
JsonConfig.Tests/InvalidJson.cs
547
C#
using Xamarin.Forms; using Xamarin.CommunityToolkit.Markup; namespace GitStatus { public abstract class BaseStatusPage<T> : BaseContentPage<T> where T : BaseStatusViewModel { protected BaseStatusPage(T statusViewModel, string title) : base(statusViewModel, title) { BackgroundColor ...
36.6
102
0.581056
[ "MIT" ]
brminnick/GitStatus
Src/GitStatus/Pages/Base/BaseStatusPage.cs
1,100
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using Chayns.Backend.Api.Models.Data; namespace Chayns.Backend.Api.Helper { public static class UrlParameterConverter { /// <summary> /// Serializes an object to url-parameters /// </...
35.831169
110
0.433853
[ "MIT" ]
TobitSoftware/ChaynsBackendApiHelper
ChaynsBackendApiHelper/Api/Helper/UrlParameterConverter.cs
2,761
C#
#if !ASPNETCLASSIC using System.Collections.Generic; namespace HotChocolate.AspNetCore.Subscriptions { internal class DictionaryOperationMessage : OperationMessage { public IReadOnlyDictionary<string, object> Payload { get; set; } } } #endif
18.266667
72
0.722628
[ "MIT" ]
Dolfik1/hotchocolate
src/Server/AspNetCore/Subscriptions/DictionaryOperationMessage.cs
276
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace MicroTest { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class TestAsync : TestAttribute { public TestAsync() { } public TestAsync(string description) : ...
41.491071
209
0.699161
[ "MIT" ]
oliverkofoed/MicroTest
MicroTest/TestAttribute.cs
4,649
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Win32ErrorTable { // TODO: Source info (filename with path, line number). // TODO: HvStatus.h pub...
44.109589
178
0.497516
[ "MIT" ]
StephenClearyApps/WinErrorCodes
src/Win32ErrorTable/NtStatusH.cs
6,442
C#
using System.Text.Json.Serialization; using Backend.Models.Base.Metadata.POCO; namespace Backend.Models.MetAPI.POCO { public class Forecast { [JsonPropertyName("properties")] public Properties ForecastProperties { get; set; } [JsonPropertyName("geometry")] public Geometry ForecastGeometry { g...
31.125
91
0.700803
[ "Apache-2.0" ]
IT2901-SINTEF01/backend
Models/MetAPI/POCO/Forecast.cs
500
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Pchp.Core; using static Peachpie.Library.PDO.PDO; using static Pchp.Library.Objects; usin...
37.377613
278
0.451895
[ "Apache-2.0" ]
JimBobSquarePants/peachpie
src/PDO/Peachpie.Library.PDO/PDOStatement.cs
55,431
C#
using Elsa.Models; using System.Collections.Generic; namespace Volo.Abp.WorkFlowManagement { public class WorkflowDefinitionDto { public int Version { get; set; } public string Name { get; set; } public string Description { get; set; } public Variables Variables { get; set; } ...
31.75
60
0.628346
[ "Apache-2.0" ]
AbpApp/volo.abp.elsa
modules/workflow-mamagement/Volo.Abp.WorkFlowManagement.Application.Contracts/Volo/Abp/WorkFlowManagement/WorkflowDefinitionDto.cs
637
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is subject to the Microsoft Public License (Ms-PL). * A copy of the license can be found in the license.htm file included * in this distribution. * *...
26.28125
80
0.497027
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web.Mvc/System.Web.Mvc/ModelState.cs
843
C#
using System.Threading; using System.Threading.Tasks; using ZeptoServer.Telnet.Responses; namespace ZeptoServer.Ftp.Commands { /// <summary> /// FTP command to print working directory. /// </summary> /// <remarks> /// https://tools.ietf.org/html/rfc959 /// </remarks> internal sealed class ...
36.321429
124
0.6647
[ "MIT" ]
junk-machine/ZeptoServer
ZeptoServer.Ftp/Commands/PrintWorkingDirectoryCommand.cs
1,019
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Newtonsoft.Json; namespace ScriptTool { class Program { // Options static CommandOptions options; // ROMs static byte[] ebRom; sta...
40.218663
144
0.536032
[ "MIT" ]
Snakeshroom/Mother2GbaTranslation
ScriptTool/ScriptTool/Program.cs
28,879
C#
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt using System; using NUnit.Common; using NUnit.Framework; namespace NUnit.ConsoleRunner.Tests { [TestFixture] public sealed class DefaultOptionsProviderTests { private const string EnvironmentVariableTeamcit...
27.538462
101
0.64176
[ "MIT" ]
304NotModified/nunit
src/NUnitFramework/nunitlite.tests/DefaultOptionsProviderTests.cs
1,434
C#
namespace TrainConnected.Services.Mapping { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using AutoMapper; using AutoMapper.Configuration; public static class AutoMapperConfig { private static bool initialized; public sta...
35.150943
99
0.462963
[ "MIT" ]
StefanLB/ASP.NET-Core-MVC---June-2019---Individual-Project-Assignment
Services/TrainConnected.Services.Mapping/AutoMapperConfig.cs
3,728
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 Microsoft.EntityFrameworkCore.TestUtilities; namespace Microsoft.EntityFrameworkCore.Query.Internal { public class AsyncFromSqlQuerySqlServer...
35.9375
128
0.768696
[ "Apache-2.0" ]
1iveowl/efcore
test/EFCore.SqlServer.FunctionalTests/Query/AsyncFromSqlQuerySqlServerTest.cs
575
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...
31.178571
123
0.727377
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Authorization/Outputs/ResourceManagementPrivateLinkEndpointConnectionsResponse.cs
873
C#
using App_ui.Common; using App_ui.DllImport; using App_ui.ViewModels; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using Sys...
29.237762
135
0.552739
[ "MIT" ]
EjiHuang/CVPlatform
CVPlatform/App_ui/Views/SubViews/BlurView.xaml.cs
4,429
C#
//AUTOGENERATED, DO NOTMODIFY. //Do not edit this file directly. #pragma warning disable 1591 // Missing XML comment for publicly visible type or member // ReSharper disable CheckNamespace using System; using RethinkDb.Driver.Ast; using RethinkDb.Driver.Model; using RethinkDb.Dr...
28.204545
154
0.586086
[ "Apache-2.0" ]
ArthurGC/RethinkDb.Driver
Source/RethinkDb.Driver/Generated/Ast/Polygon.cs
3,723
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace IPTV_Sharp { public class DictionaryManager { private string folder_path; private List<string> _entries; public List<string> entries {...
24.098039
65
0.469487
[ "MIT" ]
CHATBOTSITE/IPTV-Sharp
IPTV Sharp/DictionaryManager.cs
1,231
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...
38.008621
207
0.647539
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/DatabaseMigrationService/Generated/Model/Internal/MarshallTransformations/DescribeEndpointsResponseUnmarshaller.cs
4,409
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ControlBanco : MonoBehaviour { public Text textOro; private int oroAcomulado; private int oro; public Text textTotalOro; public int totalOro; public GameObject signo; public float velRotacio...
20.337209
103
0.693539
[ "MIT" ]
JuanBarreraU/Medellin_CITY
Assets/Game/Scripts/ControlBanco.cs
1,751
C#
using PropertyChanged; using System.ComponentModel; namespace Saper { public class BaseViewModel : INotifyPropertyChanged { /// <summary> /// The event that is fired when any child property changes its value /// </summary> public event PropertyChangedEventHandler PropertyChange...
28.173913
86
0.608025
[ "MIT" ]
mhnowak/saperWPF
Saper/ViewModel/Base/BaseViewModel.cs
650
C#
using System.Windows; using System; namespace ToDoApp { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { WindowViewModel wvm = new WindowViewModel(); this.DataContext = wvm; } } }
15.944444
47
0.682927
[ "MIT" ]
pingio/todo
ToDoApp/MainWindow.xaml.cs
289
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using System.Text.Encodings.Web; using System.Linq; using System.Threading.Tasks; using ExchangeSecureTexts.Data; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services...
35.452703
127
0.56032
[ "MIT" ]
damienbod/SendingEncryptedData
ExchangeSecureTexts/Areas/Identity/Pages/Account/Manage/Email.cshtml.cs
5,249
C#
using UnityEngine; public class SFX : MonoBehaviour { public AudioSource audioSource; public void Mute() { audioSource.mute = !audioSource.mute; } }
16.818182
46
0.621622
[ "MIT" ]
Kridtity/3D-Pong
Scripts/SFX.cs
187
C#
// This file has been generated by the GUI designer. Do not modify. namespace QS.Updater.DB.Views { public partial class UpdateProcessView { private global::Gtk.VBox dialog1_VBox; private global::Gtk.Label label1; private global::Gamma.GtkWidgets.yCheckButton checkCreateBackup; private global::Gtk.HBox hb...
42.639785
148
0.735216
[ "Apache-2.0" ]
Art8m/QSProjects
QS.Updater.Gtk/gtk-gui/QS.Updater.DB.Views.UpdateProcessView.cs
8,125
C#
namespace NeinLinq; /// <summary> /// Create rewritten queries. /// </summary> public static class RewriteEntityQueryBuilder { /// <summary> /// Rewrite a given query. /// </summary> /// <param name="value">The query to rewrite.</param> /// <param name="rewriter">The rewriter to rewrite the query....
37.755814
116
0.65907
[ "MIT" ]
rostunic/nein-linq
src/NeinLinq.EntityFrameworkCore/RewriteEntityQueryBuilder.cs
3,249
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// SearchServiceItems Data Structure. /// </summary> [Serializable] public class SearchServiceItems : AopObject { /// <summary> /// 申请单状态 ...
24.3
56
0.512346
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/SearchServiceItems.cs
1,010
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace General.WebUI.Identity { public class ApplicationIdentityDbContext : IdentityDbContext<ApplicationUser> { ...
25.555556
113
0.782609
[ "MIT" ]
batuhan-yilmaz/Computer-Service-company-ntier-full-crud-operation-netcore-webapp-project
General/General.WebUI/Identity/ApplicationIdentityDbContext.cs
462
C#
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 RandomDoubles { public partial class Form1 : Form { public Form1() { ...
27.04878
71
0.607755
[ "MIT" ]
PacktPublishing/Improving-your-C-Sharp-Skills
Chapter16/RandomDoubles/Form1.cs
1,111
C#
using System; /* Copyright 2016 ParticleNET 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, ...
22.552632
72
0.704784
[ "Apache-2.0" ]
ParticleNET/ParticleSDK
Particle/VariableType.cs
859
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("04....
37.945946
84
0.748575
[ "MIT" ]
kovachevmartin/SoftUni
Basics/Exam_18-Mar-2017/04.GameOfIntervals/Properties/AssemblyInfo.cs
1,407
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 "li...
31.263158
104
0.712121
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleEmailV2/Generated/Model/UpdateEmailIdentityPolicyResponse.cs
1,188
C#
#pragma checksum "D:\Users\Danilo Filitto\source\repos\AppPicker\AppPicker\AppPicker.UWP\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0CF45832F154FC147EBD5D103D040C1A" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a to...
38.166667
180
0.616344
[ "MIT" ]
dfilitto/ProjetosXamarinForms
AppPicker/AppPicker/AppPicker.UWP/obj/x86/Debug/MainPage.g.i.cs
1,605
C#
using Common.Interfaces; using Microsoft.Practices.ServiceLocation; using Microsoft.Practices.Unity; using Prism.Modularity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IO.ModuleDef { public class Main : IModule { public...
24.5
94
0.707483
[ "MIT" ]
davidmacpherson0/CHUM
src/IO/ModuleDef/Main.cs
590
C#
using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; 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.Me...
31.654545
127
0.603676
[ "MIT" ]
cptcrunchy/DiffEngine
DiffCalculator/MainWindow.xaml.cs
3,484
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> //--...
39.679181
328
0.573499
[ "MIT" ]
Mon-Lay/Sage300-SDK
src/utilities/MergeISVProject/MergeISVProject/Resources.Designer.cs
23,254
C#
using System; using Org.BouncyCastle.Math.Raw; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities.Encoders; namespace Org.BouncyCastle.Math.EC.Custom.Sec { internal class SecP160R2Curve : AbstractFpCurve { public static readonly BigInteger q = SecP160R2FieldElement.Q; ...
32.162791
138
0.536876
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/math/ec/custom/sec/SecP160R2Curve.cs
5,534
C#
namespace Mindstorms.Core.Music._442 { public class G2 : Note { public G2(NoteType noteType = NoteType.Quarter) : base(noteType) { Name = "G2"; Frequency = 98.44; WaveLength = 350.45; } } }
20.153846
72
0.51145
[ "MIT" ]
Mortens4444/LegoMindstromsEV3
Mindstorms.Core/Music/442/G2.cs
262
C#
using WebGLDotNET; namespace Tests { public abstract class BaseTests { protected WebGLProgram SetUpProgram( WebGLRenderingContextBase gl, string vertexShaderSource = "void main() {}", string fragmentShaderSource = "void main() {}") { var vertexSh...
34.592593
92
0.638116
[ "MIT" ]
EvergineTeam/WebGL.NET
src/Tests/BaseTests.cs
936
C#
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Behavior-Tree using UnityEngine; namespace Zor.BehaviorTree.Serialization.SerializedBehaviors.Leaves.Actions { public sealed class SerializedGetRendererInParent : SerializedGetComponentInParent<Renderer> { } }
27.909091
105
0.820847
[ "MIT" ]
ZorPastaman/Behavior-Tree
Runtime/Serialization/SerializedBehaviors/Leaves/Actions/SerializedGetRendererInParent.cs
309
C#
using System; using NSubstitute; using Octokit.Reactive; using Xunit; namespace Octokit.Tests { public class ObservableEnterpriseLicenseClientTests { public class TheCtor { [Fact] public void EnsuresNonNullArguments() { Assert.Throws<Argument...
23.941176
75
0.536855
[ "MIT" ]
3shape/octokit.net
Octokit.Tests/Reactive/Enterprise/ObservableEnterpriseLicenseClientTests.cs
816
C#
using Swordfish.NET.Collections; using Swordfish.NET.Collections.Auxiliary; using Swordfish.NET.TestV3.Auxiliary; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; namespace Swordfish.NET.Demo.ViewModels { public ...
37.039474
147
0.568028
[ "CC0-1.0" ]
stewienj/ConcurrentCollections2
ExamplesAndTests/Swordfish.NET.TestV3/ViewModels/ConcurrentObservableSortedCollectionTestViewModel.cs
5,632
C#
namespace Machete.X12Schema.V5010 { using X12; public interface W01 : X12Segment { Value<decimal> Quantity { get; } Value<string> UnitOrBasisOfMeasurementCode { get; } Value<string> UPCCaseCode { get; } Value<string> ProductOrServiceIdQual...
26.292683
60
0.564935
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Segments/W01.cs
1,078
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using System.IO; namespace Tailspin.Surveys.WebAPI { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } ...
25.478261
70
0.612628
[ "MIT" ]
anirbansdutta/Tailspin.Surveys
src/Tailspin.Surveys.WebAPI/Program.cs
588
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.757895
93
0.634767
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200301/Outputs/ApplicationGatewayUrlPathMapResponse.cs
3,302
C#
namespace WindowUI.HHZX.UserControls { partial class ucMealBookingDetail { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
43.156069
114
0.57206
[ "BSD-3-Clause" ]
sndnvaps/OneCard_
WindowUI.HHZX/UserControls/ucMealBookingDetail.Designer.cs
7,492
C#
namespace Nuages.AspNetIdentity.Stores.Mongo; public class MongoIdentityOptions { public string ConnectionString { get; set; } = ""; public string Locale { get; set; } = "en"; }
26.571429
54
0.704301
[ "Apache-2.0" ]
nuages-io/nuages-aspnetidentity-mongo
Nuages.AspNetIdentity.Stores.Mongo/MongoIdentityOptions.cs
186
C#