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
// 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 Internal.Runtime.Augments; namespace System.Threading { /// <summary> /// Ensures <c>Thread.CurrentTh...
32.135135
117
0.638352
[ "MIT" ]
LuisRGameloft/corert
src/System.Private.CoreLib/src/System/Threading/ThreadPoolCallbackWrapper.cs
1,189
C#
using FrHello.NetLib.Core.Wpf.Event.EventArgs; namespace FrHello.NetLib.Core.Wpf.Event { /// <summary> /// RoutedPropertyEventHandler /// </summary> /// <typeparam name="T"></typeparam> /// <param name="sender"></param> /// <param name="e"></param> public delegate void RoutedPropertyEventH...
29.076923
100
0.669312
[ "MIT" ]
fengrui358/NetLibCore
NetLib.Core.Wpf/Event/RoutedPropertyEventHandler.cs
380
C#
namespace FactoryMethodPattern { public class WeiXinPayFactory : AbstractPaymentMethodFactory { public override AbstractPaymentMethod GetPaymentMethod() { return new WeiXinPay(); } } }
21.272727
64
0.653846
[ "MIT" ]
hzhhhbb/Design-Patterns
src/FactoryMethodPattern/WeiXinPayFactory.cs
236
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.444444
162
0.606434
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/GroupUnsubscribeByMailRequestBuilder.cs
1,865
C#
// Decompiled with JetBrains decompiler // Type: SmokeBombBoxScript // Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9 // Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll using UnityEngine; public c...
29.609375
91
0.672823
[ "Unlicense" ]
JaydenB14/YandereSimulatorDecompiled
Assembly-CSharp/SmokeBombBoxScript.cs
1,897
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...
47.364407
852
0.676329
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Batch/V20190801/GetPool.cs
11,178
C#
//----------------------------------------------------------------------- // <copyright file="ITestActorQueue.cs" company="Akka.NET Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> ...
36.142857
116
0.550066
[ "Apache-2.0" ]
EajksEajks/Akka.NET
src/core/Akka.TestKit/Internal/ITestActorQueue.cs
1,520
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using MongoDB.Bson; using MongoDB.Driver; using xkomZadanie.Entities; namespace xkomZadanie.Repositories { public class MongoDbEventsRepository : IEvents { private const string data...
29.636364
95
0.628834
[ "MIT" ]
MZachura/.net5WebApi
xkomZadanie/Repositories/MongoDbEventsRepository.cs
2,284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Smobiler.Core; using Smobiler.Core.Controls; namespace Smobiler.Tutorials.Samples.Layout { partial class demoLoginAbsoluteLayout : Smobiler.Core.Controls.MobileForm { public demoLoginAbsoluteLayout() : base() ...
20.906977
77
0.615128
[ "MIT" ]
comsmobiler/SmobilerTutorials
Source/Samples/Layout/demoLoginAbsoluteLayout.cs
901
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal; using Microsoft.EntityFrameworkCore.Utilities; // ReSharper d...
51.861446
146
0.655535
[ "MIT" ]
FelicePollano/efcore
src/EFCore.SqlServer/Extensions/SqlServerEntityTypeBuilderExtensions.cs
17,218
C#
/******************************************************************************* * You may amend and distribute as you like, but don't remove this header! * * EPPlus provides server-side generation of Excel 2007/2010 spreadsheets. * See http://www.codeplex.com/EPPlus for details. * * Copyright (C) 2011 Jan Käll...
41.22
118
0.660844
[ "MIT" ]
GlobalcachingEU/GAPP
EPPlus/ConditionalFormatting/Contracts/IExcelConditionalFormattingNotBetween.cs
2,064
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Collections.Concurrent; using Microsoft.AspNet.SignalR; namespace ChatServerCS { public class ChatHub : Hub<IClient> { private static int GameCount = 0; private static bool InGame = fa...
37.881041
124
0.501963
[ "MIT" ]
obidkor/DrawingGame
ChatServerCS/ChatHub.cs
10,458
C#
 // ------------------------------------------------------------------------------------------------ // This code was generated by EntityFramework Reverse POCO Generator (http://www.reversepoco.com/). // Created by Simon Hughes (https://about.me/simon.hughes). // // Do not make changes directly to this file - edit t...
45.264787
245
0.651204
[ "Apache-2.0" ]
flcdrg/IntelliTestAndUnitTesting
IntelliTestAndUnitTesting/Database1.cs
65,817
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Essgee.EventArguments { public class RenderScreenEventArgs : EventArgs { public int Width { get; private set; } public int Height { get; private set; } public byte[] FrameData { get; p...
20.608696
66
0.71519
[ "MIT" ]
xdanieldzd/Essgee
Essgee/EventArguments/RenderScreenEventArgs.cs
476
C#
version https://git-lfs.github.com/spec/v1 oid sha256:c662b75b96f0687b7aac642368540dace176eb7ff6a720850fa8379404209094 size 6482
32.25
75
0.883721
[ "MIT" ]
Vakuzar/Multithreaded-Blood-Sim
Blood/Library/PackageCache/com.unity.shadergraph@8.1.0/Editor/Data/Nodes/Channel/FlipNode.cs
129
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
44.054348
315
0.588206
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/ManagerofinvestigationsidExtensions.cs
4,053
C#
using System; using System.Globalization; // ReSharper disable once CheckNamespace namespace Hangfire.Azure.Documents.Helper { internal static class TimeHelper { private static readonly DateTime epochDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); internal static int ToEpoc...
35.117647
118
0.642379
[ "MIT" ]
bzumhagen/Hangfire.AzureCosmosDb
src/Helper/TimeHelper.cs
1,196
C#
using Uno.Extensions; using Uno.Foundation.Logging; using Uno.UI.DataBinding; using Windows.UI.Xaml.Data; using System; using System.Collections; using System.Collections.Generic; using Uno.Disposables; using System.Runtime.CompilerServices; using System.Text; using System.Drawing; namespace Windows.UI.Xaml.Controls ...
24.730769
74
0.799378
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.netstdref.cs
645
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("Sty...
36.413793
84
0.744318
[ "Apache-2.0" ]
DLozanoNavas/xamarin-forms-book-samples
Chapter12/StyleInheritance/StyleInheritance/StyleInheritance.UWP/Properties/AssemblyInfo.cs
1,057
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. #nullable disable using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Scoring; namespace osu.Game.Screens.Spectate { /// <summary> /// ...
26.875
92
0.583256
[ "MIT" ]
peppy/osu-new
osu.Game/Screens/Spectate/SpectatorGameplayState.cs
1,036
C#
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; using NCMIS.ObjectModel; using NCMIS.Produce; using Kooboo.CMS.Content.Models; using...
36.188406
140
0.680817
[ "BSD-3-Clause" ]
Bringsy/Kooboo.CMS
Kooboo.CMS/Kooboo.CMS.Web/Interoperability/CMIS/IObjectService.cs
2,499
C#
// The following file is a part of the port of the project jp-verb-deconjugator to C# // https://github.com/mistval/jp-verb-deconjugator // the following is the license and the copyright notice of the original software /* MIT License Copyright (c) 2017 mistval Permission is hereby granted, free of charge, to any per...
45.145161
122
0.648267
[ "Apache-2.0" ]
DidacticalEnigma/LibJpConjSharp
LibJpConjSharp/Deconjugation/DerivationSequence.cs
5,598
C#
using JetBrains.Annotations; using JsonApiDotNetCore.Resources; using JsonApiDotNetCore.Resources.Annotations; // ReSharper disable CheckNamespace namespace SourceGeneratorDebugger { [UsedImplicitly(ImplicitUseTargetFlags.Members)] [Resource] public sealed class SimpleNamespace : Identifiable<int> { ...
22.647059
59
0.74026
[ "MIT" ]
agentilo/JsonApiDotNetCore
test/SourceGeneratorDebugger/Models/SimpleNamespace.cs
385
C#
using System.Collections.Generic; using System.Data.Entity; using System.Data.SqlClient; namespace BookLovers.Base.Infrastructure.Queries { public class SqlHelper { private readonly List<SqlParameter> _sqlParameters; internal readonly DbContext Context; private SqlHelper() { ...
24.878788
76
0.628502
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers.Base.Infrastructure/Queries/SqlHelper.cs
823
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 Mpdn.PlayerExtensions { public partial class RemoteControlConfig : RemoteControlConfigBase...
27.382716
144
0.554554
[ "MIT" ]
Shiandow/PlayerExtensions
PlayerExtensions/RemoteControlConfig.cs
2,220
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace RVTR.Account.ObjectModel.Models { /// <summary> /// Represents the _Payment_ model /// </summary> [Table("Payments")] public class PaymentModel : IValidat...
26.46875
119
0.70366
[ "MIT" ]
042020-dotnet-uta-p3/rvtr-api-account
aspnet/RVTR.Account.ObjectModel/Models/PaymentModel.cs
847
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetC...
33.266234
142
0.552801
[ "MIT" ]
JWilh/ASP.NET-Core-Secure-Coding-Cookbook
Chapter12/clickjacking/after/OnlineBankingApp/Areas/Identity/Pages/Account/Login.cshtml.cs
5,123
C#
// This file contains auto-generated code. namespace System { namespace Linq { // Generated from `System.Linq.EnumerableExecutor` in `System.Linq.Queryable, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a` public abstract class EnumerableExecutor { internal...
160.118644
560
0.758795
[ "MIT" ]
Bhagyanekraje/codeql
csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.Queryable.cs
28,341
C#
using System; using System.Collections.Generic; namespace AspNetCoreOData.Service.Database { public partial class WorkOrderRouting { public int WorkOrderId { get; set; } public int ProductId { get; set; } public short OperationSequence { get; set; } public short Locat...
36
57
0.627778
[ "MIT" ]
CloudBloq/AspNetCoreOData
AspNetCoreOData.Client/Database/WorkOrderRouting.cs
902
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...
36.762997
129
0.538244
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/BitwiseClear.Vector128.Byte.cs
24,043
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [System.Serializable] public struct AI_condition { public string condName; public bool condTrue; public int condNum; public enum COND_TYPE { VAR_EQ, VAR_GR, VAR_GR_EQ,...
23.903509
73
0.509725
[ "MIT" ]
PixelBrownieSoftware/Please-don-t-hurt-each-other-
Assets/src/BattleSystem/Objects/o_BattleCharAI.cs
2,725
C#
namespace Shooting2D { using UnityEngine; using UnityEngine.Networking; [RequireComponent(typeof(Rigidbody2D))] internal sealed class ShootingPlayer : NetworkBehaviour { private new Camera camera; private Rigidbody2D rb; [SerializeField] private Bullet bulletPrefab...
25.376147
92
0.528923
[ "MIT" ]
mwnDK1402/unet
UNet/Assets/Shooting 2D/ShootingPlayer.cs
2,768
C#
using System; using System.Collections.Concurrent; using System.IO.Pipelines; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using CondenserDotNet.Core; using CondenserDotNet.Server; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System.Diagnostics; us...
37.844444
134
0.604032
[ "MIT" ]
geffzhang/CondenserDotNet
src/CondenserDotNet.Middleware.Pipelines/ServiceWithCustomClient.cs
5,111
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...
25.206897
81
0.640219
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Purview/V20201201Preview/Inputs/PrivateEndpointArgs.cs
731
C#
 namespace RemoteDesktop { partial class ClientWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
36.381818
135
0.664168
[ "MIT" ]
McMaartenz/RemoteDesktop
Windows/ClientWindow.Designer.cs
2,003
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. namespa...
29.73913
76
0.637427
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/Search/DataPlane/Microsoft.Azure.Search/GeneratedSearchService/Models/IndexListResult.cs
1,368
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.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesti...
30.744186
138
0.565809
[ "MIT" ]
76541727/MQTTnet
Source/MQTTnet.Tests/Internal/BlockingQueue_Tests.cs
3,966
C#
namespace SampleProject.Domain.ForeignExchange { using SharedKernel; public class ConversionRate { public ConversionRate(string sourceCurrency, string targetCurrency, decimal factor) { SourceCurrency = sourceCurrency; TargetCurrency = targetCurrency; Fac...
23.8
91
0.610084
[ "MIT" ]
gabrielesteveslima/net-public-sample-dotnet-core-cqrs-api
src/SampleProject.Domain/ForeignExchange/ConversionRate.cs
597
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 Microsoft.CodeAnalysis.CSharp.Syntax; using Roslyn.Utilities; using System.Collections.Generic; namespace Microsoft.CodeAnalysis.CSharp....
42.506122
171
0.519781
[ "Apache-2.0" ]
jbevain/roslyn
src/Workspaces/CSharp/Portable/Extensions/ParenthesizedExpressionSyntaxExtensions.cs
20,830
C#
using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace LightGive { [CustomEditor(typeof(LocalizeText))] [CanEditMultipleObjects] public class LocalizeTextEditor : Editor { private SerializedProperty m_propTextList; private SerializedProperty m_propFontSizeList; private SerializedP...
39.482759
166
0.728384
[ "MIT" ]
LightGive/LocalizeUI
LocalizeUI/Assets/LightGive/Managers/SimpleLocalizeManager/Scripts/Editor/LocalizeTextEditor.cs
3,437
C#
// project namespaces using TwitchLibrary.Enums.Helpers.Paging; using TwitchLibrary.Interfaces.Helpers.Paging; // imported .dll's using RestSharp; namespace TwitchLibrary.Helpers.Paging.Streams { public class PagingStreamFollows : PagingLimitOffset, ITwitchPaging { public StreamType stream_type; ...
30.615385
99
0.585427
[ "Apache-2.0" ]
RokuHodo/Twitch-Library
Helpers/Paging/Streams/PagingStreamFollows.cs
1,196
C#
using LiteNetLib; using System.Collections.Generic; using System.Net; using System.Net.Sockets; namespace LiteNetLibManager { public class LiteNetLibTransportServerEventListener : INetEventListener { private readonly ITransport transport; private readonly string connectKey; private rea...
32.395062
171
0.605183
[ "MIT" ]
AldeRoberge/LiteNetLibManager
Scripts/Transports/LiteNetLib/LiteNetLibTransportServerEventListener.cs
2,626
C#
namespace FarmCord.Services.Extensions.SeasonalCrop { public class SeasonalCrop : Crop.Crop { public bool isSeasonal { get; set; } } }
18.2
51
0.571429
[ "Apache-2.0" ]
Aidan-is-gay/FarmCord
FarmCord/Services/Extensions/SeasonalCrop.cs
182
C#
namespace MishMash.Models.BindingModels { public class UserRegisterBindingModel { public string Username { get; set; } public string Password { get; set; } public string ConfirmPassword { get; set; } public string Email { get; set; } } }
22.846154
52
0.602694
[ "MIT" ]
stoyanov7/SoftwareUniversity
C#Development/C#Web/C#WebDevelopmentBasics/Exams/MishMash/MishMash/Models/BindingModels/UserRegisterBindingModel.cs
299
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...
47.865116
308
0.62579
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/postgresql/Microsoft.Azure.Management.PostgreSQL/src/postgresqlflexibleservers/Generated/IFirewallRulesOperations.cs
10,291
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ContainsChainedSyntaxTests.cs" company=""> // Copyright 2013 Cyrille DUPUYDAUBY // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
44.005747
145
0.503461
[ "Apache-2.0" ]
NFluent/NFluent
code/tests/NFluent.Tests/ContainsChainedSyntaxTests.cs
7,486
C#
namespace java.util { [global::MonoJavaBridge.JavaClass()] public partial class Hashtable : java.util.Dictionary, Map, java.lang.Cloneable, java.io.Serializable { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; protected Hashtable(global::MonoJavaBridge.JNIEnv @__env) : base(@__env) { ...
64.607843
344
0.770966
[ "MIT" ]
JeroMiya/androidmono
MonoJavaBridge/android/generated/java/util/Hashtable.cs
9,885
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("Te...
37.638889
84
0.748339
[ "MIT" ]
augustoproiete-forks/cake-contrib--Cake.Kudu
src/TestWebSite/Properties/AssemblyInfo.cs
1,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Toolbar = Android.Support.V7.Widget.Toolbar; using Android.Widget; namespace MyHealth.Client.Droid.Extensions { static...
26.035714
87
0.672154
[ "MIT" ]
3miliomc/Consultorio
src/MyHealth.Client.Droid/Extensions/ActivityExtensions.cs
729
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; using System.Collections.Generic; using Xunit; namespace System.Linq.Expres...
46.45092
152
0.644588
[ "MIT" ]
er0dr1guez/corefx
src/System.Linq.Expressions/tests/Block/ParameterBlockTests.cs
15,143
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...
34.387097
116
0.703096
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/Internal/MarshallTransformations/FlinkRunConfigurationMarshaller.cs
2,132
C#
namespace EA.Weee.Web.Areas.Admin.Mappings.ToViewModel { using Areas.Admin.ViewModels.Scheme.Overview.PcsDetails; using Core.Scheme; using Core.Shared; using Prsd.Core.Mapper; public class SchemeDataToPcsDetailsOverviewViewModel : IMap<SchemeData, PcsDetailsOverviewViewModel> { public ...
39.666667
104
0.609244
[ "Unlicense" ]
DEFRA/prsd-weee
src/EA.Weee.Web/Areas/Admin/Mappings/ToViewModel/SchemeDataToPcsDetailsOverviewViewModel.cs
1,192
C#
using Serenity.ComponentModel; using Serenity.Data; using System; namespace Serenity.PropertyGrid { public partial class BasicPropertyProcessor : PropertyProcessor { private void SetWidth(IPropertySource source, PropertyItem item) { var widthAttr = source.GetAttribute<WidthAttribut...
34.070175
133
0.495366
[ "MIT" ]
davidzhang9990/SimpleProject
Serenity.Data.Entity/PropertyGrid/BasicPropertyProcessor/BasicPropertyProcessor.Width.cs
1,944
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using ReportPortal.Cli.Commands.Launch; using System; using System.CommandLine; using System.Runtime.CompilerServices; using System.Threading.Tasks; [assembly: InternalsVisibleTo("ReportPortal.Cli.Tests")] [assembly: InternalsVi...
33.039216
105
0.697329
[ "MIT" ]
nvborisenko/reportportal-cli
src/ReportPortal.Cli/Program.cs
1,687
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.XtraEditors; using DevExpress.XtraNavBar; using DevExpress.XtraEditors.DXErrorProvider; namespace DevExpress.MailClie...
48.488636
156
0.612843
[ "MIT" ]
svlcode/MailClient
sources/DevExpress.MailClient.Win/Forms/frmFeed.cs
4,269
C#
using System.Runtime.InteropServices; namespace SmashArcNet.RustTypes { [StructLayout(LayoutKind.Sequential)] internal struct FileMetadata { public Hash40 PathHash { get; set; } public Hash40 ExtHash { get; set; } public Hash40 ParentHash { get; set; } public Hash40 FileNam...
34.84
78
0.615385
[ "MIT" ]
ScanMountGoat/SmashArcNet
SmashArcNet/RustTypes/FileMetadata.cs
873
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.1 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. ...
103.338462
536
0.815766
[ "Apache-2.0" ]
andrew-stakiwicz-r3/financial_derivatives_demo
quantlib_swig_bindings/CSharp/csharp/SplineCubicInterpolatedSmileSection.cs
13,434
C#
using UnityEngine; using System.Collections.Generic; using Unity.Mathematics; public class LightData : MonoBehaviour { [HideInInspector] public int4 lastUpdatedCP; public static int4 LastUpdatedCP { get { return instance.lastUpdatedCP; } } public static void SetL...
20.901961
100
0.570356
[ "MIT" ]
igyvigy/idle-craft
Assets/Scripts/LightData.cs
1,066
C#
using SciTech.Rpc.Serialization; using SciTech.Rpc.Serialization.Internal; using System; using System.Threading.Tasks; namespace SciTech.Rpc.Lightweight.Internal { internal class LightweightRpcFrameWriter : ILightweightRpcFrameWriter, IDisposable { private BufferWriterStream writer = new BufferWriterS...
29.018182
119
0.584586
[ "BSD-3-Clause" ]
SciTechSoftware/SciTech.Rpc
src/SciTech.Rpc.Lightweight/Lightweight/Internal/LightweightRpcFrameWriter.cs
3,194
C#
//Problem 10. Find sum in array //Write a program that finds in given array of integers a sequence of given sum S (if present). using System; class FindSumInArray { static void Main() { Console.Write("Enter size of the array: "); int n = int.Parse(Console.ReadLine()); int[] arr = new...
25.745098
95
0.396801
[ "MIT" ]
enchev-93/Telerik-Academy
02.C Sharp part 2/01.Arrays/Arrays/FindSumInArray/FindSumInArray.cs
1,315
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
41.486486
85
0.564169
[ "Apache-2.0" ]
andrewdbond/CompositeWPF
sourceCode/compositewpf/V2.2/trunk/Quickstarts/Modularity/ConfigurationModularity/ModuleA/ModuleA.cs
1,535
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /* The AspectRatioTrigger class is a custom trigger for use with a VisualState. The trigger is designed to fire when the height/width of the source FrameworkElement is greater than a specified threshold. In order to be a...
29.79375
155
0.726872
[ "MIT" ]
AnonProgrammer007/calculator
src/Calculator.Shared/Views/StateTriggers/AspectRatioTrigger.cs
4,767
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; nam...
27.129032
70
0.665874
[ "MIT" ]
vasilemario/blazer
src/MatBlazor.Demo.ServerApp/Program.cs
841
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Microsoft.eShopWeb.PublicApi.AuthEndpoints { public class UserInfo { public static readonly UserInfo Anonymous = new UserInfo(); public bool IsAuthenticated { get; set; } public s...
27.764706
67
0.692797
[ "MIT" ]
1010699607/eShopOnWeb
src/PublicApi/AuthEndpoints/Authenticate.UserInfo.cs
474
C#
// * // * Copyright (C) 2005 Mats Helander : http://www.puzzleframework.com // * // * This library is free software; you can redistribute it and/or modify it // * under the terms of the GNU Lesser General Public License 2.1 or later, as // * published by the Free Software Foundation. See the included license.txt // * o...
29.571429
78
0.73913
[ "MIT" ]
jjvanzon/JJ.TryOut
Third Party/NPersist/Source Code/NPersist/Framework/Interfaces/IUpdatedPropertyTracker.cs
621
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using TripGallery.DTO; namespace TripGallery.MVCClient.Models { public class TripCreateViewModel { public HttpPos...
19.233333
57
0.658579
[ "Apache-2.0" ]
patrickfly/usingOAuth
TripGallery.MVCClient/Models/TripCreateViewModel.cs
579
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.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web.Mvc; using Microsoft.W...
29.444444
111
0.548113
[ "Apache-2.0" ]
belav/AspNetWebStack
src/Microsoft.Web.Mvc/CreditCardAttribute.cs
2,122
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("Me...
36.058824
84
0.748777
[ "MIT" ]
gravbox/-GravityboxSchedule
PublicTests/C#_Projects/Medical/Properties/AssemblyInfo.cs
1,229
C#
namespace Smart.Navigation.Mappers { using System; public interface ITypeConstraint { bool IsValidType(Type type); } }
14.4
36
0.659722
[ "MIT" ]
usausa/Smart-Net-Navigation
Smart.Navigation/Navigation/Mappers/ITypeConstraint.cs
144
C#
// // AmountEntryViewModel.cs // // Copyright (c) 2022 HODL Wallet // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to us...
31.709898
129
0.499946
[ "MIT" ]
hodlwallet/hodlwallet
HodlWallet/Core/ViewModels/AmountEntryViewModel.cs
9,299
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.OData.Query; using Microsoft.AspNetCore.OData.Routing.Controllers; using ODataHeroes.Contracts.Controllers; using ODataHeroes.Contracts.Data.Repositories; using System.Linq; namespace ODataHeroes.API.Controllers.OData { public class HeroesController : ODa...
26.305556
70
0.62302
[ "MIT" ]
dbphoton/odataheroes
ODataHeroes.API/Controllers/OData/HeroesController.cs
949
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LoadingManager : Singleton<LoadingManager> { public void LoadScene(string InSceneName) { StartCoroutine(CoroutineLoadScene(InSceneName)); } IEnumerator CoroutineL...
25.955556
84
0.615582
[ "MIT" ]
magemjmj/hide-and-seek
Assets/Code/Manager/LoadingManager.cs
1,170
C#
#pragma checksum "C:\Users\ramos\source\repos\Authentication.System.MVC.CSharp\Auth.System.MVC.WebApp\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "65755186d74c449a5d1168061a19ca135d7c8024" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsof...
72.285
355
0.76565
[ "MIT" ]
proRamos/Authentication.System.MVC.CSharp
Auth.System.MVC.WebApp/obj/Debug/net5.0/Razor/Areas/Identity/Pages/Account/Manage/PersonalData.cshtml.g.cs
14,457
C#
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("MLKitBuildAll")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConf...
36.551724
81
0.74717
[ "MIT" ]
4brunu/GooglePlayServicesComponents
samples/all/MLKitBuildAll/Properties/AssemblyInfo.cs
1,063
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; using System.IO; using Microsoft.WindowsAPICodePack.Dialogs; namespace CitraV3DSManager { public par...
35.647799
230
0.52717
[ "MIT" ]
Chickenbreadlp/CitraV3DSManager
CitraV3DSManager/mainWin.cs
11,338
C#
using TCC.Data; using TCC.UI.Windows.Widgets; namespace TCC.Settings.WindowSettings { public class NotificationAreaSettings : WindowSettingsBase { private int _defaultNotificationDuration; public int MaxNotifications { get; set; } public int DefaultNotificationDuration { ...
28.447368
73
0.558742
[ "MIT" ]
Foglio1024/Tera-custom-cooldowns
TCC.Core/Settings/WindowSettings/NotificationAreaSettings.cs
1,083
C#
using System.Collections.Generic; using System.Linq; namespace fs4net.Framework.Impl { internal class FoldersParser { private readonly string _relativePath; private readonly Validator _validator; private readonly string _canonifiedPathWithoutBackslashes; private bool H...
40.488189
195
0.580124
[ "Apache-2.0" ]
toroso/fs4net
framework/fs4net.Framework/Impl/FoldersParser.cs
5,142
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> //----------------------------------------...
34.989691
84
0.537124
[ "MIT" ]
HotcakesCommerce/core
Website/DesktopModules/Hotcakes/Core/Admin/Controls/ProductReviewEditor.ascx.designer.cs
3,396
C#
using System.Collections.Generic; namespace DFrame.Kubernetes.Models { public class V1CsiVolumeSource { public string Driver { get; set; } public string FsType { get; set; } public V1LocalObjectReference NodePublishSecretRef { get; set; } public bool? ReadOnly { get; set; } ...
28.5
73
0.66416
[ "MIT" ]
Cysharp/DFrame
src/DFrame.Kubernetes/Models/V1CSIVolumeSource.cs
401
C#
using PuyoTools.Modules.Compression; using PuyoTools.Modules.Texture; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace PuyoTools.Modules.Archive { public class TxdStorybookArchive : ArchiveBase { private static readonly byte[] magicCode =...
35.366667
129
0.590245
[ "MIT" ]
SwitchKaze/puyotools
src/PuyoTools.Modules/Archive/Formats/TxdStorybookArchive.cs
4,246
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; using Voxul.Meshing; using Voxul.Utilities; namespace Voxul.Edit { [Serializable] internal class PrimitiveTool : VoxelPainterTool { public override GUIContent Icon => EditorGUIUtility.IconContent("CreateAddNe...
28.362162
134
0.718506
[ "Apache-2.0" ]
cowtrix/voxul
Scripts/Editor/Tools/PrimitiveTool.cs
5,249
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Iot.Device.RadioReceiver { /// <summary> /// TEA5767 FM frequency range. /// </summary> public enum FrequencyRange { /// <summary> /// 7...
21.181818
71
0.549356
[ "MIT" ]
CarlosSardo/nanoFramework.IoT.Device
devices/RadioReceiver/Devices/Tea5767/FrequencyRange.cs
466
C#
/* * Copyright (C) 2011 The Libphonenumber Authors * * 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 l...
41.514851
111
0.63606
[ "Apache-2.0" ]
dchankhour/libphonenumber-csharp
csharp/PhoneNumbers/ShortNumberUtil.cs
4,195
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.PropertyEditors; namespace Umbraco.Core.Manifest { /// <su...
39.097222
139
0.503375
[ "MIT" ]
AdrianJMartin/Umbraco-CMS
src/Umbraco.Core/Manifest/ManifestParser.cs
11,262
C#
using System; using System.IO; using System.Xml; using Xamarin; namespace xharness { public class UnifiedTarget : iOSTarget { // special cases for the BCL applications public override string Suffix { get { return MonoNativeInfo != null ? MonoNativeInfo.FlavorSuffix : "-ios"; } } public overri...
23.941176
178
0.691783
[ "BSD-3-Clause" ]
FlavioGoncalves-Cayas/xamarin-macios
tests/xharness/UnifiedTarget.cs
3,665
C#
#region License /* FNA - XNA4 Reimplementation for Desktop Platforms * Copyright 2009-2015 Ethan Lee and the MonoGame Team * * Released under the Microsoft Public License. * See LICENSE for details. */ #endregion namespace Microsoft.Xna.Framework.Content { internal class Int32Reader : ContentTypeReade...
17.970588
55
0.690671
[ "MIT" ]
elisee/NuclearWinter
FNA/src/Content/ContentReaders/Int32Reader.cs
611
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { var listOfCars = new List<Car>(); var listOfTrucks = new List<Truck>(); double averageCarHp = 0.00; double avera...
30.445378
94
0.485509
[ "MIT" ]
Uendy/Tech-Module
L07 Classes, Objects/L07 More Exercises/Q02 Vehicle Catologue/Program.cs
3,625
C#
using System.Reflection; using System.Text; namespace OfaSchlupfer.TextTemplate.Runtime { /// <summary> /// The standard rename make a camel/pascalcase name changed by `_` and lowercase. e.g `ThisIsAnExample` becomes `this_is_an_example`. /// </summary> public sealed class StandardMemberRenamer { ...
37.666667
138
0.543907
[ "MIT" ]
FlorianGrimm/OfaSchlupfer
OfaSchlupfer.Elementary/TextTemplate/Runtime/StandardMemberRenamer.cs
1,469
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MoreMountains.Feedbacks { /// <summary> /// This feedback will make the bound renderer flicker for the set duration when played (and restore its initial color when stopped) /// </summary> [AddComponentMenu("")] ...
40.429119
252
0.546531
[ "MIT" ]
DuLovell/Rhythm-Game
Assets/Plugins/Feel/MMFeedbacks/MMFeedbacks/Feedbacks/MMFeedbackFlicker.cs
10,554
C#
//----------------------------------------------------------------------------- // Runtime: 168ms // Memory Usage: // Link: //----------------------------------------------------------------------------- namespace LeetCode { public class _037_SudokuSolver { bool[,] colUsed = new bool[9, 9]; b...
34.131148
113
0.407301
[ "MIT" ]
BigEggStudy/LeetCode-CS
LeetCode/0001-0050/037-SudokuSolver.cs
2,082
C#
// *********************************************************************** // Assembly : OptimizationToolbox // Author : campmatt // Created : 01-28-2021 // // Last Modified By : campmatt // Last Modified On : 01-28-2021 // ********************************************************************...
35.784483
88
0.488557
[ "MIT" ]
DesignEngrLab/OOOT
OptimizationToolbox/Merit Functions/linearExteriorPenalty.cs
4,153
C#
namespace Mapbox.Examples.Scripts { using Mapbox.Unity.Location; using Mapbox.Utils; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Text; using UnityEngine; using UnityEngine.UI; public class LogLocationProviderData : MonoBehaviour { [Se...
39
222
0.752465
[ "MIT" ]
HypnosisXStar/infiltrate-source
Source/Infiltrate/Assets/Mapbox/Mapbox/Examples/5_Playground/Scripts/LogLocationProviderData.cs
3,044
C#
namespace Frapid.Account.Models { public class GoogleUserInfo : IUserInfo { public string Name { get; set; } public string Email { get; set; } } }
21.75
43
0.614943
[ "MIT" ]
2ia/frapid
src/Frapid.Web/Areas/Frapid.Account/Models/GoogleUserInfo.cs
174
C#
using System; using System.Reflection.Emit; ///<summary> ///System.Reflection.Emit.OpCodes.Stloc_0 [v-zuolan] ///</summary> public class OpCodesStloc_0 { public static int Main() { OpCodesStloc_0 testObj = new OpCodesStloc_0(); TestLibrary.TestFramework.BeginTestCase("for field of System.Refl...
27.407407
188
0.553153
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/reflection/emit/opcodes/opcodesstloc_0.cs
4,440
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Network { public partial class AzureNetworkDnsZoneTask : ExternalProcessTaskBase<AzureNetworkDnsZoneTask> { /// <...
22
100
0.645105
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Network/AzureNetworkDnsZoneTask.cs
572
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models { using Newtonsoft.Json; using System.Linq; //...
31.215686
90
0.612437
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/cognitiveservices/Search.BingVisualSearch/src/Generated/Models/KnowledgeRequest.cs
1,592
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.543269
279
0.595322
[ "MIT" ]
BearerPipelineTest/fhir-server
src/Microsoft.Health.Fhir.CosmosDb/Resources.Designer.cs
8,851
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
31.653179
113
0.471877
[ "BSD-3-Clause" ]
675492062/behaviac
integration/BattleCityDemo/Assets/Scripts/behaviac/BehaviorTree/Nodes/Composites/Compositestochastic.cs
5,476
C#
namespace UglyToad.PdfPig.Fonts.Encodings { using System.Collections.Generic; using UglyToad.PdfPig.Tokens; /// <summary> /// Maps character codes to glyph names from a PostScript encoding. /// </summary> public abstract class Encoding { /// <summary> /// Mutable code to na...
27.694915
97
0.511934
[ "Apache-2.0" ]
Lordtagoh/PdfPig
src/UglyToad.PdfPig.Fonts/Encodings/Encoding.cs
3,270
C#
namespace ClientLogic.Models { public class Configuration { public string Host { get; set; } } }
14.75
40
0.610169
[ "Apache-2.0" ]
projectcloudlife/CloudLife
ClientLogic/Models/Configuration.cs
120
C#