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
namespace BundleTransformer.UglifyJs { /// <summary> /// Compression options /// </summary> public sealed class CompressionOptions { /// <summary> /// Gets or sets a flag for whether to enable support of <code>@ngInject</code> annotations /// </summary> public bool Angular { get; set;...
22.008065
102
0.597655
[ "Apache-2.0" ]
kapral/BundleTransformer
src/BundleTransformer.UglifyJS/CompressionOptions.cs
8,193
C#
using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Tests.Framework.EndpointTests; using static Tests.Framework.EndpointTests.UrlTester; namespace Tests.XPack.MachineLearning.DeleteExpiredData { public class DeleteExpiredDataUrlTests : UrlTestsBase { [U] public override async Task U...
37.722222
96
0.795287
[ "Apache-2.0" ]
AnthAbou/elasticsearch-net
src/Tests/Tests/XPack/MachineLearning/DeleteExpiredData/DeleteExpiredDataUrlTests.cs
681
C#
using System.Threading.Tasks; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentManagement.Display.Models; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using TransformalizeModule.Models; using TransformalizeModule.ViewModels; namespace ...
36.216216
146
0.74403
[ "Apache-2.0" ]
EasyOC/EasyOC
src/Modules/OrchardCore.Transformalize/Drivers/TransformalizeFilePartDisplayDriver.cs
1,340
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LibUsingFileFunctions.HardToTest { public class FileHandling { public FileHandling() { } public IEnumerable<string> Check...
23.558824
109
0.602996
[ "MIT" ]
WrapThat/WrapThat.System
Demo/LibUsingFileFunctions/HardToTestFileFunctions.cs
803
C#
using Microsoft.AspNetCore.Components; namespace AntDesign.Pro.Template.Pages.Account.Center { public partial class AvatarList { [Parameter] public RenderFragment ChildContent { get; set; } } }
23.777778
68
0.728972
[ "Apache-2.0" ]
1317907874/-
src/AntDesign.Pro/Pages/Account/Center/Components/AvatarList/AvatarList.razor.cs
214
C#
using HealthyNutGuysDomain.Models; using HealthyNutGuysDomain.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HealthyNutGuysDomain.Converters { public static class SpecialOfferConverter { public static SpecialOfferViewModel Convert(SpecialOff...
34.424242
102
0.662852
[ "MIT" ]
omikolaj/healthy-nut-guys-api
HealthyNutGuysDomain/Converters/SpecialOfferConverter.cs
1,138
C#
 namespace Arke.DSL.Step { public enum RecordingItems { InboundLine, OutboundLine, Bridge } }
11.909091
30
0.557252
[ "MIT" ]
sgnayak/arke
Arke.DSL/Step/RecordingItems.cs
133
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using HolidayLabelsAndListsHelper; //using GlobRes = AppWideResources.Properties.Resources; namespace ...
31.023622
86
0.552792
[ "MIT" ]
tonyrein/HolidayLabelsAndLists_Public
HolidayLabelsAndLists/frmFileMaintenance.cs
3,942
C#
using System; using System.Collections.Generic; using System.Linq; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace Confuser.Core { /// <summary> /// Provides a set of utility methods about dnlib /// </summary> // Token: 0x0200003D RID: 61 public static class DnlibUtils { /// <summary> /// Fin...
31.253937
174
0.654658
[ "MIT" ]
BedTheGod/ConfuserEx-Mod-By-Bed
Confuser.Core/DnlibUtils.cs
15,879
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------------------------------------...
37.892157
104
0.51436
[ "MIT" ]
Drizin/Harbin
src/AdventureWorks.Core.Domain/Entities/SpecialOffer.generated.cs
3,867
C#
using Sharpen; namespace android.os.storage { [Sharpen.Stub] public interface IMountShutdownObserver : android.os.IInterface { [Sharpen.Stub] void onShutDownComplete(int statusCode); } [Sharpen.Stub] public static class IMountShutdownObserverClass { [Sharpen.Stub] public abstract class Stub : android.o...
22.88
98
0.72465
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/android/os/storage/IMountShutdownObserver.cs
1,144
C#
using SFML.System; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CincCamins { public partial class MainForm { public void GenerateFromGameStatus(GameStatus game) { _pawns.Clear(); for (int i...
25.076923
72
0.402863
[ "MIT" ]
MaciejZ95/CincCamins
MainFormGameInterface.cs
980
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StructuremapWebApi.cs" company="Web Advanced"> // Copyright 2012 Web Advanced (www.webadvanced.com) // Licensed under the Apache License, Version 2.0 (the "License"); // you may no...
47.096774
119
0.643836
[ "BSD-3-Clause" ]
Marley365/clean-architecture-demo
Service/App_Start/StructuremapWebApi.cs
1,460
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
45.280702
150
0.676482
[ "MIT-feh" ]
akaegi/UnitsNet
UnitsNet.NanoFramework/GeneratedCode/Properties/AssemblyInfo.cs
2,581
C#
using System.Collections.Generic; namespace WebApplicationExample.Models { public static class Db { public static List<Client> Clients { get; }= new List<Client>{ new Client{Id=1, Name="Jim", EmployeeId=1}, new Client{Id=2, Name="John", EmployeeId=2}, ...
27.909091
77
0.514658
[ "MIT" ]
dimitris-papadimitriou-chr/Practical-Functional-CSharp
WebApplicationExample/Models/Db.cs
616
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Text; namespace BingoX.Helper { public static class ListBindingHelper { public static PropertyDescriptorCollection GetListItemProperties(Type ...
29.933824
117
0.467453
[ "Apache-2.0" ]
BingoRoom/BingoX
src/BingoX/BingoX.Core/Helper/ListBindingHelper.cs
8,144
C#
namespace CloudNativeKit.Infrastructure.Tracing.Jaeger { public class JaegerOptions { public bool Enabled { get; set; } public string ServiceName { get; set; } public string UdpHost { get; set; } public int UdpPort { get; set; } public int MaxPacketSize { get; set; } ...
32.266667
59
0.609504
[ "MIT" ]
HardikKSavaliya/coolstore-microservices
src/building-blocks/CloudNativeKit.Infrastructure.Tracing/Jaeger/JaegerOptions.cs
484
C#
// Url:https://leetcode.com/problems/sales-analysis-i /* 1082. Sales Analysis I Easy // {{ MISSING QUESTION }} */ using System; namespace InterviewPreperationGuide.Core.LeetCode.Solution1082 { // {{ MISSING CODE }} }
14.0625
62
0.702222
[ "MIT" ]
tarunbatta/leetcodeScraper
problems/cs/1082.cs
225
C#
namespace Vehicles.Models { public class Truck : Vehicle { private const double ADDITIONAL_CONSUMPTION_PER_KM = 1.6; private const double REFUEL_EFFICIENCY_PERCENTAGE = 0.95; public Truck(double fuelQuantity, double fuelConsumption) : base(fuelQuantity, fuelConsumption) ...
25.909091
89
0.65614
[ "MIT" ]
A-Manev/SoftUni-CSharp-Advanced-january-2020
CSharp OOP/Polymorphism - Exercise/01. Vehicles/Models/Truck.cs
572
C#
using System; using System.Windows; namespace Amoeba.Interface { /// <summary> /// RelationWindow.xaml の相互作用ロジック /// </summary> partial class RelationWindow : Window { public RelationWindow(RelationWindowViewModel viewModel) { this.DataContext = viewModel; vi...
21.9
64
0.555556
[ "MIT" ]
Joeyawesome/Amoeba
Amoeba.Interface/Wpf/Sources/Mvvm/Windows/Relation/RelationWindow.xaml.cs
675
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace HotChocolate.Types.Sorting { public static class SortExpressionBuilder { private static readonly ConstantExpression _null = Expression.Constant(null, typeof(object)); public ...
26.444444
80
0.662465
[ "MIT" ]
Coldplayer1995/GraphQLTest
src/Core/Types.Sorting/Expressions/SortExpressionBuilder.cs
714
C#
#if UNITY_EDITOR namespace CodeStage.AdvancedFPSCounter.Editor { using UI; using Labels; using UnityEditor; using UnityEngine; [CustomEditor(typeof(AFPSCounter))] internal class AFPSCounterEditor: Editor { private AFPSCounter me; private SerializedProperty operationMode; private SerializedProperty fps;...
43.06354
270
0.749306
[ "MIT" ]
DuLovell/Battle-Simulator
Assets/Plugins/CodeStage/AdvancedFPSCounter/Editor/Scripts/AFPSCounterEditor.cs
28,467
C#
using Xunit; namespace ReproXunitIssueMakeCollectionAttributeInheritable { public class TestsUsingSystemConsoleAttribute //: CollectionAttribute { public TestsUsingSystemConsoleAttribute() //: base("Tests using System.Console") { } } }
23.833333
73
0.681818
[ "MIT" ]
paulroho/Xunit.ReproIssueMakeCollectionAttributeInheritable
ReproXunitIssueMakeCollectionAttributeInheritable/TestsUsingSystemConsoleAttribute.cs
288
C#
using Shared.Contracts.Services; using Shared.Domains.Enumerations; namespace Shared.Contracts.Factories { public interface ICacheFactory { ICacheService GetCacheService(CacheType cacheServiceType); } }
20.454545
66
0.764444
[ "MIT" ]
RomeshAbeyawardena/Shared
Shared.Contracts/Factories/ICacheFactory.cs
227
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("Domain.Ics.Resources")] [assembly:...
42.736842
85
0.757389
[ "Unlicense" ]
Slesa/Poseidon
old/src/2nd/Domain.Ics.Resources/Properties/AssemblyInfo.cs
814
C#
using System; using RogueElements; using RogueEssence; using RogueEssence.Dungeon; using RogueEssence.Data; namespace PMDC.Dungeon { [Serializable] public class AvoidAlliesPlan : AvoidPlan { public AvoidAlliesPlan(AIFlags iq) : base(iq) { } protected AvoidAlliesPlan(AvoidAlliesPlan other)...
28.130435
82
0.693972
[ "MIT" ]
PMDCollab/PMDC
PMDC/Dungeon/AI/AvoidAlliesPlan.cs
649
C#
namespace MailRu.Cloud.WebApi { /// <summary> /// Object to response parsing. /// </summary> internal enum PObject { /// <summary> /// Authorization token. /// </summary> Token = 0, /// <summary> /// List of items. //...
20.428571
40
0.38986
[ "MIT" ]
lsoft/CHD
MailRu.Cloud.WebApi/PObject.cs
572
C#
// EventAttributes.cs // // This code was automatically generated from // ECMA CLI XML Library Specification. // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)] // Created: Wed, 5 Sep 2001 06:39:03 UTC // Source file: all.xml // URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSha...
29.671642
78
0.714286
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Reflection/EventAttributes.cs
1,988
C#
using Abp.EntityFrameworkCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.EntityFrameworkCore; using FirstProject.EntityFrameworkCore.Seed; namespace FirstProject.EntityFrameworkCore { [DependsOn( typeof(FirstProjectCoreModule), typeof(AbpZeroCoreEntityFramew...
32.54902
120
0.598193
[ "MIT" ]
khanhly-dev/Abp_FirstProject
aspnet-core/src/FirstProject.EntityFrameworkCore/EntityFrameworkCore/FirstProjectEntityFrameworkModule.cs
1,662
C#
using System; using System.IO; using Spark.Serialization; using Xunit; /* Copyright (c) 2015 Spark Software Ltd. * * 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, inc...
44.818182
158
0.66856
[ "MIT" ]
cbaxter/infrastructure
src/Core.Tests/Serialization/DeflateSerializerTests.cs
2,467
C#
/************************************************************************************ * @author wangjian * 手动清除Player Preferences ,在window上Preferences存储在注册表中 ************************************************************************************/ using UnityEditor; using UnityEngine; namespace SampleFramework.UUtil...
33.166667
151
0.497487
[ "MIT" ]
waneta/uutils_public
SampleFramework/Editor/ClearPlayerPrefs.cs
832
C#
using NetOffice.Attributes; using NetOffice.CollectionsGeneric; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using NetRuntimeSystem = System; namespace NetOffice.OfficeApi { /// <summary> /// DispatchInterface DiagramNodes /// SupportByVersion Off...
35.35514
175
0.624637
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ehsan2022002/VirastarE
Office/Office/DispatchInterfaces/DiagramNodes.cs
7,568
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
45.980392
116
0.492692
[ "MIT" ]
Azure/azure-iiot-components
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Testing/src/Servers/ServerFactory.cs
25,795
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace DV_Json.DataSource.Generator { public class Program { public static void Main(string[] args) { Common.DV_Client c...
33.907407
82
0.471327
[ "MIT" ]
alchemz/Unity_DataVisualization
DV_Json/DataSource/DV_Json.DataSource.Generator/Program.cs
1,833
C#
using System; using System.Collections.Generic; using System.Collections; namespace BEPUutilities.DataStructures { ///<summary> /// List of objects which fires events when it is changed. ///</summary> ///<typeparam name="T">Type of elements in the list.</typeparam> public class ObservableList<T> :...
46.910448
994
0.610563
[ "Unlicense", "MIT" ]
MSylvia/Lemma
BEPUutilities/DataStructures/ObservableList.cs
9,431
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System.Collections.Generic; using System.Configuration; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration...
38
116
0.74714
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/EnterpriseLibrary/Data/Src/Data/Configuration/Manageability/DatabaseSettingsWmiMapper.cs
1,796
C#
using Sandbox; [CharacterBase] public class CharacterBoyfriend : CharacterBase { public CharacterBoyfriend(){ id = "boyfriend"; name = "Boyfriend"; idleFrames = 6; } } [CharacterBase] public class CharacterBoyfriendPixel : CharacterBase { public CharacterBoyfriendPixel(){ ...
18.428571
52
0.634109
[ "Apache-2.0" ]
CarsonKompon/sbox-funkin
code/characters/Boyfriends.cs
645
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...
37.884615
189
0.745178
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleHeaderArgs.cs
985
C#
#if NET461 || UNO_REFERENCE_API || __MACOS__ #pragma warning disable CS0067, CS649 #endif using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Windows.Input; using Windows.System; using Uno.Extensions; using Uno.UI.Common; using Windows.UI.Tex...
30.542331
313
0.751326
[ "Apache-2.0" ]
Arieldelossantos/uno
src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.cs
24,894
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Lidgren.Core; using System.Numerics; namespace UnitTests { [TestClass] public class SpanExtensionsTests { [TestMethod] public void Test7BitEncoding() { byte[] arr = new byte[1024]; // test variable lengths var numbers = new ul...
30.98
83
0.63116
[ "MIT" ]
lidgren/Lidgren.Core
tests/SpanExtensionsTests.cs
4,649
C#
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2017 // by DotNetNuke 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 restrict...
32.573034
129
0.688513
[ "MIT" ]
Expasys/Expasys.Web.Platform
DNN Platform/Library/Services/Mobile/IRedirection.cs
2,902
C#
//------------------------------------------------------------------------------ // <auto-generated>This code was generated by LLBLGen Pro v4.1.</auto-generated> //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.Runtime.Serializatio...
42.395349
211
0.706528
[ "MIT" ]
FransBouma/RawDataAccessBencher
EF6/Model/EntityClasses/ProductDescription.cs
1,825
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
37.2625
86
0.54059
[ "Apache-2.0" ]
phanhoanganh9x/ANNsys
IM_PJ/bao-cao-nhan-vien.aspx.designer.cs
5,964
C#
// 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 regenerated. namespace Mi...
70.052632
480
0.692036
[ "MIT" ]
Agazoth/azure-powershell
src/Functions/generated/api/Models/Api20190801/FunctionSecrets.PowerShell.cs
13,121
C#
using System.Collections.Generic; using System.Formats.Asn1; using Xunit; namespace Codemations.Asn1.Tests { public class AsnExtensionsTests { public static IEnumerable<object[]> Data { get { yield return new object[] {new Asn1Tag(TagClass.ContextSpecifi...
35.782609
101
0.586877
[ "MIT" ]
aprochwicz/AP.Asn1
tests/Codemations.Asn1.Tests/AsnExtensionsTests.cs
1,648
C#
using System.Linq; using Ncqrs.Eventing.Sourcing; using Xunit; namespace Ncqrs.Eventing.Storage.NoDB.Tests.EventStoreTests { public class when_getting_the_events_since_a_specific_version : NoDBEventStoreTestFixture { private object[] _returnedEvents; [Theory, InlineData(0), InlineDa...
35.809524
123
0.646277
[ "Apache-2.0" ]
adamcogx/ncqrs
Framework/src/Ncqrs.Tests/Eventing/Storage/NoDB/EventStoreTests/when_getting_the_events_since_a_specific_version.cs
754
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.FinancialManagement { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = fals...
28.68
155
0.81311
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.FinancialManagement/Get_OrganizationsOutput.cs
717
C#
namespace Aris.Moe.OverlayTranslate.Server.Image.Fetching.Error { public class ExternalServerError : CorrelatedError { public ExternalServerError() : base("Failed to load the image due to an error on the target server that hosts the image. Maybe try again later?") { } } }
34.333333
153
0.692557
[ "MIT" ]
Amiron49/Aris.Moe.Ocr.Translation.Overlay
Aris.Moe.OverlayTranslate.Server/Image/Fetching/Error/ExternalServerError.cs
311
C#
namespace Reportr.Components { using Reportr.Components.Collections; using Reportr.Components.Graphics; using Reportr.Components.Metrics; using Reportr.Components.Separators; using System; /// <summary> /// Various extension methods for the report component type enum /// </summary>...
31.584906
79
0.557945
[ "MIT" ]
JTOne123/Reportr
src/Reportr/Components/ReportComponentTypeExtensions.cs
1,676
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace SendIt.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Collection<P...
25.571429
80
0.674115
[ "Unlicense", "MIT" ]
truekasun/SendIt
SendIt/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
537
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ScreenSystemLibrary; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework; namespace TowerDefense { public class HelpScreen : GameScreen { GameScreen scre...
28.43038
110
0.569457
[ "MIT" ]
PHStudios/TowerDefense-Legacy
TowerDefense/TowerDefense/TowerDefense/Screens/HelpScreen.cs
2,248
C#
using Newtonsoft.Json; namespace MailChimp.Net.Models { public class MemberStats { [JsonProperty("avg_open_rate")] public double AverageOpenRate { get; set; } [JsonProperty("avg_click_rate")] public double AverageClickRate { get; set; } } }
22.076923
52
0.648084
[ "MIT" ]
Argenteneo/MailChimp.Net
MailChimp.Net/Models/MemberStats.cs
289
C#
using BasicTestApp.Client; using Blazorise.Tests.Helpers; using Bunit; using Xunit; namespace Blazorise.Tests.Components { public class TextEditComponentTest : ComponentTestFixture { public TextEditComponentTest() { BlazoriseConfig.AddBootstrapProviders( Services ); } ...
32.371795
77
0.558812
[ "MIT" ]
AhmedHemdan21/Blazorise
Tests/Blazorise.Tests/Components/TextEditComponentTest.cs
2,527
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace NnCase.Designer.Modules.GraphEditor.Controls { public class ElementItemsControl : ListBox { protected override DependencyOb...
23
74
0.670165
[ "Apache-2.0" ]
svija/nncase
src/NnCase.Designer.Modules.GraphEditor/Controls/ElementItemsControl.cs
669
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("Lif...
37.567568
84
0.746043
[ "MIT" ]
DevStrikerTech/Elevator-Control-System
Lift_ver2.0/Properties/AssemblyInfo.cs
1,393
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.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
44.405172
217
0.570142
[ "MIT" ]
Zellcore/Silk.NET
src/Microsoft/Silk.NET.DXGI/Structs/IDXGIFactory1.gen.cs
25,755
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayMarketingVoucherTemplateDeleteModel Data Structure. /// </summary> [Serializable] public class AlipayMarketingVoucherTemplateDeleteModel : AopObject { /// <summary> /// 券...
31.894737
179
0.658416
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/AlipayMarketingVoucherTemplateDeleteModel.cs
648
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _14.LINQ_Filtering_operator { class Program { static void Main(string[] args) { // 1. Datasource List<string> names = new List<string>() { ...
22.659091
72
0.44333
[ "Apache-2.0" ]
VanchoDimitrov/Linq
14.LINQ-Filtering-operator/Program.cs
999
C#
using System.Collections.Generic; using Tools; using UnityEngine; namespace LD47 { [CreateAssetMenu(menuName = "LD47/Managers/Instruction Manager")] public class InstructionManager : ScriptableManager { [SerializeField] private List<Instruction> _instructions = null; p...
24.8125
79
0.531486
[ "MIT" ]
LRP500/LD47
Assets/Scripts/Instruction/InstructionManager.cs
1,590
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.Comol.Modules.EduPath.Domain { [Serializable] public class dtoActivity:dtoGenericItem { public bool isRuleChecked { get; set; } public StatusStatistic statusStat { get; set; } publi...
31.074074
141
0.583433
[ "MIT" ]
EdutechSRL/Adevico
3-Business/3-Modules/lm.Comol.Modules.EduPath/Domain/DTO/dtoActivity.cs
1,680
C#
namespace TIKSN.Progress { public class OperationProgressReport : ProgressReport { public OperationProgressReport(double percentComplete, string currentOperation = null, string statusDescription = null) : base(percentComplete) { this.CurrentOperation = currentOperation; ...
35.892857
98
0.648756
[ "MIT" ]
tiksn/TIKSN-Framework
TIKSN.Core/Progress/OperationProgressReport.cs
1,005
C#
// IsolatedStorageScope.cs // // This code was automatically generated from // ECMA CLI XML Library Specification. // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)] // Created: Wed, 5 Sep 2001 06:41:21 UTC // Source file: all.xml // URL: http://devresource.hp.com/devresource/Docs/TechPapers...
31.885246
78
0.73419
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageScope.cs
1,945
C#
using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading; using ServiceStack; using ServiceStack.Configuration; using System; namespace Funq { public partial class Container : IResolver { public ICo...
39.21875
111
0.573207
[ "Apache-2.0" ]
bodell/ServiceStack
src/ServiceStack/Funq/Container.Adapter.cs
9,785
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu....
28.209302
103
0.548228
[ "MIT" ]
akmvihfan/osu-RP
osu.Game.Rulesets.RP/UI/Piece/GlowPiece.cs
1,223
C#
using System; using System.Collections.Generic; #nullable disable namespace ZM_CS234N_Term_Project.Models { public partial class IngredientSubstitute { public int IngredientId { get; set; } public int SubstituteIngredientId { get; set; } public virtual Ingredient Ingredient { get; se...
23.647059
68
0.701493
[ "Apache-2.0" ]
ZabienMcKeeLCC/ZM_CS234N_Term_Project
ZM_CS234N_Term_Project/Models/IngredientSubstitute.cs
404
C#
namespace Calculator { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
52.662366
171
0.598824
[ "MIT" ]
vangiaurecca/Course_CSharp_Basic
Calculator/Calculator/Form1.Designer.cs
24,600
C#
using AutoMapper; using AutoMapper.Extensions.ExpressionMapping; using DonateTo.ApplicationCore.Entities; using DonateTo.ApplicationCore.Interfaces; using DonateTo.ApplicationCore.Interfaces.Services; using DonateTo.ApplicationCore.Models.Pagination; using DonateTo.ApplicationCore.Common; using System; using System.Co...
40.38961
166
0.623151
[ "Unlicense" ]
cognizant-softvision/donate-to
src/DonateTo.Services/Services/LogService.cs
6,222
C#
// // This test finds all possible hash algorithms and sees if they // perform equally with GetHash vs Streaming model. // using System; using System.Security.Cryptography; using System.Reflection; using System.Collections; using Microsoft.SPOT.Platform.Test; using Microsoft.SPOT.Cryptoki; namespace Microsoft.SPOT.Pl...
29.445545
100
0.45612
[ "Apache-2.0" ]
Sirokujira/MicroFrameworkPK_v4_3
Test/Platform/Tests/CLR/System/Security/HASHING/Desktop/GetHashvsStream.cs
5,948
C#
using System.Threading.Tasks; using AutoFixture.NUnit3; using FluentAssertions; using Moq; using NUnit.Framework; using SFA.DAS.EmployerDemand.Jobs.Application.Services; using SFA.DAS.EmployerDemand.Jobs.Domain.Interfaces; using SFA.DAS.EmployerDemand.Jobs.Infrastructure.Api.Requests; using SFA.DAS.EmployerDemand.Jobs...
35.911765
107
0.695332
[ "MIT" ]
SkillsFundingAgency/das-employerdemand-jobs
src/SFA.DAS.EmployerDemand.Jobs.UnitTests/Application/Services/WhenGettingDemandsOlderThan3Years.cs
1,223
C#
using Common; using GraphDataService.Query.Contract; using log4net; using Neo4j.Driver.V1; using System; using System.Collections.Generic; using System.Linq; namespace GraphDataService.Query { public class GraphDataServiceQuery : IGraphDataServiceQuery { private const string GetEdgesCypher = "MATCH (n...
31.035714
95
0.47756
[ "MIT" ]
h4mu/GraphVisualization
GraphDataService.Query/GraphDataServiceQuery.cs
2,609
C#
//---------------------------------------------- // Ruler 2D // Copyright © 2015-2020 Pixel Fire™ //---------------------------------------------- namespace R2D { using UnityEditor; using System.Collections.Generic; public class R2DV_PanelSettings { static R2DV_PanelSettings instance; public sta...
26.656489
120
0.658076
[ "MIT" ]
elitegoliath/ld43-yank-train
LD43 Yank Train/Assets/Dependencies/R2D/R2DScripts/Editor/Views/R2DV_PanelSettings.cs
3,495
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
28.272727
106
0.729904
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter23/EmailValidationTrigger/EmailValidationTrigger/EmailValidationTrigger.UWP/MainPage.xaml.cs
935
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...
37.635992
190
0.573408
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/Abs.Vector128.Single.cs
18,404
C#
using JT808.Protocol.Attributes; using JT808.Protocol.JT808Formatters.MessageBodyFormatters; namespace JT808.Protocol.MessageBody { /// <summary> /// 事件报告 /// 0x0301 /// </summary> [JT808Formatter(typeof(JT808_0x0301Formatter))] public class JT808_0x0301 : JT808Bodies { /// <summar...
21.842105
59
0.614458
[ "MIT" ]
NealGao/JT808
src/JT808.Protocol/MessageBody/JT808_0x0301.cs
429
C#
using UnityEngine; using System.Collections; using System; [System.Serializable] public class Enemy : MonoBehaviour { public float xSpeed = 0f; public float ySpeed = 0f; public float speed = 3f; public int health; public int damage; public bool impact = false; public float impactTime; ...
31.363636
141
0.506522
[ "MIT" ]
PavelVjalicin/PDS_unity
Assets/Resources/Enemy.cs
6,902
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace EIS.WebBase.SysFolder.WorkFlow { pu...
26.255814
81
0.430469
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/SysFolder/WorkFlow/SelectUser.aspx.designer.cs
1,477
C#
namespace Chapter2.SRP.Decorator { public abstract class PersistorDecorator<T> : IPersistor<T> { protected IPersistor<T> objectToBeDecorated; public PersistorDecorator(IPersistor<T> objectToBeDecorated) { this.objectToBeDecorated = objectToBeDecorated; } pu...
25.111111
68
0.650442
[ "MIT" ]
wagnerhsu/packt-Enterprise-Application-Architecture-with-NET-Core
Chapter02/src/Chapter2/SRP/Decorator/PersistorDecorator.cs
454
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net.NetworkInformation { internal static class InterfaceInfoPal { public static uint InterfaceNameToIndex(string interfaceName) { ...
28.142857
71
0.708122
[ "MIT" ]
2m0nd/runtime
src/libraries/Common/src/System/Net/NetworkInformation/InterfaceInfoPal.Windows.cs
394
C#
using KitchenSink.Tests.Ui; using KitchenSink.Tests.Ui.SectionString; using KitchenSink.Tests.Utilities; using NUnit.Framework; namespace KitchenSink.Tests.Test.SectionString { [Parallelizable(ParallelScope.Fixtures)] [TestFixture(Config.Browser.Chrome)] [TestFixture(Config.Browser.Edge)] [TestFixture...
32.557692
87
0.633196
[ "MIT" ]
MichalMajka/KitchenSink
test/KitchenSink.Tests/Test/SectionString/TextPageTest.cs
1,695
C#
using System.IO; using System.Reflection; using System.Threading.Tasks; using Prise.Infrastructure; namespace Prise { public class DefaultAssemblyLoader<T> : DisposableAssemblyUnLoader, IPluginAssemblyLoader<T> { private readonly IPluginLogger<T> logger; private readonly IAssemblyLoadOptions<T...
46.495238
96
0.686194
[ "MIT" ]
jingyiliu/Prise
src/Prise/DefaultAssemblyLoader.cs
4,884
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchMethod), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementX...
51.1
264
0.831703
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchMethod.cs
1,022
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Extensions.Logging; namespace Microsoft.Azure.Devices.Logging { /// <summary> /// Extension methods to help simplify creation of a new <see cr...
49.162162
146
0.68884
[ "MIT" ]
Azure-Samples/azure-iot-samples-csharp
helpers/ColorConsoleLogger/ColorConsoleLoggerExtensions.cs
1,821
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...
29.348837
82
0.639461
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Logic/Latest/Outputs/IntegrationServiceEnvironmenEncryptionKeyReferenceResponse.cs
1,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. using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System....
42.335423
193
0.555572
[ "MIT" ]
dcostea/machinelearning
src/Microsoft.ML.Core/Utilities/Utils.cs
54,020
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 Microsoft.Dnx.Tooling.List; using Microsoft.Dnx.Runtime; using Microsoft.Dnx.Runtime.Common.CommandLine; namespace Microsoft.Dnx.Tooling { i...
46.304348
139
0.530203
[ "Apache-2.0" ]
cemoses/aspnet
dnx-dev/src/Microsoft.Dnx.Tooling/ConsoleCommands/ListConsoleCommand.cs
3,197
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using StrawberryShake.Transport.WebSockets.Messages; namespace StrawberryShake.Transport.WebSockets { /// <summary> /// A protocol that can be used to communicate to a GraphQL server over /// <see cref="IS...
31.168675
98
0.608427
[ "MIT" ]
AccountTechnologies/hotchocolate
src/StrawberryShake/Client/src/Transport.WebSockets/SocketProtocolBase.cs
2,587
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. /****************************************************************************** * This file is auto-generated from ...
46.155594
200
0.595356
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/MultiplyAddByScalar.Vector128.Int16.cs
26,401
C#
using Atlas.Entities; using Atlas.EventSystem; namespace Atlas.Events { /// <summary> /// Fires before a window gets damaged. /// </summary> public class DamagingWindow : BoolEvent { /// <summary> /// Gets the player that is damaging the window. <b>Can be null.</b> /// </su...
24.885714
92
0.531573
[ "MIT" ]
Semper00/Atlas
Atlas/Events/DamagingWindow.cs
873
C#
namespace NLock.NLockFile.Encryption { internal interface IEncryptionStrategy { byte[] Encrypt(byte[] keyArray, byte[] content, byte[] key = null); byte[] Decrypt(byte[] keyArray, byte[] content, byte[] key = null); } }
28.555556
76
0.618677
[ "Apache-2.0" ]
KRVPerera/NLock
NLock_with_setup/NLock_with_setup/NLockFile/NLockFile/Encryption/EncryptionStratergy.cs
259
C#
using Sharpen; namespace android.webkit { [Sharpen.NakedStub] public class PluginFullScreenHolder { } }
10.9
36
0.761468
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/android/webkit/PluginFullScreenHolder.cs
109
C#
namespace RollbarDotNet.Core { using Abstractions; using Blacklisters; using Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; public static class ServiceExtensions { public stati...
40.361111
88
0.647626
[ "MIT" ]
ECrownofFire/RollbarDotNet
RollbarDotNet/Core/ServiceExtensions.cs
1,455
C#
// Copyright 2012-2018 Chris Patterson // // 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...
36.702703
107
0.659794
[ "Apache-2.0" ]
aallfredo/MassTransitPHP
src/MassTransit/Agents/PipeContextHandle.cs
1,360
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
33.455882
84
0.528791
[ "MIT" ]
InstantBusinessNetwork/IBN
Source/Server/WebPortal/Apps/MetaUIEntity/Primitives/IntegerPercent.Filter.@.@.NotIn.ascx.designer.cs
2,275
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework....
34.985849
155
0.504989
[ "MIT" ]
HDragonHR/osu
osu.Game/Screens/Multi/Multiplayer.cs
14,413
C#
using System; using System.Diagnostics; using System.IO; using Npgsql; namespace Universe.Dashboard.DAL.Tests { class PgSqlDumper { // PGPASSWORD=pass psql -t -h localhost -p 5432 -U w3top -q -c "select 'Hello, ' || current_user;" -d w3top public static void Dump(string connectionStrin...
32.512821
145
0.544953
[ "MIT" ]
devizer/KernelManagementLab
Universe.Dashboard.DAL.Tests/PgSqlDumper.cs
1,268
C#
// ReSharper disable All using UnityEngine; using System.Collections; [AddComponentMenu("Camera-Control/3dsMax Camera Style")] public class MouseHandler : MonoBehaviour { public Transform target; public Vector3 targetOffset; public float distance = 5.0f; public float maxDistance = 20; public floa...
37.818966
122
0.639617
[ "MIT" ]
MaxBondarchuk/Unity-Math-Graphs
Assets/Scripts/MouseHandler.cs
4,389
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace VersionOne.SDK.APIClient.Tests.UtilityTests { [TestClass] public class ModelsAndServicesTester { private IModelsAndServices _defaultTarget; private IModelsAndServices _nonDefaultTarget; [TestInitialize] public v...
31.092593
73
0.640262
[ "BSD-3-Clause" ]
randu1459/VersionOne.SDK.NET.APIClient
APIClient.Tests/UtilityTests/ModelsAndServicesTester.cs
1,681
C#
// Encog(tm) Artificial Intelligence Framework v2.5 // .Net Version // http://www.heatonresearch.com/encog/ // http://code.google.com/p/encog-java/ // // Copyright 2008-2010 by Heaton Research Inc. // // Released under the LGPL. // // This is free software; you can redistribute it and/or modify it // under the terms ...
30.737478
84
0.427881
[ "Apache-2.0" ]
MarcFletcher/OpenPokerAI
EncogFramework2.5/Parse/Tags/Read/ReadTags.cs
17,797
C#
using Microsoft.Extensions.DependencyInjection; using Okra.Builder; using Okra.Lifetime; using Okra.Navigation; using Okra.Routing; using Okra.State; using System; namespace Okra.DependencyInjection { public static class MvvmCoreServiceCollectionExtensions { public static IMvvmCoreBuilder AddMvvmCore(...
31.277778
84
0.666963
[ "Apache-2.0" ]
OkraFramework/Okra.Core
src/Okra.Core/DependencyInjection/MvvmCoreServiceCollectionExtensions.cs
1,128
C#
using System.Collections.Generic; namespace GirLoader.Output; public interface AccessorProvider { IEnumerable<Method> Methods { get; } IEnumerable<Property> Properties { get; } }
19
45
0.752632
[ "MIT" ]
GirCore/gir.core
src/Generation/GirLoader/Output/AccessorProvider.cs
192
C#