content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using WorkTimer.MediatR.Services.Abstractions; namespace WorkTimer.MediatR.Services { public class NowTimeProvider : INow { public DateTime Now => DateTime.Now; } }
18.272727
46
0.711443
[ "MIT" ]
penCsharpener/work-timer
src/WorkTimer.MediatR/Services/Now.cs
203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Autofac.Core.Resolving; using Autofac.Core; namespace Autofac.Test.Core.Resolving { public class CircularDependencyDetectorTests { [Fact] public void OnCircularDependency_MessageDescribesCy...
30.518519
98
0.652913
[ "MIT" ]
Teleopti/Autofac
test/Autofac.Test/Core/Resolving/CircularDependencyDetectorTests.cs
826
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
34.333333
85
0.537217
[ "Apache-2.0" ]
CredentialEngine/Import_From_Registry
src/workIT.Data/Tables/Entity_Assessment.cs
927
C#
using System.Linq; using GW2Scratch.EVTCAnalytics.Events; using GW2Scratch.EVTCAnalytics.Model; namespace GW2Scratch.EVTCAnalytics.Processing.Encounters.Results.Health { /// <summary> /// A health determiner that takes the lowest health amount reached by an enemy, /// or the maximum of such amounts of there are mul...
28.078947
98
0.70478
[ "MIT" ]
DBPhoenix/evtc
EVTCAnalytics/Processing/Encounters/Results/Health/MaxMinHealthDeterminer.cs
1,067
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V22.Group; using NHapi.Model.V22.Segment; using NHapi.Model.V22.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V22.Message { ///<summary> /// Represents a MFR_M01 message structu...
27.596958
145
0.65197
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V22/Message/MFR_M01.cs
7,258
C#
using Sandbox; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public partial class SandboxPlayer { DamageInfo LastDamage; [ClientRpc] public void TookDamage( Vector3 forcePos ) { DamageIndicator.Current?.OnHit( forcePos ); } public overr...
22.225806
105
0.664006
[ "Apache-2.0" ]
Hmmm0/sbox
code/Player/Player.Damage.cs
1,380
C#
using System; namespace Monk.Areas.Backend.ViewModels { public class LoginLogVM { public Guid LogID { get; set; } public string Account { get; set; } public string Password { get; set; } public DateTime InTime { get; set; } public DateTime? OffTime { get; set; } ...
35.166667
49
0.587678
[ "MIT" ]
sam848685/Monk.Soul
Monk/Areas/Backend/ViewModels/LoginLogVM.cs
1,057
C#
using ApplicationCore.DTOs.DevicePropertyValue; using System.Collections.Generic; namespace ApplicationCore.DTOs.Device { public class DeviceUpdateDto { public string Name { get; set; } public int DeviceTypeId { get; set; } public ICollection<DevicePropertyValueUpdateDto> DevicePropert...
26.923077
91
0.72
[ "MIT" ]
andrija-mitrovic/BildStudio
src/ApplicationCore/DTOs/Device/DeviceUpdateDto.cs
352
C#
using DiceApi.Controllers; using Xunit; namespace DiceApi.UnitTests { public class DiceControllerTests { [Theory] [InlineData(3)] [InlineData(4)] [InlineData(10)] [InlineData(20)] [InlineData(100)] public void RollingADieGivesANumberBetween1AndTheDieSize...
22.391304
74
0.570874
[ "MIT" ]
ChrisAnn/DiceApiCore
DiceApi.UnitTests/DiceControllerTests.cs
517
C#
//----------------------------------------------------------------------- // <copyright file="CustomerSearch.cs" company="Genesys Source"> // Copyright (c) Genesys Source. All rights reserved. // All rights are reserved. Reproduction or transmission in whole or in part, in // any form or by any means, e...
39.608108
134
0.60406
[ "Apache-2.0" ]
pubcrede/Framework-for-Universal
src/Framework.UniversalApp/Pages/Customer/CustomerSearch.xaml.cs
5,864
C#
using System; namespace BenchmarkDotNet.Attributes { [Obsolete("Please use DryJobAttribute instead. Use the ctor that requires TargetFrameworkMoniker argument.", true)] public class DryCoreJobAttribute : Attribute { } }
26.333333
119
0.755274
[ "MIT" ]
CodeTherapist/BenchmarkDotNet
src/BenchmarkDotNet.Annotations/Attributes/Obsolete/DryCoreJobAttribute.cs
239
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using FFImageLoading.Work; using FFImageLoading.IO; using AppFW = Tizen.Applications; namespace FFImageLoading.DataResolvers { public class FileDataResolver : IDataResolver { public virtual Task<DataResolverResult> Re...
28.53125
125
0.560789
[ "MIT" ]
AndreiMisiukevich/FFImageLoading
source/FFImageLoading.Tizen/DataResolvers/FileDataResolver.cs
1,828
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
30.834711
83
0.566604
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cws/V20180312/Models/VulsTimeline.cs
3,895
C#
namespace Constellation.Html { using System.Diagnostics.CodeAnalysis; using System.Web.UI; /// <summary> /// Extension to make working with HtmlTextWriter easier. /// </summary> [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification = "HTML Tags are not English,...
41.540541
168
0.702668
[ "MIT" ]
sitecorerick/constellation.html
RenderSectionExtension.cs
1,539
C#
 using System.Xml; namespace UAOOI.SemanticData.InformationModelFactory { /// <summary> /// Interface <c>IDataTypeFieldFactory</c> - This interface defines a representation of a field within a structural DataType. /// </summary> public interface IDataTypeFieldFactory { /// <summary> /// Sets the Dat...
37.384615
178
0.659122
[ "MIT" ]
Drutol/OPC-UA-OOI
SemanticData/InformationModelFactory/IDataTypeFieldFactory.cs
2,922
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.IO; using Logging; using Engine.Shim; namespace Engine { /// <summary> /// This loader will load plugins from the filesystem from paths specified. /// </summary> pu...
36.039474
121
0.498357
[ "MIT" ]
AnomalousMedical/Engine
Engine/Plugin/DynamicDLLPluginLoader.cs
2,741
C#
using System.IO; namespace GostCryptography.Asn1.Ber { interface IAsn1Type { void Decode(Asn1BerDecodeBuffer buffer, bool explicitTagging, int implicitLength); int Encode(Asn1BerEncodeBuffer buffer, bool explicitTagging); void Encode(Asn1BerOutputStream outs, bool explicitTagging); void Print(TextWriter out...
29.583333
84
0.797183
[ "MIT" ]
IronRate/GostCryptography
Source/GostCryptography/Asn1/Ber/IAsn1Type.cs
357
C#
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Prometheus; using System.Net; using System.Threading; using System.Threading.Tasks; namespace NoaaWeb.Common { public class MetricsServer : IHostedService { private readonly MetricServer _server; private ...
24.888889
79
0.557143
[ "MIT" ]
patagonaa/noaa-web-viewer
src/NoaaWeb.Common/MetricsServer.cs
1,122
C#
// // Copyright (c) Microsoft. 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 appl...
40.03125
94
0.74395
[ "MIT" ]
ThmsRynr/azure-powershell
src/ResourceManager/Sql/LegacySdk/Properties/AssemblyInfo.cs
1,252
C#
// This file was generated. Do not modify. using System; using System.Linq; using System.Collections.Generic; using System.Collections.Immutable; namespace cilspirv.Spirv.Ops { [DependsOn(Capabilities = new[] { Capability.Matrix })] public sealed record OpMatrixTimesMatrix : ArithmeticInstruction { ...
36.122807
121
0.579893
[ "MIT" ]
Helco/cilspirv
cilspirv.transpiler/Spirv/Ops/Arithmetic/OpMatrixTimesMatrix.cs
2,059
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; namespace Microsoft.VisualStudio.Web.CodeGeneration { public enum LogMessageLevel { Information, Warning, ...
23.266667
111
0.684814
[ "Apache-2.0" ]
Arvinds-ds/Scaffolding
src/Shared/General/LogMessageLevel.cs
349
C#
using System; using System.Collections.Generic; using AoLibs.Dialogs.Core; using AoLibs.Dialogs.Core.Interfaces; using AoLibs.Dialogs.iOS; using AoLibs.Navigation.Core.Interfaces; using AoLibs.Navigation.iOS.Navigation; using AoLibs.Sample.Shared; using AoLibs.Sample.Shared.Models; using AoLibs.Sample.Shared.Statics; ...
31.346667
114
0.619736
[ "MIT" ]
Drutol/AoLibs
AoLibs.Sample.iOS/ViewControllers/RootNavigationViewController.cs
2,353
C#
// Copyright 2022 Automate The Planet Ltd. // Author: Anton Angelov // 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 applicab...
38.318182
85
0.752076
[ "Apache-2.0" ]
AutomateThePlanet/Design-Patterns-for-High-Quality-Automated-Tests-CSharp-Workshop
5. API Usability/ApiUsabilityDemos/IElementFindService.cs
845
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.SqlServerCompact.SqlGen { using System.Collections.Generic; using System.Data.Entity.Core.Metadata.Edm; using System.Globalization; ...
34.940678
133
0.533107
[ "Apache-2.0" ]
TerraVenil/entityframework
src/EntityFramework.SqlServerCompact/SqlGen/Symbol.cs
4,123
C#
using College.BLL; using College.Core.Constants; using College.Core.Interfaces; using College.DAL; using College.DAL.Persistence; using College.GrpcServer.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Micros...
36.738095
215
0.635774
[ "MIT" ]
jagratimodi/speaker_series_2021
Year_2020/talklify/Rest_gRPC_Blazor_WASM_15Aug2020/Source/3gRPCWeb/College.GrpcServer/Startup.cs
3,088
C#
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. using System.Threading; namespace Vortice.DXGI { public partial class IDXGIFactory7 { public int RegisterAdaptersChangedEvent(EventWaitHandle waitHandle) ...
27.8125
100
0.72809
[ "MIT" ]
DanielElam/Vortice.Windows
src/Vortice.DXGI/IDXGIFactory7.cs
445
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalizat...
28.201531
109
0.646857
[ "MIT" ]
dongdapeng110/SharpDevelop4.2
src/Main/Core/Project/Src/Services/PropertyService/Properties.cs
11,057
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 ...
44.993443
187
0.673395
[ "MIT-feh" ]
mwagnerEE/UnitsNet
UnitsNet.Tests/GeneratedCode/TestsBase/FuelEfficiencyTestsBase.g.cs
27,446
C#
// UI Canvas|UI|80010 namespace VRTK { using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System.Collections; /// <summary> /// The UI Canvas is used to denote which World Canvases are interactable by a UI Pointer. /// </summary> /// <remarks> /// When t...
43.58547
230
0.628591
[ "MIT" ]
FullBoreStudios/FBVRK
Assets/VRTK/Scripts/UI/VRTK_UICanvas.cs
10,201
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 06:00:45 UTC // </auto-generated> //--------------...
36.87931
107
0.620383
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_386__C_shortStructOf(short).cs
2,139
C#
using Goodreads8.Common; using Goodreads8.ViewModel.Model; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Goodreads8.ViewModel { public class IncrementalFriends : IPagedSource<Profile> { ...
27.909091
95
0.622801
[ "MIT" ]
djdelaney/Tome
Source/Goodreads8/ViewModel/IncrementalFriends.cs
1,537
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace proj1_OnlineStore.Models { public class Location { #region Fields [Key] [Dat...
23.058824
92
0.734694
[ "MIT" ]
042020-dotnet-uta/johnKear-repo1
proj1_OnlineStore/Data/Entity/Location.cs
786
C#
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; using FewBox.Core.Utility.Formatter; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.Configuration; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FewBox.Template.Se...
30.964286
84
0.570358
[ "Apache-2.0" ]
FewBox/FewBox.Template.Service
templates/low-code/FewBox.Template.Service.TestSuite/TestServerTestSuite.cs
1,736
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ESFA.DC.ILR.FundingService.Dto; using ESFA.DC.ILR.FundingService.FM81.FundingOutput.Model.Output; using ESFA.DC.ILR.FundingService.FM81Actor.Interfaces; using ESFA.DC.ILR.FundingService.FundingActor.Interfa...
47.206897
244
0.684441
[ "MIT" ]
SkillsFundingAgency/DC-ILR-2021-FundingService
src/ESFA.DC.ILR.FundingService.FundingActor.Tests/TaskTests/FM81ActorTaskTests.cs
4,109
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://w...
46.423077
102
0.622204
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands.Utilities/HDInsight/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightJobCommandCredentialsBase.cs
1,184
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Elastic.Managed...
34.085271
116
0.726859
[ "Apache-2.0" ]
magaum/elasticsearch-net
tests/Tests.ClusterLauncher/ClusterLaunchProgram.cs
4,399
C#
using System; using SisoDb.Annotations; using SisoDb.NCore; using SisoDb.NCore.Reflections; using SisoDb.Resources; namespace SisoDb.Structures.Schemas { [Serializable] public class StructureProperty : IStructureProperty { private readonly DynamicGetter _getter; private readonl...
32.131579
112
0.611794
[ "MIT" ]
eric-swann-q2/SisoDb-Provider
Source/Projects/SisoDb/Structures/Schemas/StructureProperty.cs
2,444
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...
50.209677
192
0.730806
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementOrStatementStatementNotStatementStatementRegexPatternSetReferenceStatementFieldToMatchArgs.cs
3,113
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.Generic; using System.IO; using System.Web; namespace DotNetNuke.We...
29.054264
107
0.585646
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Modules/DDRMenu/Common/PathResolver.cs
3,750
C#
using System; namespace Toolmagic.Common.Tasks { public sealed class SearchTaskOptions { private int _dequeueWaitTimeout = 100; private int _maxDegreeOfParallelism = Environment.ProcessorCount*2; private int _maxHierarchyDepth = 5; private int _maxQueueLength = 1000; public int MaxQueueLength { get ...
18.984375
75
0.670782
[ "MIT" ]
toolmagic/Toolmagic.Common
Toolmagic.Common/Tasks/SearchTaskOptions.cs
1,217
C#
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Common; using System.Linq; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace PDP.DREAM.Cor...
25.56
90
0.758998
[ "Apache-2.0" ]
BHAVIUS/PDP-DREAM
PDP.DREAM.CoreDataLib/Stores/NpdsSqlContext/DevArtEntDev/NPDS.CoreEntityTypeItem.Configuration.cs
641
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace BTCPayServer.Client.Models { public class StoreWebhookBaseData { public class AuthorizedEventsData { public bool Everything { get; set; } = true; [JsonProperty(ItemConver...
31.638889
102
0.670764
[ "MIT" ]
1Blackdiamondsc/btcpayserver
BTCPayServer.Client/Models/StoreWebhookData.cs
1,139
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> //----------------------------------------...
36.839623
97
0.560563
[ "MIT" ]
sergioruizdeveloper/Aspose.Cells-for-.NET
Demos/src/Aspose.Cells.Live.Demos.UI/Assembly/AssemblyApp.aspx.designer.cs
3,907
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace Obi{ /** * Implements common functionality for ObiCollider and ObiCollider2D. */ public abstract class ObiColliderBase : MonoBehaviour { public static Dictionary<int,Component> idToCollider = new Dictionar...
25.117886
133
0.69364
[ "Unlicense" ]
WeTeamA/ChemHack
Assets/Obi/Scripts/Collisions/ObiColliderBase.cs
6,181
C#
using PhoneBook.Views; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace PhoneBook.Controller { public class Helpers { //textboxes public TextBox[] initTB()...
26.361702
84
0.616626
[ "MIT" ]
alaicadm/Phonebook
PhoneBook/Controller/Helpers.cs
1,241
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using System.Reflection; [assembly: AssemblyTitle("NetworkProfiler")] [assembly: AssemblyDescription( "A tool to profile network traffic" )] [assembly: AssemblyConfiguration("")]
30.25
70
0.772727
[ "BSD-2-Clause" ]
PopCap/GameIdea
Engine/Source/Programs/NetworkProfiler/NetworkProfiler/Properties/AssemblyInfo.cs
242
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
60.188679
319
0.776803
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/DirectoryService/Properties/AssemblyInfo.cs
3,190
C#
// Copyright (c) Microsoft. All rights reserved. using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.Azure.Devices.Edge.Hub.Http.Test")]
41.25
76
0.8
[ "MIT" ]
ArchanaMSFT/iotedge
edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Http/AssemblyInfo.cs
165
C#
using Stove.Events.Bus; namespace Stove.EntityFrameworkCore.Tests.Domain_Product.Events { public class VariantAdded : Event { public int ProductId { get; } public string Barcode { get; set; } public string VariantName { get; set; } public VariantAdded(int productId, string b...
22.904762
78
0.611227
[ "MIT" ]
eraydin/Stove
test/Stove.EntityFrameworkCore.Tests/Domain_Product/Events/VariantAdded.cs
483
C#
using System; using System.Collections.Generic; using Bolt; using Ludiq; using Metozis.Cardistry.Internal.Core.Construct; using Metozis.Cardistry.Internal.Core.Entities.Units; using Metozis.Cardistry.Internal.Core.Interaction; using Metozis.Cardistry.Internal.Core.Modularity; using Metozis.Cardistry.Internal.Core.Or...
32.355556
138
0.548935
[ "MIT" ]
Donatoz/HeartBeatInternal
Code/Internal/Core/Entities/Unit.cs
5,826
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Famliy.Finance.DAL; using Famliy.Finance.Models; namespace Famliy.Finance.BLL { public class DBInit { public static readonly DBInit Instance = new DBInit(); public void In...
22.181818
67
0.686475
[ "MIT" ]
erikzhouxin/CSharpSolution
TechTester/FamliyFinanceWebSI/App_Api/Family.Finance.BLL/DBInit.cs
490
C#
//----------------------------------------------------------------------- // <copyright file="StockInfoListBaseJsonResult.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2016 // </copyright> // <summary>Defines the StockInfoListBaseJsonResult class.</summary> //-----------------...
40.108434
113
0.577951
[ "Apache-2.0" ]
Sitecore/Reference-Storefront
Storefront/Common/Project/Models/JsonResults/StockInfoListBaseJsonResult.cs
3,331
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.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Reflection; using Microsoft.EntityFrameworkCore.Diagno...
44.387879
140
0.583015
[ "Apache-2.0" ]
SashaBeluj/efcore
test/EFCore.Relational.Tests/Infrastructure/RelationalModelValidatorTest.cs
51,268
C#
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.636364
137
0.721487
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/TensorboardServiceClient.CreateTensorboardRunAsyncSnippet.g.cs
1,964
C#
using Dahomey.Json.Attributes; using System; using System.Numerics; using System.Text.Json; using System.Text.Json.Serialization; namespace ch1seL.TonNet.Client.Models { /// <summary> /// Not described yet.. /// </summary> public class ResultOfVerifySignature { /// <summary> /// Uns...
23.3
46
0.630901
[ "Apache-2.0" ]
freeton-org/ton-client-dotnet
src/ch1seL.TonNet.Client.Models/Generated/Models/ResultOfVerifySignature.cs
466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AceBlog.Entity { public class BlogContent { /// <summary> /// Blog.Id /// </summary> public int Id { get; set; } public string Html { get; set; } public string Markdo...
19.388889
48
0.581662
[ "MIT" ]
shuxinqin/AceBlog
src/AceBlog.Model/BlogContent.cs
351
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("02...
38.675676
84
0.74703
[ "MIT" ]
RumenNovachkov/ProgrammingFundamentalsCSharp
StringsAndTextProcessing-Exercises/02.ConvertFromBase-NtoBase-10/Properties/AssemblyInfo.cs
1,434
C#
using Microsoft.AspNetCore.Mvc; namespace RealTimeDataEditor.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(); } } }
16.923077
44
0.609091
[ "MIT" ]
Sreng-S/dotNET-Core
Real-Time_Data_Editing/C#/Rtde.AspNetCore1.1.Net4.6.1/Controllers/HomeController.cs
222
C#
namespace MilitaryElite { using Core; using IO; using Entities.Contracts; using System.Collections.Generic; public class StartUp { public static void Main() { var writer = new ConsoleWriter(); var reader = new ConsoleReader(); var soldiers = ...
22.95
61
0.56427
[ "MIT" ]
amartinn/SoftUni
C# Advanced September 2019/C# OOP/exercises/Interfaces and Abstraction - Exercise/MilitaryElite/StartUp.cs
461
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
54.211628
1,490
0.642057
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachine.cs
23,323
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; namespace Administrator.Extensions { public static class EnumExtensions { public static string GetDescription<TEnum>(this TEnum @enum) where TEnum : Enum => ...
32.307692
113
0.641667
[ "MIT" ]
QuantumToasted/Administrator
Administrator/Extensions/EnumExtensions.cs
842
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3ToxicCloud : CGameplayEntity { [Or...
42.740741
135
0.694396
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/W3ToxicCloud.cs
3,462
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Group { public partial class AzureGroupLockTask : ExternalProcessTaskBase<AzureGroupLockTask> { /// <summary> ...
21.769231
90
0.639576
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Group/AzureGroupLockTask.cs
566
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Microsoft.Build.Framework; using Microsoft.Build.BackEnd; #if FEATURE_...
37.900438
170
0.58324
[ "MIT" ]
0xced/msbuild
src/Shared/LogMessagePacketBase.cs
34,643
C#
using System.Collections.Generic; using System.Linq; using DotNetGraphQL.Common; using Xamarin.Forms; namespace DotNetGraphQL.Mobile { class DogImageListPage : BaseContentPage<DogImageListViewModel> { readonly RefreshView _refreshView; public DogImageListPage() { ViewModel...
37.435484
132
0.625592
[ "MIT" ]
eincioch/DotNetGraphQL
Source/DotNetGraphQL.Mobile/Pages/ImageListPage.cs
2,326
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
58.767857
369
0.71969
[ "MIT" ]
lantuma/DDZ
Unity/Assets/Model/ILBinding/Google_Protobuf_Collections_RepeatedField_1_Google_Protobuf_Adapt_IMessage_Bi_t.cs
13,164
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Microsoft.Git.CredentialManager { /// <summary> /// Represents the input for a Git credential query such as get, erase, or store. /// </summary> /// <remarks> /// This class surfaces the input that is st...
27.586777
95
0.514679
[ "MIT" ]
CyberFlameGO/Git-Credential-Manager-Core
src/shared/Microsoft.Git.CredentialManager/InputArguments.cs
3,338
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using GalaSoft.MvvmLight.Command; using Meridian.Controls; using Meridian.Domain; using Meridian.Help...
27.768657
136
0.58022
[ "Apache-2.0" ]
NeonWiredX/meridian
Meridian/View/Flyouts/AddSocietyFlyout.xaml.cs
3,723
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...
28.785714
106
0.700993
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20191001/Outputs/ManagedRuleSetListResponse.cs
806
C#
using System; using System.Drawing; using System.Numerics; using ImGuiNET; using Mana.Graphics; using Mana.Graphics.Shaders; using Mana.Graphics.Textures; using Mana.IMGUI; using Mana.Utilities; using Color = Mana.Graphics.Color; namespace Mana.Example { public class ExampleGame : Game { ...
29.394366
91
0.597029
[ "MIT" ]
Perksey/Mana
Examples/Mana.Example/ExampleGame.cs
2,019
C#
/*<copyright> Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process. Copyright (C) 2013 Dave Clemmer, Intelligent Coding Solutions, LLC This program is free software: you can redistribute it and/or ...
43.836735
239
0.725326
[ "BSD-2-Clause" ]
moplus/modelorientedplus
MoPlus.SolutionBuilder.WpfClient/UserControls/Entities/StateTransitionDetailControl_G.xaml.cs
2,148
C#
namespace UglyToad.PdfPig.DocumentLayoutAnalysis.Export { using Content; /// <summary> /// Exports the page's text into the desired format. /// </summary> public interface ITextExporter { /// <summary> /// Get the text representation of a page in a desired format. /// <...
31.555556
124
0.626761
[ "Apache-2.0" ]
BobLd/PdfP
src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/ITextExporter.cs
570
C#
namespace CommunityToolkit.Maui.UnitTests.Mocks { public enum MockEnum { Foo, Bar, Baz } }
11.111111
48
0.7
[ "MIT" ]
jamesmontemagno/Maui-1
src/CommunityToolkit.Maui.UnitTests/Mocks/MockEnum.cs
102
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 Demo { public partial class frmMenu : Form { public frmMenu() { ...
23.711111
75
0.605436
[ "MIT" ]
jespinoza711/PropuestaDesarrollo
Demo/Demo/frmMenu.cs
1,069
C#
using ProSuite.Commons.Essentials.CodeAnnotations; namespace ProSuite.DomainServices.AO.QA.Exceptions { public interface IExceptionObjectRepository { [NotNull] IExceptionStatistics ExceptionStatistics { get; } [CanBeNull] IExceptionObjectEvaluator ExceptionObjectEvaluator { get; } } }
21.357143
61
0.80602
[ "MIT" ]
ProSuite/ProSuite
src/ProSuite.DomainServices.AO/QA/Exceptions/IExceptionObjectRepository.cs
299
C#
using System; namespace Gumbo.Wrappers { internal class DisposalAwareLazyFactory { private readonly Func<bool> _IsDisposed; private readonly string _ObjectName; public DisposalAwareLazyFactory(Func<bool> isDisposed, string objectName) { if (isDisposed == null) ...
23.585366
81
0.504654
[ "MIT" ]
rgripper/GumboBindings
GumboBindings/Gumbo.Bindings/Wrappers/DisposalAwareLazyFactory.cs
969
C#
using EPiServer; using EPiServer.Cms.Shell; using EPiServer.Core.Html; using EPiServer.Tracking.PageView; using EPiServer.Web.Mvc; using EPiServer.Web.Routing; using Foundation.Features.Category; using Foundation.Features.Shared; using System; using System.Collections.Generic; using System.Globalization; using System....
36.495575
142
0.614937
[ "Apache-2.0" ]
TheFetaxaFromNiN0/Foundation
src/Foundation/Features/Blog/BlogItemPage/BlogItemPageController.cs
4,126
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.Azure.Devices.Samples.Common; using System; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; name...
46.353846
217
0.643213
[ "CC0-1.0" ]
djaus2/az-iothub-ps
PS/qs-apps/quickstarts/device-streams/device-streams-echo/device/DeviceStreamSample.cs
3,015
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 TicketController { public partial class frmRelatorio : Form { public frmRelato...
26.857143
148
0.69016
[ "MIT" ]
Apocryphoon/ticket-controller-master
TicketController/TicketController/frmRelatorio.cs
759
C#
//-------------------------------------------------- // Motion Framework // Copyright©2018-2021 何冠峰 // Licensed under the MIT license //-------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine.Networking; using UnityEngine; namespac...
24.640625
70
0.651237
[ "MIT" ]
ArcherPeng/MotionFramework
Assets/MotionFramework/Scripts/Runtime/Engine/Engine.Network/WebRequest/WebPostRequest.cs
1,604
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Storage.Interfaces; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.RetryPolicies; using Microsoft.WindowsAzure.Storage.Table; namespace Azure.Storage { /// <summary> /// Simple he...
35.497925
151
0.615897
[ "MIT" ]
cmatskas/Azure.Storage
Azure.Storage/TableStorageAsync.cs
8,557
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2021 @Olivier Lefebvre using System; using Aguacongas.TheIdServer.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversio...
37.792115
125
0.473729
[ "Apache-2.0" ]
gowerlin/TheIdServer
src/IdentityServer/Migrations/Aguacongas.TheIdServer.Migrations.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs
10,546
C#
using System; using UGLNet.Interfaces.Inventory; namespace UGLNet.Instances { public class BaseItem : IItem, IEquatable<IItem> { public string Id { get; set; } public int Quantity { get; set; } public int MaxQuantity { get; set; } public object Clone() { re...
24.788732
100
0.471023
[ "MIT" ]
iplooox/UGLNet
UGLNet/Instances/BaseItem.cs
1,762
C#
using System; using System.Runtime.InteropServices; namespace NAudio.Wave.Compression { class AcmStreamHeader : IDisposable { private AcmStreamHeaderStruct streamHeader; private byte[] sourceBuffer; private GCHandle hSourceBuffer; private byte[] destBuffer; pr...
33.364341
159
0.56947
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
thebullmarket/packer
NAudio/NAudio/Wave/Compression/AcmStreamHeader.cs
4,304
C#
namespace JdaTeams.Connector.Functions.Options { public class HttpOptions { public bool IgnoreCertificateValidation { get; set; } = false; } }
20.5
70
0.682927
[ "MIT" ]
Andy65/Microsoft-Teams-Shifts-WFM-Connectors
JDA_v17.2-Shifts-Connector/src/JdaTeams.Connector.Functions/Options/HttpOptions.cs
166
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> //--...
40.482456
170
0.575948
[ "MIT" ]
kubaszostak/Geo7
Source/Geo7.App/Properties/Resources.Designer.cs
4,617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using System.Globalization; using Newtonsoft.Json.Converters; using System.Net; using System.Net.Http; using System.IO; namespace EasyNetworkMonitor.Helpers { ...
26.524272
76
0.513909
[ "MIT" ]
mesudpasic/easynetworkmonitor
Helpers/IPGeo.cs
2,734
C#
using System; namespace MvcPortal.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.333333
70
0.663462
[ "MIT" ]
ArtificialSoda/Rocket_Elevators_Customer_Portal
MvcPortal/Models/ErrorViewModel.cs
208
C#
using System; using System.Runtime.InteropServices; using RGiesecke.DllExport; namespace Mydll { public class Mydll { [DllExport("MyDllFunc", CallingConvention=CallingConvention.StdCall)] public static void MyDllFunc(IntPtr hWnd, [MarshalAs(UnmanagedType.LPStr)] string text, [MarshalAs(...
32.346154
156
0.68371
[ "MIT" ]
fifengine/fife-windows-sdk
build-tools/innosetup/Examples/MyDll/C#/MyDll.cs
843
C#
using System.Resources; 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. [asse...
34.967742
84
0.74631
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter22/SlidingEntrance/SlidingEntrance/SlidingEntrance/Properties/AssemblyInfo.cs
1,085
C#
using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.SharePoint; namespace UnitTests { /// <summary> /// /// </summary> public class SPSTestEngine : IDisposable { private const string DefaultWebName = "TestSite"; private readonly Dictionary<str...
30.618834
116
0.436878
[ "MIT" ]
csegura/SPSProfessional.SharePoint.Framework
SPSProfessional.SharePoint.Framework.Tests/SPSTestEngine.cs
6,834
C#
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build amd64 arm64 s390x // package bytealg -- go2cs converted at 2020 October 09 04:45:56 UTC // import "internal/bytealg" ==> using bytealg = go.@internal...
30.121212
105
0.66499
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/internal/bytealg/index_native.cs
994
C#
using System; using System.IO; using System.Media; using System.Windows.Forms; namespace VTCManager_1._0._0 { class Sound { public SoundPlayer ton_erfolg; public SoundPlayer ton_fehler; public SoundPlayer ton_tour_gestartet; public SoundPlayer ton_tour_beendet; private...
36.406977
141
0.521239
[ "MIT" ]
VTCManager/VTCManager-Client-latest-public
VTCManager 1.0.0/Klassen/Sound.cs
3,133
C#
using System.Collections.Generic; using System.Net.Http; namespace Microsoft.Playwright { internal class Payload { public HttpMethod Method { get; set; } public string PostData { get; set; } public IDictionary<string, string> Headers { get; set; } public string Url { get; set...
19.529412
64
0.638554
[ "MIT" ]
RPagels/playwright-dotnet
src/Playwright/Payload.cs
332
C#
// // Copyright (C) 2012-2014 DataStax Inc. // // 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 ap...
46.368705
173
0.594857
[ "Apache-2.0" ]
SetasSan/csharp-driver
src/Cassandra.IntegrationTests/Mapping/Tests/Fetch.cs
25,783
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json.Linq; using Reportz.Scripting; using Reportz.Scripting.Interfaces; namespace Reportz.Helpers.Common { public class JsonToCsvFormatter : IExecutable { public JsonToCsvFormatter() { ...
29.831169
98
0.427949
[ "MIT" ]
LazyTarget/Reportz
Reportz.Helpers.Common/JsonToCsvFormatter.cs
2,299
C#
/* Copyright ©2020-2021 WellEngineered.us, all rights reserved. Distributed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ using System; using System.Collections.Generic; using System.Threading.Tasks; namespace WellEngineered.Solder.Primitives { public static partial class...
21.11236
113
0.643427
[ "MIT" ]
wellengineered-us/solder
src/WellEngineered.Solder.Primitives/LifecycleExtensions.async.cs
1,882
C#
using IdentityModel; using IdentityServer4.Extensions; using IdentityServer4.Services; using IdentityServer4.Stores; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using PoCAuth.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; na...
40
150
0.583917
[ "MIT" ]
jmanuelcorral/PoCAuth
PoCAuth/Services/AccountService.cs
6,282
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
57.708
245
0.690372
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WindowsPhone81CertificateProfileBaseRequest.cs
14,427
C#
namespace L2ScriptMaker.Modules.AI { partial class AiFixer { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resour...
40.699454
130
0.737648
[ "Apache-2.0" ]
Max4aters/L2ScriptMaker
L2ScriptMaker/Modules/AI/AiFixer.Designer.cs
7,450
C#