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 Syncfusion.XForms.Border; using Syncfusion.XForms.Cards; using Xamarin.Forms; using Xamarin.Forms.Internals; namespace EssentialUIKit.Helpers { /// <summary> /// This class is used to set margin or padding based on flow direction (LTR or RTL). /// </summary> [Preserv...
33.264706
118
0.538373
[ "MIT" ]
DarryStonem/essential-ui-kit-for-xamarin.forms
EssentialUIKit/Helpers/RTLHelper.cs
11,312
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("EdgeSerialPort")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
29.324324
57
0.745622
[ "MIT" ]
s-nlf-fh/PocketSocket
Software/Electron/app/dll/EdgeSerialPort/EdgeSerialPort/Properties/AssemblyInfo.cs
1,654
C#
using System; using System.Linq; using System.IO; using System.Threading; using System.Threading.Tasks; using NAudio.Wave; using NAudio.CoreAudioApi; namespace BisoProject { class AudioIO { MMDevice InputDevice; public bool ShortRecordStop = false; public delegate void VoiceRecorded(...
36.026128
157
0.476759
[ "MIT" ]
noname0310/BisoProject
BisoProject/BisoProject/AudioIO.cs
15,697
C#
//////////////////////////////////////////////////////////////////////////////// using UnityEngine; namespace WeChatWASM.MDV { public class Layout { Context mContext; BlockContainer mDocument; public Layout( Context context, BlockContainer doc ) { mContext ...
21.384615
81
0.46283
[ "MIT" ]
AlanSean/UnityGame3D
Assets/WX-WASM-SDK/UnityMarkdownViewer/Editor/Scripts/Layout/Layout.cs
836
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:2.4.0.0 // SpecFlow Generator Version:2.4.0.0 // // Changes to this file may cause incorrect behavior ...
41.130435
239
0.608879
[ "MIT" ]
ismail4u/Dynamics365.BDD
Microsoft.Dynamics365.UIAutomation.BDD/Features/Login.feature.cs
4,732
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.IO; using System.Linq; using System.Net.Http; using System.Threading; using System.Threadin...
43.403448
135
0.614205
[ "Apache-2.0" ]
snyk123/NuGetGallery
tests/NuGetGallery.Facts/Controllers/ODataFeedControllerFactsBase.cs
12,587
C#
using System.Collections.Generic; using Binance.Net.Enums; using CryptoExchange.Net.Converters; namespace Binance.Net.Converters { internal class MarginLevelStatusConverter : BaseConverter<MarginLevelStatus> { public MarginLevelStatusConverter() : this(true) { } public MarginLevelStatusConvert...
47.090909
133
0.737452
[ "MIT" ]
Andres-MMG/Binance.Net
Binance.Net/Converters/MarginLevelStatusConverter.cs
1,038
C#
#region Copyright (c) 2017 Leoxia Ltd // -------------------------------------------------------------------------------------------------------------------- // <copyright file="IShallowCloneable.cs" company="Leoxia Ltd"> // Copyright (c) 2017 Leoxia Ltd // </copyright> // // .NET Software Development // ...
38.311475
121
0.588789
[ "MIT" ]
leoxialtd/Leoxia.Abstractions
src/Leoxia.Abstractions/IShallowCloneable.cs
2,339
C#
//----------------------------------------------------------------- // All Rights Reserved. Copyright (C) 2021, DotNet. //----------------------------------------------------------------- using DotNet.Util; namespace DotNet.Business { /// <summary> /// BaseManager /// 通用基类部分 /// /// 修改纪录 ///...
37.753086
232
0.482341
[ "MIT" ]
cuiwenyuan/DotNet.Util
src/DotNet.Business/Util/Extend/BaseManager.GetPreviousAndNextId.cs
3,176
C#
namespace Animals.Animals { using System; public class Dog : Animal, IAnimal { public Dog(string name, int age) : base(age) { this.Name = name; } //public string Name { get; private set; } => removed because of Animal.cs public override...
22.166667
85
0.496241
[ "MIT" ]
petyakostova/Telerik-Academy
C#/_Demos C# OOP/05. OOP Principles - Part 2/Animals/Animals/Dog.cs
667
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...
35.266458
199
0.603822
[ "Apache-2.0" ]
MDanialSaleem/aws-sdk-net
sdk/src/Services/OpenSearchService/Generated/Model/UpdateDomainConfigRequest.cs
11,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Econom.Data.Static { public static class FoodDictionary { public static List<string> AdjectiveSuffixes = new List<string> { "ed", "ful", "ing", "ly", "ious"...
19.005666
116
0.394247
[ "MIT" ]
MariyaSteffanova/EcoMaster
Econom/Data/Common/Econom.Data.Static/FoodDictionary.cs
6,713
C#
/* See License.md in the solution root for license information. * File: TestUtmGrid.cs */ using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Geodesy; namespace UnitTestGeodesy { [TestClass] public class TestUtmGrid { UtmProjection utm = new UtmProjection(); private v...
30.148936
98
0.495178
[ "Apache-2.0" ]
juergenpf/Geodesy
UnitTestGeodesy/TestUtmGrid.cs
12,755
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore....
40.299065
180
0.584316
[ "MIT" ]
50Wliu/razor-tooling
src/Razor/test/Microsoft.VisualStudio.Editor.Razor.Test/DefaultVisualStudioRazorParserIntegrationTest.cs
30,186
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { Animator an; [Range(0,5)] public int velocidade = 2; public static int ponto; public GameObject portal; void Start () { an = GetComp...
19.781818
97
0.556066
[ "MIT" ]
DavidGomes8/Exercicio_BlendTree
Assets/Script/Player.cs
1,090
C#
/* Copyright (C) 2009-2012 Jeroen Frijters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commerc...
34.939616
254
0.765456
[ "Apache-2.0" ]
asegeda-softheme/mono
mcs/class/IKVM.Reflection/Universe.cs
38,189
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...
35.153153
131
0.620707
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/Internal/MarshallTransformations/GetGroupRequestMarshaller.cs
3,902
C#
namespace SaaSOvation.Collaboration.Domain.Model.Forums { public interface IPostRepository { Post Get(Tenants.Tenant tenantId, PostId postId); PostId GetNextIdentity(); void Save(Post post); } }
19.5
57
0.67094
[ "Apache-2.0" ]
GermanKuber-zz/IDDD_Samples_NET
iddd_collaboration/Domain.Model/Forums/IPostRepository.cs
236
C#
using DarkUI.Controls; using System.Windows.Forms; namespace Grimoire.UI { partial class Set { public static Set Instance = new Set(); /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; ///...
43.18239
140
0.573405
[ "CC0-1.0" ]
GentleGanku/GrimliteRev
Source Code/Grimlite Rev (Bordered)/Grimoire.UI/Set.Designer.cs
6,868
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.Reflection; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.Query; namespace Microsoft.EntityFrameworkCore { /// ...
48.916667
141
0.608177
[ "MIT" ]
CameronAavik/efcore
src/EFCore/EF.cs
3,522
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.Goog...
33.8
259
0.65765
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/OSConfig/V1/Inputs/OSPolicyAssignmentInstanceFilterInventoryArgs.cs
1,183
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace Altinn.Platform.Storage.Interface.Models { [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public class TextResource { /// <summary> /// Gets or sets the unique id of the text resource, format {org}-{app}-{lan...
29
110
0.558429
[ "BSD-3-Clause" ]
TheTechArch/altinn-studio
src/Altinn.Platform/Altinn.Platform.Storage/Storage.Interface/Models/TextResource.cs
2,088
C#
using System.IO; using LogSharp; using LogSharp.Appenders; namespace RollFileLogging { class Program { static void Main(string[] args) { InitializeLogging(); for (int x = 0; x < 1000; ++x) { Logger.Warning($"X is at {x}"); } } ...
27
120
0.577973
[ "MIT" ]
mohitisgreat/LogSharp
Examples/RollFileLogging/Program.cs
1,028
C#
using Net.FreeORM.SecureHash.Encryption; using Net.FreeORM.SecureHash.Test; using System; using System.Xml; namespace Net.FreeORM.SecureHash.Property { internal class PropertyBuilder { public static string Build(ConnectionTypes connType, string propertyName, string strProperty) { ...
31.013793
103
0.483433
[ "Apache-2.0" ]
mustafasacli/Net.FreeORM.Repo
Net.FreeORM/Net.FreeORM.SecureHash/Property/PropertyBuilder.cs
4,499
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...
37.25
300
0.611653
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/StaticSiteUserARMResource.cs
3,278
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
26.262774
136
0.527793
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/String/String/TestSet_504__param__04__NN.cs
3,600
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.md file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; us...
42.091503
204
0.622516
[ "MIT" ]
Rahul-tcs/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/ProjectSystem/Rules/ExportedRuleTests.cs
6,290
C#
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace Raygun.Druid4Net.IntegrationTests.Queries.Timeseries { [TestFixture] public class PagesAddedOverTimeByHour : TestQueryBase { private TimeseriesResult<QueryResult> _results; [SetUp] public void Execut...
27.45283
112
0.67354
[ "MIT" ]
MindscapeHQ/druid4net
Raygun.Druid4Net.IntegrationTests/Queries/Timeseries/PagesAddedOverTimeByHour.cs
1,457
C#
using MediatR; using Watchster.Domain.Entities; namespace Watchster.Application.Features.Commands { public class UpdateAppSettingsCommand : IRequest<AppSettings> { public int Id { get; set; } public string Section { get; set; } public string Parameter { get; set; } public str...
22.277778
65
0.648379
[ "MIT" ]
iulianPeiu6/Watchster
WatchsterSolution/Watchster.Application/Features/Commands/UpdateAppSettingsCommand.cs
403
C#
using System; using System.Reflection; using UnityEngine; using UnityEditor; using UnityEditorInternal; using Object = UnityEngine.Object; using Beans.Unity.Editor; namespace DeformEditor { /// <summary> /// Draws a reorderabe list of IComponentElements. /// </summary> /// <typeparam name="T">The type of componen...
35.029851
171
0.715807
[ "MIT" ]
ConstantineRudenko/Deform
Code/Editor/Data/ReorderableComponentElementList.cs
4,696
C#
namespace Havit.Business.BusinessLayerGenerator.Helpers { public enum CloneMode { /// <summary> /// Žádná kopie. /// </summary> No, /// <summary> /// Mělká kopie. /// </summary> Shallow, /// <summary> /// Hluboká kopie /// </summary> Deep } }
13
56
0.575092
[ "MIT" ]
havit/HavitFramework
Havit.Business.BusinessLayerGenerator/Helpers/CloneMode.cs
281
C#
using System; using System.Linq; using System.Collections.Generic; using System.Collections.ObjectModel; using Foundatio.Repositories.Models; using Foundatio.Skeleton.Core.Collections; using Foundatio.Skeleton.Core.Models; namespace Foundatio.Skeleton.Domain.Models { public class User : IHaveData, IIdentity, IHav...
32.537879
222
0.57858
[ "Apache-2.0" ]
FoundatioFx/Foundatio.Skeleton
api/src/Domain/Models/User.cs
4,297
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using TypesGenerators.ArrayTypes; using TypesGenerators.BaseTypes; using TypesGenerators.CollectionTypes; namespace TypesGenerators { public static class TypesGeneratorsInitialize { private static void AddGeneratorToDictiona...
51.754717
144
0.687204
[ "MIT" ]
RedDiamond69/Faker
TypesGenerators/TypesGeneratorsInitialize.cs
2,745
C#
/* * Copyright 2009-2010 Jon Klein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
40.081633
113
0.686558
[ "Apache-2.0" ]
shanecelis/PshSharp
src/Coevolution/CEFloatSymbolicRegression.cs
9,820
C#
using FileHelpers; namespace ExamplesFx { public class EnumConverterExample : ExampleBase { //-> Name:Enum Converter //-> Description:When you have a string field in your files that can be better handled if you map it to an enum. //-> FileIn:Input.txt /*ALFKI|Alfre...
33.681818
121
0.587944
[ "MIT" ]
3dsoft/FileHelpers
FileHelpers.Examples/Examples/18.Converters/50.EnumConverter.cs
2,226
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace HotFix { public class HelloWorld { public static void Start(HelloWorld self) { Debug.Log("Hello ILXTime, this method is injected"); ...
20.090909
64
0.61086
[ "MIT" ]
qq576067421/ILXTime
HotFixProject/HotFix/HotFix/Class1.cs
444
C#
using Company.Data; using Company.Domain; using Microsoft.EntityFrameworkCore; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Company.DBOperations.Repository { public class EmployeeOperations : IEmployeeOp { /// <summary> ...
32.112426
94
0.463239
[ "MIT" ]
Danotsonof/CompanyDashboard
CompanyApp/Company.DBOperations/Repository/EmployeeOperations.cs
5,429
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using HandyControlDemo.Data; namespace HandyControlDemo.ViewModel; public class ItemsDisplayViewModel : DemoViewModelBase<AvatarModel> { public ItemsDisplayViewModel(Func<List<AvatarModel>> getDataAction) { #if NET40 Ta...
24.258065
112
0.679521
[ "MIT" ]
Muzsor/HandyControl
src/Shared/HandyControlDemo_Shared/ViewModel/Main/ItemsDisplayViewModel.cs
754
C#
using System; using System.Collections.Generic; using System.Reflection; namespace JXml { public static class TypeResolver { public static readonly Dictionary<string, Type> CustomTypeNames = new Dictionary<string, Type>(); private static readonly Dictionary<string, Type> cache = new Dictionar...
25.811321
105
0.490497
[ "MIT" ]
Epicguru/JDef2
JXml/TypeResolver.cs
1,370
C#
using System; class TelerikLogo { static void Main() { //input int x = int.Parse(Console.ReadLine()); int y = x; int z = x / 2 + 1; //logic char asteriks = '*'; char dot = '.'; int length = 2 * z + 2 * y - 3; int height = y + 2 * x - 2; for (int i =...
24.891892
124
0.34962
[ "MIT" ]
pavelhristov/CSharpFundamentals
ExamPreparation28Dec2012/Problem4-TelerikLogo/TelerikLogo.cs
923
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // d...
37.1261
127
0.620379
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Tests/DotNetNuke.Tests.Core/Controllers/Messaging/SubscriptionControllerTests.cs
12,663
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...
37.486772
117
0.568384
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Media/Asset.cs
7,085
C#
using Microsoft.Win32; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.IO; using System.IO.Compression; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; namespace Y...
47.81069
424
0.546358
[ "MIT" ]
liuchenggong/Yorot
YorotUpdate/frmMain.cs
64,403
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Antiforgery.Internal; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.WebUtilities; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.FileProviders;...
41.018018
117
0.609269
[ "MIT" ]
BrandenMartin/SmartBundleTags
SmartBundleTags/FileVersionProvider.cs
4,555
C#
namespace NeoSharp.Core.Models { public enum HeaderType : byte { /// <summary> /// Block unavailable, no hashes, no TX data /// </summary> Header = 0, /// <summary> /// Block available, with TX hashes /// </summary> Extended = 1, } }
20.733333
52
0.491961
[ "MIT" ]
BSathvik/neo-sharp
src/NeoSharp.Core/Models/HeaderType.cs
313
C#
// Transcript from interactive session var wasmSDK = "C:/Users/stas_/Downloads/mono-wasm"; var build = "C:/Users/stas_/Downloads/build"; var files = new List<string>(); files.AddRange(Directory.GetFiles($@"{wasmSDK}/framework/", "*.dll")); files.AddRange(Directory.GetFiles($@"{wasmSDK}/wasm-bcl/wasm/", "*.dll")); files...
37
83
0.665424
[ "MIT" ]
StanislavSeregin/ngx-dotnet
projects/ngx-dotnet/build-script.cs
1,073
C#
#nullable enable using Maps.Graphics; using Maps.Rendering; using Maps.Utilities; using System; using System.Drawing; using System.Web; namespace Maps.API { internal class PosterHandler : ImageHandlerBase { protected override DataResponder GetResponder(HttpContext context) => new Responder(context); ...
49.809524
244
0.471192
[ "Apache-2.0" ]
SerpentineOwl/travellermap
server/api/PosterHandler.cs
15,692
C#
using Microsoft.AspNetCore.Mvc; namespace app.Controllers { [ApiController] [Route("ping")] public class PingController : ControllerBase { public IActionResult Ping() { return Ok("Pong!"); } } }
18.166667
48
0.669725
[ "MIT" ]
keotl/sgt-mapper
e2e_tests/app/Controllers/PingController.cs
218
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37.112245
195
0.63019
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/ProductViewAggregationValueUnmarshaller.cs
3,637
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace EveCM.Models { public class Profile { [Display(Name = "User Name")] public string UserName { get; set; } public string Email { get; se...
24.294118
79
0.690073
[ "MIT" ]
reecebedding/EveCM
EveCM/Models/Profile.cs
415
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using ZptSharp.Config; namespace ZptSharp.Mvc5 { /// <summary> /// Implementation of <see cref="IGetsRootContextBuilder"/> which sets up the /// 'root variables' which are made available to ZPT MVC5 views. /// </su...
45.759036
186
0.645603
[ "MIT" ]
csf-dev/ZPT-Sharp
MvcViewEngines/ZptSharp.Mvc5/MvcContextBuilderProvider.cs
3,798
C#
using CoachLancer.Data.Models; using CoachLancer.Data.Repositories; using CoachLancer.Data.SaveContext; using Moq; using NUnit.Framework; using System; namespace CoachLancer.Services.Tests.CoachServiceTests { [TestFixture] public class UpdateCoach_Should { [Test] public void T...
30.559322
88
0.588464
[ "MIT" ]
ikonomov17/CoachLancer
CoachLancer/CoachLancer.Services.Tests/CoachServiceTests/UpdateCoach_Should.cs
1,805
C#
namespace VsProjEdit.Models { class PropsTypeItem { public string Name { get; set; } public NewProjectModel.EPropsType Id { get; set; } public PropsTypeItem(string name, NewProjectModel.EPropsType id) { Name = name; Id = id; } } }
19.375
72
0.554839
[ "MIT" ]
honzaq/vsprojedit
Models/PropsTypeItem.cs
312
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpLearning.CrossValidation.TrainingTestSplitters; namespace SharpLearning.CrossValidation.Test.TrainingTestSplitters { [TestClass] public class NoShuffleTrainingTestIndexSplitterTest { [TestMethod] public void NoShuffleTrainingVa...
31.25
91
0.634667
[ "MIT" ]
JTOne123/SharpLearning
src/SharpLearning.CrossValidation.Test/TrainingTestSplitters/NoShuffleTrainingTestIndexSplitterTest.cs
752
C#
using System; using System.Globalization; using HotChocolate.Language; using HotChocolate.Properties; namespace HotChocolate.Types { public sealed class DateTimeType : ScalarType<DateTimeOffset, StringValueNode> { private const string _utcFormat = "yyyy-MM-ddTHH\\:mm\\:ss.fffZ"; private...
27.601449
98
0.498294
[ "MIT" ]
Elywejnak/hotchocolate
src/Core/Types/Types/Scalars/DateTimeType.cs
3,809
C#
using System; using System.Linq; using JetBrains.Annotations; using Lykke.Service.HFT.Core.Services; using Lykke.Service.HFT.Core.Services.ApiKey; using WampSharp.V2.Authentication; namespace Lykke.Service.HFT.Wamp.Security { public class WampSessionAuthenticatorFactory : IWampSessionAuthenticatorFactory { ...
42.064516
148
0.736963
[ "MIT" ]
LykkeCity/Lykke.Service.HFT
src/Lykke.Service.HFT.Wamp/Security/WampSessionAuthenticatorFactory.cs
1,306
C#
namespace NxBRE.FlowEngine { using System; using System.IO; using System.Collections; using System.Diagnostics; using System.Reflection; using System.Xml; using System.Xml.Schema; using System.Xml.XPath; using System.Xml.Xsl; using NxBRE.Util; using NxBRE.FlowEngine; using NxBRE.FlowEngine.C...
36.805915
281
0.632583
[ "MIT" ]
Peidyen/NxBRE
NxBRE3/Source/FlowEngine/BREImpl.cs
39,824
C#
#region License // Copyright 2012 Julien Lebosquain // // 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 // // ...
32.607143
104
0.740416
[ "Apache-2.0" ]
citizenmatt/ForTea
GammaJul.ReSharper.ForTea/Psi/Directives/OutputDirectiveInfo.cs
1,828
C#
using System; using TheArtOfDev.HtmlRenderer.Adapters; using TheArtOfDev.HtmlRenderer.Adapters.Entities; using TheArtOfDev.HtmlRenderer.Core.Dom; using TheArtOfDev.HtmlRenderer.Core.Entities; using TheArtOfDev.HtmlRenderer.Core.Utils; namespace TheArtOfDev.HtmlRenderer.Core.Handlers { /// <summary> /// Handler...
41.508076
248
0.557611
[ "BSD-3-Clause" ]
DotNetBrightener/PdfSharp.HtmlToPdf
DotNetBrightener.PdfSharp.HtmlToPdf/Core/Handlers/SelectionHandler.cs
28,267
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Microsoft...
27.470588
116
0.713062
[ "Apache-2.0", "MIT" ]
AnatoliB/azure-functions-host
src/WebJobs.Script/Description/Compilation/CompilationServiceException.cs
936
C#
// Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
36.95082
87
0.663709
[ "Apache-2.0" ]
asimarslan/hazelcast-csharp-client
Hazelcast.Net/Hazelcast.Client.Protocol.Codec/MapValuesCodec.cs
2,254
C#
/* * Copyright 2011 The Poderosa Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * $Id: OnPaintTimeStatistics.cs,v 1.1 2011/12/25 03:12:09 kzmi Exp $ */ using System; using System.Diagnostics; using System.Collect...
32.543689
122
0.578461
[ "Apache-2.0" ]
FNKGino/poderosa
Benchmark/OnPaintTimeStatistics.cs
3,354
C#
using System; using System.Collections.Generic; namespace CYM { public class BasePlotMgr<TData> : BaseGFlowMgr, IBasePlotMgr where TData : TDBasePlotData, new() { #region Callback value public event Callback<bool, bool, int> Callback_OnPlotMode; public event Callback<int> Call...
30.655271
108
0.499535
[ "MIT" ]
chengyimingvb/CYMUni
Plugins/_CYM/_Base/Manager/Plot/BasePlotMgr.cs
11,262
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
78.887597
145
0.71444
[ "MIT" ]
chsienki/source-build-reference-packages
src/referencePackages/src/system.text.encodings.web/5.0.1/lib/netstandard1.0/System.Text.Encodings.Web.cs
20,355
C#
using DotNetBlog.Core.Model.Topic; namespace DotNetBlog.Core.Model.Tag { public class TagModel { public int Id { get; set; } public string Keyword { get; set; } public TopicCountModel Topics { get; set; } } }
17.785714
51
0.618474
[ "MIT" ]
OmidID/DotNetBlog
src/DotNetBlog.Core/Model/Tag/TagModel.cs
251
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Text; using Bio.Algorithms.Alignment; using Bio.Algorithms.MUMmer; using Bio.Algorithms.SuffixTree; using Bio.Extensions; using Bio.IO.FastA; using Bio.SimilarityMatrices;...
46.921875
159
0.592075
[ "Apache-2.0" ]
dotnetbio/bio
Tests/Bio.Tests/Algorithms/Alignment/NUCmer/NUCmerP1TestCases.cs
72,074
C#
// Copyright(c) 2019 Ken Okabe // This software is released under the MIT License, see LICENSE. using System; using Xunit; public class TunrstileTest : IDisposable { SpyTurnstileController controllerSpoof; Turnstile t; public TunrstileTest() { controllerSpoof = new SpyTurnstileCont...
20.638889
65
0.566622
[ "MIT" ]
kokabe2/Turnstile
Turnstile/test/TurnstileTest.cs
2,229
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.Thread...
33.162722
161
0.594165
[ "MIT" ]
1Crazymoney/cs2cpp
CSharpSource/Symbols/Retargeting/RetargetingMethodSymbol.cs
11,211
C#
using BTDToolbox.Lib.Json; using ICSharpCode.AvalonEdit; using ICSharpCode.AvalonEdit.Folding; using System.Linq; using System.Threading.Tasks; using System.Windows.Media; namespace BTDToolbox.Wpf { public class JsonEditor : TextEditor { public FoldingManager FoldingMgr { get; private set; } ...
31.1
81
0.57717
[ "MIT" ]
gurrenm3/BTD-Toolbox
BTDToolbox.Wpf/Jet Stuff/JsonEditor.cs
1,868
C#
using System; using System.Collections.Generic; using Top.Api.Response; using Top.Api.Util; namespace Top.Api.Request { /// <summary> /// TOP API: taobao.fenxiao.orders.get /// </summary> public class FenxiaoOrdersGetRequest : ITopRequest<FenxiaoOrdersGetResponse> { /// <summary> //...
40.133333
421
0.62767
[ "MIT" ]
objectyan/MyTools
OY.Solution/OY.TopSdk/Request/FenxiaoOrdersGetRequest.cs
4,940
C#
namespace Dufry.Comissoes.Data.Context.Interfaces { public interface IContextManager<TContext> where TContext : IDbContext, new() { IDbContext GetContext(); void Finish(); } }
21.3
50
0.647887
[ "MIT" ]
robertohermes/Comissoes
Dufry.Comissoes.Data.Context/Interfaces/IContextManager.cs
215
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIGravehagCombatLogicParams : CAIMonsterCombatLogicParams { [Ordin...
33.62069
140
0.727179
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CAIGravehagCombatLogicParams.cs
947
C#
namespace Reductech.Sequence.Core.Tests.Steps; public partial class GetVariableTests : StepTestBase<GetVariable<SCLInt>, SCLInt> { /// <inheritdoc /> protected override IEnumerable<StepCase> StepCases { get { var sequence = new Core.Steps.Sequence<Unit> { ...
28.308824
83
0.451429
[ "Apache-2.0" ]
reductech/Core
Core.Tests/Steps/GetVariableTests.cs
1,927
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
46.835036
272
0.686179
[ "Apache-2.0" ]
DanMcNultyDev/roslyn
src/Workspaces/Core/Portable/Workspace/Solution/ProjectState.cs
32,084
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.4
153
0.634097
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DeviceManagementResourceAccessProfileBaseAssignCollectionResponse.cs
1,484
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...
31.692308
169
0.648058
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ContainerRegistry/V20170601Preview/Outputs/SourceResponse.cs
1,236
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using Abp.Runtime.Security; namespace PWD.Schedule.Web....
41.101266
148
0.582384
[ "MIT" ]
Faridium/pwd.schedule
src/PWD.Schedule.Web.Host/Startup/AuthConfigurer.cs
3,249
C#
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Event Reference Listener of type `bool`. Inherits from `AtomEventReferenceListener&lt;bool, BoolEvent, BoolEventReference, BoolUnityEvent&gt;`. /// </summary> [EditorIcon("atom-icon-orange")] [AddComponentMenu("Unity Atoms/Listen...
31.352941
151
0.705441
[ "MIT" ]
AdamRamberg/unity-atoms
Packages/BaseAtoms/Runtime/EventReferenceListeners/BoolEventReferenceListener.cs
533
C#
//--------------------------------------------------------------------------- // // <copyright file=IUndoUnit.cs company=Microsoft> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // // Description: // // See spec at http://avalon/uis/Stock%20Services/Undo%20spec.htm ...
29.217742
93
0.255589
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Framework/MS/Internal/Documents/IUndoUnit.cs
3,623
C#
using CadEditor; using System; //css_include shared_settings/BlockUtils.cs; //css_include shared_settings/SharedUtils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x10810, 20, 16*15, 16, 15); } public bool isBigBlockEditorEnabled() { return false; } public bool isBlockEdit...
49.857143
111
0.706304
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/breakthru/Settings_BreakThru-4.cs
1,396
C#
using Autodesk.Revit.DB; using Autodesk.Revit.UI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RvtElectrical { public class DeviceBox { public IList<Element> Box { get; private set; } //Stores element ...
39.748918
128
0.509693
[ "MIT" ]
jtprichard/RvtTCC2021
RvtElectrical/DeviceBox.cs
18,366
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; using Hg.DoomHistory.Properties; using Hg.DoomHistory.Types; namespace Hg.DoomHistory.Managers { public delegate void SettingEventHandler(); public class SettingManager { #region Fields...
31.385321
113
0.515444
[ "MIT" ]
HgAlexx/Hg.DoomHistory
Hg.DoomHistory/Managers/SettingManager.cs
10,265
C#
using System.Threading.Tasks; using AVF.MemberManagement.StandardLibrary.Tbo; using AVF.MemberManagement.ReportsBusinessLogic; namespace AVF.MemberManagement.Console { class Mitgliederbeitraege { internal async Task Main( ) { OutputTarget oTarget = new OutputTarget( "Mitgliederbeit...
38.73913
100
0.543771
[ "Apache-2.0" ]
aikido-forchheim/membermanagement
AVF.MemberManagement.Console/Mitgliederbeitraege.cs
1,784
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using Newtonsoft.Json; namespace ARKBreedingStats.ocr.PatternMatching { [JsonObject(MemberSerialization.OptIn)] public class RecognitionPatterns { private static readonly int[] OffsetX = { -1, 0, 1, 0 }; ...
35.547893
160
0.451929
[ "MIT" ]
AriesPlaysNation/ARKStatsExtractor
ARKBreedingStats/ocr/PatternMatching/RecognitionPatterns.cs
9,282
C#
using Microsoft.IdentityServer.Web.Authentication.External; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ADFSTK.ExternalMFA.AdapterTest { public class AuthenticationContext : IAuthenticationContext { public Authentication...
23.72
63
0.671164
[ "Apache-2.0" ]
canariecaf/adfstoolkit
src/ADFSToolkitExternalMFAAdapter/AdapterTest/AuthenticationContext.cs
595
C#
// MIT License // // Copyright (c) Microsoft Corporation. All rights reserved. // // 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 r...
33.212291
136
0.629773
[ "MIT" ]
Bhaskers-Blu-Org2/InsiderDevTour18-Labs
modernize/SourceCode/src/Microsoft.Knowzy.WPF/ViewModels/MainViewModel.cs
5,949
C#
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Vertical.Pipelines; namespace Vertical.Examples.Shared { public class SendWelcomeEmailTask : IPipelineMiddleware<AddCustomerRequest> { private readonly INotificationService _notificationService; priv...
34.230769
110
0.635206
[ "MIT" ]
verticalsoftware/vertical-pipelines
examples/Shared/SendWelcomeEmailTask.cs
1,335
C#
/* Copyright (C) 2011 Jeroen Frijters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial ...
21.509915
100
0.636244
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/IKVM.Reflection/CustomModifiers.cs
7,595
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ParticleAttractor : MonoBehaviour { // The particle system to operate on public ParticleSystem AffectedParticles = null; // Normalized treshold on the particle lifetime // 0: affect particles right after they...
42.235955
272
0.653099
[ "Apache-2.0" ]
exporl/lars-common
Tools/UtilScripts/ParticleAttractor.cs
3,761
C#
using SPICA.Formats.Common; using SPICA.Math3D; using SPICA.PICA; using SPICA.PICA.Commands; using System.IO; using System.Numerics; namespace SPICA.Formats.GFL2.Model.Material { public class GFMaterial : INamed { private const string MagicStr = "material"; public string Name { ...
37.293033
124
0.610748
[ "Unlicense" ]
AkelaSnow/SPICA
SPICA/Formats/GFL2/Model/Material/GFMaterial.cs
18,201
C#
using Microsoft.IdentityModel.Tokens; using System; using System.ComponentModel.DataAnnotations; using System.Security.Cryptography; namespace AuthService.AccessTokenHandler.Settings { public class AccessTokenSettings : IAccessTokenSettings { private string _publicKey; [Required] publ...
23.645833
101
0.548899
[ "MIT" ]
makankuy-azure/auth-service
src/AuthService.AccessTokenHandler/Settings/AccessTokenSettings.cs
1,137
C#
using System; using System.IO; using Helpers = HunterPie.Core.Definitions.Helpers; namespace HunterPie.Core.Integrations.DataExporter { /* This class will help HunterPie export the in-game data to a file, the file can be used by streamers to share their build, session, in-game data with their view...
28.712121
110
0.568338
[ "MIT" ]
Bombaclath97/HunterPie
HunterPie.Core/Core/Integrations/DataExporter/Exporter.cs
1,897
C#
namespace LedMatrixController.Server.Config.Source { public class FlatColorConfig : SourceConfig { public string Color { get; set; } } }
20.625
52
0.648485
[ "MIT" ]
patagonaa/led-matrix-control
src/LedMatrixController.Server/PipelineElements/Source/FlatColorConfig.cs
167
C#
using System; using System.Windows.Controls; namespace ProjectStatistics.View.HelpWindow.HelpContent { /// <summary> /// Логика взаимодействия для HelpAddPlayerView.xaml /// </summary> public partial class HelpAddPlayerView : UserControl { public HelpAddPlayerView() { I...
20.722222
56
0.627346
[ "MIT" ]
xEGOISTx/StatisticsProject
ProjectStatistics/View/HelpWindow/HelpContent/HelpAddPlayerView.xaml.cs
398
C#
using System; using System.Numerics; namespace MineCase.Algorithm { public class MathHelper { public static float DenormalizeClamp(float min, float max, float value) { if (value < 0) { return min; } else if (value > 1) ...
19.08
79
0.415094
[ "MIT" ]
CyberFlameGO/MineCase
src/MineCase.Algorithm/MathHelper.cs
477
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.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Diagnostics.Internal; using Microsoft.EntityFrameworkCore.SqlServe...
41.60197
289
0.592911
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
test/EFCore.SqlServer.FunctionalTests/Query/SimpleQuerySqlServerTest.Where.cs
71,807
C#
using System.Diagnostics.CodeAnalysis; using System.Globalization; using AJTaskManagerMobile.DataServices; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Ioc; using GalaSoft.MvvmLight.Views; using Microsoft.Practices.ServiceLocation; using AJTaskManagerMobile.Model; using AJTaskManagerMobile.Views; namespace AJTa...
38.005495
98
0.660546
[ "Apache-2.0" ]
qbasko/AJTaskManager
AJTaskManagerService/AJTaskManagerMobile/ViewModel/ViewModelLocator.cs
6,919
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; using Stardust.Interstellar.Rest.Annotations; using Stardust.Interstellar.Rest.Common; using Stardust.Interstellar.Rest.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Net...
26.049645
211
0.602777
[ "Apache-2.0" ]
JonasSyrstad/Stardust.Rest
NetCoreTestWeb/Controllers/ValuesController.cs
3,675
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 namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// <summary> /// An <see cref="IStatusCodeActionResult"/> that can be transformed to a more descriptive...
29.333333
108
0.729545
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorActionResult.cs
440
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace Vim.VisualStudio { /// <summary> /// Id of an EnvDTE.Command object. The Name portion of a Command is optional and doesn't /// figure into the name. The Guid and ID are unique to a command /// </summary> ...
27
95
0.523259
[ "Apache-2.0" ]
L1031353632/VsVim
Src/VsVimShared/CommandKeyBinding.cs
3,377
C#