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
// *** 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...
30.930348
168
0.579701
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/CustomerInsights/V20170101/GetKpi.cs
6,217
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin { public class BlockLocator : IBitcoinSerializable { public BlockLocator() { } public BlockLocator(List<uint256> hashes) { vHave = hashes; } Li...
15.358974
50
0.649416
[ "MIT" ]
dthorpe/NBitcoin
NBitcoin/BlockLocator.cs
601
C#
using System; using System.Threading.Tasks; using DatingApp.API.Models; using Microsoft.EntityFrameworkCore; namespace DatingApp.API.Data { public class AuthRepository : IAuthRepository { private readonly DataContext _context; public AuthRepository(DataContext context) { thi...
29.576471
106
0.542562
[ "MIT" ]
julianobrasil-experimental/udemy-dotnetcore
DatingApp-API/Data/AuthRepository.cs
2,514
C#
using MbDotNet.Models.Responses; using MbDotNet.Models.Responses.Fields; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MbDotNet.Tests.Models.Responses { [TestClass] public class ProxyResponseTests { private class TestResponseFields : ResponseFields { } [TestMethod] ...
28.571429
81
0.7
[ "MIT" ]
putnap/MbDotNet
MbDotNet.Tests/Models/Responses/ProxyResponseTests.cs
600
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Feats.Common.Tests; using Feats.Common.Tests.Commands; using Feats.CQRS.Commands; using Feats.Management.Features; using Feats.Management.Features.Commands; using Microsoft.AspNetCore.Mvc; using NUnit.Framework; namespace Feats.Managem...
34.68
92
0.640907
[ "MIT" ]
dotnet-feats/feats
tests/Feats.Management.Tests/Features/AssignIsInListStrategyToFeatureControllerTests.cs
2,610
C#
using System; namespace LoggingKata { public interface ILog { void LogFatal(string log, Exception exception = null); void LogError(string log, Exception exception = null); void LogWarning(string log); void LogInfo(string log); void LogDebug(string log); } }
23.923077
62
0.643087
[ "MIT" ]
CruzSanchez/TacoBell-Distance-Finder
LoggingKata/ILog.cs
313
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
60.740741
242
0.720884
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IActiveDirectoryWindowsAutopilotDeploymentProfileRequest.cs
6,560
C#
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(Popeye Zhong) <zongs...
18.524946
84
0.608431
[ "Apache-2.0" ]
Zongsoft/Zongsoft.Community
src/Models/Forum.cs
9,926
C#
namespace Octokit.Webhooks.Models.IssuesEvent { using System.Text.Json.Serialization; using JetBrains.Annotations; [PublicAPI] public sealed record ChangesTitle { [JsonPropertyName("from")] public string From { get; init; } = null!; } }
21.461538
50
0.659498
[ "MIT" ]
JamieMagee/JamieMagee.Octokit.Webhooks
src/Octokit.Webhooks/Models/IssuesEvent/ChangesTitle.cs
281
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OcelotApiGw { public class Program { public st...
32.25
115
0.635659
[ "MIT" ]
Jefferson-web/EcommerceMicroservices
src/ApiGateways/OcelotApiGw/Program.cs
1,161
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.Collections.Generic; using Xunit; namespace System.Globalization.Tests { public class GregorianCalendarGetDayOfWeek { public static IEnumerable<object[]...
38.545455
85
0.613208
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarGetDayOfWeek.cs
1,272
C#
using System.Threading; using System.Threading.Tasks; using SmartHead.Essentials.Abstractions.Cqrs; namespace SmartHead.Essentials.Abstractions.MediatR { public interface IEventStore { Task SaveAsync<T>(T @event, CancellationToken ct = default) where T : Event; } }
24
84
0.746528
[ "Apache-2.0" ]
neonbones/SmartHead.Essentials
src/SmartHead.Essentials.Abstractions/MediatR/IEventStore.cs
290
C#
namespace CoreWCF.Description { internal interface IContractResolver { ContractDescription ResolveContract(string contractName); } }
21.857143
65
0.738562
[ "MIT" ]
0x53A/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/Description/IContractResolver.cs
155
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.Windows; namespace Careful.Module.Core.Regions.Behaviors { public class DelayedRegionCreationBehavior { private readonly RegionAdapterMappings regionAdapterMappings; pr...
38.856481
241
0.59085
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
daixin10310/CarefulDemo
MVVMCareful/Careful.Module.Core/Regions/Behaviors/DelayedRegionCreationBehavior.cs
8,393
C#
using System; namespace SQLib { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class SqlColumnAttribute : Attribute { public string Name { get; set; } public SqlColumnAttribute(string name) { Name = name; } ...
20.375
95
0.625767
[ "MIT" ]
zmjack/SQLib
SQLib/SqlColumnAttribute.cs
328
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using FluentValidation; using MediatR; using Microsoft.AspNetCore.Mvc; using Miru; using Miru.Databases.EntityFramework; using Miru.Domain; using Miru.Mvc; using Miru.Validation; using Supportreon.Database; using Suppo...
33.094017
98
0.530217
[ "MIT" ]
joaofx/Supportreon
src/Supportreon/Features/Projects/ProjectEdit.cs
3,872
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using NPH.Models; using NPH.Services.Implementation; using NPH.Services.Interface; using System; using System.Collections.Generic; using System.Text; using FluentAssertions; namespace NPH.Services.Tests { [TestClass()] public class WeatherAnalysis...
40.518248
97
0.628716
[ "Apache-2.0" ]
nguyenphanhuynh/fpttest
NPH.ServicesTests/WeatherAnalysisTests.cs
5,553
C#
namespace IotTelemetrySimulator.Test { using System; using System.Collections.Generic; using System.Text; using Moq; using Xunit; public class PayloadGeneratorTest { private byte[] GetBytes(string v) => Encoding.UTF8.GetBytes(v); [Fact] public void When_Getting_Pay...
34.309278
202
0.427784
[ "MIT" ]
LauraDamianTNA/Iot-Telemetry-Simulator
test/IotTelemetrySimulator.Test/PayloadGeneratorTest.cs
9,986
C#
using System; using System.Threading.Tasks; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Json; using System.Collections.Generic; using System.Linq; namespace filemon.Util{ public class HttpUtil{ public static async Task<string> Post(byte[] data, Dictionary<string , strin...
34.050505
105
0.544349
[ "MIT" ]
bahram-ghahari/Detekt
Monitor/Util/HttpUtil.cs
3,371
C#
using System; using System.Collections.Generic; using System.Linq; using Rhino.Mocks; using Rhino.Mocks.Interfaces; using Xunit; namespace StakHappy.Core.UnitTest.Logic.UserServiceLogic { [Collection("Logic")] public class GetListFixture : TestBase { [Fact] public void Successful() ...
30.297297
112
0.626227
[ "MIT" ]
aarce77/StakeHappy-Core
StakHappy.Core.UnitTest/Logic/UserServiceLogic/GetListFixture.cs
1,123
C#
namespace Alex.Utils.Commands { public class AskServerProperty : CommandProperty { /// <inheritdoc /> public AskServerProperty(string name, bool required = true, string typeIdentifier = "Unknown") : base(name, required, typeIdentifier) { } } }
31.25
139
0.74
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
codingwatching/Alex
src/Alex/Utils/Commands/AskServerProperty.cs
250
C#
using System; using Http.quoted_string; using Http.token; using JetBrains.Annotations; using Txt.ABNF; using Txt.Core; namespace Http.chunk_ext_val { public sealed class ChunkExtensionValueLexerFactory : RuleLexerFactory<ChunkExtensionValue> { static ChunkExtensionValueLexerFactory() { ...
29
95
0.59987
[ "MIT" ]
StevenLiekens/HTTPortable
src/Http/chunk_ext_val/ChunkExtensionValueLexerFactory.cs
1,539
C#
#region License //------------------------------------------------------------------------------ // Copyright (c) Dmitrii Evdokimov // Source https://github.com/diev/ // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
40.414634
80
0.581171
[ "Apache-2.0" ]
diev/JZDO-Exch
JZDO-Exch/SftpSettings.cs
1,659
C#
namespace SRF.UI.Layout { using System.Collections.Generic; using Internal; using UnityEngine; using UnityEngine.UI; /// <summary> /// Layout Group controller that arranges children in rows, fitting as many on a line until total width exceeds parent /// bounds /// </summary> [AddCo...
32.491803
129
0.51221
[ "Apache-2.0" ]
Game-Bubble/Run-Transformer
Assets/StompyRobot/SRF/Scripts/UI/Layout/FlowLayoutGroup.cs
9,912
C#
using Locust.ServiceModel; namespace Locust.Modules.Setting.Strategies { public partial class AppSettingGetByPKRequest : IBaseServiceRequest { } }
17.666667
68
0.773585
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Setting/Service/AppSetting/GetByPK/Request.cs
159
C#
using System; using System.Net.Http.Headers; using Common.Logging; using Nethereum.BlockchainProcessing.Services; using Nethereum.Contracts; using Nethereum.Contracts.Services; using Nethereum.JsonRpc.Client; using Nethereum.RPC; using Nethereum.RPC.Accounts; using Nethereum.RPC.TransactionManagers; #if !LITE using Ne...
32.725
188
0.658009
[ "MIT" ]
GitHubPang/Nethereum
src/Nethereum.Web3/Web3.cs
3,929
C#
#region using System.Collections.Generic; #endregion namespace FluentInterpreter.Tests.Models { public class User { public int Id { get; set; } public string Username { get; set; } public Profile? Profile { get; set; } public int Age { get; set; } pub...
19.526316
53
0.579515
[ "MIT" ]
TonyTroeff/FluentInterpreter
FluentInterpreter/FluentInterpreter.Tests/Models/User.cs
371
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 k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// <summary> /// Obje...
31.364865
91
0.577337
[ "MIT" ]
pdeligia/nekara-artifact
TSVD/kubernetes-client/src/KubernetesClient/generated/Models/V1ObjectFieldSelector.cs
2,321
C#
using Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ArduinoWindowsRemoteControl.UI { /// <summary> /// Special TextBox that accepts all keys and shows Keys representations if IsCommandInput is ...
25.533898
98
0.505808
[ "MIT" ]
StanislavUshakov/ArduinoWindowsRemoteControl
ArduinoWindowsRemoteControl/UI/KeyboardCommandTextBox.cs
3,015
C#
namespace Datafication.Models.Dtos { public class ImageDetailsDto { public int Id { get; set; } public string Url { get; set; } public IceCreamDto IceCream { get; set; } } }
23.222222
49
0.602871
[ "MIT" ]
eggertmar1/T-514-VEFT
Small_assignment3/template/Datafication.Models/Dtos/ImageDetailsDto.cs
209
C#
// ///----------------------------------------------------------------- // /// Class: IConnectionHeaders // /// Description: <Description> // /// Author: Dimitri Renke Date: 19.12.2016 // /// Notes: <Notes> // /// Revision History: // /// Name: Date...
31.571429
78
0.529412
[ "MIT" ]
MarianHristov92/Service-Prototype
LibDataService/ConnectionService/Interface/IConnectionHeaders.cs
886
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.Versioning; na...
57
203
0.822807
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d11/D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT.cs
1,142
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using Grasshopper.Kernel; using Grasshopper.Kernel.Data; using Grasshopper.Kernel.Types; using Rhino.Geometry; using static Impala.Generic; using static Impala.Generated; using static Impala.Errors; namespace Impala { ...
44.018405
170
0.588293
[ "MIT" ]
dcascaval/Impala
Impala/Components/ParDivideLength.cs
7,177
C#
using Homuai.Domain.Repository.Code; using Moq; namespace Useful.ToTests.Builders.Repositories { public class CodeWriteOnlyRepositoryBuilder { private static CodeWriteOnlyRepositoryBuilder _instance; private readonly Mock<ICodeWriteOnlyRepository> _repository; private CodeWriteOnlyRep...
26.034483
68
0.647682
[ "Unlicense" ]
welissonArley/Homuai
tests/Backend/Useful.ToTests/Builders/Repositories/CodeWriteOnlyRepositoryBuilder.cs
757
C#
// Copyright (c) Alexandre Beauchamp. All rights reserved. // Licensed under the MIT license. using Compendium.Database.Models; using Compendium.Tests.Tools.Fixtures; using FluentAssertions; using System; using Xunit; namespace Compendium.Database.Repositories { public class TreasureRepositoryTests : TestBuilder...
32.272727
113
0.60338
[ "MIT" ]
abeauchamp96/Compendium
Compendium.Database.Tests/Repositories/TreasureRepositoryTests.cs
5,327
C#
using System; using UnityEngine.Rendering; using UnityEngine.Serialization; namespace UnityEngine.XR.ARFoundation { /// <summary> /// Add this component to a <c>Camera</c> to copy the color camera's texture onto the background. /// </summary> /// <remarks> /// This is the component-ized version of...
31.860068
136
0.562828
[ "Apache-2.0" ]
CalibanDJ/MR_Project
ARPackages/com.unity.xr.arfoundation/Runtime/AR/ARCameraBackground.cs
9,337
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
34.806452
84
0.742354
[ "MIT" ]
wilsonvargas/XPlat-Windows-APIs
XPlat.Samples.Android/Properties/AssemblyInfo.cs
1,082
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using ReactiveUI; using Avalonia.ReactiveUI; using Bellow.Client.ViewModels; namespace Bellow.Client.Views { public class WelcomeView : ReactiveUserControl<WelcomeViewModel> { public WelcomeView() { InitializeCompo...
21.6
85
0.644444
[ "MIT" ]
MikeCodesDotNET/Avalonia-Chat-Demo
Bellow/Bellow/Views/WelcomeView.axaml.cs
540
C#
using FlowScriptEngine; namespace FlowScriptEngineBasic.FlowSourceObjects.Array { [ToolTipText("Array_SortWithItem_Summary")] public partial class SortWithItemsFlowSourceObject : ArrayFlowSourceObjectBase { [ToolTipText("Array_Sort_Compare")] public event FlowEventHandler Compare; ...
24.058824
82
0.460269
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEngineBasic/FlowSourceObjects/Array/SortWithItemsFlowSourceObject.cs
1,638
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.863636
161
0.612167
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Connect/Generated/Model/Internal/MarshallTransformations/HistoricalMetricUnmarshaller.cs
3,945
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GenericRepository.Models { public class User { public int Id { get; set; } public string Name { get; set; } } }
17.785714
40
0.666667
[ "MIT" ]
olkerr/YMS8518
GenericRepository/GenericRepository/Models/User.cs
251
C#
using LoggingCore; using LoggingCore.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; u...
33.095238
143
0.628777
[ "MIT" ]
sounakofficial/ADMDF
DotNetCore_HandsOn3/LoggingCore/Startup.cs
2,085
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("Cu...
37.864865
84
0.745896
[ "MIT" ]
stoyantodorovbg/Programming-Fundamentals
ExamPreparation4/CubbicMesseges/Properties/AssemblyInfo.cs
1,404
C#
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace TagDetector { /// <summary> /// Summary description for Form2. /// </summary> public class Form2 : System.Windows.Forms.Form { private System.Windows.Forms.Button OpenPortButton; pr...
30.32948
106
0.689156
[ "Apache-2.0" ]
konklone/tigerfid
api/c-sharp-dot-net-ce/example/Form2.cs
5,247
C#
#nullable enable using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using NotNullAttribute = Omnifactotum.Annotations.NotNullAttribute; //// ReSharper disable once CheckNamespace :: Namespace is intentionally named so in order to simplify usage of extension methods namespace System.Collect...
47.22449
137
0.636128
[ "MIT" ]
HarinezumiSama/omnifactotum
src/Omnifactotum/ExtensionMethods/OmnifactotumEqualityComparerExtensions.cs
2,316
C#
using System; using System.Collections.Generic; namespace PersonPhoneExample.Models { public partial class Person { public Person() { Phone = new HashSet<Phone>(); } public long Id { get; set; } public string Name { get; set; } public short? Age { g...
21.105263
61
0.571072
[ "MIT" ]
akitiainen/Database
PersonPhoneExample/PersonPhoneExample/Models/Person.cs
403
C#
using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using AutoMapper; using CarsManager.Application.Common.Models; using CarsManager.Application.Vehicles.Commands.CreateVehicle; using CarsManager.Application.Vehicles.Commands.DeleteVehicle; using CarsManager.Application.Vehicles.Commands.U...
36.592593
149
0.68497
[ "MIT" ]
pkanev/CarsManager
src/Server/Controllers/VehiclesController.cs
3,954
C#
using System; namespace CosmosDB.Gremlin.Fluent.Functions { #pragma warning disable 1591 public static class EqFunction #pragma warning restore 1591 { /// <summary> /// Predicate testing that the incoming object is equal to the provided object /// </summary> /// <param name="bui...
35.916667
107
0.610209
[ "Apache-2.0" ]
AieatAssam/CosmosDB.Gremlin.Fluent
CosmosDB.Gremlin.Fluent/Functions/Eq.cs
1,293
C#
#region Copyright & License // Copyright © 2012 - 2020 François Chabot // // 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 r...
31.8
91
0.76478
[ "Apache-2.0" ]
emmanuelbenitez/Be.Stateless.BizTalk.ServiceModel
src/Be.Stateless.BizTalk.ServiceModel.Unit/Unit/ServiceModel/SoapClientOfT.cs
1,594
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace Aliyun.SDK.PDS.Client.Models { /** * */ public class ListSubdomainsResponse : TeaModel { /// <summary> /// 分页的 subdomain 数据 /// </sum...
20.59375
62
0.578149
[ "Apache-2.0" ]
18730298725/alibabacloud-pds-sdk
pds/csharp/core/Models/ListSubdomainsResponse.cs
697
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _30_05_2021_Database_Coursework { public class GlobalInformation_Access_Syncronized { ...
42.488636
113
0.596684
[ "MIT" ]
StalkerRaftik/Database_Coursework
GlobalTable/GlobalInformation_Access_Syncronized.cs
3,772
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Npoi.Mapper.Attributes; using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel;...
40.891344
203
0.555215
[ "MIT" ]
OleVanSanten/Npoi.Mapper
Npoi.Mapper/src/Npoi.Mapper/Mapper.cs
44,410
C#
using App.Domain.Features.Places; using App.Domain.Interfaces.Base; using App.Domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace App.Domain.Interfaces.Places { public interface IVenueService : IService<Venue> { V...
28.619048
74
0.740433
[ "MIT" ]
leticiaventura/instagramScrapper
App/App.Domain/Interfaces/Places/IVenueService.cs
603
C#
namespace Songbird.Web.Models { public record SlackMessageWithLinkButton : SlackMessage { public string ButtonText { get; init; } public string ButtonUrl { get; init; } } }
28.142857
61
0.675127
[ "MIT" ]
karl-sjogren/songbird
src/Songbird.Web/Models/SlackMessageWithLinkButton.cs
197
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. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; using...
40.82598
160
0.537072
[ "Apache-2.0" ]
RickeyEstes/Roslynator
src/Workspaces.Core/Extensions/Extensions.cs
16,659
C#
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3 using System; using System.IO; namespace ClassicalSharp { /// <summary> Implements a non-seekable stream that can only be read from. </summary> internal abstract class ReadOnlyStream : Stream { static NotSupportedException ex = new NotSupp...
31.931034
96
0.680346
[ "BSD-3-Clause" ]
CybertronicToon/ClassicalSharp-Survival
ClassicalSharp/Utils/ReadOnlyStream.cs
928
C#
// <auto-generated /> using ITest.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Interna...
32.493304
117
0.449612
[ "MIT" ]
The-Singing-Melons/ITestSystem
ITest/ITest.Data/Migrations/20180504163635_Test Names Are Not Unique.Designer.cs
14,559
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 ...
22.403509
63
0.686766
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-ecs/Ecs/Model/V20140526/ModifyDiskSpecResponse.cs
1,277
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...
49.139706
161
0.6328
[ "MIT" ]
Peter-Schneider/azure-powershell
src/ResourceManager/Sql/Commands.Sql/ServiceTierAdvisor/Services/AzureSqlServiceTierAdvisorAdapter.cs
6,550
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 ...
37.560976
91
0.764286
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-live/Live/Transform/V20161101/AddCasterEpisodeResponseUnmarshaller.cs
1,540
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Data.Tables.Models { /// <summary> A signed identifier. </summary> public partial class SignedIdentifier { /// <summary> Initialize...
30.725
131
0.583401
[ "MIT" ]
mattschoutends/azure-sdk-for-net
sdk/tables/Azure.Data.Tables/src/Generated/Models/SignedIdentifier.cs
1,229
C#
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using SkyMoon.WinPhone.Resources; namespace SkyMoon.WinPhone { public partial class App : Application { /...
33.723214
115
0.73524
[ "MIT" ]
Julien-Mialon/XamarinTD
TD-01/SkyMoon/SkyMoon/SkyMoon.WinPhone/App.xaml.cs
7,556
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...
38.298246
196
0.62918
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/Internal/MarshallTransformations/GetSettingsResponseUnmarshaller.cs
4,366
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.eShopOnContainers.Services.Marketing.API.Model; namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure.EntityConfigurations { class RuleEntityTypeConfiguration : IEntityTypeConfi...
33.806452
96
0.65458
[ "MIT" ]
07101994/eShopOnContainers
src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/RuleEntityTypeConfiguration.cs
1,050
C#
/* * Copyright 2020 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 "licens...
37.181818
164
0.667176
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/Internal/MarshallTransformations/ClusterSubnetGroupAlreadyExistsExceptionUnmarshaller.cs
3,272
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.Text; using Microsoft.CodeAnalysis.DocumentationComments; using Microsoft.CodeAnalysis.PooledObjects; using ...
45.488263
161
0.542058
[ "Apache-2.0" ]
20chan/roslyn
src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.DocCommentFormatter.cs
9,691
C#
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
30.223684
81
0.70222
[ "Apache-2.0" ]
deepmind/mujoco
unity/Runtime/Components/Sensors/MjSiteVectorSensor.cs
2,297
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...
34.391509
406
0.595254
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cache/V20190701/GetRedis.cs
7,291
C#
using System; using System.Collections.Generic; namespace Lncodes.Example.Delegate { public sealed class InventoryController { public readonly int MaxCapacity = 3; private readonly List<string> _itemCollection = new List<string>(); //Declare Delegate using delegate keyword pub...
37.263736
121
0.59304
[ "MIT" ]
lncodes/-csharp-delegate
src/Inventory/InventoryController.cs
3,393
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NFluentShould.cs" company="NFluent"> // Copyright 2018 Thomas PIERRAIN & Cyrille DUPUYDAUBY // Licensed under the Apache License, Version 2.0 (the "License"); // you ma...
39.5
121
0.543513
[ "Apache-2.0" ]
MendelMonteiro/NFluent
code/tests/NFluent.Tests/ForObsoleteStuff/CheckerShould.cs
3,699
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FieldTree2D_v2.Utilities { public static class Utils { public static Tuple<TObj, TVal> MinObj<TObj, TVal>(IEnumerable<TObj> objs, Func<TObj, TVal> func, IComparer<TVal> compar...
31.731884
169
0.423156
[ "MIT" ]
AliveDevil/Fieldtree2D
FieldTree2D_v2/Utilities/Utils.cs
4,381
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
38.913793
108
0.565574
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/DistributionListUnmarshaller.cs
4,514
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Configuration { /// <summary> /// An interface which can be bound to other <see cref="IBindable"/>s in ...
49
196
0.630354
[ "MIT" ]
AtomCrafty/osu-framework
osu.Framework/Configuration/IBindable.cs
3,411
C#
/* * Coda API * * # Introduction The Coda API is a RESTful API that lets you programmatically interact with Coda docs: * List and search Coda docs * Create new docs and copy existing ones * Share and publish docs * Discover pages, tables, formulas, and controls * Read, insert, upsert, update, and delete rows...
96.414365
11,013
0.679732
[ "MIT" ]
coda-hq/api-csharp-lib
src/IO.Swagger/Model/TableList.cs
17,452
C#
 using UnityEngine; public class GameStats : MonoBehaviour { public static int NumOfGems = 1; }
11.666667
40
0.704762
[ "MIT" ]
Jaxw501/ParkourKnightGame
ParkourKnight/Assets/#Script/LvlDesign/GameStats.cs
107
C#
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; using Chat.Core.Dtos; using Chat.Core.Features.Chat.SendMessage; using Chat.Core.Infrastructure.Nats; using Chat.Core.Models; using Humanizer; using Microsoft.Extensions.Con...
40.493671
118
0.600188
[ "MIT" ]
meysamhadeli/Chat.Application
src/Chat.Console/Program.cs
3,201
C#
using MagicalLifeAPI.Filing.Logging; using MagicalLifeAPI.Networking.Serialization; using ProtoBuf; using System; using System.Collections.Generic; using System.IO; namespace MagicalLifeAPI.Networking { /// <summary> /// Used to buffer Protobuf-net (<see cref="BaseMessage"/>) messages correctly in order to ha...
31.284211
159
0.520861
[ "MIT" ]
Lynngr/MagicalLife
MagicalLifeAPI/Networking/MessageBuffer.cs
2,974
C#
// <auto-generated /> using System; using MarginTrading.AssetService.SqlRepositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueC...
38.463519
125
0.461783
[ "MIT-0" ]
LykkeBusiness/MarginTrading.AssetService
src/MarginTrading.AssetService.SqlRepositories/Migrations/20200917123621_ProductLinks.Designer.cs
17,926
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LlegarMeta : MonoBehaviour { UserInterface ui; public int gananciaMaxima = 100; public bool Obligatorio = false; public int zonaActual; private void Start() { ui = GameObject.FindObjectOfType...
23.891892
64
0.587104
[ "MIT" ]
ClaraLongo/HermanosMariano_Longo
Assets/Scripts/Condiciones/LlegarMeta.cs
886
C#
//--------------------------------------------------------------------------------------- // Copyright 2014 North Carolina State University // // Center for Educational Informatics // http://www.cei.ncsu.edu/ // // Redistribution and use in source and binary forms, with or without modification, // are permitted provid...
34.705128
91
0.664573
[ "BSD-2-Clause" ]
wangfei1988/TicTacToe
Assets/IntelliMediaCore/Source/Services/CourseSettingsService.cs
2,709
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zoologico { class Program { static void Main(string[] args) { FabricaMamiferos fabricamamiferos = new FabricaMamiferos(); } ...
16.35
71
0.611621
[ "Apache-2.0" ]
Yah-veh/ProgramacionIIIMLYL
Unidad4/Zoologico/Zoologico/Program.cs
329
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace HSoft.ClientManager.WCFService { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute(...
25.956522
99
0.59799
[ "MIT" ]
renehugentobler/ClientManager
HSoft.ClientManager.WCFService/App_Start/RouteConfig.cs
599
C#
namespace Apex.Datacloud { using ApexSharp; using ApexSharp.ApexAttributes; using ApexSharp.Implementation; using global::Apex.System; /// <summary> /// https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Datacloud_FindDuplicates.htm#apex_class_Datacloud_FindDupl...
23.782609
156
0.579525
[ "MIT" ]
apexsharp/apexsharp
Apex/Datacloud/FindDuplicates.cs
1,094
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("He...
37.594595
84
0.744069
[ "MIT" ]
Shtereva/Fundamentals-with-CSharp
MethodsExercises/HelloName/Properties/AssemblyInfo.cs
1,394
C#
// Copyright (c) Piotr Stenke. All rights reserved. // Licensed under the MIT license. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace Durian.TestServices { /// <summary> /// A builder of the <see cref="GeneratorDriverRunResult"/> class. /// </summary> public sealed class G...
35.5
192
0.714227
[ "MIT" ]
piotrstenke/Durian
src/Durian.TestServices/GeneratorDriverRunResultBuilder.cs
4,899
C#
//****************************************************************************************************** // IChannelCellCollection.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. S...
47.565217
153
0.600548
[ "MIT" ]
QuarkSoftware/gsf
Source/Libraries/GSF.PhasorProtocols/IChannelCellCollection.cs
2,189
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using System; using Microsoft.CodeAnalysis.Razor.Serialization; using Microsoft.VisualStudio.LanguageServices.Razor.Serialization; using Newtonsoft.Json; namespace Mi...
35.566667
110
0.717901
[ "MIT" ]
dougbu/razor-tooling
src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Serialization/JsonConverterCollectionExtensions.cs
1,069
C#
using Microsoft.Research.SEAL; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace UWPMPProjectTests { [TestClass] public class TestLogisticRegression { [TestMethod] public void TestLogist...
38.661765
106
0.495626
[ "MIT" ]
randomguy7531/SEAL
UWPMPProjectTests/TestLogisticRegression.cs
2,629
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework; using Azure.ResourceManager.Resources; using Azure.Core.TestFramework; using Azure.ResourceManager.EventHubs.Models; using...
40.049505
157
0.648208
[ "MIT" ]
LeiWang3/azure-sdk-for-net
sdk/eventhub/Azure.ResourceManager.EventHubs/tests/Tests/SchemaGroupTests.cs
4,047
C#
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Runtime.InteropServices; using System.Text; namespace Mozilla.Glean.FFI { internal s...
40.623529
134
0.650738
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
mdboom/glean.rs
glean-core/csharp/Glean/LibGleanFFI.cs
6,908
C#
// // ServicePointManager.cs // // Author: // Rolf Bjarne Kvinge <rolf@xamarin.com> // // Copyright (c) 2016 Xamarin, Inc. // // 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 ...
35.330769
110
0.773351
[ "BSD-3-Clause" ]
Gravelbones/javacc21
examples/csharp/testfiles/ServicePointManager.platformnotsupported.cs
4,593
C#
using System; using System.ComponentModel.DataAnnotations; using System.Net; using Core; using Core.Exceptions; using Core.Serialization.Newtonsoft; using Core.WebApi.Middlewares.ExceptionHandling; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Mi...
25.805556
86
0.673843
[ "MIT" ]
Allann/EventSourcing.NetCore
Sample/AsyncProjections/SmartHome.Api/Startup.cs
1,858
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 Microsoft.CodeAnalysis.Options; using Microsoft.CodeAnalysis.Shared.Options; namespace Microsoft.VisualStudio.LanguageServices.Implementation.Options ...
36.865385
161
0.653625
[ "Apache-2.0" ]
AArnott/roslyn
src/VisualStudio/Core/Impl/Options/FullSolutionAnalysisOptionBinding.cs
1,919
C#
using System; using System.Linq; using Telerik.Core; using Telerik.Data.Core; using Telerik.UI.Xaml.Controls.Primitives; namespace Telerik.UI.Xaml.Controls.Data { internal class ListViewVisualStateService : ServiceBase<RadListView> { private DataProviderStatus dataStatus; private WeakReference...
32.044444
95
0.677531
[ "Apache-2.0" ]
JackWangCUMT/UI-For-UWP
Controls/DataControls/DataControls.UWP/ListView/View/Services/ListViewVisualStateService.cs
1,444
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace WesternStatesWater.WaDE.Accessors.Tests { [TestClass] public class DtoMapper { [TestMethod] public void ConfigurationIsValid() { Mapping.DtoMapper.Configuration.AssertConfigurationIsValid(); } } }
21.333333
73
0.671875
[ "BSD-3-Clause" ]
WSWCWaterDataExchange/WaDE2.0
source/WesternStatesWater.WaDE.Accessors.Tests/DtoMapper.cs
320
C#
using System.Threading.Tasks; namespace ServerlessPersistence { public interface IHighScoreOperations { void Add(int points); void Reset(); } }
15.727273
41
0.66474
[ "MIT" ]
marcduiker/demos-serverless-persistence
src/ServerlessPersistence/DurableEntity/IHighScoreOperations.cs
173
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class SceneChanger : MonoBehaviour { public static SceneChanger instance; // Use this for initialization void Start () { /*if (instance == null) { instance = this; DontDestroyOnLoad(...
14.828571
41
0.691715
[ "Unlicense" ]
paosalcedo/CoMix
AR Final/Assets/Scripts/SceneChanger.cs
521
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.Collections.Immutable; namespace LocalisationAnalyser.Localisation { /// <summary> /// Represents a localisation method or member with...
37.246377
144
0.613619
[ "MIT" ]
smoogipoo/osu-localisation-analyser
LocalisationAnalyser/Localisation/LocalisationMember.cs
2,570
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using SFA.DAS.Reservations.Domain.Configuration; using SFA.DAS.Reservations.Domain.Infrastructure.ElasticSearch; using SFA.DAS.Reservations.Domain.Reservations; namespace SFA.DAS.Reservations.Data.R...
38.159091
148
0.646218
[ "MIT" ]
SkillsFundingAgency/das-reservations-jobs
src/SFA.DAS.Reservations.Data/Repository/ReservationIndexRepository.cs
3,360
C#
using System; namespace PuzzleBox.Blockchain.Abstraction { public interface IP2PClientFactory<TData> { IP2PClient<TData> Create(Uri uri); } }
17.3
46
0.65896
[ "Apache-2.0" ]
JasonKStevens/PuzzleBox.Blockchain
PuzzleBox.Blockchain.Abstraction/IP2PClientFactory.cs
175
C#