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 NetDist.ServerAdmin.WebApi; using Wpf.Shared; namespace WpfServerAdmin.Models { public class ServerModel { public WebApiServerAdmin Server { get; private set; } private readonly PortableConfiguration _conf = new PortableConfiguration(new JsonNetSerializer()); public ServerModel...
25.684211
106
0.67623
[ "MIT" ]
Roemer/NetDist
src/WpfServerAdmin/Models/ServerModel.cs
490
C#
namespace mainForm { partial class bookAvailablefrm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
48.534247
153
0.615157
[ "Unlicense" ]
brlala/Library-Management-System
mainForm/Search/QueryAvailablefrm.designer.cs
7,088
C#
namespace Python.Runtime { using System; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Runtime.CompilerServices; /// <summary> /// Should only be used for the arguments of Python C API functions, that steal references, /// and internal <see cref="PyObject"/> con...
31.86747
105
0.617769
[ "MIT" ]
FilamentGames/pythonnet
src/runtime/StolenReference.cs
2,645
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 1.2.2.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
44.137615
479
0.675743
[ "MIT" ]
abharath27/azure-libraries-for-net
src/ResourceManagement/Network/Generated/Models/VpnClientConfiguration.cs
4,811
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// ColumnMoreInfoModel Data Structure. /// </summary> [Serializable] public class ColumnMoreInfoModel : AopObject { /// <summary> /// 选择opennative的时候必须填写desc...
23.692308
48
0.541126
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/ColumnMoreInfoModel.cs
1,028
C#
namespace Pekka.Core.Contracts { public interface IFilter { // Marker interface } }
14.857143
31
0.615385
[ "MIT" ]
Blind-Striker/clash-royale-client-dotnet
src/Pekka.Core/Contracts/IFilter.cs
106
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Magis.School.Administration.ApiClient.Enums { [JsonConverter(typeof(StringEnumConverter))] public enum NodeBranch { Stable = 0, Beta = 1 } }
18.538462
53
0.688797
[ "MIT" ]
MagisIT/Magis.School.Administration.ApiClient
Magis.School.Administration.ApiClient/Enums/NodeBranch.cs
241
C#
// DesignatorUtility.cs // Copyright Karel Kroeze, 2018-2018 using System.Collections.Generic; using Harmony; using RimWorld; using Verse; namespace StuffedFloors { public static class DesignatorUtility { public static void RemoveDesignators( IEnumerable<TerrainDef> terrains ) { H...
36.746032
117
0.64838
[ "MIT" ]
JortonMV/StuffedFloors
Source/StuffedFloors/DesignatorUtility.cs
2,317
C#
using System; using FeatureSwitch.Strategies.Implementations; namespace FeatureSwitch.Strategies { public class AlwaysTrue : FeatureStrategyAttribute { public AlwaysTrue() { Key = "C6A5582C-4E1B-4E01-913C-E68307AE9098"; } public override Type DefaultImplementation ...
20.318182
57
0.577181
[ "MIT" ]
valdisiljuconoks/FeatureSwitch
FeatureSwitch/Strategies/AlwaysTrue.cs
449
C#
using NbaApp.Common.Entities; using NbaApp.Persistance; using NbaApp.Services.NbaNetClasses; using System; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using System.Net; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; namespace NbaApp.Services { public cl...
41.233766
177
0.551286
[ "MIT" ]
RawMajkel/NbaApp
NbaApp.Services/NbaNetService.cs
9,527
C#
using System.Collections.Generic; using System.Runtime.Serialization; using Uk.CompaniesHouse.Api.Data.Common; using Uk.CompaniesHouse.Api.Data.DisqualifiedOfficerNatural; namespace Uk.CompaniesHouse.Api.Data.DisqualifiedOfficerCorporate { /// <summary> /// The officer's disqualifications. /// </summary> [DataCon...
29.851852
107
0.680314
[ "MIT" ]
panoramicdata/Uk.CompaniesHouse.Api
Uk.CompaniesHouse.Api/Data/DisqualifiedOfficerCorporate/Disqualifications.cs
2,420
C#
using System; using UnityEditor.Graphing; namespace UnityEditor.ShaderGraph { [Serializable] enum SlotValueType { SamplerState, DynamicMatrix, Matrix4, Matrix3, Matrix2, Texture2D, Texture2DArray, Texture3D, Cubemap, Gradient, ...
25.516393
118
0.51301
[ "MIT" ]
AcquaWh/MuseoLeapmotion
Library/PackageCache/com.unity.shadergraph@5.7.2/Editor/Data/Nodes/SlotValue.cs
3,113
C#
// Copyright 2006 Herre Kuijpers - <herre@xs4all.nl> // // This source file(s) may be redistributed, altered and customized // by any means PROVIDING the authors name and all copyright // notices remain intact. // THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED. USE IT AT YOUR OWN...
34.101266
79
0.742762
[ "BSD-2-Clause" ]
0000duck/agg-sharp
RayTracer/Light/PointLight.cs
2,694
C#
using Foundation; using PanCardView; using PanCardView.iOS; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using PanCardView.Enums; using System.ComponentModel; using static System.Math; [assembly: ExportRenderer(typeof(CardsView), typeof(CardsViewRenderer))] namespace PanCardView.iOS { ...
37.866667
136
0.597007
[ "MIT" ]
Bhekinkosi12/CardView
PanCardView.iOS/CardsViewRenderer.cs
5,682
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using System.Threading.Tasks; using Cnblogs.Droid.Model; namespace Cnblogs.Droid.Presenter { public in...
24.5
86
0.764378
[ "Apache-2.0" ]
JoesWeek/Cnblogs
Cnblogs.Droid/Presenter/IArticleCommentsPresenter.cs
539
C#
namespace codessentials.CGM.Commands { /// <remarks> /// Class=0, ElementId=13 /// </remarks> public class BeginProtectionRegion : Command { public int RegionIndex { get; private set; } public BeginProtectionRegion(CgmFile container) : base(new CommandConstructorArgumen...
26.405405
94
0.601842
[ "MIT" ]
twenzel/CGM
src/Commands/BeginProtectionRegion.cs
979
C#
namespace Bitbucket.Net.Models.Core.Projects { public enum LineTypes { Added, Removed, Context } }
13.6
45
0.566176
[ "MIT" ]
ADHUI/Bitbucket.Net
src/Bitbucket.Net/Models/Core/Projects/LineTypes.cs
138
C#
using System; #if V4 using Microsoft.Practices.ObjectBuilder2; using Microsoft.Practices.Unity; #else using Unity; using Unity.Resolution; #endif namespace Unity.Regression.Tests { public class ValidatingResolverFactory #if !NET45 : IResolverFactory<Type> #endif { private object _value; ...
20.5
73
0.587689
[ "Apache-2.0" ]
unitycontainer/regression-tests
Test Data/ValidatingResolverFactory.cs
863
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("Web...
37.891892
84
0.748217
[ "MIT" ]
arikankainen/website-tracker-windows
WebsiteTracker/Properties/AssemblyInfo.cs
1,405
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="ApiTester.cs"> // Copyright (c) 2018-2019 Aspose Pty Ltd. All rights reserved. // </copyright> // <summary> // Permission is hereby granted, free of charge, to...
39.213205
160
0.560299
[ "MIT" ]
JTOne123/aspose-imaging-cloud-dotnet
src/Aspose.Imaging.Cloud.Sdk.Test/Base/ApiTester.cs
28,508
C#
 namespace ExampleApplication.Worker { internal class WorkerImpl : IWorker { public void DoWork() { } } }
13.916667
40
0.473054
[ "MIT" ]
ColmBhandal/ExcelQuery
ExampleApplication/Worker/WorkerImpl.cs
169
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Twilio; using Twilio.Rest.Api.V2010.Account; using Twilio.Types; namespace MatthiWare.SmsAndCallClient.Api { public class TwilioWrapperClient : IClient { /// <sum...
25.304688
114
0.524853
[ "MIT" ]
MatthiWare/SmsAndCall
SmsAndCallClient/SmsAndCallClient/Api/TwilioWrapperClient.cs
3,241
C#
namespace CakesWebApp.Services.Contracts { using System.Collections.Generic; using InputModels.Product; using ViewModels.Product; public interface IProductService { void Create(AddProductInputModel model); ICollection<ProductViewModel> All(string searchTerm = null); ICol...
22.913043
79
0.70778
[ "Apache-2.0" ]
genadi60/SISWebServer
SIS/SIS.Apps/Cakes/CakesWebApp/Services/Contracts/IProductService.cs
529
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com */ using System; using Sys...
32.357143
92
0.572296
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
pabloengine/pablo
Pablo/Graphics/Shape/Block.cs
1,814
C#
using System; namespace Automation.Concord { public enum DeviceStatus : int { Ok = 0, Failed = 1, Undocumented_7 = 7, Undocumented_33, Undocumented_158 = 158, Undocumented_216 = 216 } }
15.75
34
0.555556
[ "MIT" ]
markberndt/concord2mqtt
Concord/Enums/DeviceStatus.cs
254
C#
using System.Web.Mvc; namespace CmsShop.Areas.Admin { public class AdminAreaRegistration : AreaRegistration { public override string AreaName { get { return "Admin"; } } public override void RegisterArea(AreaRegistrationCo...
23.416667
75
0.498221
[ "MIT" ]
zbikowskiL/CmsShop
CmsShop/Areas/Admin/AdminAreaRegistration.cs
564
C#
namespace Instagraph.DataProcessor.DTOs { public class PictureImportDto { public string Path { get; set; } public decimal Size { get; set; } } }
17.5
41
0.617143
[ "MIT" ]
IvelinMarinov/SoftUni
08. Database Advanced - EF Core/10. Exam Preparation 1/10. DB-Advanced-EF-Core-Exam-Preparation-1-Instagraph-Skeleton/Instagraph.DataProcessor/DTOs/PictureImportDto.cs
177
C#
namespace ClearHl7.Codes.V230 { /// <summary> /// HL7 Version 2 Table 0200 - Name Type. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0200</remarks> public enum CodeNameType { /// <summary> /// A - Assigned. /// </summary> Assigned, ///...
21.512821
59
0.419547
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V230/CodeNameType.cs
841
C#
using System; using System.Threading.Tasks; namespace Admin.Core.Common.Cache { /// <summary> /// 缓存接口 /// </summary> public interface ICache { /// <summary> /// 用于在 key 存在时删除 key /// </summary> /// <param name="key">键</param> long Del(params string[] key); ...
29.384615
90
0.482839
[ "MIT" ]
Twtcer/Admin.Core
Admin.Core.Common/Cache/ICache.cs
3,848
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...
33.90566
121
0.585791
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/S3Control/Generated/Model/GetAccessPointResponse.cs
5,391
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...
40.12766
112
0.663043
[ "MIT" ]
Peter-Schneider/azure-powershell
src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage/Nouns.cs
3,679
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using SFA.DAS.Payments.Application.Infrastructure.Logging; using SFA.DAS.Payments.Application.Infrastructure.Telemetry; using SFA.DAS.Payments.Monitoring.Jobs.Messages.Commands; using SFA.DAS.Paymen...
49.7
178
0.675553
[ "MIT" ]
PJChamley/das-payments-V2
src/SFA.DAS.Payments.Monitoring.Jobs.Application/JobProcessing/JobService.cs
3,978
C#
using System; using System.IO; namespace Kentico.KInspector.Core { public class InstanceInfo { private Lazy<DatabaseService> dbService; private Lazy<Version> version; private Lazy<Uri> uri; private Lazy<DirectoryInfo> directory; /// <summary> /// URI of the ap...
29.6875
138
0.521805
[ "MIT" ]
ezimaxtechnologies/KenticoInspector
KInspector.Core/InstanceInfo.cs
3,327
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class EnemyDesignerWindow : EditorWindow { Texture2D headerSectionTexture; Texture2D mageSectionTexture; Texture2D warriorSectionTexture; Texture2D rogueSectionTexture; Texture2D mageTexture; ...
35.501285
120
0.643954
[ "MIT" ]
AndrewAndronikou/Edit-Scripting-Unity
Assets/Editor/EnemyDesignerWindow.cs
13,812
C#
using ENCO.DDD.Repositories; using IFPS.Factory.Domain.Model; namespace IFPS.Factory.Domain.Repositories { public interface IWorkStationTypeRepository : IRepository<WorkStationType> { } }
18.454545
78
0.768473
[ "MIT" ]
encosoftware/ifps
ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.Domain/Repositories/IWorkStationTypeRepository.cs
205
C#
using System.Web.Mvc; using Abp.Web.Mvc.Authorization; using LearningMpaAbp.Authorization; using LearningMpaAbp.MultiTenancy; namespace LearningMpaAbp.Web.Controllers { [AbpMvcAuthorize(PermissionNames.Pages_Tenants)] public class TenantsController : LearningMpaAbpControllerBase { private readonly...
27.166667
68
0.699387
[ "MIT" ]
Sisen/LearningMpaAbp
LearningMpaAbp.Web/Controllers/TenantsController.cs
654
C#
using nyom.domain.core.EntityFramework.Interfaces; using nyom.domain.Crm.Templates; namespace nyom.domain.EntityFramework.Crm.Templates { public interface ITemplateService : IServiceBase<Template> { } }
23.888889
60
0.781395
[ "MIT" ]
AlessandroSilveira/nyom
nyom/nyom.domain/EntityFramework/Crm/Templates/ITemplateService.cs
217
C#
//----------------------------------------------------------------------- // <copyright file="JsonCreationConverter.cs" company="James Chaldecott"> // Copyright (c) 2012-2013 James Chaldecott. All rights reserved. // </copyright> //----------------------------------------------------------------------- using Sy...
35.188679
125
0.583914
[ "MIT" ]
swythan/showlist-tivo
Src/Tivo.Connect/JsonCreationConverter.cs
1,867
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using WEngine; using DoozyUI; using DoozyUI.Gestures; public class InterfaceUiData : MonoBehaviour { [Header("UI")] public UIElement InterfaceUi; public GameSettingsUiData GameSettingsUi; ...
30.571429
72
0.778816
[ "MIT" ]
wishfuldroplet/unity-projecta
Assets/Sources/Mono/Data/Ui/InterfaceUiData.cs
1,286
C#
using System.ComponentModel; using System.Globalization; using BrawlLib.SSBB.ResourceNodes; namespace System { internal class UserDataConverter : ExpandableObjectConverter { public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type de...
35.724138
143
0.585425
[ "MIT" ]
Birdthulu/Legacy-Costume-Manager
brawltools/BrawlLib/System/TypeConverters.cs
2,074
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Http; using Steppenwolf.Contracts; using Steppenwolf.Pages.Admin.Category; using Steppenwolf.Services; using Steppenwolf.Shared; namespace...
30.9375
96
0.591582
[ "MIT" ]
043Tech/Steppenwolf
src/Steppenwolf/Pages/Admin/ManagePostBase.cs
2,970
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIMonsterIdleLie : CAIMonste...
32.130435
129
0.748309
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAIMonsterIdleLie.cs
739
C#
/** * Copyright 2017 IBM Corp. 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 applicable law o...
30.071429
74
0.733967
[ "MIT" ]
parismiguel/Crm103Core1x
AbpCompanyName.AbpProjectName.Web.Mvc/Services/WatsonNLU/Model/CategoriesOptions.cs
842
C#
using System; using System.Collections.Generic; namespace DotNext.Reflection { /// <summary> /// Indicates that requested constructor doesn't exist. /// </summary> public sealed class MissingConstructorException : ConstraintViolationException { /// <summary> /// Initializes a new e...
37.435897
110
0.65411
[ "MIT" ]
NanoFabricFX/dotNext
src/DotNext.Reflection/Reflection/MissingConstructorException.cs
1,462
C#
// // Copyright (c) 2010-2018 Antmicro // Copyright (c) 2011-2015 Realtime Embedded // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // using System; using Antmicro.Renode.Peripherals.UART; using Antmicro.Renode.Core; namespace Antmicro.Renode.Backends.Termina...
25.261905
74
0.614515
[ "MIT" ]
UPBIoT/renode-iot
src/Infrastructure/src/Emulator/Main/Backends/Terminals/BackendTerminal.cs
1,061
C#
// ********************************************************************** // // Copyright (c) ZeroC, Inc. All rights reserved. // // ********************************************************************** using System.Collections.Generic; using System.Composition; using System.Threading.Tasks; using Microsoft.VisualSt...
31.525
108
0.651864
[ "BSD-3-Clause" ]
pepone/ice-builder-visualstudio
IceBuilder_Common/ProjectDesignerPageProvider.cs
1,263
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Authorization.Roles; using Abp.AutoMapper; using CarPlusGo.CVAS.Authorization.Roles; namespace CarPlusGo.CVAS.Roles.Dto { [AutoMapTo(typeof(Role))] public class CreateRoleDto { [Required] [StringLength(...
26.571429
56
0.669355
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
MakingBugs/carplusgo.cvas
src/CarPlusGo.CVAS.Application/Roles/Dto/CreateRoleDto.cs
744
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
32.163636
102
0.583946
[ "Apache-2.0" ]
0xFireball/exascript2
Src/IronPythonTest/OperatorTest.cs
1,769
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 4.0.2 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //-----...
31.579861
164
0.701759
[ "Unlicense" ]
copasi/copasi-dependencies
src/libSBML/src/bindings/csharp/csharp-files-win/ConversionOption.cs
18,190
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xigadee { public static class ConfigureTcpTlsMessagingHelper { } }
14.857143
54
0.759615
[ "Apache-2.0" ]
xigadee/Microservice
Src/Xigadee.Platform/Communication/FabricBridge/TcpTlsChannel/Pipeline/ConfigureTcpTlsMessagingHelper.cs
210
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Cli.TemplateResolution; using Microsoft.TemplateEngine.Edge.Template; using Microsoft.TemplateEngine.Utils; namespace Microsoft.TemplateEngine.Cli.UnitTests.TemplateRes...
41.758621
186
0.642444
[ "MIT" ]
Hammerstad/templating
test/Microsoft.TemplateEngine.Cli.UnitTests/TemplateResolutionTests/ResolutionTestHelper.cs
2,365
C#
using System; namespace Homework { class ExcellentOrNot { static void Main(string[] args) { var num = double.Parse(Console.ReadLine()); if(num %2 == 0){ Console.WriteLine("Even"); }else{ Console.WriteLine("Odd"); } } } }
17.352941
55
0.518644
[ "Apache-2.0" ]
DPlamenov/Homework-tasks
ProgrammingBasics/EvenorOdd.cs
297
C#
using Discount.Grpc.Entities; using System.Threading.Tasks; namespace Discount.Grpc.Repositories { public interface IDiscountRepository { Task<Coupon> GetDiscount(string productName); Task<bool> CreateDiscount(Coupon coupon); Task<bool> UpdateDiscount(Coupon coupon); Task<bo...
20.5
54
0.710027
[ "MIT" ]
MichaelFelipeCabrera/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Repositories/IDiscountRepository.cs
371
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.Collections.Generic; using System.Linq; using System.Linq.Expressions; /// <summary> /// Tests that the System.Linq.Expressions.Interpreter.CallInstructio...
35.944444
110
0.650696
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Linq.Expressions/tests/TrimmingTests/GetHelperTypeTests.cs
1,294
C#
using Biohazrd.Metadata; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; namespace Biohazrd.Transformation.Common { /// <summary>Strips any declarations marked with <see cref="LazilyGenerated"/> which are not referenced.</summary> public sealed class StripUnrefe...
46.068702
188
0.643745
[ "MIT" ]
InfectedLibraries/Biohazrd
Biohazrd.Transformation/Common/StripUnreferencedLazyDeclarationsTransformation.cs
6,037
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System.D...
53.09633
240
0.703413
[ "MIT" ]
IanKemp/roslyn
src/Compilers/CSharp/Portable/Symbols/FunctionPointers/FunctionPointerTypeSymbol.cs
11,577
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, ISerializationCallbackReceiver { [SerializeField] TKey[] m_keys; [SerializeField] TValue[] m_values; public SerializableDictionar...
18.030303
109
0.610084
[ "MIT" ]
pdyxs/UnityProjectStarter
Assets/Plugins/Externals/SerializableDictionary/SerializableDictionary.cs
1,192
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: AssemblyTi...
38.837838
85
0.727209
[ "MIT" ]
Sixish/Odyssey-Generator
TibiaMapTester/TibiaMapTester/Properties/AssemblyInfo.cs
1,440
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("Crypt")] [assembly...
38.162162
99
0.756374
[ "Unlicense" ]
JonMagon/PWLuaOOG
Crypt/Properties/AssemblyInfo.cs
1,984
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
40.178571
91
0.656889
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Context/ConsumeRetryContext.cs
1,127
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 Microsoft.VisualStudio.Text; namespace Microsoft.VisualStudio.LanguageServerClient.Razor { /// <summary> /// The purpose o...
55.925
163
0.657577
[ "Apache-2.0" ]
tmat/razor-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/FileUriProvider.cs
2,239
C#
using System; using System.Linq; using Microsoft.AnalysisServices.Tabular; using TabularModel = Microsoft.AnalysisServices.Tabular.Model; using Column = Dax.Template.Model.Column; using Dax.Template.Exceptions; using Dax.Template.Interfaces; using Dax.Template.Constants; namespace Dax.Template.Tables.Dates { publ...
40.680556
183
0.617958
[ "MIT" ]
sql-bi/DaxTemplate
src/Dax.Template/Tables/Dates/CustomDateTable.cs
2,931
C#
/* * Original author: Nicholas Shulman <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2011 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
37.321429
120
0.658373
[ "Apache-2.0" ]
CSi-Studio/pwiz
pwiz_tools/Skyline/Model/Find/ManuallyIntegratedPeakFinder.cs
2,092
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.DocAsCode.Plugins { public interface IMarkdownService { string Name { get; } MarkupResult Markup(string src, stri...
28.066667
102
0.686461
[ "MIT" ]
Algorithman/docfx
src/Microsoft.DocAsCode.Plugins/IMarkdownService.cs
409
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PJanssen.ParsecSharp.IO; namespace PJanssen.ParsecSharp { [TestClass] public class CharsTests { #region Any [TestMethod] public void Any_EmptyStream_ReturnsError() { var parser = Chars.Any(); va...
22.491525
59
0.573662
[ "MIT" ]
dantincu/turmerik-obsolete-2021-05-11
dotnet/src-ext/_src/ParsecSharp/ParsecSharp.Tests/CharsTests.cs
5,310
C#
// These sources have been forked from https://github.com/dotnet/corefx/releases/tag/v1.1.8 // then customized by Ole Consignado in order to meet it needs. // Original sources should be found at: https://github.com/dotnet/corefx/tree/v1.1.8/src/System.ComponentModel.Annotations // Thanks to Microsoft for making it open...
25.288462
122
0.494677
[ "MIT" ]
OleConsignado/otc-annotations
src/Otc.ComponentModel.Annotations/src/Otc/ComponentModel/DataAnnotations/DataType.cs
2,630
C#
using NodeCanvas.Framework; using ParadoxNotion.Design; using System; using UnityEngine; namespace NodeCanvas.Tasks.Actions { [Category("Movement")] public class MoveAway : ActionTask<Transform> { [RequiredField] public BBParameter<GameObject> target; public BBParameter<float> speed = 2f; public BBParamet...
19.72093
141
0.705189
[ "MIT" ]
moto2002/kaituo_src
src/NodeCanvas.Tasks.Actions/MoveAway.cs
848
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace WebPages.SystemAdmin { public partial c...
24.977778
91
0.455516
[ "MIT" ]
zxz13561/UbayWeek4TeamHomework
AccountingNoteSystem/WebPages/SystemAdmin/Admin.Master.designer.cs
1,488
C#
//! \file ImageFC.cs //! \date 2018 Nov 17 //! \brief Mink compressed bitmap format. // // Copyright (C) 2018-2019 by morkt // // 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 Softw...
32.080645
94
0.412569
[ "MIT" ]
1127815807/GARbro
Legacy/Mink/ImageFC.cs
9,945
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.Linq; namespace PoE.BuffWatcher.Scanner { public class ImageScanner : IDisposable { private const int BuffHeight = 84; private const int BuffWi...
30.022727
128
0.520565
[ "MIT" ]
Tobbe1974/PoE-Buff-Watcher
PoE.BuffWatcher.Scanner/ImageScanner.cs
3,965
C#
using System; using RosMessageTypes.Std; using Unity.Robotics.Visualizations; using UnityEngine; public class UInt8MultiArrayDefaultVisualizer : GuiVisualizer<UInt8MultiArrayMsg> { [SerializeField] bool m_Tabulate = true; public override Action CreateGUI(UInt8MultiArrayMsg message, MessageMetadata meta) ...
23.526316
86
0.709172
[ "Apache-2.0" ]
DLu/ROS-TCP-Connector
com.unity.robotics.visualizations/Runtime/DefaultVisualizers/Std/UInt8MultiArrayDefaultVisualizer.cs
447
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using HairSalon.Models; namespace HairSalon { public class Startup { public Sta...
27.38
153
0.695398
[ "MIT" ]
beads89/Hair-Salon
HairSalon/Startup.cs
1,369
C#
namespace IRunes.Models { using System; public class User : BaseModel<string> { public User() { this.Id = Guid.NewGuid().ToString(); } public string Username { get; set; } public string Password { get; set; } public string Email { get; set; } ...
17.263158
48
0.52439
[ "MIT" ]
MiroslavKisov/Software-University
CSharp Web/SIS/IRunes.Models/User.cs
330
C#
using Roc.CMS.Auditing; using Shouldly; using Xunit; namespace Roc.CMS.Tests.Auditing { public class NamespaceStripper_Tests: AppTestBase { private readonly INamespaceStripper _namespaceStripper; public NamespaceStripper_Tests() { _namespaceStripper = Resolve<INamespaceStr...
50
342
0.718235
[ "MIT" ]
RocChing/Roc.CMS
test/Roc.CMS.Tests/Auditing/NamespaceStripper_Tests.cs
1,702
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> //-----------------------------------------...
28.125
80
0.42
[ "MIT" ]
CNinnovation/DotnetIntroSep2017
ASPNET/BiggerWebFormsSample/BiggerWebFormsSample/ViewSwitcher.ascx.designer.cs
450
C#
using System; using Girvs.AutoMapper.Mapper; using Girvs.BusinessBasis.Dto; using ZhuoFan.Wb.BasicService.Domain.Enumerations; using ZhuoFan.Wb.BasicService.Domain.Queries; namespace ZhuoFan.Wb.BasicService.Application.ViewModels.User { [AutoMapFrom(typeof(UserQuery))] [AutoMapTo(typeof(UserQuery))] publi...
24.186441
74
0.543097
[ "Apache-2.0" ]
shenxiangxiong/Girvs
Examples/BasicManagement/ZhuoFan.Wb.BasicService.Application/ViewModels/User/UserQueryViewModel.cs
1,501
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.Reflection; using Microsoft.EntityFrameworkCore.Metadata.Internal; using Xunit; // ReSharper disable ArrangeAccessorOwnerBody // ReSharper...
36.181586
113
0.635965
[ "Apache-2.0" ]
AzureMentor/EntityFrameworkCore
test/EFCore.Tests/Metadata/Conventions/Internal/BackingFieldConventionTest.cs
14,147
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...
34.495238
141
0.623136
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/Internal/MarshallTransformations/GetClassifierRequestMarshaller.cs
3,622
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.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysi...
39.060079
398
0.620448
[ "Apache-2.0" ]
Ashera138/roslyn
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOverridingAndHiding.cs
168,414
C#
using MediatR; using System; namespace PresenceLight.Core.LifxServices { public class InitializeCommand : IRequest { public AppState AppState { get; set; } } }
16.545455
46
0.686813
[ "MIT" ]
JMilthaler/presencelight
src/PresenceLight.Core/Lights/LifxServices/Initialize/InitializeCommand.cs
184
C#
using System.IO; using System.Linq; using System.Threading.Tasks; using Fluid; using OrchardCore.Html.Model; using OrchardCore.Html.Settings; using OrchardCore.Html.ViewModels; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentManagement.Metadata; using OrchardCore.DisplayManagement.M...
39.746667
124
0.700772
[ "BSD-3-Clause" ]
CMSCollection/OrchardCore
src/OrchardCore.Modules/OrchardCore.Html/Drivers/HtmlBodyPartDisplay.cs
2,981
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MarketIO.gRPC.Client { public class Program { ...
26
70
0.646724
[ "Apache-2.0" ]
Bdaya-Dev/gRPC-Learning
src/Client/MarketIO.gRPC.Client/MarketIO.gRPC.Client/Program.cs
702
C#
using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; using UnityEngine.Rendering; /// <summary> /// 剔除需要的数据包 /// </summary> public class FullCullBuffers { /// <summary> /// 本地到世界的坐标矩阵集合 /// </summary> private ComputeBuffer LocalToWorldMatrixBufferCulled; /// <s...
30.14
113
0.632825
[ "MIT" ]
Yogioo/UnityTools
Assets/Hiz-Occlusion/FullCullBuffers.cs
4,651
C#
using System; using FluentAssertions; using NUnit.Framework; using SFA.DAS.Apim.Developer.Domain.Extensions; using SFA.DAS.Apim.Developer.Domain.Models; namespace SFA.DAS.Apim.Developer.Domain.UnitTests.Extensions { public class WhenGettingApimUserTypeFromId { [Test] public void Then_If_Numeric...
25.731707
66
0.551659
[ "MIT" ]
SkillsFundingAgency/das-apim-developer-api
src/SFA.DAS.Apim.Developer.Domain.UnitTests/Extensions/WhenGettingApimUserTypeFromId.cs
1,055
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.470588
137
0.674627
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/AmplifyBackend/Generated/Model/Internal/MarshallTransformations/GatewayTimeoutExceptionUnmarshaller.cs
3,015
C#
// See https://aka.ms/new-console-template for more information var image = new int[3, 3] { { 0, 1, 2 }, { 3, 4, 5 }, { 6, 7, 8 } }; WriteImage(image); RotateImageClockwise90(image); WriteImage(image); static void RotateImageClockwise90(int[,] image) { var length = image.GetLength(0); for ...
22.961538
67
0.475712
[ "MIT" ]
colotiline/cracking-the-coding-interview
chapter-1/1-6/Program.cs
1,196
C#
namespace Exercicio1_CSharp.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class CreatePersonTables : DbMigration { public override void Up() { CreateTable( "dbo.LegalPersons", c => new ...
29.139535
68
0.3751
[ "MIT" ]
Jhonegao/Csharp_Certification-Microsoft
Exercicio1_CSharp/Exercicio1_CSharp/Exercicio1_CSharp.Data/Migrations/202002222028162_CreatePersonTables.cs
1,255
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DisplayManager : MonoBehaviour { void Start() { Debug.Log("displays connected: " + Display.displays.Length); // Display.displays[0] is the primary, default display and is always ON, so start at index 1....
27.631579
101
0.641905
[ "MIT" ]
Loner291999/some-projects-at-THH
DM-Satellite-v2/Assets/Scripts/DisplayManager.cs
527
C#
using System.Threading.Tasks; using Abp.Application.Services; using MT.Sessions.Dto; namespace MT.Sessions { public interface ISessionAppService : IApplicationService { Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations(); } }
22.166667
78
0.770677
[ "MIT" ]
zhang-jun-yi/ABPZero
MT.Application/Sessions/ISessionAppService.cs
268
C#
using AOT; using System; using System.Runtime.InteropServices; using UnityEngine.Scripting; using UnityEngine.XR.ARSubsystems; namespace UnityEngine.XR.ARCore { /// <summary> /// ARCore implementation of the <c>XRSessionSubsystem</c>. Do not create this directly. Use the <c>SubsystemManager</c> instead. //...
35.940625
133
0.572385
[ "MIT" ]
Jimmy5467/Entity-Lens
Library/PackageCache/com.unity.xr.arcore@2.0.2/Runtime/ARCoreSessionSubsystem.cs
11,501
C#
using System; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using Flurl.Http.Testing; using Netatmo.Models; using NodaTime; using NodaTime.Testing; using Xunit; namespace Netatmo.Tests { public class CredentialManager : IDisposable { public CredentialManager() { ...
38.227273
278
0.616924
[ "MIT" ]
CristianT/Netatmo
src/Netatmo.Tests/CredentialManager.cs
5,046
C#
using System; namespace Encrypt__Sort_and_Print_Array { class Program { static void Main() { var n = int.Parse(Console.ReadLine()); var arr = new int[n]; var res = 0; for (int i = 0; i < n; i++) { var vowel = 0; ...
30.473684
115
0.348877
[ "MIT" ]
markodjunev/Softuni
C#/Tech Module 4.0/Arrays - More Exercise/Encrypt, Sort and Print Array/Encrypt, Sort and Print Array.cs
1,160
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace PodioAPI.Models { public class ItemCalculate { [JsonProperty("total")] public double? Total { get; set; } [JsonProperty("groups")] private List<CalculationGroup> CalculationGroups { get; set; } } publi...
22.34375
70
0.595804
[ "MIT" ]
mads4990/podio-dotnet
Source/Podio .NET/Models/ItemCalculate.cs
717
C#
/* CSVReader - a simple open source C# class library to read CSV data * by Andrew Stellman - http://www.stellman-greene.com/CSVReader * * CSVReader.cs - Class to read CSV data from a string, file or stream * * download the latest version: http://svn.stellman-greene.com/CSVReader * * (c) 2008, Stellman & Gree...
39.379747
156
0.56019
[ "MIT" ]
shwetams/xmlcsvtojson
adf.transformations/adf.filetransformation/adf.filetransformation/CSVReader.cs
12,446
C#
using System; using Tracker.Core.Definitions; // ReSharper disable once CheckNamespace namespace Tracker.Core.Domain.Models { public class EntityCreateModel : IHaveIdentifier, ITrackCreated, ITrackUpdated { public Guid Id { get; set; } public DateTimeOffset Created { get; set; } publi...
23.15
82
0.671706
[ "MIT" ]
RubenDelange/EntityFrameworkCore.Generator
sample/Tracker/Tracker.Core/Domain/EntityCreateModel.cs
463
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Data.Common; using System.Globalization; namespace System.Data.Pro...
32.020979
106
0.538109
[ "MIT" ]
Priya91/corefx-1
src/Common/src/System/Data/Common/BasicFieldNameLookup.cs
4,581
C#
// PostgreSQL IDatabase, IConnection, ICommand, IReader Wrapper // using System; using System.Collections.Generic; using Npgsql; namespace Business.Core.PostgreSQL { public class Database : IDatabase { public Profile.Profile Profile { get; set; } public Database(Profile.Profile profile) { Profile = profile;...
26.76087
136
0.730301
[ "MIT" ]
jazd/Business
CSharp/Core.PostreSQL/Database.cs
1,233
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace ParallelForEach { class Program { static void Main() { // 2 million var limit = 2_000_000; ...
32.144578
179
0.552099
[ "MIT" ]
nrawat207/ParallelProgramming-CSharp
src/ParallelProgramming-CSharp/ParallelForEach/Program.cs
2,670
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.64
153
0.611632
[ "MIT" ]
PaoloPia/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/SharepointIds.cs
3,198
C#
using Parsec.Extensions; using Parsec.Readers; using Parsec.Shaiya.SData; namespace Parsec.Shaiya.Skill; public class DBSkillDataRecord : IBinarySDataRecord { public long Id { get; set; } public long SkillLevel { get; set; } public long Image { get; set; } public long Ani { get; set; } public lon...
43.755418
73
0.641477
[ "MIT" ]
matigramirez/Parsec
src/Parsec/Shaiya/Skill/DBSkillDataRecord.cs
14,135
C#