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.ComponentModel; using System.Runtime.CompilerServices; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Internals; namespace smiqs.ViewModels.ErrorAndEmpty { /// <summary> /// ViewModel for something went wrong page. /// </summary> [Preserve(AllMembers = true)] pub...
22.777778
100
0.500188
[ "MIT" ]
yehiaraslan85/SmiqsMobileApp
smiqs/smiqs/ViewModels/ErrorandEmpty/SomethingWentWrongPageViewModel.cs
2,669
C#
using UnityEngine; using System.Collections; using System; namespace RootMotion.Dynamics { // Switching and blending between Modes public partial class PuppetMaster: MonoBehaviour { /// <summary> /// Returns true if the PuppetMaster is in the middle of blending from a mode to mode. /// </summary> public ...
24.861905
131
0.666347
[ "MIT" ]
eriksk/LD36
Assets/Plugins/RootMotion/PuppetMaster/Scripts/PuppetMasterModes.cs
5,223
C#
using System; using System.Collections.Generic; using System.Text; using UnityEngine; namespace HuaweiMobileServices.Utils { public class AndroidBitmapFactory : JavaObjectWrapper { private const string CLASS_NAME = "android.graphics.BitmapFactory"; private static AndroidJavaClass BitmapFactoryC...
30.9
145
0.757282
[ "MIT" ]
EvilMindDevs/hms-sdk-unity
hms-sdk-unity/HuaweiMobileServices/Utils/AndroidBitmapFactory.cs
620
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...
40.217687
167
0.612483
[ "ECL-2.0", "Apache-2.0" ]
JakeGinnivan/pulumi-aws
sdk/dotnet/ElasticLoadBalancingV2/ListenerCertificate.cs
5,912
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.Net.Sockets; using System.Text; namespace System.Net { internal class IPAddressParser { internal const int IPv4AddressBytes = 4; i...
32.847328
106
0.525215
[ "MIT" ]
fffej/corefx
src/System.Net.Primitives/src/System/Net/IPAddressParser.cs
4,303
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.ML.Data; using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.ML...
36.449704
149
0.566558
[ "MIT" ]
1Crazymoney/machinelearning
test/Microsoft.ML.AutoML.Tests/Utils/TaskAgnosticAutoFit.cs
6,162
C#
using System.ComponentModel.DataAnnotations; using Helixbase.Foundation.Models.Mediators; namespace Helixbase.Foundation.Core.Services { public interface IMediatorService { MediatorResponse<T> GetMediatorResponse<T>(string code, T viewModel = default(T), ValidationResult validationResult =...
32.083333
103
0.748052
[ "MIT" ]
Sitecore-Hackathon/2018-Debug-Starts-Here
src/Foundation/Core/code/Services/IMediatorService.cs
387
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...
33.014706
106
0.582777
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/CreateDomainConfigurationRequest.cs
6,735
C#
// Copyright (c) Aaron Reynolds. All rights reserved. Licensed under the Apache License, Version 2.0. using Microsoft.Extensions.Options; namespace Educ8IT.AspNetCore.SimpleApi.Authentication.BearerScheme { /// <summary> /// /// </summary> public class BearerAuthenticationPostConfigureOptions : IPos...
27.26087
110
0.642743
[ "Apache-2.0" ]
AaronReynoldsUK/Educ8IT.AspNetCore.SimpleApi
Educ8IT.AspNetCore.SimpleApi.Authentication/BearerScheme/BearerAuthenticationPostConfigureOptions.cs
629
C#
namespace Easy.Common.Extensions { using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Versioning; /// <summary> /// A set of extension methods for <see cref="Assembly"/>. /// </summary> public static class A...
47.393701
141
0.60226
[ "MIT" ]
felipebaltazar/Easy.Common
Easy.Common/Extensions/AssemblyExtensions.cs
6,037
C#
using System.Collections.Specialized; using System.ComponentModel; using System.Configuration; namespace SuperScript.Configuration { public class EmitterBundleElement : ConfigurationElement { private static readonly ConfigurationProperty CustomObjectElement = new ConfigurationProperty("customObject", typeof(Custo...
37.295455
189
0.789762
[ "MIT" ]
Supertext/SuperScript.Common
Configuration/Classes/ForEmitterBundles/EmitterBundleElement.cs
1,643
C#
using UnityEngine; namespace GameGlue { [CreateAssetMenu(fileName = "GameEventFloat", menuName = "GameGlue/GameEventFloat", order = 0)] public class GameEventFloat : GameEventBase<float> { } }
21
99
0.709524
[ "MIT" ]
Draudastic26/usefulkit
usefulkit-unity/Assets/UsefulKit/Runtime/GameGlue/Eventsystem/GameEventFloat.cs
210
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Monifier.Web.Migrations { public partial class ExpenseFlowVersion : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddCo...
27.307692
72
0.571831
[ "MIT" ]
Ivan-Proskurin/Monifier
Monifier.Web/Migrations/20180102083141_ExpenseFlowVersion.cs
712
C#
namespace Ocelot.Configuration.Validator { using Errors; using File; using FluentValidation; using Microsoft.Extensions.DependencyInjection; using Responses; using ServiceDiscovery; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; ...
49.215116
419
0.671707
[ "MIT" ]
AliWieckowicz/Ocelot
src/Ocelot/Configuration/Validator/FileConfigurationFluentValidator.cs
8,467
C#
using System.Diagnostics; using FullStackTemplate.Facade.ViewModels.Shared; namespace FullStackTemplate.Facade.FeatureFacades { public class HomeFacade : IHomeFacade { public void Index() { } public void About() { } public void Con...
20.607143
89
0.561525
[ "MIT" ]
GaProgMan/FullStackTemplate
FullStackTemplate.Facade/FeatureFacades/HomeFacade.cs
579
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("09...
38.027027
84
0.744136
[ "MIT" ]
sevdalin/Software-University-SoftUni
Programming-Basics/04. Console Input-Output/09. SumOfNnumbers/Properties/AssemblyInfo.cs
1,410
C#
using System; namespace AlbLib.Items { /// <summary> /// What item activates. /// </summary> [Serializable] public enum ItemActivates : byte { /// <summary>Compass activated.</summary> Compass = 0, /// <summary>Monster eye activated.</summary> MonsterEye = 1, /// <summary>Clock activated.</summary> C...
19.588235
47
0.651652
[ "MIT" ]
IllidanS4/AlbLib
Items/ItemActivates.cs
335
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.IO; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.Co...
66.911321
1,332
0.631733
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/QueryTests.cs
297,289
C#
using InterviewPreparation.Exercises; using System.Collections.Generic; namespace InterviewPreparation.TrainExercises.DailyChallengesLC { class DeepestLeavesSum { public int Solve(TreeNode root) { if (root == null) { return 0; } ...
22.416667
63
0.390335
[ "Unlicense" ]
joch0a/coding-exercises
InterviewPreparation/TrainExercises/DailyChallengesLC/DeepestLeavesSum.cs
1,078
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NDS_Header_Reader { class Utility { public static string Binary(byte value) { return "B(" + Convert.ToString(value, 2) + ")"; } public static string GetNDSRegion(byte re...
23.603175
83
0.423672
[ "Apache-2.0" ]
Davidc96/NDS-Header-Reader
NDS Header Reader/Utility.cs
1,489
C#
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com //All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kooboo.Sites.FrontEvent { public enum enumEventType { RouteFinding = 0, Ro...
19.923077
69
0.627413
[ "MIT" ]
VZhiLinCorp/Kooboo
Kooboo.Sites/FrontEvent/enumEventType.cs
518
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
84
0.527497
[ "MIT" ]
vic-alexiev/TelerikAcademy
Databases/Homework Assignments/8. Entity Framework Performance/00. EntityFrameworkModels/WorkReport.cs
891
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sdl.Community.GroupShareKit.Models.Response { public class ProjectAnalyseDetails { public string Name { get; set; } public string Number { get; set; } } }
20.733333
53
0.710611
[ "MIT" ]
ElvediAndreiSDL/groupsharekit.net
Sdl.Community.GroupShareKit/Models/Response/ProjectAnalyseDetails.cs
313
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 CMenuBackgroundEffectParam : IMenuDisplay...
32.652174
138
0.756325
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CMenuBackgroundEffectParam.cs
751
C#
using System.Text.Json.Serialization; namespace CVOSoftware.ValorantAPI.Dto { public sealed record AbilityDto { [JsonPropertyName("grenadeEffects")] public string GrenadeEffects { get; init; } [JsonPropertyName("ultimateEffects")] public string UltimateEffects { get; init; } ...
27.684211
52
0.669202
[ "Apache-2.0" ]
CVOSoftware/valorant-web-api
source/CVOSoftware.ValorantAPI/Dto/AbilityDto.cs
528
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 Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Metadata; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using...
42.456869
152
0.624464
[ "MIT" ]
Mika-net/AspNetCore
src/Http/Routing/test/UnitTests/Builder/DelegateEndpointRouteBuilderExtensionsTest.cs
26,578
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; ...
35.531148
164
0.615761
[ "MIT" ]
Tychodewaard/Dnn.Platform
DNN Platform/Modules/CoreMessaging/Services/SubscriptionsController.cs
10,839
C#
using NScan.Lib.Union3; namespace NScan.SharedKernel.RuleDtos.ProjectScoped { public class ProjectScopedRuleUnionDto : Union< CorrectNamespacesRuleComplementDto, HasAttributesOnRuleComplementDto, HasTargetFrameworkRuleComplementDto> { private readonly IUnionTransformingVisitor< CorrectNamesp...
29.911111
90
0.773403
[ "MIT" ]
pascalberger/nscan
src/NScan.SharedKernel/RuleDtos/ProjectScoped/ProjectScopedRuleUnionDto.cs
1,348
C#
using System; namespace BPaaSDTO { public class BpaasPayload { public dynamic BpaaSPayload { get; set; } public BpaasPayload(dynamic payload) { this.BpaaSPayload = payload; } } }
15.866667
49
0.57563
[ "Apache-2.0" ]
CDCgov/MicrobeTraceNext
webForm/BPaaSDTO/BpaaSPayload.cs
240
C#
using MAVN.Numerics; using MAVN.Service.PartnersIntegration.Client.Enums; namespace MAVN.Service.PartnersIntegration.Client.Models { /// <summary> /// Model representing a customer balance response /// </summary> public class CustomerBalanceResponseModel { /// <summary> /// The sta...
27.78125
97
0.5973
[ "MIT" ]
OpenMAVN/MAVN.Service.PartnersIntegration
client/MAVN.Service.PartnersIntegration.Client/Models/CustomerBalanceResponseModel.cs
889
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...
32.896552
113
0.627358
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/NodeRebootParameter.cs
1,908
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.As.V1.Model { /// <summary> /// Response Object /// </summary> public ...
18.190476
56
0.730366
[ "Apache-2.0" ]
Huaweicloud-SDK/huaweicloud-sdk-net-v3
Services/As/V1/Model/CreateScalingTagsResponse.cs
382
C#
using System.Threading.Tasks; using GraphQL.Types; namespace Backend.GraphQL.Helper.Schema.Base { public interface IGraphQLExecutor { Task<object> Resolve(ResolveFieldContext context); } }
19.181818
58
0.734597
[ "MIT" ]
Casperbart/Nordic-Camp-2019
src/Backend/GraphQL/Helper/Schema/Base/IGraphQLExecutor.cs
213
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * 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...
50.867403
163
0.670142
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_04_03/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_03/Pharmacy/Porx_mt020070ca/PrescriptionDispense.cs
9,207
C#
using UnityEngine; namespace LowVisibility { public class ModConfig { // If true, extra logging will be used public bool Debug = false; public bool Trace = false; public class IconOpts { public string ElectronicWarfare = "lv_eye-shield"; // 00aad4ff public...
47.944828
215
0.640823
[ "MIT" ]
RaimoTorbouc/LowVisibility
LowVisibility/LowVisibility/ModConfig.cs
6,954
C#
namespace AbpCoreMvcIdentiyServer.Sessions.Dto { public class GetCurrentLoginInformationsOutput { public ApplicationInfoDto Application { get; set; } public UserLoginInfoDto User { get; set; } public TenantLoginInfoDto Tenant { get; set; } } }
23.583333
59
0.69258
[ "Apache-2.0" ]
staneee/AbpCoreMvcIdentiyServer
src/AbpCoreMvcIdentiyServer.Application/Sessions/Dto/GetCurrentLoginInformationsOutput.cs
285
C#
using System; using System.Collections.Generic; using System.Text; namespace DotNetOutdated.Core.Extensions { static class DictionaryExtensions { /// <summary> /// Tries to get a value in a dictionary identified by its key, otherwise returns default value for passed-in type. /// </summ...
39.705882
146
0.694815
[ "MIT" ]
Adityanr/dotnet-outdated
src/DotNetOutdated.Core/Extensions/DictionaryExtensions.cs
677
C#
using System; using System.Diagnostics; using System.Linq; using System.Text; namespace SEDC.Adv.Class13.SB { class Program { static void Main(string[] args) { var data = Enumerable.Repeat("abcdefg", 80000); Console.WriteLine(data.Count()); Stopwatch stopwa...
26.826087
81
0.542139
[ "MIT" ]
sedc-codecademy/skwd8-06-csharpadv
g6/Class13/SEDC.Adv.Class13/SEDC.Adv.Class13.SB/Program.cs
1,236
C#
#region License /* * Copyright 2002-2010 the original author or 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 ...
34.533333
108
0.720077
[ "Apache-2.0" ]
Magicianred/spring-net
src/Spring/Spring.Messaging/Messaging/Support/Converters/MessageConverterCreatorDelegate.cs
1,036
C#
// Camera Path // Available on the Unity3D Asset Store // Copyright (c) 2013 Jasper Stocker http://camerapath.jasperstocker.com // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AN...
32.768116
144
0.711632
[ "MIT" ]
GEngine-JP/chessgame
Assets/Scripts/Common/CameraPath/CameraPath2/Editor/CameraPathBezierEditor.cs
4,522
C#
// <auto-generated> // This file was automatically generated by Biohazrd and should not be modified by hand! // </auto-generated> #nullable enable using System.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct ImDrawCmdHeader { [FieldOffset(0)] public ImVec4 ClipR...
26.25
88
0.752381
[ "MIT" ]
PathogenPlayground/InfectedImGui
InfectedImGui/#Generated/ImDrawCmdHeader.cs
420
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Toastmasters.Web.Models; namespace Toastmasters.Web.Controllers { public class HomeController : Controller { public IActionResult Index() ...
22.2
112
0.617117
[ "MIT" ]
bsstahl/ToastmastersAgenda
src/Toastmasters.Web/Controllers/HomeController.cs
668
C#
/* * Copyright (C) 2014 Google Inc. * * 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 agree...
30.637795
94
0.716525
[ "Apache-2.0" ]
3dln/play-games-plugin-for-unity
source/PluginDev.UnitTests/GooglePlayGames/ISocialPlatform/BaseMockPlayGamesClient.cs
3,891
C#
using Microsoft.EntityFrameworkCore; using Webcom.Entidades; namespace Webcom { public class MyWebAppContext : DbContext { public DbSet<Produto> Produtos { get; set; } public DbSet<Pedido> Pedidos{ get; set; } public DbSet<ItemPedido> Itens { get; set; } public MyWebAppContext(...
26.909091
90
0.608108
[ "MIT" ]
alvaroutfpr/Visual_Studio
Webcom/Webcom/AcessoDados/MyWebAppContext.cs
890
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT X11 license (for details please see \doc\license.txt) using System.Linq; using System.Text; namespace ICSharpCode.NRefactory.VB.Ast { /// <summary> /// Description of Qualifi...
26.724638
104
0.684382
[ "MIT" ]
dnSpyEx/ILSpy
NRefactory.VB/ICSharpCode.NRefactory.VB/Ast/TypeName/QualifiedType.cs
1,847
C#
// <auto-generated /> namespace Redskap { using System.Diagnostics; using System.Runtime.CompilerServices; [CompilerGenerated] [DebuggerNonUserCode] internal static class FemaleNames { public static readonly string[] All = { "Aagot", "Aase", ...
21.731329
45
0.269717
[ "MIT" ]
khellang/Redskap
src/Redskap/FemaleNames.cs
22,439
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using NBitcoin; using NBitcoin.DataEncoders; using NBitcoin.Protocol; using NBitcoin.RPC;...
39.811573
209
0.529721
[ "MIT" ]
zorbtech/zorbit-core
src/Stratis.Bitcoin.IntegrationTests.Common/EnvironmentMockUpHelpers/CoreNode.cs
26,835
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...
43.69802
135
0.586723
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200801/BastionHost.cs
8,827
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Xml; /// <summary> /// Information about a Workbook in a Server's site /// </summary> class SiteWorkbook : SiteDocumentBase, IEditDataConnectionsSet { public readonly bool ShowTabs; //Note: [20...
32.064935
123
0.653301
[ "MIT" ]
tableau/TabProvision
src/ServerData/SiteWorkbook.cs
2,471
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.S3Outposts")] [assembly: AssemblyDe...
47.625
260
0.752625
[ "Apache-2.0" ]
rczwojdrak/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/S3Outposts/Properties/AssemblyInfo.cs
1,524
C#
// // Socks5ClientTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2021 .NET Foundation and Contributors // // 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...
32.126551
130
0.670812
[ "MIT" ]
Bartizan/MailKit
UnitTests/Net/Proxy/Socks5ClientTests.cs
12,949
C#
using ElGuerre.Microservices.Billing.Api.Domain.Events; using ElGuerre.Microservices.Billing.Api.Domain.Interfaces; using ElGuerre.Microservices.Billing.Api.Infrastructure.Repositories; using ElGuerre.Microservices.Messages; using ElGuerre.Microservices.Shared.Infrastructure; using MediatR; using Microsoft.Extensions....
32.153846
167
0.827751
[ "MIT" ]
juanluelguerre/Microservices
src/ElGuerre.Microservices.Billing.Api/Application/Commands/OrderReadyToBillCommandHandler.cs
1,256
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SuspensionHeight : MonoBehaviour,IModSystemSlot { public void PartAdded(string Type, string Part) { try { if (Type == "SuspensionHeight") { float height = 0.20f; ...
23.604651
78
0.417734
[ "MIT" ]
sowa705/openchase
Assets/Scripts/SuspensionHeight.cs
1,017
C#
using Final_Fantasy_Tryout.Units.PlayerInfo; namespace Final_Fantasy_Tryout.Inventory { public class Bag : PlayerInventory { private const string name = "Bag"; private const int capacity = 50; public Bag() { this.Name = name; this.Capacity = capacity; ...
21
45
0.589286
[ "MIT" ]
TnS101/Final-Fantasy-Tryout
src/Final Fantasy Tryout/Inventory/Bag.cs
338
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using FASTER.core; using FASTER.server; namespace FASTER.remote.test { internal static class TestUtils { /// <summary> /// Address /// </summary> public static string ...
31.178571
213
0.530355
[ "MIT" ]
TedHartMS/FASTER
cs/remote/test/FASTER.remote.test/TestUtils.cs
1,748
C#
using StoreModels; using System.Collections.Generic; namespace StoreMVC.Models { public interface IMapper { Customer cast2Customer(CustomerCRVM customer2BCasted); CustomerIndexVM cast2CustomerIndexVM(Customer customer2BCasted); CustomerCRVM cast2CustomerCRVM(Customer customer); ...
52.685185
142
0.766257
[ "MIT" ]
rjhakes/Rich_Hakes-P1
StoreApp/StoreMVC/Models/IMapper.cs
2,847
C#
namespace DocoptNet { public partial class DocoptArgumentsAttribute { } }
15.6
53
0.769231
[ "MIT" ]
GerHobbelt/docopt.net
src/DocoptNet/CodeGeneration/Public.cs
78
C#
using System; using System.Collections.Generic; using System.Linq; using WebApp.Models; namespace WebApp { public class ArticleRepository { private List<Article> articles = new List<Article> { new Article { Id = 1, Title = "What is Lorem ...
33.777778
191
0.508459
[ "MIT" ]
Ramakant-07/webapp
WebApp/ArticleRepository.cs
2,130
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.Linq; using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Micro...
40.333333
128
0.626997
[ "Apache-2.0" ]
CyberAndrii/NuGet.Jobs
src/NuGet.Services.Validation.Orchestrator/ValidatorProvider.cs
5,447
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace IntelliTect.TestTools.Console { /// <summary> /// Useful string extensions for performing assertions. /// </summary> public static class StringExtensions { /// <summary> /// Returns true...
38.014493
92
0.543652
[ "MIT" ]
COsborn2/TestTools
IntelliTect.TestTools.Console/StringExtensions.cs
2,625
C#
 using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using P01_BillsPaymentSystem.Data.Models; namespace P01_BillsPaymentSystem.Data.Models.Configurations { public class UserConfiguration : IEntityTypeConfiguration<User> { public void Confi...
29.30303
68
0.549121
[ "MIT" ]
LyuboslavKrastev/Databases-Advanced---Entity-Framework-
05. DB-Advanced-EF-Core-Advanced-Relations-Exercises/Bills PaymentSolution/P01_BillsPaymentSystem.Data/Models/Configurations/UserConfiguration.cs
969
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
34.666667
94
0.682127
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter19/ObservableLogger/ObservableLogger/ObservableLogger.WinPhone81/MainPage.xaml.cs
1,770
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NextpvrtoVlc.Model { class vlcM3U { public static String coverted (String _name, String _freq, String _programm) { StringBuilder vlc = new StringBuilder();...
27.904762
86
0.634812
[ "MIT" ]
totolook/NextPVRtoVLCM3u
NextpvrtoVlc/Model/vlcM3U.cs
588
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SmartPanelRemoveOrderLineActionPresenter.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2015 // </copyright> // <summary> // Defines the s...
34.731183
121
0.59195
[ "Apache-2.0" ]
HydAu/sitecore8ecommerce
code/OrderManager/Sitecore.Ecommerce.Apps/OrderManagement/Presenters/SmartPanelRemoveOrderLineActionPresenter.cs
3,232
C#
using SQEX.Luminous.GraphicsLoad; namespace SQEX.Luminous.Math { public class LmVector3 { public float X { get; } public float Y { get; } public float Z { get; } public LmVector3(float x, float y, float z) { this.X = x; this.Y = y; t...
21.37037
52
0.480069
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/SQEX/Luminous/Math/LmVector3.cs
579
C#
// <copyright> // Copyright Southeast Christian Church // // Licensed under the Southeast Christian Church License (the "License"); // you may not use this file except in compliance with the License. // A copy of the License shoud be included with this file. // // Unless required by applicable law or agreed to ...
35.687783
218
0.498732
[ "ECL-2.0" ]
engineeringdrew/RockPlugins
Plugins/org.secc.Purchasing/App_Code/RequisitionItem.cs
15,774
C#
using System.Linq; using Detectors.Redis.Configuration; using Detectors.Redis.Util; using Microsoft.AspNetCore.Mvc; namespace Detectors.Redis.Controllers { [Route("redis/connection/{connectionId}")] [Route("redis/connection/{connectionId}/server/{hostAndPort}")] public class RedisServerController : Contro...
36.393939
115
0.523175
[ "MIT" ]
ghs86/detectors
src/Redis/Controllers/RedisServerController.cs
7,208
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 ...
35.475
83
0.755462
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cdn/Cdn/Transform/V20180510/UntagResourcesResponseUnmarshaller.cs
1,419
C#
// Copyright (c) 2017-2020 Ubisoft Entertainment // // 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 applicab...
45.758689
259
0.604104
[ "Apache-2.0" ]
Friendly0Fire/Sharpmake
Sharpmake.Generators/Apple/XCodeProj.cs
92,160
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.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Diagnostics; ...
50.894366
170
0.635395
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Portable/FlowAnalysis/FlowAnalysisPass.cs
7,229
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...
29.526316
103
0.668449
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/PutVoiceConnectorTerminationResponse.cs
1,683
C#
using System; using System.Collections.Generic; using System.Linq; using DependencySort; using NHibernate.Mapping; using urn.nhibernate.mapping.Item2.Item2; namespace NhCodeFirst.Conventions { public class AddVersion : IClassConvention, IRunAfter<CreateNonCompositeIdentity> { public void Apply(Type typ...
27.833333
104
0.669162
[ "MIT" ]
mcintyre321/NhCodeFirst
NhCodeFirst/Conventions/AddVersion.cs
668
C#
using System; using System.IO; using System.Text; using Calamari.Commands.Support; using Calamari.Deployment; using Calamari.Deployment.Conventions; using Calamari.Integration.FileSystem; using Calamari.Integration.Processes; using Calamari.Integration.Scripting; using FluentAssertions; using NSubstitute; using NSubst...
43.157407
127
0.682686
[ "Apache-2.0" ]
espenwa/Calamari
source/Calamari.Tests/Fixtures/Conventions/ConfiguredScriptConventionFixture.cs
4,663
C#
namespace De.Osthus.Ambeth.Security { public enum SecurityContextType { AUTHORIZED, AUTHENTICATED, NOT_REQUIRED } }
18.857143
44
0.719697
[ "Apache-2.0" ]
Dennis-Koch/ambeth
ambeth/Ambeth.Security/ambeth/security/SecurityContextType.cs
132
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> //--...
44.395349
194
0.616291
[ "MIT" ]
jnm2/SuppressionCleanupTool
src/SuppressionCleanupTool.Tests/Properties/Resources.Designer.cs
3,820
C#
using CadEditor; using System; using PluginMapEditor; //css_include shared_settings/BlockUtils.cs; //css_include shared_settings/SharedUtils.cs; //css_include little_red_hood/LittleRedHoodUtils.cs; public class Data { public string[] getPluginNames() { return new string[] { "PluginMapEditor.dll",...
45.391304
119
0.647031
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/little_red_hood/Settings_LittleRedHood-basement.cs
2,088
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Threading.Tasks; using NewLife.Collections; using NewLife.Log; using NewLife.Model; using NewLife.Serialization; #if __WIN__ using Syst...
34.127007
143
0.483424
[ "MIT" ]
justinlxf/X
NewLife.Core/Common/MachineInfo.cs
24,267
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Variable/Vector 4")] public class Vector4Variable : ScriptableObject { public Vector4 Value { get { return value; } set { this.value = val...
18.428571
49
0.591731
[ "MIT" ]
killermode15/scriptable_object_variable_library
ScriptableVariableUnity/ScriptableVariableUnity/Variables/Vector4Variable.cs
389
C#
// <copyright file="IccDataReader.Curves.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp.Tests { internal static class IccTestDataMultiProcessElement { #region CurveSet ...
31.841772
133
0.569867
[ "Apache-2.0" ]
OrchardCMS/ImageSharp
tests/ImageSharp.Tests/TestDataIcc/IccTestDataMultiProcessElements.cs
5,033
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.ChangeFeed.Pagination { using System; using System.Threading; using System.Threadin...
38.952381
178
0.650367
[ "MIT" ]
isabella232/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/ChangeFeed/Pagination/ChangeFeedPartitionRangePageAsyncEnumerator.cs
1,638
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.666667
221
0.633862
[ "MIT" ]
gurry/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/CustomTimeZone.cs
2,145
C#
namespace AngleSharp.Dom.Css { using System; using System.IO; sealed class GroupCondition : CssNode, IConditionFunction { IConditionFunction _content; public IConditionFunction Content { get { return _content ?? new EmptyCondition(); } set {...
21.857143
80
0.454248
[ "MIT" ]
ArmyMedalMei/AngleSharp
src/AngleSharp/Dom/Css/ConditionFunctions/GroupCondition.cs
920
C#
// Copyright (c) Stickymaddness All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; namespace Sextant.Tests.Builders { public class EventBuilder { private string _event; private ...
27.928571
111
0.643223
[ "Apache-2.0" ]
RikCSherman/R2R-VoiceAttack
Sextant.Tests/Builders/EventBuilder.cs
784
C#
using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Microservice.Core3.Basic { public partial class Startup { private static void ConfigureJsonSettings(IMvcBuilder builder) { DefaultContractResolver snakeCas...
40.870968
128
0.646409
[ "MIT" ]
RASK18/Microservice.Core3.Basic
Microservice.Core3.Basic/Startup.Json.cs
1,267
C#
namespace Kisaragi.Views { partial class VersionWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources ...
38.58125
149
0.70695
[ "MIT" ]
Asteriskx/Kisaragi
Kisaragi/Views/VersionWindow.Designer.cs
6,268
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request the user level data associated with Device Policy. /// The response i...
29.159091
131
0.633671
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/UserDevicePoliciesGetRequest20.cs
1,283
C#
namespace CovidDataLake.ContentIndexer.Indexing { public interface IRootIndexFileAccess : IRootIndexAccess { } }
18
60
0.753968
[ "Apache-2.0" ]
eran-gil/covid19-data-lake
CovidDataLake.ContentIndexer/Indexing/IRootIndexFileAccess.cs
128
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.Specialized; using System.ComponentModel; using System.Diagnostics; usi...
34.154424
179
0.543759
[ "MIT" ]
AraHaan/winforms
src/System.Windows.Forms/src/System/Windows/Forms/PictureBox.cs
40,919
C#
namespace MobileBgWebScraper.App { using System; using System.Globalization; using MobileBgWebScraper.Services; public static class TechnicalCharacteristicsParsers { public static void ParseManufacturingDate(string input, AdvertisementInputModel advertisement) { if (in...
32.109756
105
0.549943
[ "MIT" ]
georgy-kirilov/MobileBgWebScraper
MobileBgWebScraper/MobileBgWebScraper.App/TechnicalCharacteristicsParsers.cs
2,640
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("De...
37.648649
84
0.744436
[ "MIT" ]
kaizer04/Telerik-Academy-2013-2014
C#1/Data-Types-Variables-Homework/DeclareVar/Properties/AssemblyInfo.cs
1,396
C#
/* * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * 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 ...
44.340502
137
0.621858
[ "Apache-2.0", "MIT" ]
bshsqa/TizenFX
src/Tizen.NUI/src/public/Touch.cs
12,371
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("Dr...
38.027027
84
0.746979
[ "MIT" ]
pkindalov/beginner_exercises
OldBasicsExams/OldExams/DrawFortSecondLeg/Properties/AssemblyInfo.cs
1,410
C#
using System.Reflection; namespace FubuMVC.Core.Diagnostics.Querying { public class AssemblyToken { public AssemblyToken() { } public AssemblyToken(Assembly assembly) { var assemblyName = assembly.GetName(); Name = assemblyName.Name...
32.632653
115
0.533458
[ "Apache-2.0" ]
uluhonolulu/fubumvc
src/FubuMVC.Core/Diagnostics/Querying/AssemblyToken.cs
1,601
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
41.315789
84
0.77707
[ "MIT" ]
dominikdysput/SzkolniakApp
aspnet-core/src/Szkolniak.Core/Properties/AssemblyInfo.cs
787
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 System.Collections.Generic; using System.Reflection; using Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities; using Microsoft.V...
40.534091
115
0.681385
[ "MIT" ]
Microsoft/vstest
test/Microsoft.TestPlatform.Common.UnitTests/ExtensionFramework/Utilities/TestExtensionsTests.cs
14,268
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; public class ConsoleWriterEventArgs : EventArgs { public string Value { get; private set; } public ConsoleWriterEventArgs(string value) { Value = value; } } pub...
26.428571
92
0.713514
[ "MIT" ]
Crushedice/UpdateServer
Classes/ConsoleWriter.cs
927
C#
using System.Threading.Tasks; namespace PrivateWiki.Services.DefaultPagesService { public interface IDefaultPagesService { Task<bool> InsertStartPage(); Task<bool> InsertSyntaxPage(); Task<bool> InsertMarkdownTestPage(); Task<bool> InsertHtmlTestPage(); Task<bool> InsertTextTestPage(); Task<bool> In...
18.105263
50
0.761628
[ "MIT" ]
lampenlampen/PrivateWiki
PrivateWiki/Services/DefaultPagesService/IDefaultPagesService.cs
344
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 ...
40.817352
158
0.529589
[ "Apache-2.0" ]
9812334/Lean
Algorithm.CSharp/CustomUniverseWithBenchmarkRegressionAlgorithm.cs
8,939
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wincontypes.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
35.666667
145
0.644081
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/wincontypes/COORDTests.cs
1,286
C#
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using Umbraco.Cms.Core.Configuration.Models; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Routing; using Umbraco.Extensions; namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core.Routing { [TestFixture] p...
82.557292
370
0.595988
[ "MIT" ]
Lantzify/Umbraco-CMS
tests/Umbraco.Tests.UnitTests/Umbraco.Core/Routing/ContentFinderByUrlWithDomainsTests.cs
15,851
C#