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 SparkPostFun.Accounts { public record RetrieveSubaccountsSummaryResponseResult { public int? Total { get; init; } } }
21.142857
58
0.689189
[ "Apache-2.0" ]
jmojiwat/SparkPostFun
src/SparkPostFun/Accounts/RetrieveSubaccountsSummaryResponseResult.cs
150
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
48.457143
132
0.672759
[ "MIT" ]
AladdinBI/azure-powershell
src/Batch/Batch/Jobs/GetBatchJobStatisticCommand.cs
1,664
C#
namespace Forum.App.Models.Commands { using Forum.App.Contracts; public class CategoriesMenuCommand : ICommand { private IMenuFactory menuFactory; public CategoriesMenuCommand(IMenuFactory menuFactory) { this.menuFactory = menuFactory; } public IMenu E...
26.73913
94
0.621138
[ "MIT" ]
MustafaAmish/All-Curses-in-SoftUni
05. C# OOP Advanced/15. Workshop/Forum.App/Models/Commands/CategoriesMenuCommand.cs
617
C#
using System; using System.Collections; using System.IO; using System.Text; using NUnit.Framework; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Pkix; using Org.BouncyCastle.Security.Certificates; using Org.BouncyCastle.Utilities.Collections; using Org.BouncyCastle.Utilities.Encoders; using Org.Bo...
43.652778
796
0.764493
[ "BSD-3-Clause" ]
GaloisInc/hacrypto
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/test/CertPathTest.cs
15,715
C#
using System.Collections.Generic; using System.Linq; namespace EnterpriseWebLibrary.EnterpriseWebFramework { public interface PageComponent {} public static class PageComponentExtensionCreators { /// <summary> /// Concatenates page components. /// </summary> public static IEnumerable<ComponentTyp...
38
153
0.743108
[ "MIT" ]
enduracode/enterprise-web-library
Core/EnterpriseWebFramework/Page Infrastructure/Page Structure/Components/PageComponent.cs
800
C#
using Accord.Bot.Infrastructure; using Microsoft.Extensions.Options; using Remora.Discord.API.Abstractions.Objects; using Remora.Discord.API.Objects; namespace Accord.Bot.Helpers; public class DiscordAvatarHelper { private readonly DiscordConfiguration _discordConfiguration; public DiscordAvatarHelper(IOpti...
26.6
109
0.673872
[ "MIT" ]
patrickklaeren/Accord
src/Accord.Bot/Helpers/DiscordAvatarHelper.cs
1,066
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...
27.782051
112
0.603138
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SecretsManager/Generated/Model/RestoreSecretResponse.cs
2,167
C#
using System; using System.ComponentModel; using System.Windows.Input; using GalaSoft.MvvmLight.Helpers; namespace LivestreamStarter.Presentation.Common { public class AsyncRelayCommand : ICommand { private readonly BackgroundWorker canExecuteworker; private readonly WeakAction execute; ...
25.964286
119
0.514443
[ "MIT" ]
prayzzz/LivestreamStarter
LivestreamStarter.Presentation/Common/AsyncRelayCommand.cs
2,910
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.Threading.Tasks; using Xunit; namespace System.Collections.Generic.Tests { public abstract partial...
47.25
158
0.653968
[ "MIT" ]
2E0PGS/corefx
src/System.Collections/tests/Generic/Comparers/EqualityComparer.Generic.Tests.cs
5,670
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows; using System.Windows.Media.Imaging; using IOPath = System.IO.Path; using System.IO; namespace ClipSynth { class CheckBoxContent : StackPanel { public CheckBox Che...
29.458904
150
0.524529
[ "MIT" ]
greymind/ClipSynth
ClipSynth/CheckBoxContent.cs
4,303
C#
using Memberships.Models; using Memberships.Models.Core; using System.Data.Entity; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web.Mvc; namespace Memberships.Areas.Admin.Controllers { public class ItemController : Controller { private ApplicationDbContext db = new A...
30.361702
170
0.538659
[ "MIT" ]
jessepatricio/Memberships
Memberships/Areas/Admin/Controllers/ItemController.cs
4,283
C#
namespace RayCarrot.BizHawk.R1Tool { // Anything which is not 1-4 will toggle PLACE_RAY. The game sets the mode to 0 when exiting a level. When PLACE_RAY is toggled in-game it inverts the value (so 1 would become -1 and then back to 1, preserving the previous mode) public enum R1_RayMode : short { ...
35.230769
232
0.637555
[ "MIT" ]
RayCarrot/RayCarrot.BizHawk.R1Tool
src/DataTypes/R1/R1_RayMode.cs
460
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. /*============================================================================= ** ** ** ** Purpose: Exception class...
29.619048
117
0.584405
[ "MIT" ]
guhuro/coreclr
src/mscorlib/src/System/IndexOutOfRangeException.cs
1,244
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SharedTypes { [N...
28.546926
112
0.540982
[ "MIT" ]
AntonLapounov/runtime
src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/NonBlittable.cs
8,821
C#
// // 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...
52.274385
221
0.504682
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ServiceManagement/Sql/SqlManagement/Generated/DacOperations.cs
57,345
C#
// // This CSharp output file generated by Gardens Point LEX // Version: 1.1.3.301 // Machine: DESKTOP-MQGTEI6 // DateTime: 21.09.2021 0:15:46 // UserName: Jingle // GPLEX input file <SimpleLex.lex> // GPLEX frame file <embedded resource> // // Option settings: unicode, parser, minimize // Option settings: c...
34.871158
129
0.484958
[ "MIT" ]
dkicenko/Indiv_Compilers_20
Module6/SimpleLex.cs
53,386
C#
/* This file was created automatically, do not edit! */ using System.Runtime.Serialization; namespace Iviz.Msgs.Actionlib { [Preserve, DataContract (Name = "actionlib/TwoIntsResult")] public sealed class TwoIntsResult : IDeserializable<TwoIntsResult>, IResult<TwoIntsActionResult> { [DataMember (Na...
31.027778
104
0.58684
[ "MIT" ]
KIT-ISAS/iviz
iviz_msgs/actionlib/msg/TwoIntsResult.cs
2,234
C#
namespace StringifierTests { public enum MainMediaType { Movies = 1, TvSeries = 2 } }
12.777778
29
0.556522
[ "MIT" ]
fellipeborges/lara
src/Lara.Tests/Stringifier/Model/MainMediaTypeEnum.cs
117
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LeafSplit : MonoBehaviour { public bool canSplit; public bool isGrabbable; public float leafTime; public float currentTime; bool grounded; [SerializeField] Object destructableLeaf; private ...
22.675
128
0.554943
[ "MIT" ]
MigQP/Rite_Autumn
Assets/Scripts/LeafSplit.cs
2,721
C#
using System; using System.Collections.Generic; #nullable disable namespace KZ.AdventureWorks.Products.Api.Models { public partial class VIndividualCustomer { public int BusinessEntityId { get; set; } public string Title { get; set; } public string FirstName { get; set; } publ...
34.633333
53
0.628489
[ "MIT" ]
az00s/KZ.AdventureWorks.Products.Api
KZ.AdventureWorks.Products.Api/Models/VIndividualCustomer.cs
1,041
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using AElf.Modularity; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Volo.Abp.Modularity; namespace AElf { public class CoreAElfModule : AElfModule { public override ...
28.858824
108
0.63351
[ "MIT" ]
380086154/AElf
src/AElf.Core/CoreAElfModule.cs
2,453
C#
using Laurus.Mileage.Services; using Laurus.Mileage.UWP.Services; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; using Xamarin.Forms; [assembly: Dependency(typeof(FileHelper))] namespace Laurus.Mileage.UWP.Ser...
22.69697
81
0.70494
[ "MIT" ]
thebeekeeper/Laurus.Mileage
Laurus.Mileage/Laurus.Mileage.UWP/Services/FileHelper.cs
751
C#
//#define SAVE using System.Net.Http; using System.Text; using AngleSharp; using AngleSharp.Dom; using AngleSharp.Html.Dom; using AngleSharp.Io; using AngleSharp.Io.Network; using AngleSharp.Scripting; using Jint.Native; using Jint.Native.Function; using Jint.Native.Object; using Microsoft.AspNetCore.Mvc.Testing; us...
43.941368
137
0.612454
[ "MIT" ]
cesarsouza/dvml
tests/Unit Tests/Pages/AddNewItemPageTests.cs
13,490
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading; namespace DiscoveryTestProject3 { [TestClass] public class LongDiscov...
19.901961
120
0.533005
[ "MIT" ]
Evangelink/vstest
test/TestAssets/DiscoveryTestProject/LongDiscoveryTestClass.cs
3,047
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated...
31.419355
85
0.553388
[ "MIT" ]
kranthi467/KranthiPOCs
.NET/AuthenticationWebApi/AuthenticationWebApi/UserCredentials.Context.cs
976
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dnc { /// <summary> /// Used for parallel computation and starting some threads to process items. /// <see cref="Task"/> /// <see cref="Parallel"/> /// </summary> public class TaskManager...
32.46988
89
0.504267
[ "MIT" ]
gainorloss/Dnc.Core
src/Dnc.Core/Helpers/TaskManager.cs
2,697
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; using System.IO; using System.Globalization; using Microsoft.Build.BackEnd; using Microsoft.Build.Framework; using Microsoft.Bu...
37.7325
189
0.561055
[ "MIT" ]
478254406/msbuild
src/Build/BackEnd/Shared/TargetResult.cs
15,095
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading; using Syste...
47.69375
185
0.639497
[ "Apache-2.0" ]
DaiMichael/roslyn
src/Features/Core/Portable/UseNullPropagation/AbstractUseNullPropagationCodeFixProvider.cs
7,633
C#
using Microsoft.VisualStudio; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.TextManager.Interop; namespace DanTup.DartVS { // https://github.com/Sectoid/debian-dlr-languages/blob/5f1b292f62f2b5a2d92c5a564ff58816419af1da/...
33.62
210
0.812612
[ "MIT" ]
DartVS/DartVS
DanTup.DartVS.Vsix/Navigation/DartCodeWindowManager.cs
1,683
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. namespac...
38.078652
192
0.628799
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/ServiceBus/Management.ServiceBus/Generated/Models/Destination.cs
3,389
C#
namespace Octokit.GraphQL { /// <summary> /// Represents a product header value. This is used to generate the User Agent string sent with each request. The /// name used should represent the product that's using Octokit.net. /// </summary> /// <remarks> /// This class is a wrapper around <seeal...
36.885417
156
0.603219
[ "MIT" ]
0xced/octokit.graphql.net
Octokit.GraphQL.Core/ProductHeaderValue.cs
3,543
C#
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenHtmlToPdf.Tests.Helpers; namespace OpenHtmlToPdf.Tests { [TestClass] public class HtmlToPdfConversion { private const string HtmlDocumen...
38.850746
152
0.653477
[ "MIT" ]
InfiniSwiss/InfiniSwiss.OpenHtmlToPdf
InfiniSwiss.OpenHtmlToPdf.Tests/HtmlToPdfConversion.cs
7,815
C#
#nullable enable using System; using Robust.Shared.Analyzers; using Robust.Shared.GameObjects; namespace Content.Shared.Throwing { [RequiresExplicitImplementation] public interface IThrowCollide { void HitBy(ThrowCollideEventArgs eventArgs) {} void DoHit(ThrowCollideEventArgs eventArgs) {} ...
28.030769
88
0.547201
[ "MIT" ]
Bright0/space-station-14
Content.Shared/Throwing/IThrowCollide.cs
1,822
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...
26.913793
88
0.625881
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-datadog
sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionRequestQueryProcessQuery.cs
1,561
C#
namespace SmartConnect.Web.Infrastructure.ModelBinders { using System; using System.Web.Mvc; using Contracts; using Data.Models.Contracts; using Data.Repositories.Contracts; public class EntityModelBinder<TEntity> : IModelBinder<TEntity, Guid> where TEntity : class, IEntity<Guid> ...
29.655172
104
0.660465
[ "MIT" ]
vassildinev/Smart-Connect
Source/Web/SmartConnect.Web.Infrastructure/ModelBinders/EntityModelBinder{TEntity}.cs
862
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Net.Http; namespace DotNetWebApi.Tests { class Program { static void Main(string[] args) { var client = new HttpClient(); client.BaseAddress = new Uri("http://localhost:5000"); ...
29.857143
116
0.541975
[ "MIT" ]
alegh1390/curso-rest-apis-lab5
src/services/DotNetWebApi.Tests/DotNetWebApi.Tests/Program.cs
2,301
C#
using System; namespace Chesham.Forza.ForzaHorizon4.Data.Attribute { [AttributeUsage(AttributeTargets.Property)] class PlaceholderAttribute : System.Attribute { public int Size { get; } public PlaceholderAttribute(int sizeInBytes) { this.Size = sizeInBytes; ...
21.375
53
0.616959
[ "MIT" ]
Chesham/Chesham.Forza
Chesham.Forza.ForzaHorizon4.Data/Attribute/PlaceholderAttribute.cs
344
C#
using System; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; namespace ParentLoad.Business.ERLevel { /// <summary> /// A09Level11111ReChild (editable child object).<br/> /// This is a generated base class of <see cref="A09Level11111ReChild"/> business object. ...
39.240664
180
0.586021
[ "MIT" ]
CslaGenFork/CslaGenFork
tags/DeepLoad sample v.1.0.0/ParentLoad.Business/ERLevel/A09Level11111ReChild.Designer.cs
9,457
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
33.842105
149
0.552164
[ "MIT" ]
dayfox5317/ET_Lua
Unity/Assets/Cold/XLua/Gen/FairyGUIUtilsHtmlInputWrap.cs
15,434
C#
namespace Silky.Core.Runtime.Session { public static class SessionExtensions { public static bool IsLogin(this ISession session) { if (session == null) { return false; } return session.UserId != null; } } }
20.533333
57
0.503247
[ "MIT" ]
Dishone/silky
framework/src/Silky.Core/Runtime/Session/SessionExtensions.cs
310
C#
namespace TrafficManager.Patch._VehicleAI._CarAI { using System.Reflection; using API.Traffic.Enums; using ColossalFramework; using CSUtil.Commons; using HarmonyLib; using JetBrains.Annotations; using Manager.Impl; using State; using State.ConfigData; using TrafficManager.Util.Ex...
46.47093
152
0.499187
[ "MIT" ]
Elesbaan70/TMPE
TLM/TLM/Patch/_VehicleAI/_CarAI/CalculateSegmentPositionPatch2.cs
7,993
C#
using System; using CPUx86 = XSharp.Assembler.x86; using CPU = XSharp.Assembler.x86; using XSharp.Assembler.x86; using XSharp.Assembler; using XSharp.Assembler.x86.SSE; using XSharp.Assembler.x86.x87; using XSharp; using static XSharp.XSRegisters; using static XSharp.Assembler.x86.SSE.ComparePseudoOpcodes; namespace ...
29.577236
176
0.666575
[ "BSD-3-Clause" ]
xccoreco/IL2CPU
source/Cosmos.IL2CPU/IL/Cgt.cs
3,638
C#
using AssetManagementBase; using Microsoft.Xna.Framework; using Myra.Graphics2D.UI; using NUnit.Framework; namespace Myra.Tests { [TestFixture] public class MMLTests { [Test] public void LoadMMLWithExternalAssets() { var assembly = typeof(MMLTests).Assembly; ResourceAssetResolver assetResolver = new Re...
27.636364
91
0.757675
[ "MIT" ]
AtomicBlom/Myra
src/Myra.Tests/MMLTests.cs
914
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SEIDR.JobExecutor { /// <summary> /// Removes delay for any JobExecution records that have been flagged to 'RunNow'. /// Also increases the priority and triggers sorting the JobExe...
33.666667
95
0.581064
[ "MIT" ]
maron6/SEIDR
SEIDR.JobExecutor/ResetDelayExecutor.cs
1,618
C#
using BenchmarkDotNet.Attributes; namespace NetFabric.Hyperlinq.Benchmarks { public abstract class CountBenchmarksBase : BenchmarksBase { [Params(100)] public int Count { get; set; } public override void GlobalSetup() { } } }
20.384615
62
0.667925
[ "MIT" ]
Ashrafnet/NetFabric.Hyperlinq
NetFabric.Hyperlinq.Benchmarks/CountBenchmarksBase.cs
267
C#
using System.ComponentModel; using AmbethIFilterDescriptor = De.Osthus.Ambeth.Filter.Model.IFilterDescriptor; namespace De.Osthus.Minerva.FilterProvider { // Providers must ALWAYS implement INotifyPropertyChanged public interface IFilterDescriptorProvider : INotifyPropertyChanged { AmbethIFilterDe...
30.75
80
0.794038
[ "Apache-2.0" ]
Dennis-Koch/ambeth
ambeth/Minerva.Core/minerva/filterprovider/IFilterDescriptorProvider.cs
371
C#
//////////////////////////////////////////////////////////////////// // _ooOoo_ // // o8888888o // // 88" . "88 // // (| ^_^ |) ...
46.5
70
0.145161
[ "MIT" ]
Henxun/Henxun.CMS
Henxun.Cms.Models/Partial/ArticleCategory.cs
3,048
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
25.951613
76
0.645121
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Domainservice/Apis/DescribeMonitorTargetRequest.cs
1,701
C#
using NSubstitute; using Xunit; using Xunit.Abstractions; using Xunit.Runner.MSBuild; public class StandardOutputVisitorTests { public class OnMessage_ErrorMessage { [Fact] public void LogsMessage() { var errorMessage = Substitute.For<IErrorMessage>(); errorMess...
35.73743
131
0.599187
[ "Apache-2.0" ]
chrisaut/xunit
test/test.xunit.runner.msbuild/Visitors/StandardOutputVisitorTests.cs
6,399
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
35.394737
241
0.6171
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Vod/V20180717/Models/DescribeWatermarkTemplatesRequest.cs
2,690
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
36.016807
119
0.524673
[ "BSD-3-Clause" ]
asmexcaliburwoods/opensim
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/AsyncCommandManager.cs
17,144
C#
using Microsoft.Extensions.Configuration; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.IO; using System.Threading.Tasks; namespace Vocalia.Ingest.Media { public class MediaStorage : IMediaStorage { private IConfiguration Config { get;...
32.571429
114
0.616959
[ "MIT" ]
AdamMYoung/Vocalia-API
src/apis/Ingest/Vocalia.Ingest/Media/MediaStorage.cs
1,370
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 may...
31.845361
88
0.593396
[ "Apache-2.0" ]
grisha-kotler/lucenenet
test/Lucene.Net.Test/Store/MockRAMInputStream.cs
3,089
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using FreelandLabs.Controller; namespace FreelandLabs { public partial class MainForm : Form { int x, y; bool s = false; Loader loader; public MainForm() { this.InitializeComponent(); this.p...
29.3125
97
0.678465
[ "MIT" ]
Sagleft/freeland-labs
View/MainForm.cs
2,396
C#
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class Blocks : ModuleRules { public Blocks(ReadOnlyTargetRules Target) : base(Target) { PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); } }
24.25
102
0.738832
[ "MIT" ]
harunpehlivan/AirSim
Unreal/Environments/Blocks/Source/Blocks/Blocks.Build.cs
291
C#
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. singleton Material(fr1tz_mis_alux3d_test_terrainFX) { mapTo = "fr1tz_mis_alux3d_test_terrain"; footstepSoundId = "3"; terrainMaterials = "1"; ShowDust = "0"; showFootprints = "...
30.59375
65
0.662921
[ "MIT" ]
fr1tz/alux3d
My Projects/Alux3D/game/content/fr1tz/mis_alux3d_debug/materials.cs
948
C#
namespace BitCoinWatcher.BitBayApi.Enums { public enum Currency { Pln, BitcoinCash, BitcoinGold, Bitcoin, Ethereum, Lisk, LiteCoin, Game, Dash, } }
14.5625
41
0.493562
[ "Apache-2.0" ]
yanekk/bitcoin-watcher
BitCoinWatcher.BitBayApi/Enums/Currency.cs
235
C#
using System; using System.ComponentModel; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Ballistico.Views { public partial class AboutPage : ContentPage { public AboutPage() { InitializeComponent(); } } }
17.666667
48
0.641509
[ "MIT" ]
jcapellman/Ballistico
Ballistico/Ballistico/Views/AboutPage.xaml.cs
267
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace PointOfInterestSkill { public class CancelRouteState { } }
17.9
61
0.72067
[ "MIT" ]
jamieo-ms/AI
solutions/Virtual-Assistant/src/csharp/skills/pointofinterestskill/Dialogs/CancelRouteDialog/CancelRouteState.cs
181
C#
// Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Oren Gurfinkel <oreng@mainsoft.com> // Ofer Borstein // // Copyright (c) 2004 Mainsoft Co. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docu...
31.705357
97
0.682061
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Data/Test/System.Data/ReadOnlyExceptionTest.cs
3,551
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.UI; namespace Microsoft.MixedReality.SpectatorView {...
37.476684
177
0.544864
[ "MIT" ]
Pycorax/MixedReality-SpectatorView
src/SpectatorView.Unity/Assets/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/Text/TextBroadcaster.cs
7,235
C#
using Microsoft.Maui.Graphics; namespace Microsoft.Maui { public interface IScrollView : IContentView { /// <summary> /// Gets a value indicating the visibility rules for the horizontal scroll bar. /// </summary> ScrollBarVisibility HorizontalScrollBarVisibility { get; } /// <summary> /// Gets a value ...
31.28
110
0.698849
[ "MIT" ]
10088/maui
src/Core/src/Core/IScrollView.cs
1,566
C#
using System; using System.Reflection; namespace MethodBoundaryAspect.Fody.Attributes { public class MethodExecutionArgs { public FlowBehavior FlowBehavior { get; set; } public object Instance { get; set; } public MethodBase Method { get; set; } public object[] Arguments { get;...
30.4375
54
0.650924
[ "MIT" ]
NilFusion/MethodBoundaryAspect.Fody
src/MethodBoundaryAspect/Attributes/MethodExecutionArgs.cs
489
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; using System.Collections.Generic; using System.ComponentModel; using S...
32.824092
140
0.49001
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemCollection.cs
17,169
C#
using System; using System.Net.Http; namespace MyToDoApp.Services { public interface IHttpFactory { HttpClient GetClient(); } public class HttpFactory : IHttpFactory { public virtual HttpClient GetClient() { var client = new HttpClient(); if (!strin...
21.541667
78
0.5706
[ "MIT" ]
stvansolano/my-todo-app
MyToDoApp/Utils/IHttpFactory.cs
519
C#
namespace EA.Iws.RequestHandlers.Movement { using System; using System.Threading.Tasks; using Domain.Movement; using Prsd.Core.Mediator; using Requests.Movement; internal class GetMovementIdByNumberHandler : IRequestHandler<GetMovementIdByNumber, Guid> { private readonly IMovementR...
31.612903
152
0.67551
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Iws.RequestHandlers/Movement/GetMovementIdByNumberHandler.cs
982
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MohyoButton.Models { public class KeyInfo { /// <summary> /// Consumer Key /// </summary> public string ConsumerKey; /// <summary> /// C...
23.357143
40
0.536188
[ "MIT" ]
0V/MohyoButton
MohyoButton/Models/KeyInfo.cs
983
C#
namespace Microsoft.Pc { public enum LivenessOption { None, Standard, Sampling }; }
21.75
60
0.735632
[ "MIT" ]
Drona-Org/Q
Src/Pc/Compiler/LivenessOption.cs
87
C#
using Pyramid.Models; using System; using System.Collections.Generic; using System.Linq; using System.Data.Entity; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data.Entity.Infrastructure; using Pyramid.Code; using DevExpress.Web; using De...
47.61435
253
0.487662
[ "MIT" ]
CHSR/PyramidModelWebApp
Pyramid/Pyramid/Pages/ChildrenDashboard.aspx.cs
10,620
C#
namespace TraktNet.Objects.Basic.Tests.Json.Reader { using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Basic; using TraktNet.Objects.Json; using Xunit;...
48.293839
124
0.648283
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Basic.Tests/Json/Reader/CastAndCrewArrayJsonReader/CastAndCrewArrayJsonReader_Json_String_Tests.cs
10,192
C#
using System.Collections.Generic; using System.Threading.Tasks; using laget.Db.Mongo.Exceptions; using MongoDB.Driver; namespace laget.Db.Mongo { public class ReadOnlyRepository<TEntity> : Repository<TEntity>, IRepository<TEntity> where TEntity : Entity { public ReadOnlyRepository(IMongoDefaultProvide...
29.215517
135
0.620832
[ "Apache-2.0" ]
laget-se/laget.Db.Mongo
laget.Db.Mongo/ReadOnlyRepository.cs
3,391
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 Android.Widget; namespace MobileTCC.Droid { [Activity(Theme = "@style/Theme.Splash", MainLauncher = true, ...
21.451613
67
0.664662
[ "MIT" ]
Mogueno/Atena-Desk-and-Mobile
MobileTCC/MobileTCC/MobileTCC.Android/SplashScreen.cs
667
C#
using System; using System.Collections.Generic; namespace Newznab { public abstract class NewznabWebRequest : Dictionary<String, String> { protected NewznabWebRequest(String command) { this.Add("t", command); } } }
16.285714
69
0.736842
[ "MIT" ]
ChristopherHaws/newznab
src/Newznab/NewznabWebRequest.cs
228
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 CAINpcPhilippaCombat : CAINpcCombat { ...
31.652174
132
0.748626
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CAINpcPhilippaCombat.cs
728
C#
using System; using ImageFramework.DirectX; using ImageFramework.Utility; using ImageViewer.Controller.TextureViews.Shader; using ImageViewer.Controller.TextureViews.Shared; using ImageViewer.Models; using SharpDX; using SharpDX.Direct3D11; using Device = ImageFramework.DirectX.Device; namespace ImageViewer.Controlle...
35.392523
190
0.571429
[ "MIT" ]
gaybro8777/ImageViewer
ImageViewer/Controller/TextureViews/Texture2D/CubeTextureView.cs
3,789
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using ZWaveLib.CommandClasses; namespace ZWaveLib.WebAPI.Controllers { [ApiController] public class CommandController : ControllerBase { private readon...
29.468085
111
0.606498
[ "MIT" ]
trembon/ZWaveLib.WebAPI
ZWaveLib.WebAPI/Controllers/CommandController.cs
1,387
C#
using LotteryCoreConsole.ScrapeAndQuartz.WebsiteScraping.Interfaces; using Quartz; using System; using System.Threading.Tasks; namespace LotteryCoreConsole.ScrapeAndQuartz.QuartzScheduling.USPowerball { /// <summary> /// Job creation for US Powerball to be executed by Quartz when triggered. /// </summary>...
34.148148
89
0.661605
[ "MIT" ]
Toyotomius/LotteryCoreConsole
ScrapeAndQuartz/QuartzScheduling/USPowerball/USPowerballJob.cs
924
C#
using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Security; using System.Security.Permissions; namespace DeviceIOControl.Native { /// <summary>Native methods</summary> internal static class Methods { /// <summary> /// Create...
51.956113
280
0.738144
[ "MIT" ]
FanIT/SysMonAvalonia
DeviceIOControl/Native/Methods.cs
16,651
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using Infrastructure.Commands; using Infrastructure.Repositories; using Newtonsoft.Json; namespace Infrastructure.Services.Camera { public class CameraService : ICameraService { private readonly IClientRepository _clientRepository; ...
29.92381
108
0.500318
[ "MIT" ]
Zuravvski/BSc-Thesis
Server/Infrastructure/Services/Camera/CameraService.cs
3,144
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Cdn.V1.Model { /// <summary> /// /// </summary> public class TopUrlSu...
31.939394
82
0.475569
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net
Services/Cdn/V1/Model/TopUrlSummary.cs
4,314
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 ...
49.32
227
0.799676
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-live/Live/Transform/V20161101/DescribeLiveDomainMappingResponseUnmarshaller.cs
2,466
C#
using ARMeilleure.CodeGen.RegisterAllocators; using ARMeilleure.IntermediateRepresentation; using ARMeilleure.Translation; using System; using System.Collections.Generic; using System.Diagnostics; using static ARMeilleure.IntermediateRepresentation.OperandHelper; using static ARMeilleure.IntermediateRepresentation.Ope...
38.467799
138
0.515537
[ "MIT" ]
derparb/h
ARMeilleure/CodeGen/X86/PreAllocator.cs
54,355
C#
using System; using System.ComponentModel; using System.Configuration.Provider; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Security; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security.DataProtection; using Umb...
43.106628
188
0.641864
[ "MIT" ]
WarwickBuz/Umbraco-CMS
src/Umbraco.Core/Security/BackOfficeUserManager.cs
29,918
C#
using System.Collections.Generic; namespace Menu.Domain.Entities { public class Price : EntityBase { public decimal PriceValue { get; set; } public decimal PricePerGramsOrMilliliters { get; set; } public decimal PricePerkilogramOrLiter { get; set; } public virtual Ingredient I...
27.3
65
0.648352
[ "Apache-2.0" ]
GabrielColetta/MenuExpense
Menu.Domain/Entities/Price.cs
548
C#
// Decompiled with JetBrains decompiler // Type: CompanionRespec.RespecFunctions // Assembly: CompanionRespec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 94BDDB6C-D57A-434E-9C4A-3FE10DCDEE7A // Assembly location: C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Comp...
41.978659
165
0.540707
[ "MIT" ]
AigioL/M-B2Mod.CompanionRespec
CompanionRespec/Utils.cs
13,975
C#
using Microsoft.VisualStudio.Shell; using System; using System.Runtime.InteropServices; using System.Threading; using Task = System.Threading.Tasks.Task; namespace LigaturesLimited { // To get loaded into VS, the package must be referred by <Asset Type="Microsoft.VisualStudio.VsPackage" ...> in .vsixmanifest file. ...
38
134
0.797847
[ "MIT" ]
kshetline/ligatures-limited-vs
LigaturesLimited/LigaturesLimitedPackage.cs
836
C#
namespace ABC065 { public class Program { static void Main(string[] args) { while (true) { QuestionB.Main(args); } } } }
14.928571
39
0.397129
[ "MIT" ]
KoyashiroKohaku/AtCoder
csharp/abc/ABC065/Program.cs
209
C#
//------------------------------------------------------------------------------ // <copyright file="METAHEADER.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------------------------...
39.175258
108
0.504737
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/commonui/System/Drawing/Advanced/METAHEADER.cs
3,800
C#
using System; using System.Collections.Generic; using System.IO; using FluentBuild.Utilities; namespace FluentBuild.AssemblyInfoBuilding { public class AssemblyInfoItem { public AssemblyInfoItem(string name, bool isQuotedValue, string value) { Name = name; IsQuotedValue...
37.837524
130
0.598967
[ "Apache-2.0" ]
GotWoods/Fluent-Build
src/FluentBuild/AssemblyInfoBuilding/AssemblyInfoDetails.cs
19,562
C#
namespace Snippet.Models.Folder { public record DeleteFolderInputModel(int spaceId, int folderId); }
26.25
68
0.790476
[ "MIT" ]
aishang2015/SnippetDoc
api/Snippet/Models/Folder/DeleteFolderInputModel.cs
107
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System; using System.Collections.Generic; using System.Linq; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Abstractions.Template...
50.287791
180
0.591306
[ "MIT" ]
eriawan/templating
src/Microsoft.TemplateEngine.Cli/TemplateResolution/TemplateGroup.cs
17,299
C#
using System; using LaDOSE.DTO; namespace LaDOSE.REST.Event { public class UpdatedJwtEventHandler : EventArgs { private readonly ApplicationUserDTO msg; public UpdatedJwtEventHandler(ApplicationUserDTO applicationUser) { this.msg = applicationUser; } public...
22.6875
73
0.672176
[ "MIT" ]
darkstack/LaDOSE
LaDOSE.Src/LaDOSE.REST/Event/UpdatedEvent.cs
365
C#
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
36.565421
109
0.698147
[ "Apache-2.0" ]
Bits-HuynhBinh/DuckHuntVR
DuckShuterVR/Assets/DaydreamElements/Common/Scripts/PaginatedScrolling/PaginatedScrolling/ScrollEffects/MaskedTile.cs
7,827
C#
using UnityEngine; public class PlayerShoulderMain : MonoBehaviour { [TextArea(2, 4)] public string notes = "This class only exists to act as a realiable way to let other " + "classes find it (e.g. CrosshairJoystick)."; }
26.666667
92
0.691667
[ "MIT" ]
tadadosii/2DTopDownIsometricShooterStudy
Assets/Scripts/Player/PlayerShoulderMain.cs
242
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.IO; namespace EmoticonGenerator { class Program { /// <summary> /// Reads an input file for a list of emoticons and packs it into a single output PNG /// </summary> static...
37.017241
123
0.435724
[ "MIT" ]
DNSNets/OpenLiveWriter
utilities/EmoticonGenerator/Program.cs
4,296
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; using Azure.ResourceManager.Sql.Models; namespace Azure.ResourceManager.Sql { public ...
42.469388
267
0.499279
[ "MIT" ]
AhmedLeithy/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDevOpsAuditingSettingsData.Serialization.cs
6,243
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See the License.txt file in the project root for full license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using S...
45.581081
168
0.629706
[ "MIT" ]
Expecho/MicrosoftConfigurationBuilders
src/KeyPerFile/KeyPerFileConfigBuilder.cs
6,748
C#
//#define BT_DEBUG_ENABLE using System; using System.Collections.Generic; using Saro.BT.Utility; namespace Saro.BT { public sealed class BehaviorIterator { private readonly FixedSizeStack<int> traversal; private readonly Queue<int> requestedTraversals; private readonly BehaviorTree ...
27.690722
126
0.525875
[ "MIT" ]
Sarofc/BehaviorTree-Unity
Runtime/Core/BehaviorIterator.cs
5,374
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,...
40.75
68
0.761503
[ "MIT" ]
Chimpaneez/LiveSplit
LiveSplit/Libs/JSON.Net/Source/Src/Newtonsoft.Json.Tests/TestObjects/IPrivateOverriddenImplementation.cs
1,306
C#
namespace MeetAndGo.Model.SearchObject { public class UserSearchObject { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public int? RoleId { get; set; } } }
25
45
0.586667
[ "MIT" ]
emin-alajbegovic/Meet-Go
MeetAndGo/MeetAndGo.Model/SearchObject/UserSearchObject.cs
302
C#