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.Runtime.Serialization; using System.Text.Json.Serialization; namespace Plotly.Models.Traces.DensityMapBoxs.HoverLabels { /// <summary> /// Sets the horizontal alignment of the text content within hover label box. /// Has an effect only if the hover label text spans more two or more lin...
25.565217
85
0.629252
[ "MIT" ]
trmcnealy/Plotly.WPF
Plotly/Models/Traces/DensityMapBoxs/HoverLabels/AlignEnum.cs
588
C#
using ProjectHermes.ShoppingList.Api.Domain.ShoppingLists.Models; using ProjectHermes.ShoppingList.Api.Domain.Stores.Models; namespace ProjectHermes.ShoppingList.Api.Domain.Common.Exceptions.Reason { public class SectionAlreadyInShoppingListReason : IReason { public SectionAlreadyInShoppingListReason(...
36.882353
101
0.751196
[ "MIT" ]
Velociraptor45/ProjectHermes-ShoppingList
Api/ShoppingList.Api.Domain/Common/Exceptions/Reason/SectionAlreadyInShoppingListReason.cs
629
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x1ABBAD1D)] public class STU_1ABBAD1D : STU_C7C085F6 { [STUFieldAttribute(0xB91CFF97, "m_base")] public teStructuredDataAssetRef<ulong> m_base; [STUFieldAttribut...
35.942857
116
0.740859
[ "MIT" ]
ekin1106/OWLib
TankLib/STU/Types/STU_1ABBAD1D.cs
1,258
C#
/* Generated SBE (Simple Binary Encoding) message codec */ using System; using System.Text; using System.Collections.Generic; using Adaptive.Agrona; namespace Adaptive.Cluster.Codecs { public class ClusterMembersChangeEncoder { public const ushort BLOCK_LENGTH = 12; public const ushort TEMPLATE_ID = 71; ...
25.051205
102
0.633882
[ "Apache-2.0" ]
23dproject/Aeron.NET
src/Adaptive.Cluster/Codecs/ClusterMembersChangeEncoder.cs
8,317
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Functional.Context { internal interface IMutationValueProcessor : IFragmentProcessor<ValueFragment> { } }
29
113
0.762452
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Functional/Context/3. Processing/Mutations/Values/IMutationValueProcessor.cs
263
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology 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 ...
43.371429
361
0.651735
[ "Apache-2.0" ]
554393109/WeiXinMPSDK
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3/Apis/BusinessCircle/Entities/ReturnJson/QueryUserAuthorizationReturnJson.cs
5,878
C#
// !! // FoxSsh - https://github.com/FoxCouncil/FoxSsh // *.-". // MIT License // | | // Copyright 2021 The Fox Council using System.Collections.Generic; namespace FoxSsh.Common.Messages { public class ServiceAcceptMessage : ISshMessage { public SshMessageType Type => SshMessageType.ServiceAccep...
25.166667
67
0.635762
[ "MIT" ]
FoxCouncil/FoxSsh
FoxSsh/Common/Messages/ServiceAcceptMessage.cs
606
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("Cou...
37.783784
84
0.747496
[ "MIT" ]
geegee4iee/countdown
Countdown.Tests/Properties/AssemblyInfo.cs
1,401
C#
namespace ClassLib062 { public class Class034 { public static string Property => "ClassLib062"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib062/Class034.cs
120
C#
namespace Core.UX { partial class ContrastColourGenerator { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
65.242718
209
0.673438
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452
Source/Krypton Toolkit Suite Extended/Shared/Tooling/UX/Colours/ContrastColourGenerator.Designer.cs
40,322
C#
using System; using System.Collections.Generic; using System.ComponentModel; namespace InceptionCore { static class AnonymousTypeToDictionaryConverter { public static IDictionary<string, object> Convert(object values) { return Convert<object>(values); } public stat...
26.115385
91
0.618557
[ "BSD-2-Clause" ]
bradleyjford/inception
src/InceptionCore/AnonymousTypeToDictionaryConverter.cs
681
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Dotmim.Sync { [DataContract(Name = "s"), Serializable] public class SyncSetup : IEquatable<SyncSetup> { /// <summary> /// Gets or Sets the tables involved in...
36.830303
149
0.587132
[ "MIT" ]
Varamil/Dotmim.Sync
Projects/Dotmim.Sync.Core/Setup/SyncSetup.cs
6,079
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V23.Segment; using NHapi.Model.V23.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V23.Group { ///<summary> ///Represents the SRM_S03_LOCATION_RESOURCE Group. A Group i...
28.701987
164
0.643286
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V23/Group/SRM_S03_LOCATION_RESOURCE.cs
4,334
C#
using MelonLoader; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle(Random_slowmo.BuildInfo.Name)] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany(Random_slowmo.BuildInfo.Company)] [assembly: A...
55.56
191
0.795536
[ "MIT" ]
extraes/Random_Slowmo
Properties/AssemblyInfo.cs
1,391
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using WinFormsMVC.Request; using WinFormsMVC.Request.Item; using WinFormsMVC.View; using WinFormsMVCUnitTest.Test.View; namespace WinFormsMVCUnitTest.Test.Services.Base.GivenFormsManagementT...
33.612319
153
0.564514
[ "MIT" ]
belre/WinFormsMVC
WinFormsMVCUnitTest/Test/Services/Base/GivenFormsManagementTest/TestCase/SimplyConnectedGivenFormsUndoTest.cs
9,319
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
30.376289
93
0.494994
[ "MIT" ]
nmusco/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/IgnoredActivityCategories.cs
5,893
C#
/* The MIT License (MIT) * * Copyright (c) 2015 Marc Clifton * * 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, ...
36.217391
95
0.744298
[ "MIT" ]
cliftonm/clifton
Clifton.Core/Clifton.Core.Workflow/WorkflowContinuation.cs
1,668
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.886447
282
0.618281
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/ElasticBeanstalk/Basic/Update-EBResourceTag-Cmdlet.cs
12,800
C#
using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using VueDemo.Models; namespace VueDemo.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } public IActionResult Error() { return View...
21.4
112
0.621495
[ "MIT" ]
adams85/bundles
samples/VueDemo/Controllers/HomeController.cs
430
C#
using FarseerPhysics; using FarseerPhysics.Dynamics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Nez.Farseer; using Nez.Svg; namespace Nez.Samples { [SampleScene( "SVG to Farseer Physics", 85, "This demo shows how you can turn an SVG image into Farseer physics objects\nPress Space to s...
27.853801
217
0.670796
[ "MIT" ]
skibum3d/Nez-Samples
Nez.Samples/Scenes/Farseer SVG/FarseerSVGScene.cs
4,765
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; namespace Tasks { using mint = F.ModuloInteger; public class F { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenS...
48.925714
225
0.527447
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
ABC/ABC234/Tasks/F.cs
8,562
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 do...
27.75
102
0.724925
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/ForeignKeyConstraint/ForeignKeyConstraint_acceptRejectRule.cs
3,330
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
33.004566
211
0.524073
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/WebDeploymentsDeploymentTopicWebMessagingDeploymentChangeEventBody.cs
7,228
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 ...
26.465116
63
0.718805
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteFaceSearchGroupResponse.cs
1,138
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
27.259259
104
0.572351
[ "MIT" ]
BoSkeet/GreenBot
ChatController/MainWindow.xaml.cs
2,946
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Inch_to_cm { class Program { static void Main(string[] args) { Console.Write("Inch = "); double inch = double.Parse(Console.ReadLine()); ...
21.15
59
0.583924
[ "MIT" ]
penchev/Programming-Basics
Simple Calculations/Inch_to_cm/Program.cs
425
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
76.941176
589
0.786442
[ "Apache-2.0" ]
pcameron-/aws-sdk-net
sdk/src/Services/EC2InstanceConnect/Properties/AssemblyInfo.cs
3,924
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Dog dog = new Dog(); dog.Eat(); dog.Bark(); Cat cat = new Cat(); cat.Eat(); cat.Meow(); } ...
16.05
35
0.563863
[ "MIT" ]
ChrisPam/CSharpOOP
05.InheritanceLab/03.HierarchicalInheritance/Program.cs
323
C#
// Copyright 2016 Datalust, Superpower Contributors, Sprache Contributors // // 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 // //...
47.815504
170
0.573976
[ "Apache-2.0" ]
Ellested/superpower
src/Superpower/Parse.cs
30,843
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 no...
33.313589
140
0.506537
[ "Apache-2.0" ]
abelli85/nvelocity
NVelocity/NVelocitySL/Runtime/Directive/Parse.cs
9,561
C#
using CRM.CommonFiles.Interfaces; using CRM.CommonFiles.Models; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; namespace CRM.DAL { public class CRMRepository : ICRMRepository { pub...
33.315934
125
0.466645
[ "MIT" ]
shayutut/CellPhoneServiceCompanyProject
CellPhoneService/CRM.DAL/CRMRepository.cs
12,153
C#
using AutoMapper; using FilmesAPI.Data.Dtos; using FilmesAPI.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FilmesAPI.Profiles { public class FilmeProfile : Profile { public FilmeProfile() { CreateMap<CreateFilmeDt...
21.190476
47
0.658427
[ "MIT" ]
g-aleprojetos/Curso_Alura
API Rest com dotNet5/alura-csharp-1/FilmesApi/Profiles/FilmeProfile.cs
447
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...
27.758333
138
0.533473
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/GreaterThan/Complete/Int64/NullableInt16/TestSet_504__param__02__VN.cs
3,333
C#
 using System; namespace Decorator { //Concrete Component public class DataSet: DataSetBase { public override void Write() { //salvar dados dataset. Console.WriteLine("DataSet.Write() invocado!!"); } } }
16.875
60
0.562963
[ "Apache-2.0" ]
Rafael-Prado/Padroes-de-Projeto-C_Sharp
PadroesDeProjetoCsharp/Decorator/DataSet.cs
272
C#
/* * Copyright 2010-2013 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 "...
27.9
141
0.575595
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Core/Amazon.Runtime/Internal/Util/EventStream.cs
6,140
C#
using PMDToolkit.Core; using PMDToolkit.Data; using PMDToolkit.Graphics; using PMDToolkit.Logic.Gameplay; using PMDToolkit.Maps; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Threading; using System.Windows.Forms; namespace PMDToolkit.Editors { public partial ...
34.159283
212
0.509496
[ "MIT" ]
SupaFresh/PMD-Toolkit
PMDToolkit/Editors/MapEditor.cs
32,385
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5446 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
33.125
82
0.522013
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSModules/Blogs/MyBlogs/MyBlogs_Comments_List.aspx.designer.cs
797
C#
/* * MessageMediaLookups.Tests */ using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using APIMATIC.SDK.Common; using APIMATIC.SDK.Http.Client; using APIMATIC.SDK.Http.Request; using APIMATIC.SDK.Http.Response; using System.Security.Cryptography; using Newtons...
39.489224
137
0.515472
[ "Apache-2.0" ]
messagemedia/lookups-csharp-sdk
MessageMediaLookups.Tests/Helpers/TestHelper.cs
18,323
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.PowerFx.Core.Functions; using Microsoft.PowerFx.Core.Localization; using Microsoft.PowerFx.Core.Types; using Microsoft.PowerFx.Core.Utils; namespace Microsoft.PowerFx.Core.Texl.Builtins { ...
29.363636
107
0.69453
[ "MIT" ]
ScriptBox99/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/UTCNow.cs
971
C#
using Entitas; [Input] public sealed class CollisionComponent : IComponent { public GameEntity from; public GameEntity to; }
19
53
0.75188
[ "MIT" ]
Milambeer/unity-entitas-infinite-runner
Assets/Sources/Features/Input/CollisionComponent.cs
133
C#
using SF.Feature.Handlebars.SXA.Models; using Sitecore.ContentSearch.Linq; using Sitecore.XA.Foundation.Mvc.Repositories.Base; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SF.Feature.Handlebars.SXA.Repositories { public class HandlebarQueryContainerRepository : Mo...
34.714286
122
0.619636
[ "MIT" ]
mtelligent/Handlebars-For-Sitecore
src/Feature/Handlebars.SXA/code/Repositories/HandlebarQueryContainerRepository.cs
1,703
C#
using ImageSort.Actions; using ImageSort.Localization; using ReactiveUI; using System; using System.Collections.Generic; using System.Reactive; using System.Reactive.Linq; namespace ImageSort.ViewModels { public class ActionsViewModel : ReactiveObject { private readonly Stack<IReversibleAction> done =...
33.541667
110
0.498137
[ "MIT" ]
Lolle2000la/Image-Sort
src/ImageSort/ViewModels/ActionsViewModel.cs
4,027
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="PremierAddOnProperties" /> /// </summary> publi...
51.915493
249
0.586408
[ "MIT" ]
3quanfeng/azure-powershell
src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.TypeConverter.cs
7,231
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: /...
36.707317
117
0.636545
[ "MIT" ]
Chelimin/MSBotBuilder
CSharp/Tests/Microsoft.Bot.Builder.Tests/LocalizationTests.cs
4,517
C#
using ChainUtils.BouncyCastle.Math; namespace ChainUtils.BouncyCastle.Crypto.Parameters { /** * Public key parameters for NaccacheStern cipher. For details on this cipher, * please see * * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternKeyParameters : A...
23.162791
102
0.655622
[ "MIT" ]
assinnata/ChainUtils
ChainUtils.BouncyCastle/crypto/parameters/NaccacheSternKeyParameters.cs
996
C#
using System; using Debug = UnityEngine.Debug; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using Unity.Mathematics; using Unity.Jobs; using Unity.Burst; using UnitySceneExtensions; using Vector3 = UnityEngine.Vector3; using System.Runtime.CompilerServices; namespace Chisel.Core { [Serializabl...
40.446281
215
0.559665
[ "MIT" ]
FV7VR3/Chisel.Prototype
Packages/com.chisel.core/Chisel/Core/Generators/ExtrudedShape/ChiselExtrudedShapeDefinition.cs
9,788
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
39.565217
101
0.618132
[ "MIT" ]
10thmagnitude/dicom-server
src/Microsoft.Health.Dicom.Api.UnitTests/Extensions/HttpRequestExtensionsTests.cs
1,822
C#
// Released under the MIT License. // // Copyright (c) 2018 Ntreev Soft co., Ltd. // Copyright (c) 2020 Jeesu Choi // // 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, i...
37.410072
121
0.635385
[ "MIT" ]
s2quake/JSSoft.Crema
common/JSSoft.Crema.Data/CremaDataRowUtility.cs
5,202
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("Xen...
38.166667
84
0.752547
[ "MIT" ]
Beefr/xenko
sources/metrics/Xenko.Metrics.ServerApp/Properties/AssemblyInfo.cs
1,377
C#
//----------------------------------------------------------------------------- // Filename: Program.cs // // Description: A getting started program to demonstrate how to use the SIPTransport class to respond to // OPTIONS requests. // // Author(s): // Aaron Clauson (aaron@sipsorcery.com) // // History: // 1...
37.31746
141
0.547427
[ "BSD-3-Clause" ]
FrankPfattheicher/sipsorcery
examples/GetStarted/Program.cs
2,353
C#
using Microsoft.AppCenter.Crashes; using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Xamarin.Essentials; namespace GeoContacts.Services { public static class GeolocationService { public static async Task<Location> GetCurrentPositionAsync() { ...
28.743243
146
0.510578
[ "MIT" ]
sbovo/app-geocontacts
src/GeoContacts/GeoContacts/Services/Geolocation.cs
2,129
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/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropService...
31.4
145
0.757962
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/MsHTML/SVGPathSegLinetoVerticalRel.cs
473
C#
using System; namespace SalesApp.Core.Exceptions.OTA { /// <summary> /// Exception to signal that access to OTA was made before initialization of database /// </summary> public class OtaTableMissingException : Exception { } }
22.818182
89
0.685259
[ "Apache-2.0" ]
mkopadev/salesapp
SalesApp.Core/Exceptions/OTA/OTATableMissingException.cs
253
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AecCloud.WebAPI.Models { public class ProjectInvitationDto : EntityDto { public long ProjectId { get; set; } public long InviterId { get; set; } public long I...
21.714286
57
0.651316
[ "MIT" ]
FinchYang/test
AecPrivateCloud.ALL/Core/AecCloud.WebAPI.Models/Dtoes/ProjectInvitationDto.cs
610
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...
32.71875
130
0.661891
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementAndStatementStatementLabelMatchStatementGetArgs.cs
1,047
C#
using System; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { public static class IndexSortSettings { public const string Fields = "index.sort.field"; public const string Missing = "index.sort.missing"; public const string Mode = "index.sort.mode"; public const string Order = "i...
30.315315
141
0.69153
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Nest/IndexModules/IndexSettings/Sorting/ISortingSettings.cs
3,365
C#
using System; using System.Collections.Generic; using System.Text; using System.Data.Common; using Bdo.Schema.Definition; using Bdo.Objects.Base; namespace Bdo.Objects { /// <summary> /// Filtro NOTLIKE /// </summary> public class FilterNOTLIKE : FilterBase { /// <summary> /// Cos...
23.107143
65
0.584235
[ "MIT" ]
simonep77/bdo
Business.Data.Objects/Objects/Filters/Spec/FilterNOTLIKE.cs
649
C#
using System; using System.IO; namespace RecommendationSystem.Models { public interface IModelPartSaver { Type Type { get; } void SaveModelProperties(IModel model, TextWriter writer); void SaveModelData(IModel model, TextWriter writer); } }
22.384615
67
0.666667
[ "Apache-2.0" ]
gligoran/RecommendationSystem
RecommendationSystem/Models/IModelPartSaver.cs
293
C#
using Bb.Workflows; using Bb.Workflows.Models; using System; using System.Linq; using System.Text; namespace Bb.Workflows.Templates { internal class TemplatesProviders { public static Func<ResultAction, DynObject> Reminder = (r) => DynObject .Create("Name", Constants.Pus...
34.7
151
0.600865
[ "BSD-3-Clause" ]
Moleculars/Sample
src/Black.Beard.Web.Workflow/Templates/TemplatesProviders.cs
1,390
C#
using System; using System.Collections.Generic; using AdventOfCode.Solvers.Base; using AdventOfCode.Utils; using AdventOfCode.Utils.Extensions; namespace AdventOfCode.Solvers.AoC2020; /// <summary> /// Solver for 2020 Day 01 /// </summary> public class Day01 : Solver<int[]> { #region Constants /// <summary> ...
25.786517
115
0.537255
[ "MIT" ]
ChrisViral/AdventOfCode
CSharp/Solvers/AoC2020/Day01.cs
2,297
C#
using Solaris.Web.SolarApi.Core.Rabbit.Helpers.Setup; namespace Solaris.Web.SolarApi.Core.Models.Helpers.Commons { public class AppSettings { public RabbitMqSettings RabbitMq { get; set; } public RabbitMqQueues RabbitMqQueues { get; set; } } }
24.909091
58
0.708029
[ "MIT" ]
GagiuFilip1/Solaris.Web.SolarApi
Solaris.Web.SolarApi/Solaris.Web.SolarApi.Core/Models/Helpers/Commons/AppSettings.cs
276
C#
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Validate")] public class Validate_PersonalIdentityNumberSweden { [Test] public void IsPersonnummer01 () { Assert.AreEqual (PersonalIdentityNumberSweden.IsValid ("8112189876"), true); } [Test] public void IsPersonnummer02 () { Asse...
20.678571
80
0.734888
[ "MIT" ]
martinlindhe/Punku
PunkuTests/Validate/PersonalIdentityNumberSweden.cs
1,160
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
33.449541
97
0.583653
[ "MIT" ]
AlanFlorance/azure-powershell
src/DedicatedHsm/generated/runtime/Nodes/JsonNumber.cs
3,540
C#
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenCodeDev.Blazor.Foundation.Components.Media { public partial class OrbitSlide : ComponentBase { ...
27.692308
77
0.684722
[ "MIT" ]
OpenCodeDev/OpenCodeDev.Blazor.Foundation
Blazor_Foundation_6_Lib/Components/Media/OrbitSlide.razor.cs
722
C#
namespace EDiary.Web.ViewModels.Teachers.SubjectsClasses.OutputViewModels { using EDiary.Data.Models; using EDiary.Data.Models.Enums; using EDiary.Services.Mapping; public class SubjectClassInfoStudents : IMapFrom<SubjectClass> { public int Id { get; set; } public string SubjectNa...
24.45
74
0.664622
[ "MIT" ]
markodjunev/E-Diary
EDiary/Web/EDiary.Web.ViewModels/Teachers/SubjectsClasses/OutputViewModels/SubjectClassInfoStudents.cs
491
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.Security; [SecuritySafeCritical] class TestApp { //***** TEST CODE ***** static double test_0_0(double num, AA init, AA zero) { return init.q; } stat...
27.92027
131
0.629979
[ "MIT" ]
2m0nd/runtime
src/tests/Regressions/coreclr/0041/body_double.cs
20,661
C#
/** * */ using System.Text; namespace DotNetXri.Client.Resolve { using java.io.ByteArrayInputStream; using java.io.IOException; using java.io.InputStream; using java.io.UnsupportedEncodingException; using java.net.HttpURLConnection; using java.net.URI; using java.net.URISyntaxException; using java.net.URLEncoder;...
30.002244
169
0.685272
[ "Apache-2.0" ]
tt/dotnetxri
src/DotNetXri/Client/Resolve/Resolver.cs
66,845
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Assembly_Planner { class consoleFrontEnd { public static string getPartsDirectory() { bool done = false; string theDir = Dire...
25.693333
95
0.417488
[ "MIT" ]
atulmishrachdi/AutomatedAssemblyPlanner
src/AutomatedAssemblyPlannerLibrary/Input/consoleFrontEnd.cs
3,856
C#
using System; using System.Collections.Generic; using Skclusive.Mobx.Observable; namespace Skclusive.Mobx.StateTree { public class ObjectTypeConfig<S, T> : IObjectTypeConfig<S, T> { public string Name { set; get; } public Func<object, object> PreProcessor { set; get; } public Func<IO...
37.1
134
0.679245
[ "MIT" ]
BlazorHub/Skclusive.Mobx.StateTree
src/StateTree/Complex/ObjectTypeConfig.cs
1,115
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using LuaInterface; namespace LuaFramework { public class PanelManager : MonoBehaviour { /// <summary> /// 所有UI的父节点 /// </summary> private Transform _parent; ...
32.847826
87
0.499007
[ "MIT" ]
treert/unity_lua_simple_framework
Assets/LuaFramework/Script/misc/PanelManager.cs
3,080
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. namespace System.Web.Razor.Utils { internal static class CharUtils { internal static bool IsNonNewLineWhitespace(char c) { return Char.IsWhiteSpace(c) && !IsNew...
29.571429
122
0.563607
[ "Apache-2.0" ]
Distrotech/mono
external/aspnetwebstack/src/System.Web.Razor/Utils/CharUtils.cs
623
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TownSim.Animation { public enum Easing { Linear, EaseInQuad, EaseOutQuad, EaseInOutQuad, EaseInCubic, EaseOutCubic, EaseInOutCubic, EaseInQuart, E...
47.47561
176
0.57522
[ "MIT" ]
danzabarr/TownSim
Assets/Easings/Transition.cs
23,360
C#
namespace SharpDebug.Engine { /// <summary> /// All constants used in the project /// </summary> internal class Constants { /// <summary> /// The maximum length of file name /// </summary> public const int MaxFileName = 65536; /// <summary> /// The m...
25
54
0.547586
[ "MIT" ]
sdmaclea/SharpDebug
Source/SharpDebug.Engine/Engine/Constants.cs
727
C#
/* * Created by SharpDevelop. * Date: 10.10.2017 * Time: 22:13 * */ using System.Windows.Controls; namespace RFiDGear.View { /// <summary> /// Interaction logic for TabPageMifareDesfireDataExplorerView.xaml /// </summary> public partial class TabPageMifareDesfireDataExplorerView : UserControl ...
20
75
0.652273
[ "MIT" ]
c3rebro/RFiDGear
RFiDGear/View/TaskViews/RFIDTasks/MifareDesfireTask/MifareDesfireTaskTabPages/TabPageMifareDesfireDataExplorerView.xaml.cs
442
C#
using Microsoft.Extensions.DependencyInjection; using System; using System.Linq; using System.Reflection; namespace Creekdream.Dependency { /// <summary> /// Used to convert registration abstract classes /// </summary> public abstract class ConventionalRegistrarBase : IConventionalRegistrar { ...
28.25
87
0.544248
[ "MIT" ]
zengqinglei/Creekdream.AspNetCore
src/Creekdream.Core/Dependency/Conventionals/ConventionalRegistrarBase.cs
1,132
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...
45.28
384
0.70318
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerService/V20201201/Outputs/ManagedClusterIdentityResponse.cs
2,264
C#
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ using System; using JavaScriptEngineSwitcher.ChakraCore; using JavaScriptEngineSwitcher.Core; namespace React.Sample.ConsoleApp { ...
28.829787
86
0.751292
[ "MIT" ]
AlaminJust/React.NET
src/React.Sample.ConsoleApp/Program.cs
1,355
C#
namespace SmartConnect.Web.Controllers.Contracts { using System.Web.Mvc; using Common.Constants; using Data.Models; using Services.Common.Contracts; [Authorize(Roles = Roles.Admin)] public abstract class BaseAjaxAdministrationController : BaseAjaxController { public BaseAjaxAdmini...
23.777778
82
0.679907
[ "MIT" ]
vassildinev/Smart-Connect
Source/Web/SmartConnect.Web.Controllers/Contracts/BaseAjaxAdministrationController.cs
430
C#
using System; namespace Alex.Utils { public class MapColor { public static MapColor[] COLORS = new MapColor[64]; public static MapColor[] BLOCK_COLORS = new MapColor[16]; public static MapColor AIR = new MapColor(0, 0); public static MapColor GRASS = new MapColor(1, 8368696); public static MapColor SAND =...
40.651376
93
0.727827
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
TruDan/Alex
src/Alex/Utils/MapColor.cs
4,433
C#
using System; using ENode.Commanding; using Eventual2PC.Commands; namespace ENode.Eventual2PC.Commands { /// <summary> /// 事务参与方提交命令 /// </summary> [Serializable] public abstract class TransactionParticipantCommitCommandBase<TAggregateRootId> : Command<TAggregateRootId>, ITransactionPartici...
27.243243
110
0.600198
[ "MIT" ]
berkaroad/ENode.Eventual2PC
src/ENode.Eventual2PC/Commands/TransactionParticipantCommitCommandBase.cs
1,076
C#
using System; using System.Collections.Generic; using System.Text; namespace ECO.Rainbow_Connection { class Hap { } }
12
33
0.704545
[ "Unlicense" ]
The-Somerton-Star/Consonance
ECO/Rainbow Connection/Hap.cs
134
C#
using SpaceService.Database.Entities; using System; using System.Collections.Generic; using Common.Interfaces; using SpaceService.Filters; namespace SpaceService.Repository.Interfaces { public interface ISpaceRepository : IGet<Guid, DbSpace>, IFindAll<SpaceFilter, IEnumerable<DbSpace>>, IUpdate<DbSpace,...
21.833333
48
0.75827
[ "MIT" ]
lanit-office-map/OfficeMap
OfficeMapApi/SpaceService/SpaceService/Repository/Interfaces/ISpaceRepository.cs
395
C#
// ----------------------------------------------------------------------- // <copyright file="LogonType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Microsoft.Partner.Smar...
28.363636
75
0.471154
[ "MIT" ]
CypBnk/PSO-Mod
src/SmartOffice.Models/Graph/LogonType.cs
626
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...
25.9
106
0.583977
[ "Apache-2.0" ]
bgrainger/aws-sdk-net
sdk/src/Services/VoiceID/Generated/AmazonVoiceIDConfig.cs
2,072
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; namespace MoLIC_WOz_Web.Account { public partial class Register : System.Web.UI.Page { protected void Page_Load(object sender, EventArg...
26.636364
105
0.65529
[ "MIT" ]
gustavomirandag/MoLIC_WOz
MoLIC_WOz_Web/Account/Register.aspx.cs
881
C#
// *** WARNING: this file was generated by pulumigen. *** // *** 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.Kubernetes.Types.Ou...
27.589744
89
0.628253
[ "Apache-2.0" ]
AaronFriel/pulumi-kubernetes
sdk/dotnet/Core/V1/Outputs/ObjectFieldSelector.cs
1,076
C#
using System; using System.Drawing; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using CKAN.Extensions; using CKAN.Versioning; namespace CKAN { public partial class ChooseRecommendedMods : UserControl { public ChooseRecommendedMods() ...
36.561947
184
0.547622
[ "MIT" ]
050644zf/CKAN
GUI/Controls/ChooseRecommendedMods.cs
8,263
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...
48.282258
178
0.687991
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/InvalidDeployedStateFilterException.cs
5,987
C#
/* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ using Antlr4.Runtime; using Antlr4.Runtime.Sharpen; namespace Antlr4.Runtime { /// <summary> /// This signifies an...
33.966667
85
0.698724
[ "BSD-3-Clause" ]
charwliu/antlr4
runtime/CSharp/runtime/CSharp/Antlr4.Runtime/InputMismatchException.cs
1,019
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using DataStructuresLib.BitManipulation; using GeometricAlgebraFulcrumLib.Algebra.GeometricAlgebra.Basis; using GeometricAlgebraFulcrumLib.Processors.GeometricAlgebra.GuidedB...
36.341091
141
0.589828
[ "MIT" ]
ga-explorer/GeometricAlgebraFulcrumLib
GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Storage/GeometricAlgebra/KVectorStorage.cs
45,283
C#
using NSubstitute; using NUnit.Framework; using System; namespace ManualDi.Main.Tests { public class TestDiContainerDispose { [Test] public void TestDispose() { var instance = new object(); var disposeAction = Substitute.For<Action>(); ...
25.162162
87
0.52739
[ "MIT" ]
GabLeRoux/ManualDi.Main
ManualDi.Main.Tests/TestDiContainerDispose.cs
933
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
48.037736
194
0.768264
[ "Apache-2.0" ]
augustoproiete-forks/aws--aws-sdk-net
sdk/src/Services/Amplify/Properties/AssemblyInfo.cs
2,546
C#
using System; using System.Windows.Markup; namespace Nefarius.DsHidMini.Util.WPF { public class EnumBindingSourceExtension : MarkupExtension { private Type _enumType; public EnumBindingSourceExtension() { } public EnumBindingSourceExtension(Type enumType) { ...
28.166667
88
0.521368
[ "BSD-3-Clause" ]
Kanuan/DsHidMini
DSHMC/Util/WPF/EnumBindingSourceExtension.cs
1,523
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; using System.Web.Routing; using System.Web.Security; using System.Web.SessionState; namespace file_manager { public class Global : HttpApplication { void Application_Start(object sender,...
25.52381
62
0.705224
[ "MIT" ]
pvorotnikov/file-manager
file-manager/Global.asax.cs
538
C#
using System; using Cake.Core; using Cake.Core.IO; namespace Cake.Dotfuscator { /// <summary> /// Strong name resolver. /// </summary> public sealed class DotfuscatorResolver : IDotfuscatorToolResolver { private readonly IFileSystem _fileSystem; private readonly ICakeEnvironment _en...
37.662791
149
0.61377
[ "MIT" ]
xiaokun/Cake.Dotfuscator
src/Cake.Dotfuscator/DotfuscatorResolver.cs
3,239
C#
namespace GUI_OVFTOOL { partial class ISO_UpldVCD_ondem { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
53.956376
167
0.587381
[ "MIT" ]
internsaccount/ovfwrapper
ISO_UpldVCD_ondem.Designer.cs
32,160
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/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Run...
45.365385
285
0.710894
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/UIAnimation/IUIAnimationPriorityComparison.cs
2,361
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace SparkPost { public interface IRecipientLists { /// <summary> /// Creates a recipient list. /// </summary> /// <param name="recipientList">The properties of the recipientList to create.</param> ///...
33.583333
94
0.599669
[ "Apache-2.0" ]
pedrommuller/csharp-sparkpost
src/SparkPost/IRecipientLists.cs
1,211
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("Re...
35.758621
84
0.736741
[ "MIT" ]
gabrijelvlasicek/Rent-A-car
Properties/AssemblyInfo.cs
1,040
C#
using System.Runtime.CompilerServices; using Unity.Mathematics; namespace MaxMath { unsafe public static partial class maxmath { /// <summary> Returns a <see cref="bool"/> indicating for a <see cref="half"/> whether it is an infinite floating point value. </summary> [MethodImpl(Meth...
46.931624
199
0.603533
[ "Apache-2.0" ]
MrUnbelievable92/MaxMath
Runtime/Functions/Arithmetic/Floating Point/half Utilty.cs
5,493
C#