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
// 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; using System.ComponentModel.Composition; using System.Diagnostics.CodeAnalysis; us...
50.071429
114
0.689652
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/EditorFeatures/Core.Wpf/Classification/ClassificationTypeFormatDefinitions.cs
51,876
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Portions derived from React Native: // Copyright (c) 2015-present, Facebook, Inc. // Licensed under the MIT License. using System; using System.Reactive; #if WINDOWS_UWP using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.An...
34.389831
126
0.598078
[ "MIT" ]
05340836108/react-native-windows
current/ReactWindows/ReactNative.Shared/UIManager/LayoutAnimation/LayoutUpdateAnimation.cs
4,058
C#
using JT808.Protocol.Attributes; using JT808.Protocol.Formatters.MessageBodyFormatters; namespace JT808.Protocol.MessageBody { /// <summary> /// 查询终端属性应答 /// </summary> [JT808Formatter(typeof(JT808_0x0107_Formatter))] public class JT808_0x0107 : JT808Bodies { /// <summary> /// ...
31.345679
66
0.520284
[ "MIT" ]
HengCC/JT808-1
src/JT808.Protocol/MessageBody/JT808_0x0107.cs
3,367
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Noord.Hollands.Archief.Preingest.WorkerService.Entities { public class AppSettings { public String EventHubUrl { get; set; } public String WebApiUrl { get; set; } }...
21.533333
65
0.718266
[ "MIT" ]
noord-hollandsarchief/preingest
preingest/Noord.Hollands.Archief.Preingest.WorkerService/Entities/AppSettings.cs
325
C#
using Enmeshed.BuildingBlocks.Application.Abstractions.Exceptions; using Enmeshed.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Enmeshed.DevelopmentKit.Identity.ValueObjects; using Enmeshed.Tooling; using Enmeshed.UnitTestTools.BaseClasses; using FakeItEasy; using FluentAssertions; using Sy...
37.556522
179
0.738365
[ "MIT" ]
nmshd/bkb-synchronization
Synchronization.Application.Tests/Tests/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/HandlerTests.cs
4,321
C#
using System; using System.Collections.Generic; using System.Linq; using CommandLine; using Grynwald.MdDocs.ApiReference.Commands; using Grynwald.MdDocs.ApiReference.Configuration; using Grynwald.MdDocs.CommandLineHelp.Commands; using Grynwald.MdDocs.CommandLineHelp.Configuration; using Grynwald.MdDocs.Common.Configur...
38.082353
118
0.641335
[ "MIT" ]
ap0llo/mddocs
src/MdDocs/Program.cs
3,239
C#
/* Copyright (c) 2013, 2014 Paolo Patierno All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse....
36.189873
134
0.530139
[ "EPL-1.0" ]
aromaa/nanoFramework.m2mqtt
M2Mqtt/Messages/MqttMsgPuback.cs
8,577
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; namespace Microsoft.Azure.WebJobs { /// <summary>Provides extension methods for the <see cref="IBinder"/> interface...
36.777778
111
0.629406
[ "Apache-2.0" ]
alpaix/azure-jobs
src/Microsoft.Azure.WebJobs/BinderExtensions.cs
995
C#
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using NAudio.Utils; namespace NAudioTests.WaveStreams { [TestFixture] [Category("UnitTest")] public class CircularBufferTests { [Test] public void CircularBufferHasMaxLengthAndCount() { ...
35.217391
94
0.561111
[ "MIT" ]
skor98/DtWPF
speechKit/NAudio-master/NAudioTests/WaveStreams/CircularBufferTests.cs
4,862
C#
// // generic.cs: Generics support // // Authors: Martin Baulig (martin@ximian.com) // Miguel de Icaza (miguel@ximian.com) // Marek Safar (marek.safar@gmail.com) // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2001, 2002, 2003 Ximian, Inc (http://www.ximian.com) ...
26.819133
169
0.63136
[ "MIT" ]
GreenDamTan/simple-assembly-exploror
ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/generic.cs
92,231
C#
using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; namespace WendigoJaeger.TranslationTool.Undo { public class UndoObservableCollection<T> : ObservableCollection<T>, IUndoPropertyChanged, IUndoArrayChanged, INotifyPropertyChanged { public event Und...
40.463415
140
0.601567
[ "MIT" ]
wendigojaeger/TranslationTools
LibWendigoJaegerTranslationTool/Undo/UndoObservableCollection.cs
3,320
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...
40.704348
189
0.661611
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Lambda/Generated/Model/Internal/MarshallTransformations/DeleteFunctionConcurrencyResponseUnmarshaller.cs
4,681
C#
using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web.Mvc; using AD419.DataHelper.Web.Models; using AD419.DataHelper.Web.ViewModels; namespace AD419.DataHelper.Web.Controllers { public class ExpiredProjectsController : SuperController { // GET: ExpiredProjectCr...
31.616162
96
0.569329
[ "MIT" ]
ucdavis/AD419DataHelper
AD419.DataHelper.Web/Controllers/ExpiredProjectsController.cs
3,132
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // ReSharper disable once CheckNamespace namespace NPascalCoin.API.Objects { /// <summary> /// Type of key used for public/private key encryption. /// </summary> public enum KeyType { /// <summar...
16.333333
56
0.632653
[ "MIT" ]
Sphere10/NPascalCoin
src/NPascalCoin/API/Objects/KeyType.cs
590
C#
namespace CoAndContraVariance { public class Client : Person { public Client(string firstname, string lastname) : base(firstname, lastname) { } public int Budget { get; set; } } }
20.9
88
0.641148
[ "MIT" ]
shuryak/csharp-learning
Delegates/Covariance and contravariance/CoAndContraVariance/Client.cs
209
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("Mos...
38.27027
84
0.752119
[ "MIT" ]
LuGeorgiev/CSharpSelfLearning
Arrays/MostFrequentlyMetElement/Properties/AssemblyInfo.cs
1,419
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Luval.Tests.Stubs { public class DataReader : IDataReader { public void Dispose() { } public string GetName(int i) ...
18.939024
98
0.469414
[ "Apache-2.0" ]
marinoscar/Luval
Code/Luval.Tests/Stubs/DataReader.cs
3,108
C#
using Xamarin.Forms; namespace FFImageLoading.Forms.Sample { public partial class ByteArrayListPage : BasePage<ByteArrayListPageModel> { public ByteArrayListPage() { InitializeComponent(); } } }
18.846154
77
0.644898
[ "MIT" ]
tmijieux/FFImageLoading
samples/ImageLoading.Forms.Sample/Shared/Pages/ByteArrayListPage.xaml.cs
247
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 ...
36.384615
63
0.755814
[ "Apache-2.0" ]
VAllens/aliyun-openapi-sdk-net-core
src/aliyun-net-sdk-ecs/Model/V20140526/ModifyEipAddressAttributeResponse.cs
946
C#
using ErpBS100; using PRISDK100; using StdBE100; using SUGIMPL_OME.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using System.Threading.Tasks; namespace SUGIMPL_OME.CrossCompany { class PayablesReceivables { ...
60.720339
311
0.607955
[ "MIT" ]
Everest89/ERP10Extensibility
Implementation/SIMulticompanyOrganizations/SIMulticompanyOrganizations/CrossCompany/PayablesReceivables.cs
7,167
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class BTests { const int TimeLimit = 2000; const double RelativeError = 1e-9; [TestMethod, Timeout(TimeLimit)] public void Test1() { const string input = @"6 1 2 2 2...
21.333333
59
0.526042
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
AGC/AGC041/Tests/BTests.cs
960
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace KaupischIT.Extensions { /// <summary> /// Stellt Erweiterungsmethoden für die IEnumerable-Schnittstelle bereit /// </summary> public static class EnumerableExtensions { /// <summary> /// Gibt d...
66.895833
360
0.754386
[ "MIT" ]
Kaupisch-IT/KaupischIT.Shared
KaupischIT.Extensions/EnumerableExtensions.cs
9,689
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using System.Runtime.CompilerServices; namespace EditingCollections.Data { public class PurchaseItem : INotifyPropertyChanged, IEditableObject { private Item...
23.460177
91
0.519804
[ "MIT" ]
darkzonecode/WPFSamples
WPFSamples/Data Binding/EditingCollections/Data/PurchaseItem.cs
2,653
C#
using Neo.IO; using Neo.IO.Data.LevelDB; using Neo.IO.Json; using Neo.Ledger; using Neo.Network.P2P.Payloads; using Neo.Persistence; using Neo.SmartContract; using Neo.SmartContract.Native; using Neo.VM; using Neo.Wallets; using System; using System.Buffers.Binary; using System.Collections.Generic; using System.IO; usi...
44.071429
169
0.588613
[ "MIT" ]
PaschaC420/neo-modules
src/RpcNep17Tracker/RpcNep17Tracker.cs
14,191
C#
using System; using System.Collections.Generic; using PholioVisualisation.PholioObjects; namespace PholioVisualisation.DataConstruction { public interface ITimePeriodTextListBuilder { void Add(TimePeriod timePeriod); void AddRange(IEnumerable<TimePeriod> timePeriods); IList<string> Get...
24.928571
59
0.756447
[ "MIT" ]
PublicHealthEngland/fingertips-open
PholioVisualisationWS/DataConstruction/ITimePeriodTextListBuilder.cs
351
C#
using Microsoft.AspNetCore.Mvc; using Sfa.Tl.ResultsAndCertification.Common.Enum; using System.Threading.Tasks; namespace Sfa.Tl.ResultsAndCertification.Web.UnitTests.Controllers.PostResultsServiceControllerTests.PrsAddRommGet { public abstract class TestSetup : PostResultsServiceControllerTestBase { ...
36.4
114
0.710165
[ "MIT" ]
SkillsFundingAgency/tl-result-and-certification
src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/PostResultsServiceControllerTests/PrsAddRommGet/TestSetup.cs
730
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dep...
31.830508
143
0.632588
[ "MIT" ]
BSchafer01/BSCustomFixedLoanCalculator
FixedLoanCalculator/Startup.cs
1,878
C#
namespace Net.Xmpp.Extensions { /// <summary> /// Describes how long a conference room will exist for. /// </summary> public enum RoomPersistence { /// <summary> /// Not specified by the server. /// </summary> Undefined, /// <summary> /// A room that...
22.75
68
0.527473
[ "MIT" ]
las-nsc/Net.Xmpp
Extensions/XEP-0045/RoomPersistence.cs
548
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Generic; using Xunit; namespace System.Net.Primitives.Functional...
31.557471
144
0.578583
[ "MIT" ]
2E0PGS/corefx
src/System.Net.Primitives/tests/FunctionalTests/CookieCollectionTest.cs
5,491
C#
using System; using System.Linq; using System.Threading.Tasks; using DqtApi.DataStore.Crm.Models; using Microsoft.Extensions.Caching.Memory; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; namespace DqtApi.Tests { public partial class TestDataHelper { public async Task<CreatePersonResult> C...
46.811828
172
0.596302
[ "MIT" ]
DFE-Digital/qualified-teachers-api
tests/DqtApi.Tests/TestDataHelper.CreatePerson.cs
8,709
C#
#if UNITY_EDITOR || RUNTIME_CSG using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Sabresaurus.SabreCSG { public class VertexWeldToleranceOperation : VertexWeldOperation { protected float tolerance; // Takes the selected vertices and welds together any o...
30.724771
110
0.709764
[ "MIT" ]
BentouDev/SenseiJam2017
Assets/SabreCSG/Scripts/Tools/Utilities/Vertex Weld Ops/VertexWeldToleranceOperation.cs
3,351
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using RVTR.Account.ObjectModel.Models; using Xunit; namespace RVTR.Account.UnitTesting.Tests { public class BankCardModelTest { public static readonly IEnumerable<Object[]> _bankCards = new List<Object[]> { n...
22.225352
88
0.580482
[ "MIT" ]
2006-jun15-net/rvtr-svc-account
aspnet/RVTR.Account.UnitTesting/Tests/BankCardModelTest.cs
1,578
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lpp.Dns.Data { [Table("DataMartAvailabilityPer...
34.25641
118
0.661677
[ "Apache-2.0" ]
Missouri-BMI/popmednet
Lpp.Dns.Data/DataMarts/DataMartAvailabilityPeriod_v2.cs
1,338
C#
/* * Stocks API For Digital Portals * * The stocks API features a screener to search for equity instruments based on stock-specific parameters. Parameters for up to three fiscal years might now be used in one request; data is available for the ten most recent completed fiscal years. Estimates are available for the ...
53.593264
1,570
0.607966
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/StocksAPIforDigitalPortals/v3/src/FactSet.SDK.StocksAPIforDigitalPortals/Model/InlineResponse20012Data.cs
20,687
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("Sa...
37.756757
84
0.743737
[ "BSD-3-Clause" ]
andreabalducci/Prxm.Cqrs
Sample.Tests/Properties/AssemblyInfo.cs
1,400
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
54.5
223
0.831193
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/jaeger/dotnet/Kubernetes/Crds/Operators/Jaeger/Jaegertracing/V1/Outputs/JaegerSpecAgentAffinityPodAntiAffinity.cs
1,635
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2018. * * Leap Motion proprietary and confidential. * * ...
33.723684
131
0.514631
[ "MIT" ]
CallumFerguson/VR-Protein
Assets/LeapMotion/Core/Scripts/Hands/RigidHand.cs
2,563
C#
using System.Collections.Generic; using System.Text.RegularExpressions; namespace Generator.Shared.Utilities { public static class StringHelper { public static bool TryMultiReplace(string input, Dictionary<string, string> replacements, ref string result) { var regex = new Regex(string.Join("|", replacements....
23.428571
110
0.711382
[ "MIT" ]
havenindustries/Amusoft.VisualStudio.TemplateGenerator
src/Generator.Shared/Utilities/StringHelper.cs
494
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...
44.736318
282
0.610098
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/ECR/Basic/Get-ECRResourceTag-Cmdlet.cs
8,992
C#
namespace SlackNet { [SlackType("group")] public class StarredGroup : StarredItem { public string Group { get; set; } } }
18.25
43
0.60274
[ "MIT" ]
Cereal-Killa/SlackNet
SlackNet/Objects/StarredGroup.cs
148
C#
using System; namespace PhotoChannelWebAPI.Dtos { public class CommentForListDto { public int UserId { get; set; } public int CommentId { get; set; } public string Description { get; set; } public string FirstName { get; set; } public string LastName { get; set; } ...
24.733333
47
0.609164
[ "MIT" ]
AliYildizoz909/PhotoChannel
PhotoChannelWebAPI/Dtos/CommentForListDto.cs
373
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Gltf.Serialization { internal sealed partial class Exporter { private static readonly Matrix4x4 InvertZMatrix = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, new Vector3(1, 1, -1)); private static readonly Mat...
35.979798
130
0.550253
[ "MIT" ]
bghgary/glTF-Tools-for-Unity
UnityProject/Assets/Gltf/Editor/Exporter.Skin.cs
3,564
C#
using System; using System.Threading.Tasks; using MAVN.Numerics; namespace MAVN.Service.WalletManagement.Domain.Publishers { public interface IEmailNotificationsPublisher { Task SendP2PSucceededForSenderAsync(string customerId, string transactionId, Money18 amount, ...
28.193548
64
0.643021
[ "MIT" ]
HannaAndreevna/MAVN.Service.WalletManagement
src/MAVN.Service.WalletManagement.Domain/Publishers/IEmailNotificationsPublisher.cs
876
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
35.077778
126
0.590117
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/CompleteLifecycleActionRequest.cs
6,314
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter; using Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2; using Microsoft.VisualStudio.TestT...
49.668142
206
0.631537
[ "MIT" ]
0neb1n/WindowsProtocolTestSuites
TestSuites/FileServer/src/SMB2/TestSuite/AppInstanceId/AppInstanceIdWithEncryption.cs
11,225
C#
using LyncNinja.Services.Interfaces.Data; namespace LyncNinja.Services.DataService { public class DataService : IDataService { #region Constructor public DataService(ILinkedResourceData linkedResourceData) { LinkedResource = linkedResourceData; } #endregion ...
25.454545
72
0.641071
[ "MIT" ]
lukecusolito/LyncNinja
LyncNinja.Services.DataService/DataService.cs
562
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using OpenBudgeteer.Core.Common.Database; #nullable disable namespace OpenBudgeteer...
33.614286
85
0.451551
[ "Apache-2.0", "MIT" ]
Hazy87/OpenBudgeteer
OpenBudgeteer.Core/Migrations/Sqlite/20220213195523_ImportCreditColumn.Designer.cs
9,414
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MobiFlight { class UsageDetails { protected static bool enabled = false; public static bool Enabled() { return enabled; } public static void Enabled(bool state)...
18.648649
55
0.497101
[ "Unlicense" ]
CaptainBobSim/Connector-Open-Source-Control-Loading-system
Base/UsageDetails.cs
692
C#
 namespace Netflix_Helper { partial class Form1 { /// <summary> /// 필수 디자이너 변수입니다. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 사용 중인 모든 리소스를 정리합니다. /// </summary> /// <param name="disp...
45.398773
174
0.569324
[ "MIT" ]
rlawlghkd12/Netplex_Helper
develop/Netflix_Helper/Form1.Designer.cs
7,636
C#
using CommonMark.Formatters; using CommonMark.Parser; using System; using System.IO; using System.Reflection; using System.Text; using System.Threading; namespace CommonMark { /// <summary> /// Contains methods for parsing and formatting CommonMark data. /// </summary> public static class CommonMarkCo...
44.943218
174
0.595283
[ "BSD-3-Clause" ]
eway-crm/CommonMark.NET
CommonMark/CommonMarkConverter.cs
14,249
C#
namespace LinkStash.Core { using System; using Newtonsoft.Json; /// <summary> /// This base class provides comparison based on the Id and the usual /// reference equality. /// </summary> public abstract class Entity { [JsonProperty(PropertyName = "id")] public string Id...
27.171171
120
0.467175
[ "MIT" ]
vip32/LinkStash
src/LinkStash.Core/Entities/Entity.cs
3,018
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. [ass...
35.258065
84
0.745654
[ "Apache-2.0" ]
dnelly/peachpie
src/Compiler/PhpSyntax/Properties/AssemblyInfo.cs
1,096
C#
using System; namespace RestfulFirebase.Utilities { /// <summary> /// Provides <see cref="TimeSpan"/> extensions. /// </summary> public static class TimeSpanExtensions { private const int Second = 1; private const int Minute = 60 * Second; private const int Hour = 60 * Minu...
30.859375
112
0.498228
[ "Apache-2.0" ]
Kiryuumaru/RestfulFirebase
RestfulFirebase/Utilities/TimeSpanExtensions.cs
1,977
C#
using System.IO; using OrchardCore.Environment.Commands; namespace OrchardCore.Hosting.HostContext { public class CommandHostContext { public CommandReturnCodes StartSessionResult { get; set; } public CommandReturnCodes RetryResult { get; set; } public OrchardParameters Arguments { get...
30.294118
66
0.702913
[ "BSD-3-Clause" ]
Craige/OrchardCore
src/OrchardCore/OrchardCore.Hosting.Console/HostContext/CommandHostContext.cs
515
C#
using Autofac; using Collatz.Api.Logging; namespace Collatz.Api { public sealed class ApiModule : Module { protected override void Load(ContainerBuilder builder) { base.Load(builder); builder.RegisterType<SerilogLogging>().As<ILogger>().SingleInstance(); } } }
17.5
73
0.728571
[ "MIT" ]
rockfordlhotka/xplat-netcore-webassembly
src/jbock/Collatz.Api/ApiModule.cs
282
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if NETFX_CORE using System.Collections; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Web.Http; #else using S...
31.755319
186
0.567616
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
src/System.Net.Http.Formatting/Internal/HttpValueCollection.cs
8,957
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Runtime.CompilerServices; using osu.Framework.Graphics; using osu.Framework.Graphics.Primitives; using osuTK; namespace osu.Framework...
46.038462
162
0.615288
[ "MIT" ]
Flutterish/osu-framework
osu.Framework/Utils/ConvexPolygonClipper.cs
7,027
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> //-----------------------------------------...
34.428571
84
0.53112
[ "Apache-2.0" ]
dotindo/9deddde2
DotMercy/DotMercy/custom/GenerateJobCard.aspx.designer.cs
2,410
C#
using System; using System.Linq; using Abp.Dapper.Repositories; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Events.Bus; using Abp.Events.Bus.Entities; using Shouldly; using Xunit; namespace Abp.Dapper.NHibernate.Tests { public class DapperNhBasedRepository_Tests : DapperNhBasedApplicationTestBa...
35.810345
156
0.603595
[ "MIT" ]
12321/aspnetboilerplate
test/Abp.Dapper.NHibernate.Tests/DapperNhBasedRepository_Tests.cs
6,233
C#
using Newtonsoft.Json; namespace Alexa.NET.Management.ReferenceCatalogManagement { public class CatalogScheduleTrigger:IUpdateJobTrigger { [JsonProperty("type")] public string Type => "Schedule"; [JsonProperty("hour")] public int Hour { get; set; } [JsonProperty("dayOfWeek",Nu...
29.714286
80
0.677885
[ "MIT" ]
stoiveyp/Alexa.NET.Management
Alexa.NET.Management/ReferenceCatalogManagement/CatalogScheduleTrigger.cs
418
C#
// -------------------------------------------------------------------------------------------- // <copyright file="DataLoaderConfigurationLatchMock.cs" company="Effort Team"> // Copyright (C) Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this sof...
36.616667
97
0.573964
[ "MIT" ]
HydAu/EFeffort
Main/Source/Effort.Test/Internal/Fakes/DataLoaderConfigurationLatchMock.cs
2,199
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.R...
52.941176
81
0.671111
[ "MIT" ]
tanaka-takayoshi/aspnetcore-ssl-exameple
AspNetCoreSslExample/obj/Debug/netcoreapp2.0/AspNetCoreSslExample.AssemblyInfo.cs
900
C#
using System; using System.Threading; using System.Threading.Tasks; using F0.Cli; namespace F0.Tests.Commands { internal sealed class InternalCommand : CommandBase { internal const string Name = "internal"; public InternalCommand() { } internal string[]? Args { get; set; } internal string? Internal { ...
18.230769
87
0.732068
[ "MIT" ]
Flash0ver/F0.Cli
source/test/F0.Cli.Tests/Commands/InternalCommand.cs
474
C#
// Copyright © 2017 Valdis Iljuconoks. // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publ...
43.182796
118
0.643177
[ "Apache-2.0", "MIT" ]
FluiTec/FluiTec.AppFx.Localization
src/LocalizationProvider/src/DbLocalizationProvider/Sync/LocalizedEnumTypeScanner.cs
4,019
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-...
37.783784
84
0.746066
[ "Apache-2.0" ]
KostadinovK/Technology-Fundamentals
07-Methods-Functions/Homework/02-Vowels-Count/Properties/AssemblyInfo.cs
1,401
C#
// Copyright (c) Russlan Akiev. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace IdentityBase.Twilio { using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; usin...
33.2
107
0.674699
[ "Apache-2.0" ]
BGuang/IdentityBase
src/IdentityBase.Web/Plugins/IdentityBase.Twilio/ConfigureServicesAction.cs
1,162
C#
using System; using System.Runtime.InteropServices; namespace SevenZip.NativeInterface.IO { /// <summary> /// An interface with no implementation. /// </summary> [Guid("23170F69-40C1-278A-0000-000300060000")] [InterfaceImplementation(InterfaceImplementarionType.NotImplemented)] public interfac...
23.842105
73
0.657837
[ "MIT" ]
rougemeilland/SevenZip.Compression.Wrapper.NET
SevenZip.NativeInterface/IO/IStreamGetSize.cs
455
C#
using System; using D_Parser.Formatting; using D_Parser.Formatting.Indent; using MonoDevelop.Ide.Gui.Content; namespace MonoDevelop.D.Formatting.Indentation { public class DIndentEngine : IndentEngine, IDocumentStateEngine, DFormattingOptionsFactory { DFormattingPolicy policy; TextStylePolicy textStyle; pu...
25.653846
100
0.785607
[ "Apache-2.0" ]
llucenic/Mono-D
MonoDevelop.DBinding/Formatting/Indentation/DIndentEngine.cs
669
C#
using Codetox; using UnityEngine; namespace Codetox.Variables { [CreateAssetMenu(menuName = Framework.MenuRoot.Variables.Reference, fileName = nameof(ReferenceVariable), order = 12)] public sealed class ReferenceVariable : Variable<Object> { } }
26.3
122
0.749049
[ "MIT" ]
aruizrab/codetox-for-unity
Runtime/Variables/ReferenceVariable.cs
265
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.Text; namespace DocGenerator.Documentation.Blocks { public class JavaScriptBlock : CodeBlock { p...
31.027027
92
0.715157
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
src/DocGenerator/Documentation/Blocks/JavaScriptBlock.cs
1,148
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Labs_81_ASP_Framework_ToDoV2 { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() ...
26.681818
70
0.715503
[ "MIT" ]
Lidinh26/Sparta-C-Sharp-Course
Labs_81_ASP_Framework_ToDoV2/Global.asax.cs
589
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.WebJobs.Extensions.SignalRService { internal class SignalRCollectorBuilder<T> : IConverter<SignalRAttribute, IAsyncCollector<T>> { ...
36.454545
116
0.721945
[ "MIT" ]
JialinXin/azure-functions-signalrservice-extension
src/SignalRServiceExtension/Bindings/SignalRCollectorBuilder.cs
804
C#
using UnityEngine.Experimental.Rendering; namespace UnityEngine.Rendering.HighDefinition { class SharedRTManager { // The render target used when we do not support MSAA RTHandle m_NormalRT = null; RTHandle m_MotionVectorsRT = null; RTHandle m_CameraDepthStencilBuffer = ...
45.102362
264
0.611674
[ "MIT" ]
WilsonRedSocks/OGPC13
src/Library/PackageCache/com.unity.render-pipelines.high-definition@7.3.1/Runtime/Material/SharedRTManager.cs
17,184
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.NET.HostModel.AppHost; using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; namespace Microsoft.NET.HostModel.Bundle { ...
45.519685
146
0.631898
[ "MIT" ]
333fred/runtime
src/installer/managed/Microsoft.NET.HostModel/Bundle/TargetInfo.cs
5,781
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
23.344828
53
0.728213
[ "MIT" ]
kalatchev/Celestial.UIToolkit
src/ControlGallery/Xaml/SamplePages/Layout/RelativeCanvas.xaml.cs
679
C#
namespace Web.Sample { using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWebHostBuilder(string[] ar...
23.421053
73
0.593258
[ "MIT" ]
jmanuelcorral/APIMocker
src/sample/Web.Sample/Program.cs
447
C#
using System; using System.Collections.Generic; using System.Text; namespace IronAHK.Rusty.Linux.X11.Events { internal enum XEventName { KeyPress = 2, KeyRelease = 3, ButtonPress = 4, ButtonRelease = 5, MotionNotify = 6, EnterNotify = 7, LeaveNotify = 8,...
23.212766
40
0.546288
[ "BSD-2-Clause" ]
Paris/IronAHK
Rusty/Linux/X11/Events/XEventName.cs
1,093
C#
namespace PenguinUpload.DataModels.Auth { public class RegistrationRequest { public string Username { get; set; } public string Password { get; set; } public string InviteKey { get; set; } } }
25.444444
45
0.633188
[ "Apache-2.0" ]
0xFireball/PenguinUpload
src/PenguinUpload/DataModels/Auth/RegistrationRequest.cs
231
C#
// Custom Renderer using System; using System.Collections.Generic; using System.Runtime.InteropServices; using AtomicEngine; namespace AtomicBlaster { [StructLayout(LayoutKind.Sequential)] struct PositionColorUVVertex { public float X, Y, Z; public uint Color; public float U, V;...
31.185083
230
0.528302
[ "MIT" ]
AtomicGameEngine/AtomicExamples
AtomicBlaster/CSharp/Resources/Scripts/CustomRenderer.cs
11,289
C#
using System; namespace LogExpertSharp { public abstract class HttpService : IDisposable { protected readonly Connection Connection; public HttpService(Connection connection) { Connection = connection; } public HttpService(string token) { ...
20.52381
54
0.600928
[ "MIT" ]
Enhed/LogExpertSharp
HttpService.cs
431
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.SpacingRules { using System; using System.Threading; using System.Threading.Tasks; using ...
38.598446
158
0.614135
[ "Apache-2.0" ]
Andreyul/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1001UnitTests.cs
14,901
C#
using System; using System.Globalization; namespace Units { /// <summary> /// Class ElectricCurrent. /// Implements the <see cref="Unit{ElectricCurrent}" /> /// </summary> /// <seealso cref="Unit{ElectricCurrent}" /> public class ElectricCurrent : Unit<ElectricCurrentUnit> { /// <s...
39.730769
116
0.607212
[ "MIT" ]
bromnl/Units
sources/Units/ElectricCurrent.cs
4,134
C#
using CssUI.CSS.Parser; using CssUI.DOM; using CssUI.DOM.Nodes; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace CssUI.CSS.Selectors { public class CssPseudoElementSelectorFunction : PseudoElementSelector { protected readonly List<CssToken> Args; ...
27.297297
123
0.632673
[ "MIT" ]
dsisco11/CssUI
CssUI/CSS/Selector/Types/PseudoElementSelectorFunctions.cs
1,012
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public float MovementSpeed = 5; public float JumpSpeed = 5; public float TurnSpeed = 5; public float SneakMultiplier = 0.3f; private int groundCount; private int iceCou...
27.45614
109
0.608946
[ "MIT" ]
jschwarzwalder/OnlyOneCoin
Assets/Scripts/PlayerMovement.cs
3,132
C#
using System.ComponentModel.Composition; using System.Waf.Applications.Services; namespace System.Waf.Presentation.Services { /// <summary>Service that is responsible to load and save user settings.</summary> [Export(typeof(ISettingsService)), Export] public sealed class SettingsService : SettingsServiceC...
28.166667
86
0.757396
[ "MIT" ]
DotNetUz/waf
src/System.Waf/System.Waf/System.Waf.Wpf/Presentation/Services/SettingsService.cs
340
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...
39.875
87
0.623197
[ "MIT" ]
Agazoth/azure-powershell
src/Synapse/Synapse/Models/DataPlaneModels/Artifact/Notebooks/PSNotebookKernelSpec.cs
1,558
C#
using System; using JetBrains.Annotations; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Resources; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace UnitTests.Internal { public sealed class RequestScopedServiceProviderTests { [Fact...
29.583333
148
0.682629
[ "MIT" ]
json-api-dotnet/JsonApiDotNetCore
test/UnitTests/Internal/RequestScopedServiceProviderTests.cs
1,065
C#
using Rg.Plugins.Popup.Contracts; using Rg.Plugins.Popup.Events; using Rg.Plugins.Popup.Pages; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Bit.Client.Xamarin.Controls.Implementations { public class BitPopupNavigation : IPopupNavigation { public IPopupNavigat...
30.28
94
0.612065
[ "MIT" ]
ShahryarSaljoughi/bitframework
src/Client/Xamarin/Bit.Client.Xamarin.Controls/Implementations/BitPopupNavigation.cs
2,273
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...
33
111
0.660985
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/ElasticSearch/Inputs/DomainAutoTuneOptionsMaintenanceScheduleDurationArgs.cs
1,056
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...
40.734177
178
0.646675
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/NoSuchStreamingDistributionException.cs
3,218
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAn...
51.241379
187
0.750673
[ "Apache-2.0" ]
AdamSpeight2008/roslyn-1
src/EditorFeatures/Core/Implementation/TextDiffing/EditorTextDifferencingService.cs
2,974
C#
namespace WebApi { using System.Linq; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using NSwag; u...
29.509091
143
0.579791
[ "MIT" ]
ahmetsaiderdem/CleanArchitecture
src/Apps/WebApi/Startup.cs
3,246
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdownLite { using System.Text.RegularExpressions; public class GfmEmInlineRule : MarkdownEmInlineRule { ...
29.4
102
0.70068
[ "MIT" ]
928PJY/docfx
src/Microsoft.DocAsCode.MarkdownLite/Gfm/GfmEmInlineRule.cs
429
C#
#region License, Terms and Conditions // // Jayrock - JSON and JSON-RPC for Microsoft .NET Framework and Mono // Written by Atif Aziz (atif.aziz@skybow.com) // Copyright (c) 2005 Atif Aziz. All rights reserved. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU L...
31.875
100
0.651471
[ "MIT" ]
erikzhouxin/CSharpSolution
NetSiteUtilities/Jayrock/Json/Json/Conversion/Converters/ExporterBase.cs
2,040
C#
// Copyright (c) All contributors. All rights reserved. Licensed under the MIT license. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tinyhand; using Xunit; namespace Tinyhand.Tests { public enum MyEnum { One, Two, Three } [Tinyhand...
21.097561
88
0.583815
[ "BSD-2-Clause", "MIT" ]
archi-Doc/Tinyhand
XUnitTest/Tests/EnumTest.cs
867
C#
using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace QueryEncapsulation.Web { public class MvcApplication : HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTabl...
21.944444
59
0.64557
[ "Apache-2.0" ]
MattHoneycutt/asp.net-samples
QueryEncapsulation/QueryEncapsulation.Web/Global.asax.cs
397
C#
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2019 Narvalo.Org. All rights reserved. namespace Abc.Linq.Linq { using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; // Apply standard LINQ ops to an inner enumerable. // Maybe not a g...
32.408163
82
0.61335
[ "BSD-3-Clause" ]
chtoucas/Abc.Maybe
src/Abc.Sketches/Linq/Linq/MaybeEnumerable.cs
1,590
C#
using Braintree.Exceptions; using NUnit.Framework; using System.Collections.Generic; using System.Threading.Tasks; namespace Braintree.Tests.Integration { [TestFixture] public class AddressIntegrationTest { private BraintreeGateway gateway; [SetUp] public void Setup() { ...
39.558648
117
0.570057
[ "MIT" ]
Ethernodes-org/braintree_dotnet
test/Braintree.Tests.Integration/AddressIntegrationTest.cs
19,898
C#
using System; using System.Collections.Generic; using System.Linq; using MyNoSqlServer.Abstractions; using Service.IndexPrices.Client; using Service.Liquidity.Portfolio.Domain.Models; using Service.Liquidity.PortfolioHedger.Domain.Models; namespace Service.Liquidity.PortfolioHedger.Services { public class Portfoli...
40.595745
142
0.573725
[ "MIT" ]
MyJetWallet/Service.Liquidity.PortfolioHedger
src/Service.Liquidity.PortfolioHedger/Services/PortfolioHandler.cs
5,738
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.WhiteSpaces.AdminNotificationSystem { using System; using Microsoft.WhiteSpaces.AdminNotificationSystem; public interface INotificationClient : IDisposable { bool NotifyClient(No...
25.285714
60
0.759887
[ "MIT" ]
richstep/TVWS-DB-Code
src/AdminNotificationSystem/INotificationClient.cs
354
C#