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 SpecialOffers.SpecialOffers { using System; using System.Collections.Generic; using Events; using Microsoft.AspNetCore.Mvc; [Route("/offers")] public class SpecialOffersController : ControllerBase { private readonly IEventStore eventStore; private static readonly IDictionary<int, Offer...
29.327273
105
0.66212
[ "MIT" ]
horsdal/microservices-in-dotnet-book-second-edition
Chapter10/SpecialOffers/SpecialOffers/SpecialOffersController.cs
1,615
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Logging; using Steeltoe.Messaging; using System; using System.Threading; using Sy...
32.862745
155
0.677208
[ "Apache-2.0" ]
Chatina73/steeltoe
src/Integration/src/IntegrationBase/Channel/AbstractMessageChannelWriter.cs
1,678
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace eurorails.Core.Test { [TestFixture] public class TestBase { [Test] public void Works() { } } }
15.8
33
0.655063
[ "MIT" ]
eouw0o83hf/eurorails-on-clr
eurorails.Core.Test/TestBase.cs
318
C#
//----------------------------------------------------------------------- // Copyright 2016 Tobii AB (publ). All rights reserved. //----------------------------------------------------------------------- using System.Collections.Generic; using UnityEngine; namespace Tobii.Gaming.Internal { internal class MultiRayca...
26.671569
124
0.701158
[ "Apache-2.0" ]
JJIKKYU/Text-Game-Project
2_Unity/CCMS/Assets/Tobii/Framework/Internal/MultiRaycastHistoricHitScore.cs
5,443
C#
namespace YourWaifu2x { public enum PageCategory { /// <summary> /// Reserved for samples placed on top with no category, eg: Home, Overview /// </summary> None, Theme, Components, Features, } }
18.642857
83
0.536398
[ "Apache-2.0" ]
Aloento/YourWaifu2x
YourWaifu2x.Shared/Entities/PageCategory.cs
261
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
47.220721
229
0.586521
[ "MIT" ]
sandrovasconcellos/Livraria_sql
Livraria/Livraria.Servico/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,966
C#
using System; using System.Linq; namespace Chino { /// <summary> /// Summary information about recent exposures. /// /// This class is deprecated. /// no longer used with Exposure Window API. /// /// The client can get this information via ExposureNotificationClient.getExposureSummary(Stri...
35.207792
144
0.603467
[ "MIT" ]
keiji/chino
Chino.Common/ExposureSummary.cs
2,713
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AnttechBlockchainDefinInsuranceApplyCreateResponse. /// </summary> public class AnttechBlockchainDefinInsuranceApplyCreateResponse : AopResponse { /// <summary> /// 保额 //...
24.45
82
0.480573
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AnttechBlockchainDefinInsuranceApplyCreateResponse.cs
1,529
C#
using Eaf.Reflection.Extensions; using Eaf.Resources.Embedded; using Shouldly; using System.Linq; using Xunit; namespace Eaf.Tests.Resources.Embedded { public class EmbeddedResourceTests { private readonly IEmbeddedResourceManager _embeddedResourceManager; public EmbeddedResourceTests() ...
42.442857
110
0.636149
[ "MIT" ]
afonsoft/EAF
test/Eaf.Tests/Resources/Embedded/EmbeddedResourceTests.cs
5,944
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
40.058824
129
0.720264
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/UnrealEd/PolysExporterOBJ.cs
1,362
C#
using OfficeDevPnP.PowerShell.CmdletHelpAttributes; using OfficeDevPnP.PowerShell.Commands.Base; using Microsoft.SharePoint.Client; using System.Management.Automation; using System; namespace OfficeDevPnP.PowerShell.Commands { [Cmdlet(VerbsCommon.Add, "SPOFile")] [CmdletHelp("Uploads a file to Web")] [Cmd...
37.13253
171
0.620376
[ "Apache-2.0" ]
GeiloStylo/PnP
Solutions/PowerShell.Commands/Commands/Web/AddFile.cs
3,084
C#
using System; using System.Collections.Generic; using System.Dynamic; using Maths; namespace OperationSolver { class Program { static void Main(string[] args) { Console.WriteLine("Enter an expression to evaluate:"); string input; while ((input = Console.Read...
36.428571
128
0.438655
[ "Apache-2.0" ]
skeryl/maths
OperationSolver/Program.cs
1,787
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. // // Generated on 2020 October 09 04:58:03 UTC // </auto-generated> //--------------...
39.811881
180
0.598234
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/net/http/sniff_sniffSigInterface.cs
8,042
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace EIS.Studio.SysFolder.DefFrame { pub...
26.803279
81
0.444037
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/SysFolder/DefFrame/ModelImport.aspx.designer.cs
2,139
C#
using Nethereum.BlockchainStore.Entities; using System.Data.Entity.ModelConfiguration; namespace Nethereum.BlockchainStore.EF.EntityBuilders { public class AddressTransactionEntityBuilder : EntityTypeConfiguration<AddressTransaction> { public AddressTransactionEntityBuilder() ...
32.68
129
0.635251
[ "MIT" ]
ConsenSys/Nethereum.BlockchainProcessing
Storage/Nethereum.BlockchainStore.EF/EntityBuilders/AddressTransactionEntityBuilder.cs
819
C#
using System; using System.Reflection; using ExtendedXmlSerializer.ContentModel; using ExtendedXmlSerializer.ContentModel.Collections; using ExtendedXmlSerializer.ContentModel.Content; using ExtendedXmlSerializer.ContentModel.Format; using ExtendedXmlSerializer.ContentModel.Members; using ExtendedXmlSerializer....
28.811765
93
0.720294
[ "MIT" ]
ExtendedXmlSerializer/NextRelease
src/ExtendedXmlSerializer/ExtensionModel/Content/UnknownContentHandlingExtension.cs
2,451
C#
using System.Collections.Generic; using System.Linq; namespace EnterpriseWebLibrary.EnterpriseWebFramework { public sealed class ElementAttribute { internal readonly string Name; internal readonly string Value; /// <summary> /// Creates an attribute. /// </summary> /// <param name="name">Do n...
32.075
150
0.682775
[ "MIT" ]
enduracode/enterprise-web-library
Core/EnterpriseWebFramework/Page Infrastructure/Page Structure/Nodes/ElementAttribute.cs
1,285
C#
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Store.Application.Integration.Test { using static Testing; public class TestBase { [SetUp] public async Task TestSetUp() { ...
17.190476
44
0.65097
[ "MIT" ]
srichatala/cleanarchitecture.store.app
tests/Store.Application.Integration.Test/TestBase.cs
363
C#
namespace Countries.Api.Cache { /// <summary> /// Local cache interface /// </summary> public interface ILocalCache { /// <summary> /// Gets the specified key. /// </summary> /// <param name="key">The key.</param> /// <returns>The object</returns> T G...
24.73913
50
0.499121
[ "MIT" ]
sajohnstone/CountriesOfTheWorld
api/Countries.Api/Cache/ILocalCache.cs
571
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
39.903448
160
0.60318
[ "MIT" ]
jsakamoto/discutils
src/DiskImageBuilder.cs
5,786
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...
32.079545
120
0.63514
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/S3/Custom/Model/DeleteBucketInventoryConfigurationRequest.cs
2,823
C#
using Couchbase.Search.Sort; using Newtonsoft.Json; using Xunit; namespace Couchbase.UnitTests.Search { public class FieldSearchSortTests { [Fact] public void Outputs_Valid_Json() { var sort = new FieldSearchSort("foo", FieldType.String, FieldMode.Min, FieldMissing.First, tr...
29.663366
113
0.496996
[ "Apache-2.0" ]
RiPont/couchbase-net-client
tests/Couchbase.UnitTests/Search/FieldSearchSortTests.cs
2,996
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
35.809524
150
0.724202
[ "MIT" ]
ADA-NFT-Project/Best-Game
Assets/Spine Examples/Scripts/Sample Components/SkeletonGraphicMirror.cs
3,760
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotNetAccessControl.domain.enums { public enum Permission { NotSpecified = 0, Allow = 1, Deny = 2 } }
16.6875
42
0.666667
[ "MIT" ]
MostafaEsmaeili/AccessControl
src/domain/enums/Permission.cs
269
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using Autodesk.Revit.Attributes; namespace AWE_Tools.Purge_Unused { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manua...
33.869565
103
0.606547
[ "MIT" ]
dodzikojo/P-W_Revit-Tools
AddPanel/Purge Unused/PurgeUnused.cs
1,560
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; namespace JWLibrary.Winform.Test { public partial class Form1 : Form { public Form1() ...
29.858696
112
0.563524
[ "Unlicense" ]
GuyFawkesFromKorea/JWLibrary
JWLibrary.Winform.Test/Form1.cs
2,749
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.813084
187
0.552492
[ "MIT" ]
sameem420/CSharp-PhonebookProject
Phonebook Application/Phonebook Application/Properties/Resources.Designer.cs
8,308
C#
using System; using System.Collections.Generic; using System.Text; namespace Weikio.ApiFramework.Plugins.Email { public class EmailSendingResult { public bool Success { get; set; } public string ErrorMessage { get; set; } } }
19.615385
48
0.690196
[ "MIT" ]
weikio/ApiFramework.Plugins.Email
src/Weikio.ApiFramework.Plugins.Email/EmailSendingResult.cs
255
C#
/* * Copyright 2010-2014 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 "l...
33.347826
146
0.598435
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/ComprehendMedical/Generated/Model/StartPHIDetectionJobRequest.cs
6,136
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/. // This implementation is a mix of works-stealing queue from .NET // and Helios.DedicatedThreadPool. // Licensed to...
39.004112
164
0.508318
[ "MPL-2.0" ]
andviklar/Spreads
src/Spreads.Core/Threading/SpreadsThreadPool.cs
47,431
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NLog; using Sandbox; using Sandbox.Common.ObjectBuilders; using Sandbox.Game.Entities; using VRage; using VRage.Game; using VRage.Game.Entity; using VRage.ObjectBuilders; using VRageMath; namespace ALE_Core.GridExport { pub...
37.446367
159
0.561449
[ "Apache-2.0" ]
LordTylus/SE-Torch-ALE-Core
ALE-Core/GridExport/GridManager.cs
10,824
C#
namespace GraphQL.Common.Request { /// <summary> /// Represents a Query that can be fetched to a GraphQL Server. /// For more information <see href="http://graphql.org/learn/serving-over-http/#post-request"/> /// </summary> public class GraphQLRequest { /// <summary> /// The Query /// </summary> public s...
25.153846
128
0.655963
[ "MIT" ]
jasmin-mistry/graphql-client
src/GraphQL.Common/Request/GraphQLRequest.cs
654
C#
using System.Threading.Tasks; using Confluent.Kafka; using KafkaWelcomeKit.Infra; namespace KafkaWelcomeKit.Produzir { class ProdutorAssincrono2 : ProdutorAbstrato { public ProdutorAssincrono2(BrokerHelper brokerHelper, IMessageWriter messageWriter) : base(brokerHelper, messageWriter) { } //N...
44.25
240
0.636299
[ "MIT" ]
michaelcostabr/KafkaWelcomeKit
Produzir/ProdutorAssincrono2.cs
1,423
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace Nettiers.AdventureWorks.Windows.Forms { /// <summary> /// This is the edit form for the <see cref="Entities.WorkOrderRouting"/> en...
28.8
83
0.765625
[ "MIT" ]
aqua88hn/netTiers
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Windows.Forms/UI/WorkOrderRoutingEditControl.cs
578
C#
using Crash; using System; namespace CrashEdit { public abstract class ChunkController : Controller { private NSFController nsfcontroller; private Chunk chunk; public ChunkController(NSFController nsfcontroller,Chunk chunk) { this.nsfcontroller = nsfcontroller; ...
21.542857
71
0.558355
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/train/csharp/4efc024cff13bf018bf30b58c4dfdd31bfee39bcChunkController.cs
754
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.Protocols.TestTools.StackSdk.FileAccessService.Smb2; using System.Text; namespace Microsoft.Protocols.TestSuites.FileSharing.SMB2Model.Adapter.Negotia...
35.454545
146
0.655556
[ "MIT" ]
0neb1n/WindowsProtocolTestSuites
TestSuites/FileServer/src/SMB2Model/Adapter/Negotiate/NegotiateModelDataTypes.cs
1,172
C#
/* * Copyright 1999-2012 Alibaba Group. * * 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 ...
31.5
90
0.69224
[ "Apache-2.0" ]
tupunco/Tup.Cobar4Net
Tup.Cobar4Net/Parser/Ast/Expression/Primary/Function/Groupby/Variance.cs
1,134
C#
namespace MappingSPO.Project.DL.Entities { public partial class WCalculationExplorer2Entity { public WCalculationExplorer2Entity() { InitializePartial(); } public long CalcId { get; set; } public string CalcTypeId { get; set; } public string CalcMayorTypeCode { ...
44.279661
61
0.594641
[ "MIT" ]
hmohcine/MappingSPO
MappingSPO.Project.DL/Entities/WCalculationExplorer2Entity.cs
5,225
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; var stopwatch = Stopwatch.StartNew(); var data = (from line in File.ReadAllLines("input.txt") where !string.IsNullOrWhiteSpace(line) select line).ToArray(); long GetPart1() { return 0L; } long GetPart...
20.060606
66
0.731118
[ "MIT" ]
bradwilson/advent-2020
_template/project/Program.cs
662
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlOverExcelUI.Models { public class AppSettingsModel { public string AceVersion = ""; public string UILanguage = ""; } }
17.4375
38
0.698925
[ "MIT" ]
KohrAhr/ExcelSplitter
WpfApp/SqlOverExcelUI/Models/AppSettingsModel.cs
281
C#
using System; class Tim { public const int RUN = 32; public static void insertionSort(int[] lst, int left, int right) { for (int i = left + 1; i <= right; i++) { int temp = lst[i]; int j = i - 1; while (j >= left && lst[j] > t...
28.257732
71
0.336374
[ "MIT" ]
0xEnlighten/DS-Algo-Point
C#/Tim_sort.cs
2,741
C#
using UnityEngine; using System.Collections; using UnityStandardAssets.Characters.FirstPerson; [ExecuteInEditMode] public class FirstPersonCharacterCull : MonoBehaviour { private bool _stopCullingThingsForASecond = false; public bool StopCullingThingsForASecond { get { return ...
30.133333
102
0.606637
[ "Apache-2.0" ]
maiae061/ai2thor
unity/Assets/Scripts/FirstPersonCharacterCull.cs
2,262
C#
using System; using System.Collections.Generic; using System.Data.Entity.Core; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using EF.DbContextFactory.Examples.Data.Entity; using EF.DbContextFactory.Examples.Data.Repository; using Microsoft.VisualStudio.TestTools.UnitTesting; using StructureM...
34.330357
92
0.593238
[ "MIT" ]
Meberem/EF.DbContextFactory
src/Tests/EF.DbContextFactory.IntegrationTest.StructureMap41.WebApi/StructureMapTests.cs
3,847
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
31.959927
174
0.519036
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.400
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/Controls Ribbon/KryptonRibbonQATButton.cs
17,549
C#
using Serenity.Abstractions; using System; using System.ComponentModel; using System.Reflection; namespace Serenity.Localization { /// <summary> /// Contains initialization method for adding local text translations defined by /// Description attributes in enumeration classes. /// </summary> ...
42.185185
109
0.575944
[ "MIT" ]
JarLob/Serenity
src/Serenity.Net.Core/Localization/EnumLocalTextRegistration.cs
2,280
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; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.IO; using System.Te...
42.275042
221
0.571124
[ "Apache-2.0" ]
ahsonkhan/EntityFrameworkCore
src/Microsoft.Data.Sqlite.Core/SqliteDataReader.cs
24,902
C#
using System; using System.Collections.Generic; using System.Text; namespace COVIDHelp.Models { public class Diseases { public string Name { get; set; } public bool IsEnable { get; set; } } }
17.076923
42
0.648649
[ "MIT" ]
KemberlyMiliano/COVIDHelp
COVIDHelp/COVIDHelp/COVIDHelp/Models/Diseases.cs
224
C#
using Vintagestory.API.Common; using System.Collections.Generic; using Vintagestory.API.Common.Entities; using Vintagestory.API.MathTools; namespace ChaosLands { public class EntityBehaviorBossWaterRemoval : EntityBehavior { float timer; public override void OnGameTick(float deltaTime) ...
29.105882
130
0.490299
[ "MIT" ]
91loocekaj/vs-chaoslands
src/Entity Behavior/EntityBehaviorBossWaterRemoval.cs
2,476
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ewmsCsharp.Interfaces { public interface IItemStorage { double Quantity { get; set; } string Measurments { get; set; } string Location { get; set; } do...
18.571429
40
0.628205
[ "MIT" ]
w3arthur/CSharp-Reference
ewmsCsharpUnDevelopVersion/ewmsCsharp/Interfaces/IItemStorage.cs
392
C#
using System; using System.Collections.Generic; using System.Linq; using Boc.Domain; using LaYumba.Functional; namespace Exercises.Chapter1 { static class Exercises { // 1. Write a function that negates a given predicate: whenever the given predicate // evaluates to `true`, the resulting function ev...
30.826087
112
0.596615
[ "MIT" ]
adrd/functional-csharp-code
Exercises/Chapter01/Exercises.cs
2,129
C#
#region AuthorHeader // // Misc version 2.0 - utilities version 2.0, by Xanthos // // #endregion AuthorHeader using System; using System.Reflection; using System.Security; using Server; using Server.Items; using Server.Mobiles; using Server.Targeting; using Server.Commands; namespace Xanthos.Utilities { public class ...
22.797203
93
0.648773
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Customs/Xanthos/Utilities/Misc.cs
3,260
C#
using Microsoft.Extensions.Options; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using Volo.Abp.MultiTenancy; namespace LY.MicroService.WebhooksManagement; public class TenantHeaderParamter : IOperationFilter { private readonly AbpMultiTenan...
31.40625
89
0.650746
[ "MIT" ]
geffzhang/abp-next-admin
aspnet-core/services/LY.MicroService.WebhooksManagement.HttpApi.Host/TenantHeaderParamter.cs
1,007
C#
using System; using System.Collections.Generic; using System.Windows; namespace ay.Wpf.Theme.Element { public class ElementStylesBase : ResourceDictionary { internal List<Type> MergedDatas { get; set; } public ElementStylesBase() { MergedDatas = new List<Type>(); } public ElementStylesBase(Li...
14.842105
56
0.670213
[ "MIT" ]
WertherHu/AYUI8Community
Ay/ay.Wpf.Theme.Element/Common/ElementStylesBase.cs
564
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; namespace Microsoft.AspNetCore.Mvc.Analyzers { public class HasAttribute_ReturnsTrueForAttributesOnOverriddenPropertiesAttribute : Attribute { } public class...
35.666667
142
0.793057
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverridenProperties.cs
751
C#
using System; using GuruComponents.Netrix.WebEditing.Elements; using GuruComponents.Netrix.HtmlFormatting; namespace GuruComponents.Netrix.WebEditing.Documents { /// <summary> /// This class represents a single frame in the frameset. /// </summary> /// <remarks> /// Its objects are stored together ...
36.076923
109
0.587633
[ "MIT" ]
andydunkel/netrix
Netrix2.0/Core/WebEditing/Documents/IFrameWindow.cs
4,690
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...
36.798246
137
0.620024
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/TagResourceRequestMarshaller.cs
4,195
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Interface ICal...
35.084942
193
0.706944
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Interfaces/ICalculatedItems.cs
9,089
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901 { using static Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Extensions; /// <summary>Managed cluster Access Profile.</summary> public partial class ManagedClusterAccessProfile { /// <summary> /// <c>AfterFro...
65.990291
264
0.681036
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.json.cs
6,695
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System.Collections.Generic; namespace SUNRUSE.PatternMatchingActorSystems.Shared.Expressions { public sealed class IsArrayTests : TypeCheckTestBase ...
37.470588
166
0.734694
[ "MIT" ]
jameswilddev/SUNRUSE.PatternMatchingActorSystems
SUNRUSE.PatternMatchingActorSystems.Shared.Tests/Expressions/IsArrayTests.cs
637
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("St...
38.189189
84
0.746638
[ "MIT" ]
ivajlotokiew/Databases_Entity_Framework
Entity_Framework_Relations/StudentSystem/StudentSystem.Models/Properties/AssemblyInfo.cs
1,416
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using AutoMapper.QueryableExtensions; using MediatR; using Microsoft.EntityFrameworkCore; using TwitterClone.Application.Common.Extensions; using TwitterClone.Application.Common.Interfac...
41.833333
139
0.665837
[ "MIT" ]
wdesgardin/twitter-clone
src/Application/Posts/Queries/GetPosts/GetPostsQueryHandler.cs
2,008
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("Epam.Task11.UsersA...
39.810811
99
0.767142
[ "MIT" ]
TimofeyRudometkin/XT-2018Q4
Epam.Task11/Epam.Task11.UsersAndAwards.Entities/Properties/AssemblyInfo.cs
2,053
C#
using System; namespace Moway.Simulator.Communications { /// <summary> /// Communication message from and for the communications module of the simulated MOway /// </summary> /// <LastRevision>08.06.2012</LastRevision> /// <Revisor>Jonathan Ruiz de Garibay</Revisor> public class Message { ...
25.24
91
0.53645
[ "MIT" ]
Bizintek/mOway_SW_mOwayWorld
mOway_SW_mOwayWorld/MowaySim/Communications/Message.cs
1,264
C#
using System; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Windows.Input; using Acr.UserDialogs; using Plugin.BluetoothLE; using Prism.Navigation; using ReactiveUI; using ReactiveUI.Fody.Helpers; using Sam...
38.062802
166
0.427212
[ "MIT" ]
nhoppasit/BluetoothLE-XF
src/BLE01/Samples/DeviceViewModel.cs
7,881
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DynamicAllocationServiceFixture.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License");...
41.908745
169
0.545727
[ "Apache-2.0" ]
bewood/OpenAdStack
DynamicAllocation/DynamicAllocationUnitTests/DynamicAllocationServiceFixture.cs
11,024
C#
using Newtonsoft.Json; namespace StarlingBank.Models { public class ScheduledSavingsPaymentRequestV2 { /// <summary> /// The schedule definition /// </summary> [JsonProperty("recurrenceRule")] public RecurrenceRuleV2 RecurrenceRule { get; set; } /// <summary> ...
23.6
60
0.59322
[ "MIT" ]
Netizine/StarlingBankClient
StarlingBank/Models/ScheduledSavingsPaymentRequestV2.cs
472
C#
using System.Runtime.Serialization; namespace Docker.DotNet.Models { [DataContract] public class ConfigReferenceRuntimeTarget // (swarm.ConfigReferenceRuntimeTarget) { } }
18.9
85
0.751323
[ "MIT" ]
13750573877/Docker.DotNet
src/Docker.DotNet/Models/ConfigReferenceRuntimeTarget.Generated.cs
189
C#
using System; using System.Collections; using CookComputing.MetaWeblog; using CookComputing.XmlRpc; using umbraco.BusinessLogic; using umbraco.cms.businesslogic; using umbraco.cms.businesslogic.datatype; using umbraco.cms.businesslogic.propertytype; using umbraco.cms.businesslogic.web; using umbraco.presentati...
39.304933
112
0.511238
[ "MIT" ]
AdrianJMartin/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/channels/api.cs
8,765
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.commerce.logistics.waybill.istddetail.query /// </summary> public class AlipayCommerceLogisticsWaybillIstddetailQueryRequest : IAopReques...
26.354839
139
0.572827
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayCommerceLogisticsWaybillIstddetailQueryRequest.cs
3,288
C#
/* * Copyright 2010-2014 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 "l...
38.612069
193
0.652601
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/Model/Internal/MarshallTransformations/DescribeWorkspaceBundlesResponseUnmarshaller.cs
4,479
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using AngleSharp; using AngleSharp.Parser.Html; namespace MyBlog.Helpers { public static class ArticleContentHelper { public static ICollection<string> GetImageSrcs(str...
27.857143
74
0.601282
[ "MIT" ]
huww98/MyBlog
src/MyBlog/Helpers/ArticleContentHelper.cs
780
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("My...
37.756757
84
0.745168
[ "MIT" ]
Stanislav121/study-and-experiments
Education/MyLinkedList/Properties/AssemblyInfo.cs
1,400
C#
// Copyright (c) 2015 Augie R. Maddox, Guavaman Enterprises. All rights reserved. namespace Rewired.UI.ControlMapper { using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using Rewired; public partial class ControlMapper { private enum LayoutElementSizeType { ...
24.6875
82
0.6
[ "MIT" ]
Joramt/NightMareAttack
Assets/Rewired/Extras/ControlMapper/Scripts/ControlMapper_Enums.cs
792
C#
namespace BookingsApi.Common.Configuration { public class AzureAdConfiguration { public string Authority { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public string TenantId { get; set; } } }
28.1
48
0.637011
[ "MIT" ]
hmcts/vh-bookings-api
BookingsApi/BookingsApi.Common/Configuration/AzureAdConfiguration.cs
281
C#
namespace MassTransit.Transports.InMemory.Topology { using MassTransit.Topology.Configuration; public interface IInMemoryConsumeTopologyConfigurator : IConsumeTopologyConfigurator, IInMemoryConsumeTopology { } }
23.272727
60
0.726563
[ "Apache-2.0" ]
andymac4182/MassTransit
src/MassTransit/Transports/InMemory/Topology/IInMemoryConsumeTopologyConfigurator.cs
258
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> //------------------------------------------...
29.851852
80
0.585608
[ "MIT" ]
ScottColson/XrmUnitTest
DLaB.Xrm.Entities/OptionSets/UserSettings_EntityFormMode.cs
806
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.TestHo...
33.470149
113
0.579487
[ "Apache-2.0" ]
kroymann/ImageSharp.Web
tests/ImageSharp.Web.Tests/TestUtilities/TestServerFixture.cs
4,485
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...
36.565217
112
0.586801
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/OriginGroupMembersUnmarshaller.cs
3,364
C#
using UnityEngine; using System.Collections; using System; using System.Collections.Generic; public class OvrAvatarProjectorRenderComponent : OvrAvatarRenderComponent { Material material; internal void InitializeProjectorRender(ovrAvatarRenderPart_ProjectorRender render, Shader shader, OvrAvatarRen...
40.151515
136
0.659623
[ "MIT" ]
Fangh/Guns-Golf
Assets/OvrAvatar/Scripts/OvrAvatarProjectorRenderComponent.cs
2,652
C#
// ----------------------------------------------------------------------- // <copyright file="IMessageAutoAck.cs" company="Asynkron AB"> // Copyright (C) 2015-2021 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- namespace Proto { publi...
32.666667
74
0.415816
[ "Apache-2.0" ]
RagingKore/protoactor-dotnet
src/Proto.Actor/Messages/IAutoRespond.cs
392
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace PddOpenSdk.Models.Request.DdkTools { public partial class GenerateDdkOauthCmsPromUrlRequestModel : PddRequestModel { /// <summary> /// 0, "1.9包邮";1, "今日爆款"; 2, "品牌清仓"; 4,"PC端专属商城" /// </summary> [JsonProperty("cha...
34.705882
173
0.573446
[ "Apache-2.0" ]
rose-daniel/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Request/DdkTools/GenerateDdkOauthCmsPromUrlRequestModel.cs
2,156
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using UnityEditor; using UnityEditor.Build.Reporting; using UnityEngine; namespace Microsoft.MixedReality.To...
32.717647
156
0.560949
[ "MIT" ]
AzureMentor/MapsSDK-Unity
SampleProject/Assets/MixedRealityToolkit/Utilities/BuildAndDeploy/IBuildInfo.cs
2,781
C#
using System; using System.Collections.Generic; using XamarinCleanApp.Core.Data.Repository; using XamarinCleanApp.Core.Model.Repository; namespace XamarinCleanApp.Core.Model.UseCase { public class GetAllCitiesUseCase : UseCase<List<City>, Params> { ICityRepository Repository = new CityRepository(); public ove...
22.391304
78
0.761165
[ "Apache-2.0" ]
eincioch/xamarin-forms-clean-arquitecture
XamarinCleanApp/Core/Domain/GetAllCitiesUseCase.cs
517
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace App4.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to ...
35.34375
100
0.654288
[ "MIT" ]
kflo/phylo
PHYLOGEN/App4/App4.iOS/AppDelegate.cs
1,133
C#
using Xunit; namespace Ztm.Threading.Tests { public sealed class ChannelFactoryTests { readonly ChannelFactory subject; public ChannelFactoryTests() { this.subject = new ChannelFactory(); } [Fact] public void Create_WhenInvoke_ShouldReturnNonNull() ...
19.173913
59
0.580499
[ "MIT" ]
firoorg/ztm
src/Ztm.Threading.Tests/ChannelFactoryTests.cs
441
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.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System { // ByReference<T> is...
35.976744
94
0.639948
[ "MIT" ]
omajid/corefx
src/Common/src/CoreLib/System/ByReference.cs
1,547
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /* * Manages Debug controls. * * Created by GoldenWay on 7/21/2018 * Modified by GoldenWay on 7/21/2018 * */ public class ControlDebug : MonoBehaviour { public GameObject debugDisplay; bool togglePressed = false; // Use this...
17.309524
55
0.668501
[ "MIT" ]
Golden7ty8/Moral-Masks
src/Moral Masks/Assets/Scripts/ControlDebug.cs
729
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
36.886364
145
0.643869
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/winnt/CFG_CALL_TARGET_INFOTests.cs
1,625
C#
/* * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.product.swap { //JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#: // import static com.opengamma.strata.c...
37.058252
109
0.714173
[ "Apache-2.0" ]
ckarcz/Strata.ConvertedToCSharp
modules/product/src/test/java/com/opengamma/strata/product/swap/SwapLegTypeTest.cs
3,819
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure; using Microsoft.Enti...
44.8125
116
0.664342
[ "MIT" ]
KaloyanIT/efcore
src/EFCore.Proxies/ProxiesServiceCollectionExtensions.cs
2,151
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SourceCodeReader.Web.Models; namespace SourceCodeReader.Web.LanguageServices { public interface ISourceCodeQueryService { TokenResult FindExact(TokenParameter parameter); DocumentInfo GetFileDetails(st...
21.5
56
0.770349
[ "MIT" ]
Mattlk13/SourceCodeReader
Web/LanguageServices/ISourceCodeQueryService.cs
346
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...
72.18543
401
0.727523
[ "MIT" ]
AlanFlorance/azure-powershell
src/GuestConfiguration/generated/api/Models/Api20180630Preview/Operation.cs
10,750
C#
/* * The MIT License (MIT) * * Copyright (c) 2020 Futurewei Corp. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to ...
37.508876
105
0.573513
[ "MIT" ]
zhouqingqing/qpmodel
qpmodel/RulesTrans.cs
12,680
C#
namespace Catel.Tests.IoC { using System.ComponentModel; public interface ITestInterface { string Name { get; set; } } public interface ITestInterface1 { } public interface ITestInterface2 { } public interface ITestInterface3 { ITestInterfac...
20.784615
85
0.583272
[ "MIT" ]
14632791/Catel
src/Catel.Tests/IoC/TestClasses.cs
1,353
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 System.Reflection; namespace Rigol.DS1000Z { public partial class InfoPanel : UserControl ...
37.626866
168
0.512098
[ "MIT" ]
ppudo/LabToysApp_CS
Devices/Rigol/DS1000Z/InfoPanel.cs
2,523
C#
using System; using System.Collections.Generic; #if MTOUCH || MMP || BUNDLER using Mono.Cecil; using Xamarin.Bundler; using Registrar; #endif using Xamarin.Utils; public class Framework { public string Namespace; public string Name; // this is the name to pass to the linker when linking. This can be an umbrella f...
36.530263
257
0.622879
[ "BSD-3-Clause" ]
jonathanpeppers/xamarin-macios
tools/common/Frameworks.cs
27,764
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...
43.71223
125
0.587558
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataBoxEdge/V20201201/Role.cs
6,076
C#
using System.Collections.Generic; using System.Security.Claims; using WT.Project.AdvancedDotNetCore.Services.Entities; namespace WT.Project.AdvancedDotNetCore.Services { public static class Extensions { public static ClaimsPrincipal AsPrincipal(this User user, string authenticationScheme) { ...
36.148148
94
0.659836
[ "MIT" ]
farzin2171/WT.AdvancedDotNetCore
WT.Solution.AdvancedDotNetCore/WT.Project.AdvancedDotNetCore/Services/Extensions.cs
978
C#
using Microsoft.Extensions.Diagnostics.HealthChecks; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace Mercan.HealthChecks.Common { public class UrlChecker { private readonly Func<HttpRespons...
41.172414
128
0.594082
[ "MIT" ]
mmercan/sentinel
HealthChecks/Mercan.HealthChecks.Common/Internal/UrlChecker.cs
3,584
C#
using System.Diagnostics; using Evergine.Common.Graphics; using Evergine.Framework; using Evergine.Framework.Graphics; using Evergine.Framework.Services; namespace AreaLightsDemo.Windows { class Program { static void Main(string[] args) { // Create app MyApplication appl...
36.575342
92
0.61161
[ "MIT" ]
EvergineTeam/AreaLightsDemo
AreaLightsDemo.Windows/Program.cs
2,670
C#