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
using System; namespace RandomchaosMGShaderPlayground { public static class Program { [STAThread] static void Main() { using (var game = new Game1()) game.Run(); } } }
16.133333
42
0.508264
[ "MIT" ]
Lajbert/Randomchaos-MonoGame-Samples
Sandboxs/RandomchaosMGShaderPlaygroundCore/Program.cs
244
C#
using System.Collections.Generic; namespace PersonalPortfolio.Shared.Storage { public class Currency: Entity { public string Code { get; set; } public string Description { get; set; } public ICollection<CurrencyRate> Rates { get; set; } } }
24.166667
61
0.634483
[ "MIT" ]
DarthKurt/PersonalPortfolio
PersonalPortfolio.Shared.Storage/Currency.cs
292
C#
namespace Luminous.Code.VisualStudio.Commands { public enum CommandStatuses { Unknown, Success, Problem, Cancelled, Information } }
16.727273
46
0.581522
[ "MIT" ]
luminous-software/luminous-code
src/vs/Commands/CommandStatuses.cs
186
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Xml; using AniDBAPI; using NLog; using Shoko.Models.Azure; using Shoko.Models.Enums; using Shoko.Models.Metro; using Shoko.Models.PlexAndKodi; using Shoko.Models.Server; using Shoko.Models.TvDB; using Shoko.Serv...
40.40046
133
0.58209
[ "MIT" ]
EraYaN/ShokoServer
Shoko.Server/Extensions/ModelProviders.cs
35,110
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DtoGenerator.Logic.UI { public abstract class ViewModelBase : INotifyPropertyChanged { protected void InvokePropertyChanged(string propertyName) ...
25.904762
89
0.720588
[ "MIT" ]
Aytekin/dto-generator
src/DtoGenerator/DtoGenerator.Logic/UI/ViewModelBase.cs
546
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. namespace Microsoft.EntityFrameworkCore.TestModels.InheritanceRelationshipsModel { public class NonEntityBase { public int Id { get; set...
33.076923
111
0.706977
[ "Apache-2.0" ]
belav/efcore
test/EFCore.Specification.Tests/TestModels/InheritanceRelationshipsModel/NonEntityBase.cs
432
C#
using System; using System.Windows.Forms; namespace MessageSerializerClassFileCreator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(...
22.6
65
0.59292
[ "MIT" ]
jacknino/MessageSerializer
MessageSerializerClassFileCreator/Program.cs
454
C#
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Graphics; using Android.OS; using Android.Support.V7.App; using Android.Views; using Android.Widget; using DeepSound.Helpers.Utils; using DeepSoundClient.Classes.Global; using DeepSoundClient.Requests; using Toolbar = Andro...
36.741313
220
0.477932
[ "Apache-2.0" ]
dengzhicheng092/DeepSound
DeepSound/Activities/Default/ForgotPasswordActivity.cs
9,518
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace VkApi.Wrapper.Objects { public class FriendsRequests { ///<summary> /// ID of the user by whom friend has been suggested ///</summary> [JsonProperty("from")] public String From { get; set; }...
24.217391
60
0.576302
[ "MIT" ]
FrediKats/VkLibrary
VkApi.Wrapper/Objects/Friends/FriendsRequests.cs
557
C#
namespace SendGrid.Tests { using System; using System.IO; using System.Linq; using System.Reflection; using Xunit; public class LicenseTests { [Fact] public void ShouldHaveCurrentYearInLicense() { var directoryInfo = new DirectoryInfo(Directory.GetCurrentDirectory()); ...
29.052632
150
0.664855
[ "MIT" ]
DarkFox/sendgrid-csharp
tests/SendGrid.Tests/LicenseTests.cs
552
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ #pragma warning disable CA1051 // Do not declare visible instance fields namespace Microsoft.Azure.Cosmos.Serialization.Hybrid...
36.92
112
0.562297
[ "MIT" ]
microsoft/HybridRow
src/Serialization/HybridRow.Json/RowReaderJsonSettings.cs
925
C#
//------------------------------------------------------------ // Author: 烟雨迷离半世殇 // Mail: 1778139321@qq.com // Data: 2020年1月12日 16:08:44 //------------------------------------------------------------ using System; using System.Collections.Generic; using Animancer; using ETModel.NKGMOBA.Battle.Fsm; using ETModel.NKGMO...
35.109091
152
0.588124
[ "MIT" ]
mosheepdev/NKGMobaBasedOnET
Unity/Assets/Model/NKGMOBA/Battle/Component/AnimationComponent.cs
6,609
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
35.820513
117
0.634574
[ "Apache-2.0" ]
DecimusN7/IdentityServer3
source/Core/Validation/X509CertificateThumbprintSecretValidator.cs
2,796
C#
using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; using NuGet.Packaging; namespace NuGet.Commands.Rules { /// <summary> /// Warn if the version is not parsable by older nuget clients. /// </summary> /// <remarks>This rule should be removed once more us...
39.866667
138
0.649666
[ "Apache-2.0" ]
OctopusDeploy/NuGet.Client
src/NuGet.Core/NuGet.Commands/Rules/LegacyVersionRule.cs
1,198
C#
using System; using System.Collections; using System.Web.UI.WebControls; namespace EADPPROJ { public partial class bookShop : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void LinkButton1_Click(object sender, EventArgs e) { ...
30.510638
69
0.458856
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
NorthstarWang/Education-System-NYP
EADPPROJ/Shop/bookShop.aspx.cs
1,436
C#
using Ship; using Upgrade; using UnityEngine; using ActionsList; namespace UpgradesList.FirstEdition { public class IG88D : GenericUpgrade { public IG88D() : base() { UpgradeInfo = new UpgradeCardInfo( "IG-88D", UpgradeType.Crew, cost...
24.5
73
0.541744
[ "MIT" ]
97saundersj/FlyCasual
Assets/Scripts/Model/Content/FirstEdition/Upgrades/Crew/IG88D.cs
541
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleans; using UnitTests.GrainInterfaces; namespace UnitTests.Grains { public class CatalogTestGrain : Grain, ICatalogTestGrain { public override Task OnActivateAsync() { return Task.Delay(TimeSpan....
26.25
87
0.584127
[ "MIT" ]
DarkCow/orleans
test/TestGrains/CatalogTestGrain.cs
947
C#
// Copyright (c) 2017 Jan Pluskal, Martin Kmet // //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 ...
40.263158
74
0.764706
[ "Apache-2.0" ]
mvondracek/NetfoxDetective
Framework/Snoopers/SnooperRTP/Properties/AssemblyInfo.cs
767
C#
// Copyright 2007-2011 The Apache Software Foundation. // // 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 r...
33.481481
96
0.757743
[ "Apache-2.0" ]
apobekiaris/Topshelf
src/Topshelf/Config/DependencyExtensions.cs
1,810
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Core...
45.666667
230
0.75014
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/LongRunningOperation/GremlinResourceCreateUpdateGremlinDatabaseOperation.cs
3,562
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
28.644737
109
0.615526
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Severity.cs
2,177
C#
using StrongSyntax.DbHelpers; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace StrongSyntax.QueryBuilders { class SelectBuilder : QueryBuilderBase, IDynamicQuery, ISelectClause, IFromClause, IWhereCla...
29.923077
160
0.571863
[ "Apache-2.0" ]
HaykShirinyan/StrongSyntax
StrongSyntax/StrongSyntax/QueryBuilders/SelectBuilder.cs
8,560
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.Globalization; using Microsoft.Build.Shared; #nullable disable namespace Microsoft.Build...
22.387689
181
0.262891
[ "MIT" ]
GaryPlattenburg/msbuild
src/Tasks/CultureInfoCache.cs
20,733
C#
using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; namespace Kentico.Kontent.Management.Models.Assets { /// <summary> /// Represents an asset upsert model. /// </summary> public sealed class AssetUpsertModel { /// <summary> /// Gets or sets file reference ...
29.21875
111
0.610695
[ "MIT" ]
matus666/kontent-management-sdk-net
Kentico.Kontent.Management/Models/Assets/AssetUpsertModel.cs
937
C#
using NUnit.Framework; using Scalar.FunctionalTests.FileSystemRunners; using Scalar.FunctionalTests.Should; using Scalar.FunctionalTests.Tools; using Scalar.Tests.Should; using System; using System.Diagnostics; using System.IO; namespace Scalar.FunctionalTests.Tests.EnlistmentPerFixture { [TestFixture] public ...
42.96124
183
0.677192
[ "MIT" ]
Bhaskers-Blu-Org2/scalar
Scalar.FunctionalTests/Tests/EnlistmentPerFixture/CloneTests.cs
5,542
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 Common; using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; using Sy...
33.230366
115
0.606586
[ "MIT" ]
SamChaps/microsoft-ui-xaml
dev/Expander/InteractionTests/ExpanderTests.cs
6,349
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http; using System.Threading.Tasks; using Windows.Storage; using VDMP.App.Model; using VDMP.DBmodel; namespace VDMP.App.Scraper { /// <summary>User for building movie objects</summary> /// <remar...
40.691919
121
0.551446
[ "MIT" ]
Andreni/VDMP_public
VDMP.App/Scraper/MediaBuilder.cs
8,059
C#
using System.Text; using Xunit; namespace Librame.Extensions.Core.Tests { using Serializers; public class SerializableStringTests { [Fact] public void AllTest() { var encoding = new SerializableString<Encoding>(Encoding.UTF8); Assert.NotEmpty(encoding.Value...
22.625
75
0.616943
[ "MIT" ]
gitter-badger/extensions-2
tests/Librame.Extensions.Core.Abstractions.Tests/Serializers/SerializableStringTests.cs
545
C#
// This file was generated by a tool; you should avoid making direct changes. // Consider using 'partial classes' to extend these types // Input: map_crosswalk.proto #pragma warning disable 0612, 1591, 3021 namespace apollo.hdmap { [global::ProtoBuf.ProtoContract()] public partial class Crosswalk : global::Pr...
30.538462
109
0.671704
[ "Apache-2.0", "BSD-3-Clause" ]
0x8BADFOOD/simulator
Assets/Scripts/Bridge/Cyber/Protobuf/map/proto/map_crosswalk.cs
1,191
C#
namespace CodeBase.Off.Website.Models { using System.ComponentModel; public sealed class AttributeGridModel { [DisplayName(@"شناسه مالک")] public object Owner { get; set; } [DisplayName(@"کلید")] public string Key { get; set; } [DisplayName(@"مقدار")] public o...
25.214286
44
0.597734
[ "MIT" ]
m-sadegh-sh/CodeBase
src/Off/CodeBase.Off.Website/Models/AttributeGridModel.cs
373
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace MyChess.Interfaces { public class UserSettings { [JsonPropertyName("id")] public string ID { get; set; } = string.Empty; [JsonPropertyName("playAlwaysUp")] public bool PlayAlwaysUp { g...
27.222222
100
0.640816
[ "MIT" ]
JanneMattila/mychess
src/MyChess/Interfaces/UserSettings.cs
492
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.Diagnostics; using System.Linq; using Microsoft.AspNetCore.Razor.Language.Legacy; namespa...
41.266458
152
0.578851
[ "Apache-2.0" ]
hvanbakel/AspNetCore
src/Razor/src/Microsoft.AspNetCore.Razor.Language/Syntax/SyntaxNodeExtensions.cs
13,166
C#
namespace ARMeilleure.CodeGen.Unwinding { struct UnwindInfo { public UnwindPushEntry[] PushEntries { get; } public int PrologueSize { get; } public int FixedAllocSize { get; } public UnwindInfo(UnwindPushEntry[] pushEntries, int prologueSize, int fixedAllocSize) { ...
25.722222
94
0.615551
[ "MIT" ]
AidanXu/Ryujinx
ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
463
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalys...
19.747909
123
0.524345
[ "MIT" ]
333fred/roslyn
src/Analyzers/CSharp/Tests/UseConditionalExpression/UseConditionalExpressionForReturnTests.cs
35,410
C#
using System; using System.Net.Http; using System.Net.Http.Headers; namespace GitHubCompanion.Services.Version4 { /// <summary> /// A base service class for all GitHub API v3 services. /// </summary> public abstract class GitHubServiceV4Base { protected const string API_ENDPOINT = "https:/...
32.230769
143
0.671838
[ "MIT" ]
RyanThiele/GitHub-Companion
GitHub Companion/GitHubCompanion.Services/Version4/_GitHubServiceV4Base.cs
840
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....
33.125
85
0.518239
[ "MIT" ]
DrimTim32/db_gui
Main/DatabaseConnector/productSimple.cs
795
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace UI.Models.DAL { public class ProductImagess : BaseModel { public string desc { get; set; } public string image_url { get; set; } } }
19.285714
45
0.677778
[ "MIT" ]
feritgezgil/ASP.NET-CORE-MVC-Ecommerce
UI/Models/DAL/ProductModels/ProductImagess.cs
272
C#
using System; using System.Collections.Generic; using System.Linq; using Cassette.Scripts; using Cassette.Stylesheets; using Cassette.Utilities; #if NET35 using Iesi.Collections.Generic; #endif namespace Cassette { class ReferenceBuilder : IReferenceBuilder { public ReferenceBuilder(Bun...
34.722222
262
0.539815
[ "MIT" ]
DanielWare/cassette
src/Cassette/ReferenceBuilder.cs
8,125
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...
28.596491
113
0.595706
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Network/V20201101/Outputs/HubRouteResponse.cs
1,630
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class LongestSubstringWithoutRepeatingCharacters : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } /** 自己的解法: 使用一个字典保存当前循环的字符的位置...
22.525
73
0.559378
[ "MIT" ]
dftty/LeetCode
Assets/Second/LongestSubstringWithoutRepeatingCharacters.cs
1,007
C#
using System; using System.Runtime.InteropServices; namespace uk.JohnCook.dotnet.NAudioWrapperLibrary.AudioDeviceCmdlets { [Guid("00000000-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IPolicyConfig10 { [PreserveSig] int GetMixFo...
32.148936
121
0.713435
[ "MIT" ]
watfordjc/csharp-stream-controller
NAudioWrapperLibrary/lib/AudioDeviceCmdlets/IPolicyConfig10.cs
1,513
C#
namespace Discord.Json.Payloads { public class GatewayWebhookUpdate { public ulong guild_id; public ulong channel_id; } }
16.777778
37
0.655629
[ "MIT" ]
QuiCM/Discord-Core-Objects
Json/Payloads/GatewayWebhookUpdate.cs
153
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.641361
132
0.530862
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/GreaterThan/Complete/SByte/Decimal/TestSet_504__param__01__VV.cs
9,415
C#
using System; using System.Data; using System.Threading; namespace Dapper { public static partial class SqlMapper { private class CacheInfo { public DeserializerState Deserializer { get; set; } public Func<IDataReader, object>[] OtherDeserializers { get; set; } ...
30.5
96
0.631148
[ "MIT" ]
eznew-net/EZNEW.Develop
EZNEW/Dapper/SqlMapper.CacheInfo.cs
612
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CiteProc.Compilation { internal class Property : Scope { private string _Signature; public Property(Class parent, string signature) : base(parent, null) ...
25.453125
55
0.524248
[ "Unlicense" ]
fouke-boss/citeproc-dotnet
Sources/CiteProc/Compilation/Property.cs
1,631
C#
using Nethereum.JsonRpc.Client; namespace Nethereum.Wallet.Services { public interface IWalletConfigurationService { string ClientUrl { get; set; } IClient Client { get; set; } bool IsConfigured(); string[] GetAccounts(); } }
18.2
48
0.637363
[ "MIT" ]
cksuper0928/xamarin
Nethereum.UI/Nethereum.Wallet/Services/IWalletConfigurationService.cs
273
C#
#nullable enable using System; using System.Threading.Tasks; using Content.Server.Fluids.Components; using Content.Server.Fluids.EntitySystems; using Content.Shared.Chemistry.Components; using Content.Shared.FixedPoint; using NUnit.Framework; using Robust.Shared.GameObjects; using Robust.Shared.Map; using Robust.Share...
31.869565
110
0.572817
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.IntegrationTests/Tests/Fluids/FluidSpillTest.cs
5,866
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
50.429204
230
0.67158
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/AndroidWorkProfileCertificateProfileBaseWithReferenceRequest.cs
11,397
C#
// *************************************************************** // Copyright(c) Yeto // FileName : AssetConfDownload.cs // Creator : // Date : 2015-6-26 // Comment : 状态机流程: // 1,载入上一次没有处理完的临时配置文件, 放入到临时数据里面 // 2,载入包体里的配置文件,载入缓存中的配置文件,对比这两个配置文件的版本号, 找出比较新的放入到local缓存配置里 // ...
33.997984
153
0.585602
[ "Apache-2.0" ]
zhengguo07q/unity_core_lib
Script/Library/AssetsManager/AssetStatusManager.cs
17,567
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...
36.833333
200
0.486715
[ "ECL-2.0", "Apache-2.0" ]
pjbizon/pulumi-gcp
sdk/dotnet/Compute/GetNetblockIPRanges.cs
8,619
C#
using System; using System.Linq; using System.Windows; using System.Windows.Input; using System.Data.Linq; namespace kurscachWPF { /// <summary> /// Логика взаимодействия для AddWorker.xaml /// </summary> public partial class AddWorker : Window { private applicant AddNew; ...
35.88172
108
0.465388
[ "MIT" ]
ereborDeveloper/WPF-LINQ-to-SQL-Applicaton
AddWorker.xaml.cs
3,433
C#
/* * ISO standards can be purchased through the ANSI webstore at https://webstore.ansi.org */ using AgGateway.ADAPT.ApplicationDataModel.ADM; using AgGateway.ADAPT.ApplicationDataModel.Equipment; using AgGateway.ADAPT.ApplicationDataModel.Representations; using AgGateway.ADAPT.ISOv4Plugin.ExtensionMethods; using AgG...
43.218894
253
0.543744
[ "EPL-1.0" ]
ysykhmd/ISOv4Plugin
ISOv4Plugin/ObjectModel/DeviceElementHierarchy.cs
18,759
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
31.886152
145
0.732656
[ "MIT" ]
AlexeySidorov/Xfx.Controls
example/Xfx.Controls.Example.Droid/Resources/Resource.Designer.cs
222,661
C#
/* * Copyright 2020 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 "licens...
35.193182
132
0.648369
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SQS/Generated/Model/Internal/MarshallTransformations/QueueNameExistsExceptionUnmarshaller.cs
3,097
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
42.442105
179
0.574405
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/BundleInstanceRequestMarshaller.cs
4,032
C#
using System; using CmnSoftwareBackend.Shared.Entities.Abstract; namespace CmnSoftwareBackend.Entities.Concrete { public class UserNotification:EntityBase<int,Guid>,IEntity { public Guid UserId { get; set; } public User User { get; set; } public string Message { get; set; } } }
24.384615
62
0.684543
[ "MIT" ]
YunusOzdemirr/BlogApi
src/v1/CmnSoftwareBackend.Entities/Concrete/UserNotification.cs
319
C#
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace FineUI.Examples.data { public partial class dropdownlist_simulate_tree : PageBase { protected void Page_Load(object sender, EventArgs e) ...
29.717949
109
0.476273
[ "Apache-2.0" ]
JesterWang/FineUI
FineUI.Examples/dropdownlist/dropdownlist_simulate_tree.aspx.cs
3,583
C#
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // 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 retain the above copyright notice, // this list of condit...
48.445313
133
0.650056
[ "BSD-3-Clause" ]
ianbattersby/EventStore
src/EventStore/EventStore.Core/Services/Transport/Http/Controllers/CommunicationController.cs
6,203
C#
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright 2019 (c) talsen team GmbH, http://talsen.team */ using System.Linq; using Moq; using NUnit.Frame...
43.648148
123
0.647857
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
appioframework/APPIO-Terminal
src/appio-objectmodel.tests/ParameterResolverWithArguments.Tests.cs
2,357
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. ...
38.88
134
0.657407
[ "Apache-2.0" ]
andrew-stakiwicz-r3/financial_derivatives_demo
quantlib_swig_bindings/CSharp/csharp/Bbsw5M.cs
1,944
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu...
36.304
95
0.497576
[ "MIT" ]
StefanYohansson/osu
osu.Game/Overlays/Profile/Sections/DrawableProfileRow.cs
4,540
C#
using Amqp.Framing; namespace NMS.AMQP.Test.TestAmqp.BasicTypes { public static class FrameCodes { public static readonly ulong TRANSFER = new Transfer().Descriptor.Code; } }
21.666667
79
0.712821
[ "Apache-2.0" ]
michaelpearce-gain/activemq-nms-amqp
test/Apache-NMS-AMQP-Test/TestAmqp/BasicTypes/FrameCodes.cs
195
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; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.Cod...
36.180759
246
0.571124
[ "MIT" ]
RaphDal/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTests_ListPatterns.cs
301,243
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...
33.886076
249
0.646619
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearningServices/V20210101/ListMachineLearningComputeNodes.cs
2,677
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...
36.335766
137
0.60004
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/src/Services/Route53Domains/Generated/Model/Internal/MarshallTransformations/ListDomainsRequestMarshaller.cs
4,978
C#
using System; namespace Tenant.Mvc.Core.Telemetry { public class PurchaseEvent { #region - Properties - public Int64 CustomerId { get; set; } public Int64 ProductId { get; set; } public Guid OrderId { get; set; } public int Price { get; set; } public DateTi...
17.952381
50
0.580902
[ "MIT" ]
Bhaskers-Blu-Org2/WingTipTickets
WebPortal/Tenant.Mvc/Core/Telemetry/PurchaseEvent.cs
379
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information namespace Dnn.PersonaBar.Roles.Services.DTO { using System; using System.Collections.Generic; using ...
32.795276
121
0.553661
[ "MIT" ]
Andy9999/Dnn.Platform
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/DTO/RoleDto.cs
4,167
C#
namespace OnlyV.Helpers { using System.Collections.ObjectModel; using OnlyV.ViewModel; internal class MultipleVerseSelection { public MultipleVerseSelection(int anchorVerse) { AnchorVerse = anchorVerse; } public int AnchorVerse { get; } public int ...
27.076923
107
0.560369
[ "MIT" ]
CristianoNunes1000/OnlyV
OnlyV/Helpers/MultipleVerseSelection.cs
1,410
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UniRx; public class ScoreView : MonoBehaviour { [SerializeField] private Text score = null; [Zenject.Inject] private ScoreModel model = null; void Start() { model.OnScoreCh...
21.04
53
0.673004
[ "MIT" ]
sumogri/pack_a
UnityProject/Pack_A/Assets/Pack_a/Scripts/ScoreView.cs
528
C#
using System; using System.Collections.Generic; using System.Text; using EntityFrameworkCore.DbContextScope; using ApplicationLogic.Repositories.DB; using ApplicationLogic.Business.Commands.PriceLevel.InsertCommand.Models; using Framework.Core.Crypto; using Framework.Core.Messages; using FluentValidation; namespace A...
29.043478
112
0.745509
[ "Apache-2.0" ]
lneninger/quickbookdesktop-integrator
src/public API/Solution/ApplicationLogic/Business/Commands/PriceLevel/InsertCommand/Validator/PriceLevelInsertValidator.cs
670
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("Ass...
37.837838
84
0.749286
[ "MIT" ]
TheManta/AssemblyStripper
AssemblyStripper/Properties/AssemblyInfo.cs
1,403
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...
36.944444
213
0.697744
[ "ECL-2.0", "Apache-2.0" ]
aamir-locus/pulumi-aws
sdk/dotnet/NetworkFirewall/Outputs/RuleGroupRuleGroup.cs
1,330
C#
// // Copyright (c) 2020 LabMICRO FACET UNT // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // using System; using System.Linq; using Antmicro.Renode.Core; using Antmicro.Renode.Logging; using Antmicro.Migrant; using System.Collections.Generic; using System.T...
34.591346
153
0.46435
[ "MIT" ]
UPBIoT/renode-iot
src/Infrastructure/src/Emulator/Peripherals/Peripherals/Miscellaneous/SevenSegmentsDisplay.cs
7,197
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DirectoryButton : VRUIButton { public string directoryName; public FileBrowser fileBrowser; private Text _text; protected override void Start() { _text = transform.GetCompone...
19.857143
50
0.664748
[ "MIT" ]
ErwanLeGoffic/Tectrid
TectridVR/Assets/Resources/FileBrowser/Scripts/DirectoryButton.cs
697
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...
36.791209
142
0.639785
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/Model/Internal/MarshallTransformations/MethodNotAllowedExceptionUnmarshaller.cs
3,348
C#
namespace X10D.Performant.ReExposed; [SuppressMessage("ReSharper", "UnusedMember.Global")] [SuppressMessage("ReSharper", "UnusedType.Global")] public static partial class CharExtensions { /// <inheritdoc cref="long.Parse(ReadOnlySpan{char},NumberStyles,IFormatProvider)"/> public static long ToInt64(this ReadO...
60.466667
139
0.652701
[ "MIT" ]
rubiksmaster02/X10D
X10D.Performant/src/ReExposed/CharExtensions/System.Long.cs
1,816
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using UnityEditor; using UnityEditor.UIElements; #if PLATFORM_LUMIN using UnityEditor.Lumin; #endif // PLATFORM_LUMIN using UnityEngine; using UnityEngine.UIElements; using UnityEngine.Rendering; namespace Uni...
32.540541
126
0.524363
[ "MIT" ]
kikijinqili/XRCircuits-new
Library/PackageCache/com.unity.xr.magicleap@2.0.0-preview.18/Editor/MLDashboard.cs
7,224
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WordTutor.Desktop { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
18.388889
42
0.706949
[ "MIT" ]
theunrepentantgeek/wordtutor
src/WordTutor.Desktop/App.xaml.cs
333
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...
24.793103
81
0.635605
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DBforMySQL/V20200701PrivatePreview/Inputs/IdentityArgs.cs
719
C#
using System; using System.Net; using Autofac.Extensions.DependencyInjection; using MarketingBox.Bridge.Capartners.Service.Settings; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Ex...
36.872093
115
0.603595
[ "MIT" ]
MyJetMarketingBox/MarketingBox.Bridge.Capartners.Service
src/MarketingBox.Bridge.Capartners.Service/Program.cs
3,173
C#
// Copyright (c) Josef Pihrt and Contributors. 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.Diagnostics; using System.Linq; using System.Threading; using Mic...
38.673317
160
0.572156
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/CodeAnalysis.Analyzers/CSharp/UsePatternMatchingAnalyzer.cs
15,510
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")...
14.712846
64
0.552474
[ "Apache-2.0" ]
sdk-team/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeBackupsResponse.cs
5,841
C#
using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using System.Linq; namespace Microsoft.eShopOnContainers.Services.Basket.API.Auth.Server { public class AuthorizationHeader...
37.857143
135
0.648302
[ "MIT" ]
anjoy8/eShopOnContainersAs
src/Services/Basket/Basket.API/Auth/Server/AuthorizationHeaderParameterOperationFilter.cs
1,327
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...
38.217391
99
0.638794
[ "MIT" ]
Andrean/azure-powershell
src/ResourceManager/IotHub/Commands.IotHub.Test/ScenarioTests/IotHubRoutingTests.cs
1,715
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using VirtoCommerce.Platform.Core.PushNotifications; namespace VirtoCommerce.TildaModule.Web.Model { /// <summary> /// Notification for sync. /// </summary> public class SyncNotification : PushNotification { ...
22.65
52
0.657837
[ "MIT" ]
VirtoCommerce/vc-module-tilda
VirtoCommerce.TildaModule.Web/Model/SyncNotification.cs
455
C#
using System; using NetOffice; namespace NetOffice.VisioApi.Enums { /// <summary> /// SupportByVersion Visio 14, 15 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/ff768606(v=office.14).aspx </remarks> [SupportByVersionAttribute("Visio", 14,15)] [E...
28.145833
126
0.638046
[ "MIT" ]
NetOffice/NetOffice
Source/Visio/Enums/VisBuiltInStencilTypes.cs
1,351
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Diagnostics; using System.Globalization; using System.Threading; using OpenLiveWriter.CoreServices; using OpenLiveWriter.CoreServices.Settings; using Op...
34.252396
174
0.574387
[ "MIT" ]
DNSNets/OpenLiveWriter
src/managed/OpenLiveWriter.ApplicationFramework/Preferences/Preferences.cs
10,721
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using s3cr3txMVC.Data; using System; namespace s3cr3txMVC.Data.Migrations { [DbContext(typeof(App...
37.652174
125
0.468149
[ "MIT" ]
patrickkelly20/s3cr3tx
s3cr3txMVC/Data/Migrations/ApplicationDbContextModelSnapshot.cs
10,392
C#
using Oldmansoft.Html.Util; namespace Oldmansoft.Html.WebMan.FormValidate { class Regexp : Validator { public string Pattern { get; set; } protected override void Set(JsonObject json) { json.Set("regexp", new JsonRaw(string.Format("/{0}/i", Pattern))); } } }
21.2
78
0.600629
[ "Apache-2.0" ]
Oldmansoft/WebMan
src/Oldmansoft.Html.WebMan/FormValidate/Regexp.cs
320
C#
using Xunit; namespace Transmute { public class ComplexTypeReducerTests: ReducerTests { [Theory] [ClassData(typeof(TestActions))] public void CanComposeStateReducersAndDelegateToThem(object action) { ComplexTypeReducer<TestState> reducer = new ComplexTypeReducer<Tes...
34.586207
103
0.617149
[ "MIT" ]
pwarner/Transmute.Net
tests/Transmute.Tests/ComplexTypeReducerTests.cs
1,005
C#
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Serilog; using Serilog.Events; namespace ExperimentationLite.Api.Middleware { // CWCID: https://blog.getseq.net/smart-logging-middleware-for-asp-net-core/ public class RequestLogger ...
33.641026
133
0.59375
[ "MIT" ]
iby-dev/ExperimentationLite-API
src/ExperimentationLite.Api/Middleware/RequestLogger.cs
2,626
C#
using BennyKok.RuntimeDebug.Actions; using UnityEngine; namespace BennyKok.RuntimeDebug.Components { [AddComponentMenu("Runtime Debug Action/Actions/Debug Action Input")] public class DebugActionInputHandler : BaseDebugActionHandler<DebugActionInput> { } #if UNITY_EDITOR [UnityEditor.CanEditMulti...
28.352941
83
0.79668
[ "MIT" ]
BennyKok/unity-runtime-debug-action
Runtime/Components/Actions/DebugActionInputHandler.cs
482
C#
using System; using CoreGraphics; using UIKit; namespace UIKit { public static class CGRectExtensions { public static CGRect ApplyInset(this CGRect rect, UIEdgeInsets inset) { rect.X += inset.Left; rect.Y += inset.Top; rect.Height -= inset.Top + inset.Bottom; rect.Width -= inset.Left + inset.Right;...
18.210526
71
0.687861
[ "Apache-2.0" ]
Clancey/iOSHelpers
iOSHelpers/Extensions/CGRectExtensions.cs
348
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get a list of Communication Barring Incoming Criteria assigned to a service provi...
34.386364
137
0.686715
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/ServiceProviderCommunicationBarringIncomingCriteriaGetAssignedListRequest.cs
1,513
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
43.473118
126
0.618847
[ "Apache-2.0" ]
matriksiqteam/Lean
Algorithm.CSharp/PairsTradingAlphaModelFrameworkAlgorithm.cs
4,043
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using static ColorPicker.Win32Apis; namespace ColorPicker.Keyboard { internal class GlobalKeyboardHook : IDisposable { private IntPtr _windowsHookHandle; private IntPtr _user32LibraryHand...
38.66055
223
0.597057
[ "MIT" ]
AdrianMayron/ColorPicker
ColorPicker/Keyboard/GlobalKeyboardHook.cs
4,216
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.OfficeApi { ///<summary> /// Di...
35.291667
194
0.685688
[ "MIT" ]
NetOffice/NetOffice
Source/Office/DispatchInterfaces/ThemeColorScheme.cs
7,623
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Web; using URSA.Web.Http.Configuration; namespace URSA.Web.Configuration { /// <summary>Provides a <see cref="HttpContext" /> based configuration.</summary> [ExcludeFromCodeCoverage] public class HttpContextBoundServerConfiguration : IHttpS...
27.071429
106
0.583113
[ "BSD-3-Clause" ]
CharlesOkwuagwu/URSA
URSA.Web/Configuration/HttpContextBoundServerConfiguration.cs
760
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BuildXL.Cache.ContentStore.Service; using BuildXL.Cache.ContentStore.Interfaces.FileSystem; using BuildXL.Cache.ContentStore.Hashing...
46.45283
168
0.626726
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Cache/ContentStore/Test/Service/HibernatedSessionsTests.cs
4,924
C#
namespace Khala.Processes.Sql { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoFixture; using FluentAssertions; using Khala.FakeDomain; using Khala.Messaging;...
42.870192
158
0.562334
[ "MIT" ]
Reacture/Khala.Processes
source/Khala.Processes.Tests.Core/Processes/Sql/SqlCommandPublisher_specs.cs
26,753
C#