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
/* **************************************************************************** * * 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 ...
41.317647
126
0.55448
[ "Apache-2.0" ]
SueDou/python
Src/IronPython/Runtime/Types/InstanceCreator.cs
10,538
C#
using System; using UnityEngine; public class LanguageChangeListener : MonoBehaviour { }
10.222222
51
0.793478
[ "Apache-2.0" ]
ITALIA195/AoTTG-Mod
LanguageChangeListener.cs
92
C#
using System; using System.Reactive.Threading.Tasks; using System.Reactive.Linq; using GitterSharp.Model.Webhook; namespace GitterSharp.Services { public interface IReactiveWebhookService { /// <summary> /// Send event message to a dedicated room /// </summary> /// <param name=...
28.657895
105
0.651974
[ "Apache-2.0" ]
Odonno/gitter-api-pcl
GitterSharp/GitterSharp/Services/ReactiveWebhookService.cs
1,091
C#
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0.0")]
33
65
0.787879
[ "MIT" ]
NikolaMilosavljevic/source-build
src/reference-assemblies/Microsoft.CodeAnalysis.CSharp/netstandard1.3/2.1.0.0/AssemblyVersion.cs
66
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.Risk.Models { public class QueryRiskSwitchRequest : TeaModel { [NameInMap("biz_op")] [Validation(Required=false)] public string BizOp {...
22.290323
54
0.626628
[ "MIT" ]
sdk-team/antchain-openapi-prod-sdk
risk/csharp/core/Models/QueryRiskSwitchRequest.cs
691
C#
using Telegram.Bot.Framework.Abstractions; namespace Telegram.Bot.Framework { public abstract class BotBase : IBot { protected BotBase(string username, ITelegramBotClient client) { Username = username; Client = client; } protected BotBase(string usernam...
25.346154
77
0.605463
[ "MIT" ]
suxrobGM/Telegram.Bot.Framework
src/Telegram.Bot.Framework/BotBase.cs
661
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; namespace Terraria_World { public static class Profiler { public static bool Enabled { get { return _enabled; } ...
55.968153
399
0.614999
[ "Unlicense" ]
DeanReynolds/MonoGame-Tile-Engine
Terraria World/Profiler.cs
8,789
C#
using System.Collections.Generic; using UnityEditor; using UnityEditor.Presets; using UnityEditorInternal; using UnityEngine; namespace PresetKit { public class PresetKitEditor : EditorWindow { [MenuItem("Assets/Create/PresetKit/Preset", false, 0)] private static void CreatePreset() { ...
33.20442
125
0.536772
[ "MIT" ]
zwdxsky10000/PresetKit
Assets/Editor/PresetKit/GUI/PresetKitEditor.cs
6,102
C#
using System.Windows.Controls; namespace tweetz.core.Views { public partial class SettingsView : UserControl { public SettingsView() { InitializeComponent(); } } }
17.75
51
0.600939
[ "MIT" ]
Mr-Kyary/tweetz
src/tweetz.core/Views/SettingsView.xaml.cs
215
C#
// ---------------------------------------------------------------------- // @Namespace : NewtonVgo.Schema.ParticleSystems // @Class : VGO_PS_Renderer // ---------------------------------------------------------------------- namespace NewtonVgo.Schema.ParticleSystems { using Newtonsoft.Json; using S...
41.866242
146
0.640195
[ "MIT" ]
izayoijiichan/VGO2
NewtonVgo/Runtime/Schema/Layouts/ParticleSystems/VGO_PS_Renderer.cs
6,575
C#
using System; using System.Collections.Generic; using UnityEngine; namespace AudioRender { public class GfxRenderDevice : MonoBehaviour, IRenderDevice { public void Dispose() { } void Start() { if (decayMaterial == null) { decayMa...
26.347107
108
0.521016
[ "MIT" ]
ptimonen/AudioRenderUnity
Assets/Plugins/AudioRender/Scripts/Rendering/GfxRender/GfxRenderDevice.cs
3,188
C#
// ========================================================================== // Field.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ==================================================================...
31.281106
166
0.576606
[ "MIT" ]
andrewhoi/squidex
src/Squidex.Domain.Apps.Core/Schemas/Field.cs
6,788
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.530303
153
0.598506
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/GraphServiceSharesCollectionRequestBuilder.cs
2,543
C#
using System; using System.Collections.Generic; #nullable disable namespace KZ.AdventureWorks.Products.Api.Models { public partial class VSalesPersonSalesByFiscalYear { public int? SalesPersonId { get; set; } public string FullName { get; set; } public string JobTitle { get; set; } ...
26.789474
54
0.644401
[ "MIT" ]
az00s/KZ.AdventureWorks.Products.Api
KZ.AdventureWorks.Products.Api/Models/VSalesPersonSalesByFiscalYear.cs
511
C#
// Copyright 2015 Tosho Toshev // // 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 ...
32.482143
78
0.641012
[ "Apache-2.0" ]
cracker4o/elm327lib
ElmCommunicator/ElmCommunicatorTests/Responses/ObdIIResponses/ShowCurrentData/FuelTrimResponseTests.cs
1,821
C#
using CrypTool.CrypAnalysisViewControl; using CrypTool.PluginBase; using CrypTool.PluginBase.Miscellaneous; using System; using System.ComponentModel; using System.Text; using System.Threading; using System.Windows.Controls; using System.Windows.Threading; namespace IDPAnalyser { [Author("George Lasry, Armin Krau...
32.734066
159
0.436451
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
CrypPlugins/IDPAttack/IDPAnalyser.cs
29,791
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System.Numerics; using SixLabors.ImageSharp.PixelFormats; using Xunit; // ReSharper disable InconsistentNaming namespace SixLabors.ImageSharp.Tests.PixelFormats { [Trait("Category", "PixelFormats")] public class L8Tests ...
27.427562
90
0.501546
[ "Apache-2.0" ]
CKoewing/ImageSharp
tests/ImageSharp.Tests/PixelFormats/L8Tests.cs
7,762
C#
using Xunit; namespace Unit.Tests.Encryption.PasswordValidator { public class ConvertSecureStringToStringTests { [Theory] [InlineData("Test32g342gh34")] [InlineData("LogTest321")] [InlineData("!fwe235423GE")] public void Ensure_we_build_a_secure_string(string item) ...
26.703704
97
0.621359
[ "MIT" ]
0x78654C/PwM
Unit.Tests/Encryption/PasswordValidator/ConvertSecureStringToStringTests.cs
723
C#
using System.Web.Mvc; using KnockoutMvcDemo.Models; namespace KnockoutMvcDemo.Controllers { public class UserScriptController : BaseController { public ActionResult Index() { InitializeViewBag("User script"); var model = new UserScriptModel { Message = "Knockout" }; return View(model); ...
20.545455
63
0.674779
[ "MIT" ]
NigelWhatling/knockout-mvc
KnockoutMvcDemo/Controllers/UserScriptController.cs
454
C#
using _3.WildFarm.Models.Foods.Entities; using System; using System.Collections.Generic; namespace _3.WildFarm.Models.Animals.Entities { public class Owl : Bird { public Owl(string name, double weight, double wingSize) : base(name, weight, wingSize) { } public ove...
25.416667
141
0.632787
[ "MIT" ]
BorisLechev/CSharp-Advanced
C# OOP/5. Polymorphism/Exercise/3.WildFarm/Models/Animals/Entities/Owl.cs
636
C#
using MediaWikiApi.Requests; using MediaWikiApi.Wiki.Handler.Abstractions; using MediaWikiApi.Wiki.Handler.Exceptions; using MediaWikiApi.Wiki.Response.Query; using MediaWikiApi.Wiki.Response.Query.Extracts; namespace MediaWikiApi.Wiki.Handler { public class ExtractResponseHandler<T> : QueryHandler<T, T, ExtractC...
41.857143
176
0.683732
[ "MIT" ]
Adrian-Akro/MediaWikiAPI
MediaWikiApi/Wiki/Handler/ExtractResponseHandler.cs
1,760
C#
using System.IO; using WhateverDevs.Core.Runtime.Persistence; namespace WhateverDevs.Core.Runtime.Configuration { /// <summary> /// Json file persister that adds a prefix for storing the configuration on the local folder. /// </summary> public class ConfigurationJsonFilePersisterOnLocalFolder : JsonFil...
42.435484
109
0.613075
[ "MIT" ]
WhateverDevs/Core
Runtime/Configuration/ConfigurationJsonFilePersisterOnLocalFolder.cs
2,631
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. namespace System.Data.Common { public static class DbMetaDataCollectionNames { public static readonl...
42
86
0.745536
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Data.Common/src/System/Data/Common/DbMetaDataCollectionNames.cs
672
C#
/* Copyright 2010-present MongoDB 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 applicable law or agreed to in wri...
34.482143
118
0.687209
[ "Apache-2.0" ]
JohnFedorchak/mongo-csharp-driver
src/MongoDB.Driver.Core/MongoDuplicateKeyException.cs
1,931
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("As...
37.702703
84
0.743369
[ "MIT" ]
KLIM8D/AsmDiff.NET
AsmDiff.NET/Properties/AssemblyInfo.cs
1,398
C#
using Encog.ML.EA.Train; using Encog.Neural.NEAT; using Encog.Neural.Networks.Training; using MyProject01.Controller.Jobs; using MyProject01.Factorys.PopulationFactorys; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject01.Controller...
27.291667
66
0.633588
[ "BSD-3-Clause" ]
a7866353/encog-dotnet-core_work01
MyProject/MyProject01/Controller/NewTrainer.cs
1,312
C#
using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FactorySpace.Models { [Index(nameof(EngineerId), nameof(MachineId), IsUnique = true)] public class MachineEngineer { public int MachineEngineerId { get; ...
30.647059
65
0.708253
[ "Unlicense" ]
yesthecarlos/Factory
Factory/Models/MachineEngineer.cs
521
C#
namespace PaninApi.Abstractions.Enums { public enum OrderStatus { Creating, Payed, Accepted, Ready, Rejected, Expired // Not in the database (only at runtime when we receive a request) } }
20.666667
82
0.58871
[ "MIT" ]
fablabromagna-org/PaninAPI
src/PaninApi.Abstractions/Enums/OrderStatus.cs
248
C#
/*The MIT License (MIT) Copyright (c) 2013 Philipp Schröck <philsch@hotmail.de> 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 us...
32.944444
110
0.705312
[ "MIT" ]
RoseLeBlood/rap
SoundOut/SoundInterface/ISoundStream.cs
2,375
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.AspNetCore.Routing.Patterns { internal static class RoutePar...
45.038314
162
0.436835
[ "Apache-2.0" ]
akrisiun/AspNetCore
src/Http/Routing/src/Patterns/RouteParameterParser.cs
11,755
C#
namespace Checkout.ApiServices.Tokens.ResponseModels { public class CardTokenCreate { public string Id { get; set; } public string LiveMode { get; set; } public string Created { get; set; } public string Used { get; set; } public Cards.ResponseModels.Card Card { get; set...
27.666667
59
0.620482
[ "MIT" ]
CKOTech/checkout-net-library
Checkout.ApiClient.NetStandard/ApiServices/Tokens/ResponseModels/CardTokenCreate.cs
334
C#
using Domain; using HeatingApi.Attributes; using HeatingControl.Application.Commands; using HeatingControl.Application.Queries; using HeatingControl.Models; using Microsoft.AspNetCore.Mvc; namespace HeatingApi.Controllers { /// <summary> /// Controller for dashboard. /// </summary> [Route("/api/dashbo...
39.73913
116
0.604408
[ "MIT" ]
flarestudiopl/shiny-system-rpi
HeatingApi/Controllers/DashboardController.cs
6,400
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...
35.119205
138
0.567226
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-tailscale
sdk/dotnet/DeviceTags.cs
5,303
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.IO; using Xunit; namespace System.Formats.Tar.Tests { public abstract partial class TarTestsBase : FileCleanupTestBase { protected void SetPosixPropert...
38.731544
110
0.648414
[ "MIT" ]
Ali-YousefiTelori/runtime
src/libraries/System.Formats.Tar/tests/TarTestsBase.Posix.cs
5,773
C#
namespace Dracoon.Sdk.Model { /// <include file = "ModelDoc.xml" path='docs/members[@name="passwordCharacterSetType"]/PasswordCharacterSetType/*'/> public enum PasswordCharacterSetType { /// <include file = "ModelDoc.xml" path='docs/members[@name="passwordCharacterSetType"]/None/*'/> None, ...
55.6
121
0.652278
[ "Apache-2.0" ]
DAVISOL-GmbH/dracoon-csharp-sdk
DracoonSdk/SdkPublic/Model/PasswordCharacterSetType.cs
836
C#
using System.Collections.Generic; namespace EShopOnAbp.BasketService; public class BasketDto { public float TotalPrice { get; set; } public List<BasketItemDto> Items { get; set; } public BasketDto() { Items = new List<BasketItemDto>(); } }
19.285714
50
0.674074
[ "MIT" ]
abpframework/eShopOnAbp
services/basket/src/EShopOnAbp.BasketService.Application.Contracts/BasketDto.cs
270
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
43.196429
463
0.77594
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.ServiceModel/Sources/System.ServiceModel.ComIntegration.IPersistStream.cs
2,419
C#
/******************************************************************************* * Copyright 2012-2019 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...
47.533333
295
0.6261
[ "Apache-2.0" ]
aws/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/EKS/Basic/Register-EKSCluster-Cmdlet.cs
15,686
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace Core.FrontEnd.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Colle...
25.904762
80
0.676471
[ "MIT" ]
badpaybad/opendotnet-ecommerce-platform
Core.FrontEnd/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
544
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading; using System.Threading.Tasks; namespace ResilientCommand.Tests { [TestClass] public class SemaphoreTests { [TestMethod] [ExpectedException(typeof(SemaphoreRejectedException))] public asyn...
35.25
114
0.651694
[ "Unlicense" ]
VisualBean/ResilientCommand
ResilientCommand.Tests/SemaphoreTests.cs
1,271
C#
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
36.833333
134
0.71644
[ "Apache-2.0" ]
amccool/microdot
Gigya.Microdot.Hosting/HttpService/Endpoints/SchemaEndpoint.cs
1,991
C#
using System; using System.Runtime.InteropServices; namespace Steamworks { public sealed class Callback<T> { public Callback(global::Steamworks.Callback<T>.DispatchDelegate func, bool bGameServer = false) { this.m_bGameServer = bGameServer; this.BuildCCallbackBase(); this.Register(func); } private...
32.159091
183
0.751708
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/Steamworks/Callback.cs
4,247
C#
using System; using System.Collections.Generic; using System.Linq; using GraphQL.Types; namespace GraphQL.EntityFramework { public partial interface IEfGraphQLService { FieldType AddQueryField<TReturn>( ObjectGraphType graph, string name, Func<ResolveFieldContext<ob...
33.294118
76
0.630742
[ "MIT" ]
timvandesteeg/GraphQL.EntityFramework
src/GraphQL.EntityFramework/IEfGraphQLService_Queryable.cs
1,134
C#
using System.Threading.Tasks; namespace ArtworkSourceSpecification { public static class ArtworkCacheExtensions { public static async Task<string> WhoamiAsync(this IArtworkSource source) { var user = await source.GetUserAsync(); return user.Name; } public static async Task<string> GetUserIconAsync(this ...
26.3125
81
0.75772
[ "MIT" ]
libertyernie/ArtSync
CrosspostSharp3/ArtworkSourceSpecification/Extensions.cs
423
C#
using System.Runtime.Serialization; using Service.BitGo.SignTransaction.Domain.Models; namespace Service.BitGo.SignTransaction.Grpc.Models { [DataContract] public class UpdatePendingApprovalRequest { [DataMember(Order = 1)] public string BrokerId { get; set; } [DataMember(Order = 2)] publi...
42.529412
86
0.670816
[ "MIT" ]
MyJetWallet/Service.BitGo.SignTransaction
src/Service.BitGo.SignTransaction.Grpc/Models/UpdatePendingApprovalRequest.cs
725
C#
using System; using Windows.Data.Xml.Dom; using System.Linq; using System.Threading; using System.Collections.Generic; using SmartHive.CloudConnection.Events; using Windows.ApplicationModel.Core; using System.Globalization; using System.Net.Http; namespace SmartHive.CloudConnection { public sealed class HttpConne...
42.474227
188
0.533131
[ "Apache-2.0" ]
Microsoft/SmartHive
SmartHive.ScheduleBoard/SmartHive.CloudConnection/HttpConnection.cs
8,242
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("03...
38.297297
84
0.743119
[ "MIT" ]
Filirien/Programing-Basics-August-2017
Complex Conditional Statements/03. Point in Rectangle/Properties/AssemblyInfo.cs
1,420
C#
using System; using System.ComponentModel.Composition; namespace NuPattern.Runtime.Bindings { /// <summary> /// Provides a dynamic binding context to provide additional exports /// for binding evaluation. /// </summary> public interface IDynamicBindingContext : IDisposable { /// <summa...
35.857143
97
0.61992
[ "Apache-2.0" ]
dbremner/nupattern
Src/Runtime/Source/Runtime.Extensibility/Bindings/IDynamicBindingContext.cs
1,255
C#
using System; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Core.IO; using Cake.Core.Tooling; namespace Cake.Mage { internal class NewOrUpdateMageTool : MageTool<BaseNewAndUpdateMageSettings> { /// <summary> /// Runs a new or update Mage.exe command /// </summary> //...
55.52809
302
0.650344
[ "MIT" ]
cake-contrib/Cake.Mage
src/Cake.Mage/NewOrUpdateMageTool.cs
4,944
C#
using BattleTech; using BattleTech.Data; using BattleTech.Framework; using Harmony; using HBS.Collections; using System; using System.Collections.Generic; namespace RepeatableFlashpoints { [HarmonyPatch(typeof(SimGameState), "CompleteFlashpoint")] public static class SimGameState_CompleteFlashpoint_Patch { ...
49.188119
218
0.551731
[ "MIT" ]
Morphyum/RepeatableFlashpoints
RepeatableFlashpoints/RepeatableFlashpoints/Patch.cs
4,970
C#
namespace TestSolution.TestAssembly { public class Class1 { public string Property1 { get; } public class Class2 { public string Property2 { get; } public class Class3 { public string Property3 { get; } } }...
19.294118
48
0.47561
[ "Apache-2.0" ]
veton/dotScript
test/test-cases/.NotSupported/Nested/TestAssembly/Class1.cs
328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; namespace MARIA { public partial class MARIAWebRequestCollection { private Dictionary<string, MARIAWebRequest> AvailableWebRequests { get; set; } public MARIAWeb...
35.717647
116
0.527009
[ "MIT" ]
kirbyprojects/MARIA
MARIA/MARIAWebRequestCollection.cs
3,038
C#
using DiscordMusicBot.LoungeBot; using Newtonsoft.Json; using System; using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; namespace DiscordMusicBot { internal class Program { public static #if FALLBACK MusicBot #else LoungeBot.LoungeBot ...
32.693878
115
0.470974
[ "MIT" ]
Pegasust/DiscordLoungeBot
DiscordMusicBot/Program.cs
3,206
C#
using System; using System.Collections.Generic; using System.Text; namespace DataAggregator { public interface IAggregator { int AggregateData(Options opts); } }
15.333333
40
0.711957
[ "MIT" ]
ecrin-github/DataAggregator
TopLevelClasses/Interfaces/IAggregator.cs
186
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.MigrationHub")] [assembly: Assembly...
78.96875
1,249
0.781163
[ "Apache-2.0" ]
k0lpak/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/MigrationHub/Properties/AssemblyInfo.cs
2,527
C#
using ZPLForge.Common; using ZPLForge.Configuration; namespace ZPLForge.Builders { public sealed class RectangleBuilder : ElementBuilderBase<RectangleElement, RectangleBuilder> { internal RectangleBuilder() { } public RectangleBuilder SetDimensions(int width, int height) ...
28.189189
97
0.653883
[ "MIT" ]
MQUELHAS/ZPLForge
src/ZPLForge/Builders/RectangleBuilder.cs
1,045
C#
using System; using System.Device.Gpio; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Iot.Device.Multiplexing.Utility; namespace Iot.Device.Multiplexing { /// <summary> /// Provides support for Charlieplex multiplexing. /// https://wikipedia.org/wiki/Charl...
37.715232
178
0.5223
[ "MIT" ]
gukoff/nanoFramework.IoT.Device
src/devices_generated/Charlieplex/CharlieplexSegment.cs
11,390
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.344828
81
0.624432
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ecdn/V20191012/Models/DescribeIpStatusResponse.cs
1,836
C#
using Application.Interfaces.Contexts; using Application.Interfaces.Services.Role; using Common.Messages; using Common.ViewModel.Role; using Entity.Tools; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading; using...
46.296512
125
0.56863
[ "Unlicense" ]
rezaamooee/SimpleWebSite
Application/Services/Role/Query/RoleQUERYServices.cs
8,179
C#
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Threading; using Sys...
34.379808
191
0.468326
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Workspaces/Core/Workspace/Host/FileTracking/FileTrackingServiceFactory.cs
7,153
C#
using System; using System.IO; using Amazon.S3; using Amazon.S3.Model; using RadPdf.Lite; using RadPdf.Integration; namespace RadPdfDemoNoService.CustomProviders { // This example uses the Amazon Simple Storage Service (S3) API, see: // https://www.nuget.org/packages/AWSSDK.S3/ // Using a key-value / No...
32.24812
127
0.543483
[ "MIT" ]
radpdf/samples
CS_NET6_No_Service/CustomProviders/S3LiteStorageProvider.cs
4,291
C#
using AutoMapper; using MediatR; using Microsoft.Extensions.Logging; using Ordering.Application.Contracts.Persistence; using Ordering.Application.Exceptions; using Ordering.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Thread...
36.404255
133
0.717124
[ "MIT" ]
Loominex/AspCoreMicroService_Udemy
MicroService_Udemy/Services/Ordering/Ordering.Application/Features/Commands/UpdateOrder/UpdateOrderCommandHandler.cs
1,713
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace MessageBoard.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
66.105263
169
0.561146
[ "Unlicense" ]
lavinbrenna/MessageBoard.Solution
MessageBoard/Migrations/20220330230926_initial.cs
6,282
C#
using System; using System.Windows.Forms; using Serilog; namespace HASSAgent.Controls.Onboarding { // ReSharper disable once InconsistentNaming public partial class MQTT : UserControl { public MQTT() { InitializeComponent(); } private void MQTT_Lo...
39.229508
117
0.600919
[ "MIT" ]
Syntoxr/HASS.Agent
src/HASS.Agent/HASSAgent/Controls/Onboarding/6-MQTT.cs
2,395
C#
// Copyright (c) 2020 Ryuju Orchestra using System; using System.Runtime.CompilerServices; using RyujuEngine.Mathematics; namespace RyujuEngine.Units { /// <summary> /// A struct that contains a position on a beat. /// あるタイミングの時刻を拍数で表す構造体です。 /// </summary> public readonly struct BeatPoint : IComparable , IComp...
28.15625
98
0.695418
[ "MIT" ]
RyujuOrchestra/RyujuEngine
Runtime/RyujuEngine.Units/BeatPoint.cs
6,951
C#
using System; using System.Collections.Generic; // ReSharper disable once CheckNamespace namespace Ricoh { /// <summary> /// Allows for external metadata to be added to properities or classes which can be inspected at runtime. /// </summary> class RicohDeviceCapabilityMetaDataAttribute: Attribute { /// ...
29.142857
107
0.710784
[ "MIT" ]
gheeres/Ricoh.NET
Attributes/RicohDeviceCapabilityMetaDataAttribute.cs
614
C#
using Grpc.Core; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TestsStorageService.API; using TestsStorageService.Db; using Utilities.Types; using Utilities.Extensions; using Newtonsoft.Json; using Microsoft.EntityFramework...
39.191489
177
0.491178
[ "MIT" ]
GataullinRR/Testkit
TestsStorage/MainController.cs
7,370
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TripTracker.BackService.Models { public class Repository { private List<Trip> MyTrips = new List<Trip> { new Trip { Id = 1, Name =...
23.296875
72
0.445339
[ "Apache-2.0" ]
klpinto22/TripTracker
TripTracker.BackService/Models/Repository.cs
1,493
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // </copyright> // <summary> // Implements the program class. // </summar...
32.678571
120
0.442623
[ "MIT" ]
kephas-software/kephas
Samples/Configuration/ConsoleSettings.JsonConfiguration/Program.cs
917
C#
// // WSEncryptedXml.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2007 Novell, Inc (http://www.novell.com) // // 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 Softwa...
31.208955
93
0.712578
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.ServiceModel/System.ServiceModel.Channels/WSEncryptedXml.cs
2,091
C#
// // DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE. // #nullable enable #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. using System; using System.Collections.Generic; namespace CefNet.DevTools.Protocol.Network { //...
32.956522
140
0.746702
[ "MIT" ]
CefNet/CefNet.DevTools.Protocol
CefNet.DevTools.Protocol/Generated/Network/CrossOriginEmbedderPolicyStatus.g.cs
758
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatc...
42.258065
250
0.725954
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.cs
1,310
C#
using System; using System.Drawing; using System.Drawing.Drawing2D; namespace RefactorMe { internal class Drawer { private static float s_xPos; private static float s_yPos; private static Graphics s_graphics; public const float FirstSidePosition = 0.375f; public const f...
35.019608
86
0.565789
[ "MIT" ]
VsIG-official/Study-Projects
CSharp/ULearn/Risovatel/DrawingProgram.cs
3,574
C#
using System; using System.Collections.Generic; using System.Text; namespace Keutmann.SharePoint.WSPBuilder.Library { public enum DLLType : int { Managed = 0, Resource = 1, Unmanaged = 2 } }
16.357143
48
0.637555
[ "MIT" ]
keutmann/wspbuilder
WSPTools/App/WSPBuilder/Library/DLLType.cs
231
C#
namespace MountainSocialNetwork.Web.ViewModels.Administration { using System; using MountainSocialNetwork.Data.Models; using MountainSocialNetwork.Services.Mapping; public class NewsFeedPostAdministrationViewModel : IMapFrom<NewsFeedPost> { public int Id { get; set; } public stri...
24.242424
103
0.6025
[ "MIT" ]
Ventsislav-Ignatov/MountainSocialNetwork
src/Web/MountainSocialNetwork.Web.ViewModels/Administration/NewsFeedPostAdministrationViewModel.cs
802
C#
// <copyright file="DSP_Frames.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). // </copyright> namespace AudioAnalysisTools.DSP { using System; ...
40.35605
184
0.521299
[ "Apache-2.0" ]
stewartmacdonald/audio-analysis
src/AudioAnalysisTools/DSP/DSP_Frames.cs
29,018
C#
using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace Vertical.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <typeparam name="TEntit...
39.95
142
0.710263
[ "MIT" ]
Networked-Community/Vertical
aspnet-core/src/Vertical.Zero/EntityFrameworkCore/Repositories/VerticalZeroRepositoryBase.cs
1,600
C#
using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; namespace MSMQ.Messaging { /// <include file='..\..\doc\MessagingDescriptionAttribute.uex' path='docs/doc[@for="MessagingDescriptionAttribute"]/*' /> /// <devdoc> /// DescriptionAtt...
33.574074
160
0.615003
[ "MIT" ]
kwende/MSMQ.Messaging
src/Messaging/MessagingDescriptionAttribute.cs
1,813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FreeCourse.Web.Models.Orders { public class OrderItemCreateInput { public string ProductId { get; set; } public string ProductName { get; set; } public string PictureUrl { get; se...
25
47
0.674667
[ "MIT" ]
ardansisman/MicroserviceWorkshop
Frontends/FreeCourse.Web/Models/Orders/OrderItemCreateInput.cs
377
C#
using System; using System.Collections.Generic; using System.Text; using System.Reflection; /// <summary> /// This class has a dictionary property that will return the name of the field and the object associated with it. It uses reflection to get the name and object. /// </summary> namespace simple_sia_library.Classe...
33.357143
162
0.637045
[ "MIT" ]
kiljoy001/simple_sia
Sia Library/Classes/Helper/PropertyReflector.cs
936
C#
using System; using System.IO; namespace GVFS.Common.NamedPipes { public class BrokenPipeException : Exception { public BrokenPipeException(string message, IOException innerException) : base(message, innerException) { } } }
20.5
79
0.627178
[ "MIT" ]
50Wliu/VFSForGit
GVFS/GVFS.Common/NamedPipes/BrokenPipeException.cs
289
C#
using System; namespace Actuarial.Shared.Domain { public class Person { public string Name { get; set; } public DateTime BirthDate { get; set; } public Gender Gender { get; set; } } }
20
47
0.604545
[ "MIT" ]
nielskeizer/Actuarial
src/Actuarial/Shared/Domain/Person.cs
220
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //+---------------------------------------------------------------------------- // // Microsoft Windows // File: ISponsor.cool // // Contents: Interface for Sponsors // // History: 1/5/00 pdejong ...
29.633333
111
0.509561
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/clr/bcl/system/runtime/remoting/isponsor.cs
889
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...
57.679892
243
0.679189
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/PinpointEmail/Generated/_netstandard/IAmazonPinpointEmail.cs
85,783
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore; using BookClub.Models; using Microsoft.AspNetCore.Identity; namespace BookClub { publ...
28.923077
73
0.680851
[ "Unlicense", "MIT" ]
KristaRutz/Week-12-Advanced-Databases-and-Authentication-Project
BookClub/Startup.cs
1,880
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...
28.769231
92
0.676471
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpArgs.cs
748
C#
namespace CarsVelingrad.ViewModels { using System; using System.Collections.Generic; using System.Text; public class VehicleViewModel { public int Id { get; set; } public string Brand { get; set; } public decimal Price { get; set; } public string AdvertDate { get...
19.857143
48
0.57554
[ "MIT" ]
Kalin1603/CarsVelingrad
CarsVelingrad/CarsVelingrad.ViewModels/VehicleViewModel.cs
697
C#
using System; namespace CarSalesman { public class Engine { public string Model { get; set; } public int Power { get; set; } public string Displacement { get; set; } public string Efficiency { get; set; } public Engine(string model, int power, string displacement = "n/...
24.333333
102
0.551859
[ "MIT" ]
bobo4aces/04.SoftUni-CSharpFundamentals
02. CSharp OOP Basics - 01. Defining Classes/Exercises/DefiningClassesExercises/10. Car Salesman/Engine.cs
513
C#
namespace Stealer { using System; public class StartUp { static void Main(string[] args) { var spy = new Spy(); var fieldsInfo = spy.StealFieldInfo("Hacker", "username", "password"); Console.WriteLine(fieldsInfo); var accessModif...
24.611111
83
0.555305
[ "MIT" ]
q2kPetrov/SoftUni
C# OOP/06_Reflection/Demo/1. Stealer/StartUp.cs
445
C#
namespace DedupEngine { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using VideoDedupShared.IVideoFileExtension; using Video...
34.981349
98
0.509187
[ "MIT" ]
balQu/VideoDedup
DedupEngine/DedupEngine.cs
24,382
C#
using System.Collections.Generic; using Litmus.Core.ProjectAggregate; namespace Litmus.Web.Endpoints.ProjectEndpoints { public class ProjectListResponse { public List<ProjectRecord> Projects { get; set; } = new(); } }
22.727273
67
0.692
[ "MIT" ]
daneelshof/litmus
src/Litmus.Web/Endpoints/ProjectEndpoints/List.ProjectListResponse.cs
252
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace MyAnimeListSharp.Core { /// <summary> /// Class representing AnimeSearch result /// </summary> /// <remarks>http://stackoverflow.com/a/608181/4035</remarks> [Serializable, XmlRoot("anime")] public class An...
28.882353
79
0.678208
[ "MIT" ]
dance2die/Project.MyAnimeList
Project.MyAnimeList/Project.MyAnimeList/Core/AnimeSearchResponse.cs
491
C#
 public static class IntExtensions { /// <summary> /// /// </summary> /// <param name="a"></param> /// <param name="b"></param> /// <returns></returns> public static bool HasFlag (this int a, int b) { return (a & b) == b; } /// <summary> /// /// </summary> /// <param nam...
25.185185
75
0.492647
[ "MIT" ]
Canpea55/UnitySourceMovement
Modified fragsurf/Extensions/IntExtensions.cs
682
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("Min...
39.459459
84
0.75411
[ "MIT" ]
robolivable/MinecraftServerConnect
MinecraftServerConnect/Properties/AssemblyInfo.cs
1,463
C#
namespace Tailspin.AnswerAnalysisService.Commands { using System; using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Tailspin.Web.Survey.Shared.Helpers; using Tailspin.Web.Survey.Shared.QueueMessages; using Tailspin.Web.Survey.Shared.Stores; ...
38.700935
211
0.585124
[ "MIT" ]
msajidirfan/cloud-services-to-service-fabric
servicefabric/Tailspin/Tailspin.AnswerAnalysisService/Commands/UpdatingSurveyResultsSummaryCommand.cs
4,143
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.942308
114
0.720706
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/EnableAWSOrganizationsAccessRequest.cs
1,869
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4927 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
39.888889
150
0.585887
[ "MIT" ]
Zegeger/Decal
ZChatSystem/ZChatSystem/VirindiView/ViewWrapperCodeGenerator/ViewWrapperCodeGenerator/Properties/Settings.Designer.cs
1,079
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using Shiny.BluetoothLE; namespace Shiny.Testing.BluetoothLE { public class TestGattService : IGattService { public TestGattService(IPeripheral peripheral, string uuid) { this.Peripheral...
30.837209
131
0.592006
[ "MIT" ]
Codelisk/shiny
src/Shiny.Testing/BluetoothLE/TestGattService.cs
1,328
C#
using Stl.Serialization.Internal; namespace Stl.Serialization; [DataContract] public readonly struct ExceptionInfo : IEquatable<ExceptionInfo> { private static readonly Type[] ExceptionCtorArgumentTypes1 = { typeof(string), typeof(Exception) }; private static readonly Type[] ExceptionCtorArgumentTypes2 = { ty...
31.072072
115
0.627428
[ "MIT" ]
servicetitan/Stl
src/Stl/Serialization/ExceptionInfo.cs
3,449
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 ("T...
38.081081
84
0.738822
[ "BSD-3-Clause" ]
splitandthechro/nginz
src/Games/TowerDefense/Properties/AssemblyInfo.cs
1,412
C#