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
// <autogenerated> // This file was generated by T4 code generator Median.int.tt. // Any changes made to this file manually will be lost next time the file is regenerated. // </autogenerated> using System; using System.Linq; using System.Dynamic; using System.Collections; using System.Threading.Tasks; using stati...
25.566667
91
0.706649
[ "MIT" ]
sagifogel/Ramda.NET
Ramda/Median.int.cs
769
C#
using System.Collections.Generic; namespace Darwin.Syntax.Expressions { internal sealed record UnaryExpression(SyntaxToken Operator, DarwinExpression Expression) : DarwinExpression { public override DarwinExpressionType Type => DarwinExpressionType.Unary; public override IEnumerable<SyntaxNod...
29.066667
112
0.701835
[ "MIT" ]
ivanbiljan/darwin
src/Darwin/Syntax/Expressions/UnaryExpression.cs
438
C#
using FluentAssertions; using Microsoft.CSharp.RuntimeBinder; using Xerris.DotNet.Core.Validations; using Xunit; namespace Xerris.DotNet.Core.Test.Core.Validations { public class ValidationExceptionTest { [Fact] public void CanConstruct() { var validationException = new Vali...
26.764706
100
0.692308
[ "MIT" ]
xerris/Xerris.DotNet.Core
test/Xerris.DotNet.Core.Test/Core/Validations/ValidationExceptionTest.cs
455
C#
using UnityEngine; using System.Collections; public class FauxGravityAttractor : MonoBehaviour { public float gravity = -10; private ConstantForce seudograv = Addforce(gravityUp * gravity); public void Attract (Transform body) { Vector3 gravityUp = (body.position - transform.position).normalized; Vector3 bod...
29.368421
90
0.781362
[ "Apache-2.0" ]
FunktronicLabs/FunkyVR
FunkyPlanets/Assets/scripts/FauxGravityAttractor.cs
560
C#
using System.Threading.Tasks; namespace ExistForAll.SimpleSettings.Validations { public interface ISettingValidation<T> : ISettingsValidator { Task<ValidationResult> Validate(ValidationContext<T> context); } }
26.444444
71
0.735294
[ "MIT" ]
existall/Settings
src/Core/ExistForAll.SimpleSettings/Validations/ISettingValidation.cs
238
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Threading; using EfsTools.Items; using EfsTools.Mbn; using EfsTools.Qualcomm; using EfsTools.Qualcomm.QcdmCommands.Base; using EfsTools.Resourses; ...
43.476718
270
0.524939
[ "MIT" ]
JohnBel/EfsTools
EfsTools/EfsTools.cs
19,610
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace RezRouting.Demos.MvcWalkthrough2.ViewEngines { // Adapted from https://github.com/danmalcolm/ControllerPathViewEngine public class ControllerPathResolver { private readonly ConcurrentDi...
34.727273
109
0.619983
[ "MIT" ]
danmalcolm/RezRouting.Net
src/RezRouting.Demos.MvcWalkthrough2/ViewEngines/ControllerPathResolver.cs
2,292
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // namespace Lomo.Commerce.Service.HighSecurity { using System; /// <summary> /// The Probe.aspx page. /// </summary> /// <remar...
32.479167
125
0.549711
[ "MIT" ]
BOONRewardsInc/rewards
Commerce/ServiceHighSecurityEndpoints/Probe.aspx.cs
1,559
C#
using System.Threading.Tasks; namespace DefaultInterfaceMethods { public class RabbitMqMessageSender : IMessageSender { public void Send(string message) { } public Task SendAsync(string message) { // TODO: return Task.CompletedTask; } ...
17.263158
55
0.57622
[ "MIT" ]
FreezeSoul/Practical.NET
examples/CSharpNewFeatures/DefaultInterfaceMethods/RabbitMqMessageSender.cs
330
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.Runtime.CompilerServices; namespace Inlining { public static class NoThrowInline { #if DEBUG public const int Iterations = 1; #else public const i...
30.844828
102
0.681386
[ "MIT" ]
333fred/runtime
src/tests/JIT/Performance/CodeQuality/Inlining/NoThrowInline.cs
1,789
C#
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
38.050505
81
0.526414
[ "Apache-2.0" ]
SnappyDataInc/snappy-store
gemfirexd/client/test/csharp/ado-tests-runner/Program.cs
7,534
C#
using FakeItEasy; using FluentNHibernate.MappingModel; using FluentNHibernate.MappingModel.ClassBased; using FluentNHibernate.Visitors; using NUnit.Framework; namespace FluentNHibernate.Testing.MappingModel { [TestFixture] public class HibernateMappingTester { [Test] public voi...
31.288889
79
0.610795
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/FluentNHibernate.Testing/MappingModel/HibernateMappingTester.cs
1,410
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices { using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; /// <summary> /// ...
28.567568
101
0.600757
[ "MIT" ]
Azure/azure-iot-sdk-csharp
shared/src/AuthenticationType.cs
1,057
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("05....
37.891892
84
0.748217
[ "MIT" ]
vpaleshnikov/SoftUni-TechModule
ProgrammingFundamentals/01.C#IntroAndBasicSyntaxExercises/05.CharacterStats/Properties/AssemblyInfo.cs
1,405
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace BindableBase { // https://github.com/PrismLibrary/Prism/blob/master/Source/Prism/Mvvm/BindableBase.cs /// <summary> /// Implementation of <see cref="INotifyPropertyChanged"/> to si...
45
134
0.646013
[ "MIT" ]
devwock/uwp-samples
Samples/BindableBase/BindableBase.cs
3,827
C#
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; namespace Cortside.RestSharpClient { internal class NullDistributedCache : IDistributedCache { public byte[] Get(string key) { throw new System.NotSupportedException(); } publi...
31.8
129
0.647799
[ "MIT" ]
cortside/RestSharpClient
src/Cortside.RestSharpClient/NullDistributedCache.cs
1,272
C#
using System.Text.Json.Serialization; using Google.Cloud.Firestore; namespace Warehouse.Shared.Models { [FirestoreData] public class InputModel { [FirestoreDocumentId] [JsonPropertyName("ID")] public string Id { get; set; } [FirestoreProperty] public string InputTy...
22.409091
47
0.626775
[ "Apache-2.0" ]
kiulcode/BlazorFirebase
Warehouse/Shared/Models/InputModel.cs
495
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Waf.Applications; using System.Waf.UnitTesting; using System.Windows.Input; namespace Test.Waf.UnitTesting { [TestClass] public class CanExecuteChangedEventTest { [TestMethod] public void CommandCanE...
40.617021
145
0.617863
[ "MIT" ]
pskpatil/waf
src/System.Waf/System.Waf/System.Waf.Core.Test/UnitTesting/CanExecuteChangedEventTest.cs
3,820
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace Medikit.EID.Tlv { public enum SpecialOrganisations { SHAPE = 1, NATO = 2, FORMER_BLUE_CARD_HOLDER = 4, RESE...
26.076923
107
0.660767
[ "Apache-2.0" ]
ddonabedian/medikit
src/EID/Medikit.EID/Tlv/SpecialOrganisations.cs
341
C#
// https://docs.microsoft.com/en-us/visualstudio/modeling/t4-include-directive?view=vs-2017 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Bot.Builder.Solutions.Responses; namespace SkillSample.Responses.Sample { /// <summary> /// Contains bot ...
31.722222
92
0.711033
[ "MIT" ]
3ve4me/botframework-solutions
templates/Skill-Template/csharp/Sample/SkillSample/Responses/Sample/SampleResponses.cs
573
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.Diagnostics.Runtime.Utilities; using System; using System.Runtime.InteropServices; using System.Tex...
38.825959
169
0.653523
[ "MIT" ]
DamirAinullin/clrmd
src/Microsoft.Diagnostics.Runtime/src/DacInterface/SosDac.cs
39,488
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...
28.320988
145
0.612031
[ "Apache-2.0" ]
andyhopp/aws-sdk-net
sdk/src/Services/MarketplaceCatalog/Generated/AmazonMarketplaceCatalogConfig.cs
2,294
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using System.IO; using GME.MGA; namespace DynamicsTeamTest.Projects { public class CLM_LightFixture : XmeImportFixture { protected override string xmeFilename { get { re...
41.299296
123
0.633473
[ "MIT" ]
lefevre-fraser/openmeta-mms
test/DynamicsTeamTest/Projects/CLM_Light.cs
11,731
C#
using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace DotNetCoreAkkaWindowsService { internal static class Program { ...
30.255814
106
0.637971
[ "MIT" ]
yuriylsh/DotNetCoreAkkaWindowsService
Program.cs
1,303
C#
/******************************************************************************* * Copyright 2008-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...
37.611111
97
0.590842
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.S3/Model/SetBucketVersioningResponse.cs
1,354
C#
namespace AgileObjects.AgileMapper.UnitTests { using System; using Common; using TestClasses; #if !NET35 using Xunit; #else using Fact = NUnit.Framework.TestAttribute; [NUnit.Framework.TestFixture] #endif public class WhenMappingOverComplexTypes { [Fact] public void Sho...
29.184874
86
0.522891
[ "MIT" ]
WeiiWang/AgileMapper
AgileMapper.UnitTests/WhenMappingOverComplexTypes.cs
3,475
C#
namespace SlackAPI.Models { public class OwnedStampedMessage { public string value { get; set; } public string creator { get; set; } public string last_set { get; set; } } }
23.333333
44
0.604762
[ "MIT" ]
xavierjefferson/SlackAPI
SlackAPI/Models/OwnedStampedMessage.cs
212
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Interop; namespace WpfStylableWindow.StylableWindow { public static class SystemMenuManager { pub...
31.903226
122
0.624368
[ "MIT" ]
ApanLoon/Hexalyser
src/Hexalyser/Views/Components/WpfStylableWindow/Behaviours/SystemMenuManager.cs
1,980
C#
using Shapes.Library.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace Shapes.Library {// backing field public class CircleAdv : IShape { protected double _radius; public virtual double Radius //virtual: subclasses can override this { ...
25.387097
72
0.52859
[ "MIT" ]
1904-apr22-net/sadiki-code
Shapes/Shapes.Library/CircleAdv.cs
789
C#
using Gtk; using IFACARS.Types.Gtk; using UI = Gtk.Builder.ObjectAttribute; namespace IFACARS.Screens { public class InitialConnectionScreen : StackScreen { private const string _xmlName = "flight_initialConnection"; /* Glade objects */ [UI] private Stack initialConnectionScree...
29.62
93
0.622552
[ "MIT" ]
if-tools/IFACARS
IFACARS/Screens/InitialConnectionScreen.cs
1,481
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://ww...
50.25
411
0.73774
[ "MIT" ]
FonsecaSergio/azure-powershell
src/Storage/Commands.Storage/Properties/AssemblyInfo.cs
2,759
C#
namespace RecentRecordsDemo.Controllers { using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using EasyCaching.Core; using Microsoft.Extensions.Logging; using System.Linq; using System.Threading.Tasks; using System; /// <summary> /// Triggered by scheduling...
29.164557
100
0.521701
[ "MIT" ]
catcherwong-archive/2019
07/RecentRecordsDemo/RecentRecordsDemo/Controllers/CalculatiionController.cs
2,306
C#
using DBLayer; using System; using System.Collections.Generic; //using System.Data.SqlClient; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using WCFServiceCL; namespace FinalProjectFDM { public class Program { static void Main(string[] ar...
30.378378
99
0.507562
[ "MIT" ]
Y2PM/2WeekProjectSecondVersion
FinalProjectFDM/Program.cs
2,251
C#
using UnityEngine; using System.Collections; public class RaycastMovement : MonoBehaviour { public GameObject raycastHolder; public GameObject player; public GameObject raycastIndicator; public float height = 2; public bool teleport = true; public float maxMoveDistance = 10; private bool moving = false; ...
26.157303
127
0.664519
[ "Apache-2.0" ]
Nick0108/Museum_VR
Assets/Scripts/RaycastMovement.cs
2,330
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...
33.987342
175
0.605214
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/OperationDisplay.cs
2,685
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/d3d10.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
25.966102
145
0.681462
[ "MIT" ]
JeremyKuhne/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs
1,534
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Xunit; namespace ZiggyCreatures.Caching.Fusion.Tests { public static class SingleLevelTestsExtMethods { public static FusionCacheEntryOptions SetFactoryTimeoutsMs(this FusionCacheEntryOptions options, int? softTime...
39.165854
246
0.711836
[ "MIT" ]
Jaxelr/ZiggyCreatures.FusionCache
tests/ZiggyCreatures.FusionCache.Tests/SingleLevelTests.cs
24,089
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...
40.347518
847
0.527986
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/CallbackBasic.cs
39,823
C#
namespace Pandv.AriesDoc { public class DocConfig { public string RamlVersion { get; set; } public string StartupClassName { get; set; } public string BaseUrl { get; set; } public string DocDirectory { get; set; } public string PublishDllDirectory { get; set; } p...
32.230769
55
0.620525
[ "MIT" ]
CodeBabyBear/AriesDoc
src/dotnet-aries-doc/DocConfig.cs
421
C#
/* * MIT License * * Copyright (c) Microsoft Corporation. * * 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.566667
106
0.674871
[ "MIT" ]
Archish27/playwright-dotnet
src/Playwright/API/Generated/Options/RouteFulfillOptions.cs
3,291
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("Task1")] [assembly: AssemblyDescription("...
38.371429
84
0.739389
[ "MIT" ]
mariiamk/CSharp2018-2019
1module/Sr_1/Task1/Properties/AssemblyInfo.cs
1,346
C#
/*---------------------------------------------------------------- Copyright (C) 2015 Senparc 文件名:TenPayV3InfoCollection.cs 文件功能描述:微信支付V3信息集合,Key为商户号(MchId) 创建标识:Senparc - 20150211 修改标识:Senparc - 20150303 修改描述:整理接口 ---------------------------------------------------------------...
26.666667
103
0.503947
[ "MIT" ]
rentianhua/surfboard
Source/Foundation/Wechat/Senparc.Weixin.MP/TenPayLibV3/TenPayV3InfoCollection.cs
1,690
C#
namespace GitHub { using GitHub.App_Start; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { GlobalConfiguration.C...
30.136364
70
0.675716
[ "MIT" ]
carlitosd19/GigHubNew
GitHub/Global.asax.cs
665
C#
using Abp.AutoMapper; using FuelWerx.Generic; using System; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; using System.Runtime.CompilerServices; namespace FuelWerx.Generic.Dto { [AutoMapTo(new System.Type[] { typeof(Address) })] public class AddressDto { public virtual stri...
11.338583
51
0.621528
[ "MIT" ]
zberg007/fuelwerx
src/FuelWerx.Application/Generic/Dto/AddressDto.cs
1,440
C#
namespace MoreChests.Models { using System.Collections.Generic; internal class ChestData : ChestConfig { public int Depth { get; set; } public string Description { get; set; } public HashSet<string> DisabledFeatures { get; set; } public string DisplayName { get; set; } ...
33.888889
65
0.614754
[ "MIT" ]
ImJustMatt/ExpandedStorage
MoreChests/Models/ChestData.cs
612
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using DwollaV2; using DwollaV2.SerializableTypes; namespace dwolla.net.test { [TestClass] public class ContactsTest { public Contacts c = new Contacts(); [TestMethod] public void TestGet() { ...
19.896552
64
0.67591
[ "Unlicense" ]
501st-alpha1/dwolla.net-v2
dwolla.net.test/ContactsTest.cs
579
C#
using System.Windows.Automation; using TestStack.White.UIItems.Actions; namespace TestStack.White.UIItems.TableItems { public class TableRowHeader : UIItem { protected TableRowHeader() {} public TableRowHeader(AutomationElement automationElement, ActionListener actionListener) : base(au...
33.181818
143
0.745205
[ "Apache-2.0", "MIT" ]
JakeGinnivan/White
src/TestStack.White/UIItems/TableItems/TableRowHeader.cs
355
C#
using Microsoft.AspNetCore.Http; using System.Linq; namespace WalkingTec.Mvvm.Core.Extensions { public static class HttpContextExtention { /// <summary> /// 客户端 Ip 头 /// </summary> public const string REMOTE_IP_HEADER = "X-Forwarded-For"; public static string GetRemote...
24.535714
84
0.558952
[ "MIT" ]
WolfyCoder/WalkingTec.Mvvm
src/WalkingTec.Mvvm.Core/Extensions/SystemExtensions/HttpContextExtention.cs
697
C#
// Decompiled with JetBrains decompiler // Type: HalconDotNet.HBarCode // Assembly: halcondotnetxl, Version=17.12.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8 // MVID: 39799324-2494-4A83-8C57-2731D25BAE81 // Assembly location: C:\Program Files\MVTec\HALCON-17.12-Progress\bin\dotnet35\halcondotnetxl.dll using...
48.083824
280
0.610637
[ "Apache-2.0" ]
archerkyd/OpenHalcon
HalconDotNet/HalconDotNet/HBarCode.cs
32,699
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace MyAnimeWorld.App.Areas.Identity.Pages.Account { [AllowAnonymous] public class LockoutModel : PageModel { p...
19.368421
55
0.717391
[ "MIT" ]
kirrcho/Project
MyAnimeWorld.App/Areas/Identity/Pages/Account/Lockout.cshtml.cs
370
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CodeFirstDotNetCore.Models { public class Student { public int ID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Cr...
25.95
58
0.655106
[ "MIT" ]
shahedbd/CodeFirstASPDotNetCore
Sln.CodeFirstDotNetCore/CodeFirstDotNetCore/Models/Student.cs
521
C#
using System; using System.IO; using System.Text; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; namespace Org.BouncyCastle.Crypto.Generators { /** * Password hashing scheme BCrypt, * designed by Niels Provos and David Mazières, using the * String format and the Ba...
38.390728
136
0.519752
[ "MIT" ]
alextolp/bc-csharp
crypto/src/crypto/generators/OpenBsdBCrypt.cs
11,597
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace Wanghzh.Prism { public static class CollectionExtensions { public static Collection<T> AddRange<T>(this Collection<T> collection, IEnumerable<T> items) { if (collection == null) throw new System.Argumen...
30.789474
100
0.615385
[ "CC0-1.0" ]
598235031/Prism
Prism/CollectionExtensions.cs
585
C#
using System; using HttpReports; using HttpReports.Dashboard; using HttpReports.Dashboard.Implements; using HttpReports.Dashboard.Services; using HttpReports.Dashboard.Services.Language; using HttpReports.Dashboard.Services.Quartz; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using M...
34.007752
145
0.636426
[ "MIT" ]
fawdlstty/HttpReports
src/HttpReports.Dashboard/DependencyInjectionExtensions.cs
4,407
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
35.382696
185
0.580461
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/Group Contents/KryptonRibbonGroupTextBox.cs
42,533
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace Microsoft.VisualBasic.Activities { using System; using System.Globalization; using System.Reflection; using System.Activities.Expressions; using ...
32.236025
138
0.539692
[ "MIT" ]
GaryPlattenburg/CoreWF
src/UiPath.Workflow/Microsoft/VisualBasic/Activities/VisualBasicImportReference.cs
5,192
C#
using Newtonsoft.Json; namespace YouZan.Open.Api.Entry.Response.Crm { public class CrmCustomerPointsIncreaseResponse { /// <summary> /// 是否成功兼容Iron此为string的'true','false' /// </summary> [JsonProperty("is_success")] public string IsSuccess { get; set; } } }
22.214286
50
0.617363
[ "MIT" ]
gokeiyou/YouZanYunOpenSDK
YouZanYunOpenSDK/Api/Entry/Response/Crm/CrmCustomerPointsIncreaseResponse.cs
331
C#
// GE Aviation Systems LLC 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.ComponentModel; using System.Linq; using System.Reflection; namespace GEAviation.Fabrica.Definition { /// <sum...
50.543665
232
0.553052
[ "MIT" ]
GEAviationSystems/fabrica
Source/Fabrica/Definition/PartSpecification.cs
41,094
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; using VRMShaders; namespace UniGLTF { /// <summary> /// ImporterContext の Load 結果の GltfModel /// /// Runtime でモデルを Destory したときに関連リソース(Texture, Material...などの UnityEngine.Object)を自動的に Destroy する。 /// </summary> public clas...
31.89418
124
0.544625
[ "MIT" ]
0b5vr/UniVRM
Assets/UniGLTF/Runtime/UniGLTF/RuntimeGltfInstance.cs
6,144
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Docker.DotNet.Models; using DockerVirtualBoxExpose.Common.Entities; using Serilog; namespace DockerVirtualBoxExpose.DockerAgent.Docker { public static class ExposedServiceLabelParser { public...
36.365079
142
0.656045
[ "MIT" ]
Marcel-Lambacher/docker-virtualbox-expose
src/DockerVirtualBoxExpose.DockerAgent/Docker/ExposedServiceLabelParser.cs
2,293
C#
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For ...
27.373333
170
0.705675
[ "MIT" ]
trigger-death/ZeldaOracle
EditorLibraries/Xceed.Wpf.AvalonDock/Layout/LayoutPositionableGroup.cs
8,214
C#
// Url: https://leetcode.com/problems/basic-calculator-iv/ /* 770. Basic Calculator IV Hard Given an expression such as expression = "e + 8 - a + 5" and an evaluation map such as {"e": 1} (given in terms of evalvars = ["e"] and evalints = [1]), return a list of tokens representing the simplified expression, such as [...
51.031746
273
0.655365
[ "MIT" ]
tarunbatta/ipg
core/leetcode/770.cs
3,215
C#
using HarmonyLib; namespace DPS; #region Tracking attacks for DPS meter. [HarmonyPatch(typeof(Attack), nameof(Attack.Start))] public class Attack_Start { static void Postfix(Attack __instance, Humanoid character, bool __result, int ___m_currentAttackCainLevel) { if (__result && character == Player.m_localPlayer) ...
34.910112
110
0.747345
[ "Unlicense" ]
JereKuusela/valheim-dps
DPS/DPSTool.cs
3,107
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
33.588235
93
0.537903
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/General/Vector256/CreateScalar.Int64.cs
3,997
C#
namespace Tailspin.Web.Survey.Shared.Tests.Models { using System; using System.Collections.Generic; using System.Linq; using System.Web.Script.Serialization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tailspin.Web.Survey.Shared.Models; [TestClass] public class SurveyAnsw...
43.358804
135
0.644855
[ "MIT" ]
msajidirfan/cloud-services-to-service-fabric
cloudservice/SourceCode/Tailspin/Tailspin.Web.Survey.Shared.Tests/Models/SurveyAnswersSummaryFixture.cs
13,053
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01.School_Classes { public class Student : Human { private int grade; // Constructors public Student (int grade) { this.Grade = grade; ...
19.205128
81
0.455274
[ "MIT" ]
ekov1/TelerikAcademy-Exercises
alpha/C# OOP/OOP Principles - Part 1/01. School Classes/Student.cs
751
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> //--...
43.888889
186
0.611212
[ "MIT" ]
IntegerMan/MattEland.Shared
MattEland.Shared.WPF/Properties/Resources.Designer.cs
2,767
C#
using pst.encodables.ndb.blocks.subnode; using pst.interfaces; using pst.utilities; namespace pst.impl.ndb.subnodebtree { class SLEntriesFromSubnodeBlockExtractor : IExtractor<SubnodeBlock, SLEntry[]> { private readonly IDecoder<SLEntry> slEntryDecoder; public SLEntriesFromSubnodeBlockExtract...
28.090909
104
0.703883
[ "MIT" ]
Clancey/PST
pst/pst/impl/ndb/subnodebtree/SLEntriesFromSubnodeBlockExtractor.cs
620
C#
using UnityEngine; using UnityEngine.UI; using MyBox; public class MaxScoreSlider : MonoBehaviour { [SerializeField, Tooltip("The slider when selected the max score"), MustBeAssigned] private Slider maxScoreSlider; [SerializeField, Tooltip("The text to show the currently selected max score"), MustBeAss...
28.433333
98
0.725674
[ "MIT" ]
Kaynn-Cahya/SnapSlap
SnapSlap/Assets/Scripts/MaxScoreSlider.cs
855
C#
using System; using Kunicardus.Billboards.Core.ViewModels; using UIKit; using CoreGraphics; using HomeKit; using System.Collections.Generic; using Foundation; namespace iCunOS.BillBoards { public class AdViewCollection : UIView { // AdsListViewModel _viewModel; // AdView _oldAdView; // UIScrollView _scroll...
31.134615
144
0.688079
[ "MIT" ]
nininea2/unicard_app_base
Kunicardus.Billboards/iCunOS-BillBoards/VIews/Ads/AdViewCollection.cs
1,621
C#
// ReSharper disable RedundantUsingDirective // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable InconsistentNaming // ReSharper disable PartialTypeWithSinglePart // ReSharper disable PartialMethodWithSinglePart // ReSharper disable RedundantNameQualifier // TargetFrameworkVersion =...
30.028571
102
0.650809
[ "MIT" ]
ignatandrei/MVCPlanningPoker
PlanningPoker2013/PPDatabase/FakeMyDbContext.cs
2,102
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fhwk.Core.Tests.Model.ConfigModel { /// <summary> /// A base entity /// </summary> public class BaseEntityC { /// <summary> /// Gets the entity ID /...
19.8
53
0.611111
[ "Apache-2.0" ]
HomeroThompson/firehawk
Source/Firehawk/Firehawk.Core.Tests/Model/ConfigModel/BaseEntityC.cs
398
C#
using App.Domain.Entities.Users; using DapperExtensions.Mapper; namespace App.Domain.DataRepository._Db { /// <summary> /// Mapping for user table /// </summary> public class UserMapper : ClassMapper<User> { public UserMapper() { Table("User"); Map(x => x.Co...
22.157895
47
0.541568
[ "MIT" ]
EmitKnowledge/Signals-Boilerplate
20 Domain/23 Repository/App.Domain.DataRepository/_Db/DbMaps.cs
423
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1010_9fa6-e422bb07")] public void Method_1010_9fa6() { ii(0x1010_9fa6, 5); push(0x64); ...
88.237288
114
0.446936
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1010-9fa6.cs
20,824
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("Cha...
37.459459
84
0.74531
[ "MIT" ]
jbhalla86/Programming-in-C-Sharp-Exam-70-483-MCSD-Guide
Book70483Samples/Chapter 9/Properties/AssemblyInfo.cs
1,389
C#
using Main; using System.Collections.Generic; using System.IO; using System.Linq; using Utilities; using Xunit; namespace Tests.AlgorithmsTests.Observers { public class VertexDistanceObsTests { [Theory] [MemberData(nameof(GetInputFiles))] public void Test0(string inputFile) { ...
37.196429
149
0.550648
[ "MIT" ]
TXCodeDancer/OpenSource
Demos/QuikGraph/Tests/AlgorithmsTests/Observers/VertexDistanceObsTests.cs
2,085
C#
/* Copyright (C) 2018. Hitomi Parser Developers */ using System.Drawing; namespace Hitomi_Copy_3.VUI { public class VUIButton : VUIControl { public Font Font { get; set; } public string Text { get; set; } public VUIButton() { MouseMoveEvent = mouse_move_action; ...
25.904762
83
0.546875
[ "MIT" ]
dc-koromo/hitomi-copy
Hitomi Copy 3/VUI/VUIButton.cs
1,090
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace AzureB2CFunctions { public static class Ht...
33.710526
155
0.671351
[ "Apache-2.0" ]
rbrayb/AzureB2CFunctions
AzureB2CFunctions/HttpExample.cs
1,281
C#
using EngineeringUnits.Units; using System.Collections.Generic; using System; namespace EngineeringUnits { public partial class Irradiance { /// <summary> /// Get from SI Unit. /// </summary> /// <exception cref="ArgumentException">If value is NaN or Infinity.</exception> ...
47.926966
111
0.664752
[ "MIT" ]
AtefeBahrani/EngineeringUnits
EngineeringUnits/CombinedUnits/Irradiance/ObsoleteIrradianceSet.cs
8,533
C#
using System; using System.Text.RegularExpressions; namespace Line.Messaging.Webhooks { /// <summary> /// Object with the date and time selected by a user through a datetime picker action. The full-date, time-hour, and time-minute formats follow the RFC3339 protocol. /// </summary> public class Postba...
39.361702
169
0.537838
[ "MIT" ]
EvanceKao/LineMessagingApi
src/Line.Messaging/Webhooks/PostbackParams.cs
1,852
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MVPConf2020 { public partial class App : Application { public App() { InitializeComponent(); MainPage = new NavigationPage(new Views.MainPage()); } protected override void OnStart()...
16.413793
64
0.535714
[ "MIT" ]
ricardoprestes/mvpconf2020
src/MVPConf2020/App.xaml.cs
478
C#
using CountryValidation.Countries; using Xunit; namespace CountryValidation.Tests { public class AndorraValidatorTests { private readonly AndorraValidator _andorraValidator; public AndorraValidatorTests() { _andorraValidator = new AndorraValidator(); } [The...
30.660714
93
0.610367
[ "Apache-2.0" ]
anghelvalentin/CountryValidator
CountryValidator.Tests/CountriesValidators/AndorraValidatorTests.cs
1,719
C#
using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/update_follow_waybill_goods 接口的请求。</para> /// </summary> public class CgibinExpressDeliveryOpenMessageUpdateFollowWaybillGoodsRequest : WechatApiReq...
37.269231
244
0.598555
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinExpress/Delivery/OpenMessage/CgibinExpressDeliveryOpenMessageUpdateFollowWaybillGoodsRequest.cs
2,040
C#
using System; using GroupDocs.Conversion.Cloud.Sdk.Api; using GroupDocs.Conversion.Cloud.Sdk.Model; using GroupDocs.Conversion.Cloud.Sdk.Model.Requests; namespace GroupDocs.Conversion.Cloud.Examples.CSharp.LoadOptionsByDocumentType.Spreadsheet { /// <summary> /// This example demonstrates how to convert a spre...
34.978261
100
0.558732
[ "MIT" ]
groupdocs-conversion-cloud/groupdocs-conversion-cloud-dotnet-samples
Examples/GroupDocs.Conversion.Cloud.Examples.CSharp/LoadOptionsByDocumentType/Spreadsheet/ConvertSpreadsheetBySkippingEmptyRowsAndColumns.cs
1,609
C#
using EntityFramework.Extensions; using ServiceStation.InterfacesView; using ServiceStation.Model; using System; using System.Linq; using System.Threading.Tasks; using System.Data.Entity; namespace ServiceStation.Presenter { internal class PostPresenter : BasePresenter<IEditingPostView, Guid?> { inter...
28.154639
110
0.457342
[ "MIT" ]
Scronullik/ServiceStation
ServiceStation/ServiceStation/Presenter/PostPresenter.cs
2,823
C#
using System; using System.Linq; using Arbor.App.Extensions.Configuration; using Arbor.App.Extensions.DependencyInjection; using Arbor.KVConfiguration.Core; using Arbor.KVConfiguration.Urns; using JetBrains.Annotations; using Marten; using Marten.Services; using Microsoft.Extensions.DependencyInjection; using Milou.De...
37.122449
126
0.641561
[ "MIT" ]
milou-se/milou.deployer
src/Milou.Deployer.Web.Marten/MartenModule.cs
3,640
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 ...
39.682927
114
0.77689
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vpc/Vpc/Transform/V20160428/ModifyRouterInterfaceSpecResponseUnmarshaller.cs
1,627
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace McKenna_PracticalExam2 { class Program { static void Main(string[] args) { //calls and gather names Console.WriteLine("Welcome to DICETOWER!\n\n...
33.459016
109
0.546791
[ "MIT" ]
bmckenna75/GDAPS1
McKenna_PracticalExam2/McKenna_PracticalExam2/Program.cs
2,043
C#
using Infrastructure.Model.Domain; namespace Infrastructure.Tests.Data.Domain { public class OrderLine : Entity { public virtual Product Product { get; set; } public virtual int Quantity { get; set; } public virtual double...
24.159091
139
0.541863
[ "MIT" ]
huyrua/efprs
net45/Infrastructure.Tests/Data/Domain/OrderLine.cs
1,065
C#
// The MIT License (MIT) // Copyright (c) 2014 Ben Abelshausen // 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, co...
41.135135
80
0.72339
[ "MIT" ]
timminata/GTFS
GTFS.Tool/Switches/Processors/ProcessorFeedSource.cs
1,524
C#
namespace ClassLibrary.Objects { public class Company { public Company() { this.IsDeleted = false; } public int Id { get; set; } public string Name { get; set; } public bool IsDeleted { get; set; } } }
16.352941
43
0.507194
[ "MIT" ]
jeremyknight-me/presentations
2014-testable-webforms-mvp/ClassLibraryVersion02/Objects/Company.cs
280
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System.Net; using System.Threading.Tasks; using EducationProcess.Domain.Models; using EducationProcess.Services.Interfaces; namespace EducationProcess.Api.Controllers { [ApiController] [Route("api/[controller]")] public class Interm...
52.842593
206
0.744699
[ "MIT" ]
NotKohtpojiep/EducationProcess
src/Api/EducationProcess.Api/Controllers/IntermediateCertificationFormsController.cs
5,709
C#
using System.Collections.Generic; using System.Threading.Tasks; using Auraxis.Net.Helpers; using Flurl; using Flurl.Http; using Newtonsoft.Json.Linq; namespace Auraxis.Net { public class AuraxisClient { internal readonly Platform Platform; internal AuraxisClient(Platform platform) => Platform ...
30.925
93
0.63945
[ "MIT" ]
FurkanKambay/Auraxis.Net
src/Auraxis.Net/AuraxisClient.cs
1,237
C#
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Text; namespace Azure.Functions.Cli.Extensions { public static class HttpExtension { /// <summary> /// Clones HttpRequestMessage /// </summary> /// <param name="request">The Htt...
29.615385
89
0.539221
[ "MIT" ]
AnnMerlyn/azure-functions-core-tools
src/Azure.Functions.Cli/Extensions/HttpExtension.cs
1,927
C#
/* * This class was auto-generated from the API references found at * https://epayments-api.developer-ingenico.com/s2sapi/v1/ */ using Ingenico.Connect.Sdk; using Ingenico.Connect.Sdk.Domain.Definitions; using Ingenico.Connect.Sdk.Domain.Services; namespace Ingenico.Connect.Sdk.Merchant.Services { public class ...
32.682927
112
0.646269
[ "MIT" ]
AlexXx777/connect-sdk-dotnet
connect-sdk-dotnet-examples/Ingenico/Connect/Sdk/Merchant/Services/ConvertBankAccountExample.cs
1,340
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab_9_task_1 { internal class three { } }
14.076923
33
0.73224
[ "MIT" ]
GoonerMAK/SWE_4202_OOC-I
Lab_9/Lab_9_task_1/three.cs
185
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Experimental.Rendering.Universal; namespace UnityEditor.Experimental.Rendering.Universal { internal class SortingLayerDropDown { private class LayerSelectionData { ...
43.433121
178
0.636897
[ "MIT" ]
MusouCrow/CustomShaderGraph
Packages/com.unity.render-pipelines.universal@7.1.8/Editor/2D/SortingLayerDropDown.cs
6,819
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.IO; using System.Reflection; using Xenko.Core.Annotations; namespace Xen...
38.072874
185
0.644513
[ "MIT" ]
Phantom-D7/stride
sources/core/Xenko.Core/PlatformFolders.cs
9,404
C#
namespace SyncTool.FileSystem { public abstract class BaseVisitor<T> { public virtual void Visit(IDirectory directory, T parameter) { foreach (var subDir in directory.Directories) { ((dynamic)this).Visit((dynamic)subDir, parameter); ...
27
68
0.516461
[ "MIT" ]
ap0llo/SyncTool
src/SyncTool.FileSystem/main/BaseVisitor.cs
488
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using ACSE.Core.Encryption; using ACSE.Core.Saves; namespace ACSE.WinForms.Controls { internal sealed class StalkMarketEditor : FlowLayoutPanel { internal enum GameCubeStalkMarketTrend { ...
36.945783
129
0.418963
[ "MIT" ]
Cuyler36/ACSE
ACSE.WinForms/Controls/StalkMarketEditor.cs
12,268
C#