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 MassTransit.RabbitMqTransport.Integration { using System; using System.Threading; using System.Threading.Tasks; using Configuration; using Context; using Contexts; using GreenPipes; using Pipeline; using Topology; using Topology.Settings; using Transport; using...
41.335878
155
0.708587
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
src/Transports/MassTransit.RabbitMqTransport/Integration/ConnectionContextSupervisor.cs
5,417
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
33.983784
133
0.416733
[ "MIT" ]
Avd6977/squidex
src/Squidex.Infrastructure/Json/Newtonsoft/JsonValueConverter.cs
6,289
C#
// Copyright (c) .NET Foundation and contributors. 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.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System...
43.560886
144
0.565608
[ "MIT" ]
HEskandari/dotnet-docker
eng/update-dependencies/DockerfileShaUpdater.cs
11,805
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.TestCommon { public class RefTypeTestData<T> : TestData<T> where T : class { priv...
32.368421
133
0.618699
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
OData/test/Microsoft.TestCommon/Microsoft/TestCommon/DataSets/RefTypeTestData.cs
2,462
C#
// <copyright filename="DiApiConnection.cs" project="Framework"> // This file is licensed to you under the MIT License. // Full license in the project root. // </copyright> namespace B1PP.Connections { using Common; using Exceptions; using SAPbouiCOM; using DiCompany = SAPbobsCOM.Company; ...
23.328358
101
0.52975
[ "MIT" ]
laukiet78/SAPB1-C-SHARP
Framework/Connections/DiApiConnection.cs
1,565
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...
47.314516
178
0.680245
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/AWSHealth/Generated/Model/UnsupportedLocaleException.cs
5,867
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Roslynator.CodeMetrics { internal class CodeMetricsOptions { public CodeMetricsOptions( bool includeGenerated = false, ...
34.058824
160
0.66753
[ "Apache-2.0" ]
Maxprofs/Roslynator
src/Core/CodeMetrics/CodeMetricsOptions.cs
1,160
C#
namespace ZeroMQ.AcceptanceTests.ZmqSocketTests { using AcceptanceTests; using NUnit.Framework; [TestFixture] public class WhenTransferringMultipartMessages : UsingThreadedReqRep { protected ZmqMessage Message; protected SendStatus SendResult1; protected SendStatus SendResu...
25.817204
127
0.582257
[ "MIT" ]
JoeyJiao/peach
3rdParty/clrzmq/src/ZeroMQ.AcceptanceTests/ZmqSocketTests/SendMessage_ReceiveMessage.cs
2,403
C#
using System; using System.Collections.Generic; using System.Linq; using ZWave.Channel; using ZWave.Channel.Protocol; namespace ZWave.CommandClasses { public class BatteryReport : NodeReport { public readonly byte Value; public readonly bool IsLow; internal BatteryReport(Node node, by...
28.387097
158
0.602273
[ "Apache-2.0" ]
AdamoT/ZWave4Net
ZWave/CommandClasses/BatteryReport.cs
882
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Calabonga.TicTac.Resx; namespace Calabonga.TicTac.Web.Models { public class ExternalLoginConfirmationViewModel { [Required] [Display(ResourceType = typeof (Resource), Name = "Email"), ] public string E...
32.833333
145
0.630243
[ "MIT" ]
Calabonga/Tic-Tac-Toe
Tic-Tac-Toe/Calabonga.TicTac.Web/Models/AccountViewModels.cs
3,745
C#
using System.Threading.Tasks; namespace Fileicsh.Abstraction { /// <inheritdoc /> /// <summary> /// An abstraction of an authenticated file that can calculate /// the file's hash. /// </summary> public interface IAuthenticatedFile : IFile { /// <summary> /// The hash algori...
28.5
109
0.584795
[ "MIT" ]
Ekenstein/Fileicsh
Fileicsh.Abstraction/IAuthenticatedFile.cs
686
C#
// *********************************************************************** // Assembly : IronyModManager.Models // Author : Mario // Created : 05-29-2020 // // Last Modified By : Mario // Last Modified On : 10-01-2020 // ***********************************************************************...
36.357143
177
0.550491
[ "MIT" ]
LunarTraveller/IronyModManager
src/IronyModManager.Models/GameSettings.cs
2,547
C#
using System; using System.Collections.Generic; using System.Linq; using Bib3; using BotEngine.Interface; using Sanderling.ABot.Bot.Memory; using Sanderling.ABot.Bot.Task; using Sanderling.ABot.Serialization; using Sanderling.Accumulator; using Sanderling.Interface.MemoryStruct; using Sanderling.Motor; using Sanderlin...
30.960976
111
0.761462
[ "Apache-2.0" ]
SDManson/A-Bot-ORBIT-Player-Detection
src/Sanderling.ABot/Bot/Bot.cs
6,349
C#
namespace Interpretators.Expressions.PropertyNames { using Models.Enums; public class BoxSizingType : PropertyName { public BoxSizingType() : base(CssPropertyType.BoxSizing) { } } }
20.181818
64
0.657658
[ "MIT" ]
kraskoo/CssAnimationSerializer
CssSerialization/Interpretators/Expressions/PropertyNames/BoxSizingType.cs
222
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace ApiRestNetCore { public class Program { public...
25.777778
70
0.646552
[ "Apache-2.0" ]
vidapogosoft/CursoWebApiRest-WebServices072020
ApiRestNetCore/Program.cs
696
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Graphics.Imaging; using Windows.Storage; namespace UwpPdf { class ImageUtils { ///////////////////////////////////////////////////////////////////...
51.37037
197
0.56943
[ "MIT" ]
diegotonetti99/pdf-uwp
UwpPdf/ImageUtils.cs
6,937
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...
35.974359
123
0.642908
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20180801/Outputs/BackendAddressPoolResponse.cs
2,806
C#
/* Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice,...
41.042453
216
0.590507
[ "BSD-2-Clause" ]
DoNnMyTh/xenadmin
XenAdminTests/UnitTests/AlertTests/XenServerUpdateAlertTests.cs
8,701
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace Mockaco.Templating.Generating.Source { internal class SourceContentProviderComposite : ISourceContentProvider { private reado...
35.563636
149
0.663088
[ "Apache-2.0" ]
atyminski/Mockaco
src/Mockaco.AspNetCore/Templating/Generating/Source/SourceContentProviderComposite.cs
1,958
C#
using HMI.Vehicles.Services; using UnityEngine; namespace HMI.Vehicles.Behaviours { /// <summary> /// Controls the vehicle /// </summary> public class VehicleController : MonoBehaviour { /// <summary> /// Switch vehicle to next gear /// </summary> public void NextGe...
24.010753
78
0.502911
[ "MIT" ]
sunrui19941128/CarHMI
Assets/UnityTechnologies/HMITemplate/Scripts/HMI/Vehicles/Behaviours/VehicleController.cs
2,235
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OTHub.APIServer.Sql { public class DataCreatorsSql { public static string GetDataCreatorsSql(string userID, bool filterByMyNodes) { var data = $@"select substring(I.NodeId, 1,...
48.793651
139
0.75309
[ "MIT" ]
OT-Hub/OTHub
OTHub.ApiServer/Sql/DataCreatorsSql.cs
3,076
C#
namespace LH.TestObjects.Compare { using System; internal class ValueComparisonAdapter<TProp> : IValueComparison<TProp> { private readonly ValueComparison comparison; private readonly ComparisonContext context; public ValueComparisonAdapter(ValueComparison comparison, ComparisonCon...
26.867647
107
0.591133
[ "MIT" ]
lholota/LH.TestObjects
LH.TestObjects/Compare/ValueComparisonAdapter.cs
1,827
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace my_aspcore_realworld { #pragma warning disable CA1052 // Static holder types should be Static or NotInheritable public static class Program #pragma warning restore CA1052 // Static holder types should be Static or NotInheritab...
31.913043
89
0.626703
[ "MIT" ]
rizaramadan/my-aspcore-realworld
my-aspcore-realworld/Program.cs
734
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("Un...
38.351351
84
0.74771
[ "MIT" ]
chsakell/webapiunittesting
UnitTestingWebAPI.Tests/Properties/AssemblyInfo.cs
1,422
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic;...
30.560886
124
0.552644
[ "MIT" ]
Fabian-Schmidt/azure-functions-durable-extension
test/WebJobs.Extensions.DurableTask.Analyzers.Test/Orchestrator/MethodAnalyzerTests.cs
8,284
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> //--...
39.72807
151
0.584677
[ "MIT" ]
NaxHPL/DemonsSoulsSaveOrganizer
DemonsSoulsSaveOrganizer/Properties/Settings.Designer.cs
4,531
C#
/* Copyright 2012 Michael Edwards 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 i...
38.080537
162
0.629714
[ "MIT" ]
kgkostadinov/TdsTesting
packages/Glass.Mapper.Sc.4.0.7.56/src/Source/Glass.Mapper.Sc/DataMappers/SitecoreFieldTypeMapper.cs
5,674
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Globalization; using System.IO; using System.Net; using System.Text.RegularExpressions; using System.Web; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using Syst...
33.956897
140
0.535796
[ "Apache-2.0" ]
chancie86/DigitalSignage
ViewModels/Twitter/TweetViewModel.cs
7,881
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.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Steeltoe.Common; using Steelt...
48.910352
239
0.579502
[ "Apache-2.0" ]
ScriptBox99/Steeltoe
src/Discovery/test/Eureka.Test/Transport/EurekaHttpClientTest.cs
45,831
C#
namespace AdventureWork.Infra.CrossCutting.MiddlewareFilterNotification.Exceptions { public class NotFoundException : UserFriendlyException { public NotFoundException(string message) : base(message) { } } }
24.4
83
0.709016
[ "MIT" ]
tmoreirafreitas/AdventureWork
AdventureWork.Infra.CrossCutting.MiddlewareFilterNotification/Exceptions/NotFoundException.cs
246
C#
using Microsoft.AspNetCore.Mvc.RazorPages; namespace Ext.Net.Examples.Pages.samples.layout.center.basic { public class IndexModel : PageModel { public void OnGet() { } } }
16.153846
60
0.638095
[ "Apache-2.0" ]
extnet/examples.ext.net
src/Pages/samples/layout/center/basic/index.cshtml.cs
210
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("No...
35.689655
84
0.738164
[ "MIT" ]
EkT1oN/MobileDevelopment
Notes/Notes/Notes.UWP/Properties/AssemblyInfo.cs
1,038
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p8.Vrp.Models { using Microsoft.Rest; using Newtons...
28.693069
122
0.518288
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p8/Vrp/Models/OBDomesticVRPConsentResponse.cs
2,898
C#
// <copyright file="TelemetrySpanTest.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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.apa...
43.328767
153
0.687638
[ "Apache-2.0" ]
humphrieslk/opentelemetry-dotnet
test/OpenTelemetry.Tests/Trace/TelemetrySpanTest.cs
3,165
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange (mailto:Stefan.Lange@pdfsharp.com) // // Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to ...
31.826667
99
0.595727
[ "MIT" ]
XpsToPdf/XpsToPdf
XpsToPdf/PdfSharp/enums/PSMsgID.cs
2,387
C#
namespace TLS.DesignLibrary.Calculations.Output { class CombinationOutput { } }
13.285714
48
0.698925
[ "MIT" ]
TLSoftwareUK/Nautilus-DesignLibrary
src/DesignLibrary.Calculations/Output/CombinationOutput.cs
95
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using System.Reflection; using OpenQA.Selenium; using Tranquire.Selenium.Questions.Converters; using Tranquire.Selenium.Questions.UIModels; using Tranq...
49.069767
203
0.591848
[ "MIT" ]
gitter-badger/tranquire
src/Tranquire.Selenium/Questions/UIModel.cs
10,552
C#
/* Problem 9. Exchange Variable Values • Declare two integer variables a and b and assign them with 5 and 10 and after that exchange their values by using some programming logic. • Print the variable values before and after the exchange. */ using System; class ExchangeValues { static void ...
48.869565
232
0.625445
[ "MIT" ]
mpenchev86/Telerik-Academy
CSharp-Part1/Primitive-Data-Types-And-Variables-Homework/09-ExchangeVariableValues/ExchangeValues.cs
1,130
C#
using System; namespace ID.Internal { internal static class BufferExtensions { public static void Fill(this Span<byte> data, uint size) { unsafe { fixed (byte* ptr = &data.GetPinnableReference()) { Libsodium.randombyte...
21.5
64
0.470284
[ "Apache-2.0" ]
danielcrenna/ID
src/ID/Internal/BufferExtensions.cs
389
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("04....
37.891892
84
0.745364
[ "MIT" ]
Filirien/CSharp-Fundamentals
C# Advanced/CSharp Advanced Exam 19 June 2016/04. Cubic Assault/Properties/AssemblyInfo.cs
1,405
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Util; public class TransformAttachable : MonoBehaviour { [Tooltip("Transform that will be adopted by the new parent"), SerializeField] private Transform _attachable; [Tooltip("The original parent of the...
26.85
97
0.695531
[ "MIT" ]
Luxulicious/Luxulicious.github.io
src/portfolio/BigWeapCombat/Source code/Collision Resolution/TransformAttachable.cs
1,076
C#
namespace CacheFactoryTest.TestDTOs { using CacheFactory.Cachers.Base; using System; /// <summary> /// A Cache Item Key to cause exceptions within the test cases. /// </summary> public class InvalidCacheItemKey : ACacheItemKey { public InvalidCacheItemKey() { th...
23.058824
67
0.627551
[ "MIT" ]
greg1984/CacheFactory
Test/TestDTOs/InvalidCacheItemKey.cs
394
C#
using UnityEngine; using System.Collections.Generic; using Pathfinding.Util; using Pathfinding.Serialization; namespace Pathfinding { /// <summary> /// Exposes internal methods for graphs. /// This is used to hide methods that should not be used by any user code /// but still have to be 'public' or 'internal' (whi...
38.013314
211
0.704635
[ "Unlicense" ]
Ehwhat/BetaArcadeGame
Assets/Plugins/AstarPathfindingProject/Generators/Base.cs
25,697
C#
//using System.Collections.Generic; //using System.Threading.Tasks; //namespace NextGenSoftware.OASIS.API.ONODE.WebAPI //{ // public interface ISCMSService // { // Task<IEnumerable<Sequence>> GetAllSequences(); // } //} ...
30.636364
99
0.480712
[ "CC0-1.0" ]
HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.ONODE.WebAPI/Interfaces/ISCMSService.cs
339
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
33.098361
88
0.659237
[ "MIT" ]
vboctor/azure-activedirectory-library-for-dotnet
msal/src/Microsoft.Identity.Client/json/Utilities/StructMultiKey.cs
2,021
C#
// Copyright (C) WIFIPLUG. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace WifiPlug.Api.Entities { /// <summary> /// Represents ...
28.780488
107
0.602542
[ "Apache-2.0" ]
wifiplug/api-client-net
src/WifiPlug.Api/Entities/GroupItemEntity.cs
1,182
C#
namespace XMap { using System; using System.Linq.Expressions; using System.Reflection; using System.Xml.Linq; class CustomElementConverterActionGenerator<TItem, TProperty> { private readonly Expression<Func<XElement, TProperty>> _converter; private readonly ParameterE...
37.939394
129
0.670128
[ "MIT" ]
markrendle/XMap
XMap/CustomElementConverterActionGenerator.cs
1,254
C#
/**** * PMSM calculation - automate PMSM design process * Created 2016 by Ngo Phuong Le * https://github.com/lehn85/pmsm_calculation * All files are provided under the MIT license. ****/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Femm; using MathNet.Numerics.Linea...
36.123874
189
0.537487
[ "MIT" ]
lehn85/pmsm_calculation
PMSM_calculation/FEMM.cs
64,478
C#
using System; namespace HelloWebSyncServer { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.6875
69
0.61204
[ "MIT" ]
ChristianFrom/Dotmim.Sync
Samples/HelloWebSync/HelloWebSyncServer/WeatherForecast.cs
299
C#
using Files.Shared.Extensions; using Files.Controllers; using Files.DataModels; using Files.Shared.Enums; using Files.Filesystem; using Files.Helpers; using Files.Backend.Services.Settings; using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.DependencyInjection; using CommunityToolkit.Mvvm.Input; u...
35.437014
197
0.547793
[ "MIT" ]
Creperi/Files
src/Files.Uwp/ViewModels/SettingsViewModels/PreferencesViewModel.cs
22,788
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.ServiceFabr...
38.882353
144
0.563691
[ "MIT" ]
MedAnd/service-fabric-client-dotnet
src/Microsoft.ServiceFabric.Client.Http/Generated/Serialization/NodeHealthStateChunkListConverter.cs
3,305
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.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; namespace ConsoleApplication { public ...
31.678571
125
0.634724
[ "MIT" ]
belav/sdk
src/Assets/TestProjects/WatchGlobbingApp/Program.cs
889
C#
using System; using LanguageExt.Attributes; namespace LanguageExt.TypeClasses { [Typeclass] public interface MonadTrans<OuterMonad, OuterType, InnerMonad, InnerType, A> : Typeclass where OuterMonad : struct, Monad<OuterType, InnerType> where InnerMonad : struct, Monad<InnerType, A> { ...
48.930233
130
0.695817
[ "MIT" ]
1iveowl/language-ext
LanguageExt.Core/TypeClasses/MonadTrans/MonadTrans.cs
2,106
C#
using System.Runtime.CompilerServices; using System.Maui; using System.Maui.Internals; [assembly: InternalsVisibleTo("System.Maui.Xaml.UnitTests")] [assembly: InternalsVisibleTo("System.Maui.Build.Tasks")] [assembly: InternalsVisibleTo("System.Maui.Xaml.Design")] [assembly: InternalsVisibleTo("System.Maui.Loader")]//...
70.709677
179
0.792883
[ "MIT" ]
AswinPG/maui
System.Maui.Xaml/Properties/AssemblyInfo.cs
2,192
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.Windows; using System.Windows.Media; using ICSharpCode.AvalonEdit.Rendering; namespace ICSharpCod...
24.213483
103
0.707657
[ "MIT" ]
cafemoca/MinecraftCommandStudio
AvalonEdit/ICSharpCode.AvalonEdit/Rendering/CurrentLineHighlightRenderer.cs
2,157
C#
 namespace TwainDotNet.TwainNative { /// <summary> /// Twain spec ICAP_COMPRESSION values. /// </summary> public enum Compression : short { None = 0, PackBits = 1, Group31d = 2, /* Follows CCITT spec (no End Of Line) */ Group31dEol = 3, /* Foll...
37.2
76
0.437634
[ "MIT" ]
Knitter/twaindotnet
src/TwainDotNet/TwainNative/Compression.cs
932
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using Lipeg.Runtime; using Lipeg.SDK; using Lipeg.SDK.Tree; #pragma warning disable CA1822 // Mark members as static #pragma warning disable CA1307 // Specify StringComparison namespace Lipeg.Boo...
31.837545
163
0.487017
[ "MIT" ]
knutjelitto/Lingu
Lipeg.Boot/GrammarBuilder.cs
8,822
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System.Collections.Immutable; using Microsoft.Extensions.L...
46.018868
164
0.686142
[ "Apache-2.0" ]
OrgAE/OrgAE-Openiddict
src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Device.cs
4,880
C#
using System.IO; using Google.Play.AssetDelivery; using UnityEngine.AddressableAssets; namespace Khepri.AssetDelivery.ResourceHandlers { public abstract class AssetPackAssetBundleResourceHandlerBase : AssetBundleResourceHandlerBase { protected PlayAssetPackRequest playAssetPackRequest; protec...
31.488372
115
0.6226
[ "MIT" ]
Fyffe/be.khepri.play.assetdelivery.addressables
Runtime/ResourceHandlers/AssetPackAssetBundleResourceHandlerBase.cs
1,356
C#
using System; using System.Collections.Generic; #nullable disable namespace ProjectMann.Core.Domain { public partial class Proyecto { public Proyecto() { ComentarioProyectos = new HashSet<ComentarioProyecto>(); ItemTrabajoProyectos = new HashSet<ItemTrabajoProyecto>();...
35.727273
90
0.664122
[ "MIT" ]
GabrielNunez23/ProjectMann
src/ProjectMann.Core/Domain/Proyecto.cs
1,181
C#
using System.Transactions; using Perpetuum.Accounting.Characters; using Perpetuum.Data; using Perpetuum.Groups.Corporations; using Perpetuum.Host.Requests; namespace Perpetuum.RequestHandlers { public class PBSSetReimburseInfo : PbsReimburseRequestHander { public override void HandleRequest(IRequest re...
48.08
187
0.639351
[ "MIT" ]
LoyalServant/PerpetuumServerCore
Perpetuum.RequestHandlers/PbsSetReimburseInfo.cs
2,404
C#
using System.Threading.Tasks; using AspNetDemo.Models; using AspNetDemo.Services; using IdRamp.Passport; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace AspNetDemo.Pages.Passport { [Authorize(AuthenticationSchemes = AuthConstants.Cook...
30.222222
102
0.661029
[ "MIT" ]
idramp/passportapi-aspnetcore-sample
src/AspNetDemo/Pages/Passport/ConnectionProof.cshtml.cs
1,362
C#
using System; using System.Linq; using EventStore.Projections.Core.Services; using EventStore.Projections.Core.Services.Processing; using EventStore.Projections.Core.Tests.Services.projections_manager; using NUnit.Framework; namespace EventStore.Projections.Core.Tests.Services.v8 { [TestFixture] public class when...
35.77907
159
0.61196
[ "Apache-2.0", "CC0-1.0" ]
cuteant/EventStore-DotNetty-Fork
src/EventStore.Projections.Core.Tests/Services/v8/when_running_a_v8_projection_emitting_metadata.cs
3,079
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Orleans.Providers.Streams.Common; using Orleans.Runtime; using Orleans.Streams; using Orleans.TestingHo...
44.919271
177
0.59644
[ "MIT" ]
romanov-is-here/orleans
test/TesterInternal/OrleansRuntime/Streams/PooledQueueCacheTests.cs
17,249
C#
using System.Collections.Generic; namespace AspNetCoreTodo.Models { public class TodoViewModel { public IEnumerable<TodoItem> Items { get; set; } } }
17.1
56
0.690058
[ "MIT" ]
MarceloMagano/dotnetCore-Todo
AspNetCoreTodo/Models/TodoViewModel.cs
171
C#
// <copyright file="ManagerReminderCard.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // </copyright> namespace Microsoft.Teams.Apps.Timesheet.ReminderFunction.Services.AdaptiveCard { using System; using System.Collections.Generic; using Sy...
44.530612
160
0.448213
[ "MIT" ]
hunaidhanfee20/timesheet-app
Source/Microsoft.Teams.Apps.Timesheet.ReminderFunction/Services/AdaptiveCard/ManagerReminderCard.cs
4,366
C#
// SF API version v50.0 // Custom fields included: False // Relationship objects included: True using System; using NetCoreForce.Client.Models; using NetCoreForce.Client.Attributes; using Newtonsoft.Json; namespace NetCoreForce.Models { ///<summary> /// Case Team Member ///<para>SObject Name: CaseTeamMember</para>...
28.461957
66
0.663357
[ "MIT" ]
Mintish/NetCoreForce
src/NetCoreForce.Models/SfCaseTeamMember.cs
5,237
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> //--...
34.775182
184
0.533017
[ "MIT" ]
SJM18/LtiAdvantage
src/Resources/Localization.Designer.cs
23,823
C#
using System; using System.IO; using System.Linq; using System.Reflection; using System.Xml.Linq; using Microsoft.Build.Utilities; namespace RestSharp.Build { public class NuSpecUpdateTask : Task { private Assembly _assembly; public string Id { get; private set; } public string Autho...
28.138211
85
0.571222
[ "Apache-2.0" ]
BradBarnich/RestSharp
RestSharp.Build/NuSpecUpdateTask.cs
3,463
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
25.810219
126
0.522907
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Equal/Complete/String/String/TestSet_504__param__02__VN.cs
3,538
C#
// // System.ServiceModel.EnvelopeVersion.cs // // Author: Duncan Mak (duncan@novell.com) // // Copyright (C) 2005 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...
32.173469
113
0.707897
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.ServiceModel/System.ServiceModel/EnvelopeVersion.cs
3,153
C#
using Newtonsoft.Json; using OpenCvSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ikanopu.Core { public class CropOption { public enum Team { Alpha, Bravo, Watcher, None } /// <summary> ...
32.010989
152
0.476141
[ "MIT" ]
kamiyaowl/ikanopu
ikanopu/Core/CropOption.cs
3,127
C#
namespace Airbooking.Api.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
30.333333
67
0.74359
[ "MIT" ]
wonderu/airbooking
Airbooking.Api/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
273
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using NUnit.Framework; using RestSharp; using System.Linq; namespace restSharpTests { public class TicketDevTests { private readonly string baseUrl = "https://ticketing.dev"; private RestClient _client; [SetUp] public void Setup...
39.63522
137
0.575849
[ "MIT" ]
daviddongguo/ticketing
test/restSharpTests/TicketDevTests.cs
6,302
C#
namespace Masa.Contrib.Ddd.Domain.Tests; [TestClass] public class DomainEventBusTest { private Assembly[] _defaultAssemblies = default!; private IServiceCollection _services = default!; private Mock<IEventBus> _eventBus = default!; private Mock<IIntegrationEventBus> _integrationEventBus = default!; ...
41.862857
173
0.676631
[ "MIT" ]
capdiem/MASA.Contrib
test/Masa.Contrib.Ddd.Domain.Tests/DomainEventBusTest.cs
14,652
C#
using System; using static Gamer.Core.Debug; namespace grendgine_collada { public partial class Grendgine_Collada_Bool_Array_String { public bool[] Value() => Grendgine_Collada_Parse_Utils.String_To_Bool(Value_As_String); } public partial class Grendgine_Collada_Common_Float2_Or_Para...
30.723404
99
0.542936
[ "MIT" ]
WildGenie/game-estates
src/Formats/Collada/src/Gamer.Format.Collada/Collada/Collada_Helpers.cs
2,888
C#
namespace GraphSharp { public class WrappedVertex<TVertex> { private TVertex originalVertex; public TVertex Original { get { return originalVertex; } } public WrappedVertex(TVertex original) { this.originalVertex = original; } } }
15.9375
40
0.713725
[ "Apache-2.0" ]
Cimpress-ACS/Mosaic
ThirdPartyLibs/GraphSharp/src/Graph#/WrappedVertex.cs
257
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class animFloatTrackInfo : CVariable { [Ordinal(0)] [RED("name")] public CName Name { get; set; } [Ordinal(1)] [RED("referenceValue")] public CFloat Refere...
27
105
0.694989
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/animFloatTrackInfo.cs
443
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
25.116279
135
0.670679
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-alimt/Alimt/Model/V20181012/CreateImageTranslateTaskRequest.cs
3,240
C#
using System.ComponentModel; using TestApp.Models.StarWarsAPI; using TestApp.ViewModels; using Xamarin.Forms; namespace TestApp.Views { // Learn more about making custom code visible in the Xamarin.Forms previewer // by visiting https://aka.ms/xamarinforms-previewer [DesignTimeVisible(false)] public p...
26.055556
81
0.610874
[ "MIT" ]
Xablu/Xablu.WebApiClient
src/Samples/TestApp/Views/ItemDetailPage.xaml.cs
940
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
39.185714
134
0.610828
[ "MIT" ]
jkorell/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Utilities/ConvertUtilsTests.cs
5,488
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using Newtonsoft.Json; namespace Dnn.AuthServices.Jwt.Components.Entity { /// <summary> /// Structure used for the Login to obtain a Json Web Tok...
25.142857
101
0.647727
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Dnn.AuthServices.Jwt/Components/Entity/LoginData.cs
530
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....
33.608696
85
0.532988
[ "CC0-1.0" ]
gaybro8777/FM-ULO
Archive/OpenItems/Data/tblFS_CostElementTypes.cs
773
C#
using System; using System.Threading; namespace OfficeDevPnP.Core.Diagnostics { /// <summary> /// Logging class /// </summary> public static class Log { [ThreadStatic] private static ILogger _logger; [ThreadStatic] private static LogLevel? _logLevel; /// <s...
33.239067
220
0.476976
[ "MIT" ]
Ddv0623/PnP-Sites-Core
Core/OfficeDevPnP.Core/Diagnostics/Log.cs
11,403
C#
// // System.Diagnostics.OverFlowAction // // Authors: // Gert Driesen (drieseng@users.sourceforge.net) // // (C) 2006 Novell // // // 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...
34.341463
74
0.727983
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/System/System.Diagnostics/OverflowAction.cs
1,408
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) 2019 The CefNet Authors. All rights reserved. // Licensed under the MIT license. // See the licence file in the project root for full license information. // ------------------------------------------------...
55.236607
260
0.728279
[ "MIT" ]
bakingam1983/CefNet
CefNet/Generated/Native/Types/cef_request_handler_t.cs
12,377
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("...
47.5
401
0.8
[ "MIT" ]
BeyondDimension/appcenter-sdk-dotnet
SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.iOS/Properties/AssemblyInfo.cs
1,520
C#
using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; namespace Acme.BookStore.DbMigrator { class Program { static async Task Main(string[] args) ...
33.853659
83
0.616715
[ "MIT" ]
271943794/abp-samples
BookStore-Blazor-EfCore/src/Acme.BookStore.DbMigrator/Program.cs
1,388
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Threading.Tasks; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; namespa...
28.560606
74
0.638727
[ "MIT" ]
333fred/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/LockKeywordRecommenderTests.cs
3,772
C#
using System.Reflection; namespace Xunit.Abstractions { /// <summary> /// Represents a reflection-backed implementation of <see cref="IAssemblyInfo"/>. /// </summary> public interface IReflectionAssemblyInfo : IAssemblyInfo { /// <summary> /// Gets the underlying <see cref="Assembly"/> for the assembly. ///...
22.875
82
0.693989
[ "Apache-2.0" ]
0xced/xunit
src/xunit.v3.abstractions/Reflection/IReflectionAssemblyInfo.cs
366
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...
39.88587
316
0.595994
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/CognitiveServices/Latest/Account.cs
7,339
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.Net.Http; using System.Security.Principal; using NuGet.Services.Entities; using NuGet.Vers...
34.034759
221
0.667295
[ "Apache-2.0" ]
Mu-L/NuGetGallery
src/GitHubVulnerabilities2Db/Gallery/ThrowingTelemetryService.cs
12,731
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. #nullable disable using System; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.Editor.Razor.Documents { internal class RunningDocum...
38.566667
204
0.697494
[ "MIT" ]
adrianwright109/razor-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/Documents/RunningDocumentTableEventSink.cs
2,316
C#
using LiveCharts; using LiveCharts.Wpf; using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Shapes; namespace LiveChartTutorial { class ViewModel { private ChartValues<int> series; publi...
23.835294
157
0.440276
[ "MIT" ]
pally-ds/ResTool
LiveChartTutorial/ViewModel.cs
2,028
C#
using ArcGIS.Desktop.Framework.Controls; namespace CoordinateConversionLibrary.Views { /// <summary> /// Interaction logic for ProSelectCoordinateFieldsView.xaml /// </summary> public partial class ProSelectCoordinateFieldsView : ProWindow { public ProSelectCoordinateFieldsView() ...
24.25
67
0.649485
[ "Apache-2.0" ]
ArcGIS/coordinate-tool-addin-dotnet
source/CoordinateConversion/ProAppCoordConversionModule/Views/ProSelectCoordinateFieldsView.xaml.cs
388
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Diploms.Dto { public class TemplateEditDto { public int Id { get; set; } public string Name { get; set; } public string Type { get; set; } public string TemplateType { get;...
23.444444
48
0.632701
[ "MIT" ]
denismaster/dcs
src/Diploms.Dto/Templates/TemplateListItem.cs
422
C#
using System.Threading.Tasks; namespace EventDriven.CQRS.Tests.Fakes { public class FakeEventBus : EventBus.Abstractions.EventBus { public override Task PublishAsync<TIntegrationEvent>( TIntegrationEvent @event, string topic = null, string prefix = null) { ...
31.7
65
0.600946
[ "MIT" ]
event-driven-dotnet/EventDriven.CQRS
test/EventDriven.CQRS.Tests/Fakes/FakeEventBus.cs
634
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
49.308943
163
0.693157
[ "BSD-3-Clause" ]
aTiKhan/NLog
src/NLog/Targets/IColoredConsolePrinter.cs
6,065
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("Ne...
39.972973
84
0.754564
[ "MIT" ]
jobeland/GeneticAlgorithm
NeuralNetwork.GeneticAlgorithm/Properties/AssemblyInfo.cs
1,482
C#
using Dynamix; using Fame; using FAMIX; using FILE; using System; using System.Collections.Generic; namespace Dynamix { [FamePackage("Dynamix")] [FameDescription("FieldAlias")] public class FieldAlias : Dynamix.Alias { } }
15.25
43
0.704918
[ "Apache-2.0" ]
feenkcom/roslyn2famix
Roslyn2Famix/Model/Dynamix/FieldAlias.cs
244
C#