content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Net; using Construct.Base.Test.Integration.Base; using Construct.Core.Data.Response; using Construct.User.Data.Request; using Construct.User.Data.Response; using NUnit.Framework; namespace Construct.User.Test.Integration.Controllers { public class UserControllerTest : BaseIntegrationTest { ...
39.84
131
0.57254
[ "MIT" ]
ChrisFigura/Makerspace-Database-Server
Construct.User.Test/Integration/Controllers/UserControllerTest.cs
3,986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Equinox.Application.ViewModels { public class ConsultaCepViewModel { public string CEP { get; set; } public string Logradouro { get; set; } public string Comple...
27.826087
47
0.625
[ "MIT" ]
MitsuiSama/MitsuiNox
src/Equinox.Application/ViewModels/ConsultaCepViewModel.cs
642
C#
using System; using DotNetCore.CAP.Models; namespace DotNetCore.CAP.Processor.States { public class ScheduledState : IState { public const string StateName = "Scheduled"; public TimeSpan? ExpiresAfter => null; public string Name => StateName; public void Apply(CapPublishedMe...
22.863636
87
0.664016
[ "MIT" ]
hybirdtheory/CAP
src/DotNetCore.CAP/Processor/States/IState.Scheduled.cs
505
C#
using NUnit.Framework; namespace Nustache.Core.Tests { [TestFixture] public class RenderContext_Behaviour_Support { [Test, ExpectedException(ExpectedException = typeof(NustacheDataContextMissException), ExpectedMessage = "Path : . is undefined, RaiseExceptionOnDataContextMiss : true.")...
58.676923
168
0.722601
[ "MIT" ]
aloisdg/Nustache
Nustache.Core.Tests/RenderContext_Behaviour_Support.cs
3,816
C#
using System; using System.Collections.Generic; using System.IO; using Phantasma.Core; using Phantasma.Cryptography; using Phantasma.Storage.Utils; using Phantasma.Numerics; namespace Phantasma.Network.P2P.Messages { [Flags] public enum RequestKind { None = 0, Peers = 0x1, Chains =...
29.903614
113
0.560435
[ "MIT" ]
GOATi/PhantasmaChain
Phantasma.P2P/Messages/RequestMessage.cs
2,484
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Lime.Messaging.Resources; using Lime.Protocol; using NSubstitute; using Serilog; using Shouldly; using Take.Blip.Client.Extensions.Contacts; using Take.Blip.Client.Extensions.Directory; using Take.Blip.Client.Rec...
34.140097
144
0.579171
[ "Apache-2.0" ]
BeltrameJP/blip-sdk-csharp
src/Take.Blip.Client.UnitTests/Receivers/ContactMessageReceiverBaseTests.cs
7,067
C#
// Portions of this source file are adapted from the Windows Presentation Foundation project. // (https://github.com/dotnet/wpf/) // // Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. using System; using Avalonia.Controls.Metadata; using Avalonia.Data; using Avalonia.Input; using...
36.322245
190
0.574838
[ "MIT" ]
ErrorCraft/Avalonia
src/Avalonia.Controls/Primitives/Track.cs
17,471
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace NS.WebApp.MVC.Models { public class ResponseResultModel { [JsonPropertyName("title")] public string Title { get; set; } [JsonPropertyName("status")] public int Status { get; set; } ...
24.478261
57
0.623446
[ "Apache-2.0" ]
asmutti/NerdStore
src/web/NS.WebApp.MVC/Models/ResponseResultModel.cs
565
C#
//=============================================================================== // Microsoft patterns & practices Enterprise Library // Core //=============================================================================== // Copyright © Microsoft Corporation. All rights reserved. // THIS CODE AND INFORMATION ...
50.69697
112
0.598924
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
OS2CPRbroker/CPRbroker
PART/Source/Lib/EntLib50/Blocks/Common/Src/Configuration/ContainerModel/IContainerConfigurator.cs
1,676
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.5
151
0.625608
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ECRPublic/Generated/Model/Internal/MarshallTransformations/DescribeRegistriesRequestMarshaller.cs
3,905
C#
namespace Testing_4.Saga { using NServiceBus; class MyOtherEvent : IEvent { } }
12.555556
26
0.539823
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
Snippets/Testing/Testing_4/Saga/MyOtherEvent.cs
107
C#
using BL.API.Services.Players.Queries; using BL.API.Services.Stats.Model; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace BL.API.WebHost.Controllers { [ApiController] [Route("api/{regionShortName}/[controller]")] public class StatsCon...
28.466667
93
0.699063
[ "MIT" ]
Silverful/BannerlordMM
BL.API/BL.API.WebHost/Controllers/StatsController.cs
856
C#
using Microsoft.Web.LibraryManager.Contracts; namespace Microsoft.Web.LibraryManager.Vsix.Contracts { internal interface IDependenciesFactory { IDependencies FromConfigFile(string configFilePath); } }
22.3
60
0.7713
[ "Apache-2.0" ]
RobJohnston/LibraryManager
src/LibraryManager.Vsix/Contracts/IDependenciesFactory.cs
225
C#
namespace Windows.UI.Xaml.Controls; public class GridViewHeaderItem : ListViewBaseHeaderItem { }
16.333333
56
0.826531
[ "MIT" ]
ljcollins25/Codeground
src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/GridViewHeaderItem.cs
98
C#
using System; using System.Collections.Generic; using System.Text; using ArdalisRating.Factory; namespace ArdalisRating { public class LandPolicyRater : Rater { public LandPolicyRater(RatingEngine ratingEng) : base(ratingEng) { } public override void Rate(Policy policy) { ...
24.714286
89
0.568786
[ "MIT" ]
ramji3ram/Pluralsighdemo
ArdalisRating/PolicyType/LandPolicyRater.cs
867
C#
using System; using MoreLinq; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using BibliotecaViva.DTO; using BibliotecaViva.DAO; using BibliotecaViva.DTO.Dominio; using BibliotecaViva.DAL.Interfaces; namespace BibliotecaViva.DAL { public cl...
39.443299
100
0.596184
[ "MIT" ]
RodrigoMedeirosRS/Biblioteca_Viva
DAL/SonarDAL.cs
3,826
C#
namespace BDInSelfLove.Services.Data.Courses { using System.Linq; using System.Threading.Tasks; using BDInSelfLove.Data.Common.Repositories; using BDInSelfLove.Data.Models; using Microsoft.EntityFrameworkCore; public class CourseService : ICourseService { private readonly IDeletab...
33.942529
110
0.606841
[ "MIT" ]
ivanBalev/ASP.NET-Core
Services/BDInSelfLove.Services.Data/Courses/CourseService.cs
2,955
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Cats.Areas.EarlyWarning.Models; using Cats.Helpers; using Cats.Models; using Cats.Services.EarlyWarning; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; using Cats.ViewModelBinder; using Cats.Services.Secur...
42.244898
181
0.576248
[ "Apache-2.0" ]
IYoni/cats
Web/App_Start/Areas/EarlyWarning/Controllers/RationController.cs
12,422
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace emmily.Common { public class CustomDateProvider : IFormatProvider, ICustomFormatter { public object GetFormat(Type formatType) { if (formatType ...
24.442308
88
0.438238
[ "MIT" ]
nmetulev/emmily
emmily/Common/CustomDateProvider.cs
1,273
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.ApplicationAutoScaling")] [assembly...
50.84375
351
0.760295
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/ApplicationAutoScaling/Properties/AssemblyInfo.cs
1,627
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Uno.Extensions; using Uno.Logging; using Windows.UI; namespace Windows.UI.Xaml.Media.Animation { /// <summary> /// Value animator. Base on the Android ValueAnimator, this object is similar semantically. /// /// Used ONLY...
31.681818
117
0.747489
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UI/UI/Xaml/Media/Animation/Animators/AnimatorFactory.iOSmacOS.cs
1,396
C#
using System.Web; using System.Web.Mvc; namespace Abp.App.TestMvc { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.142857
80
0.652985
[ "MIT" ]
zhouyongtao/App.WebAPI
Abp.App.TestMvc/App_Start/FilterConfig.cs
270
C#
#region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.Input; using NetMQ; using NetMQ.Sockets; #endregion namespace wssmono { /// <summary> /// This is...
32.461538
241
0.649471
[ "MIT" ]
beyzend/wss
wss/clients/monogame/wssmono/wssmono/Game1.cs
5,486
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. // // Description: // Maps namespaceURI and LocalName to appropriate element, properties, and events. // using Sys...
40.113224
165
0.525236
[ "MIT" ]
wjk/dotnet-wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/XamlTypeMapper.cs
179,266
C#
using JetBrains.Annotations; namespace Antares.Sdk.Health { /// <summary> /// Health issue model class /// </summary> [PublicAPI] public class HealthIssue { /// <summary> /// The type of health issue. /// </summary> public string Type { get; private set; } ...
24.756757
67
0.501092
[ "MIT" ]
swisschain/Antares.Sdk
src/Antares.Sdk/Health/HealthIssue.cs
918
C#
using System; using System.Collections.Generic; namespace MVC_RabbitMQ.Entity { public partial class Owner { public Owner() { RepoData = new HashSet<RepoData>(); } public int Id { get; set; } public string AvatarUrl { get; set; } public string Event...
31.742857
67
0.588659
[ "MIT" ]
Koracas/Hello_ASP.NET_RabbitMQ
MVC_RabbitMQ/Entity/Owner.cs
1,113
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace BuildXL.Utilities.Configuration { /// <summary> /// Defines the mode of forceSkipDeps (aka dirty build) /// </summary> public enum ForceSkipDependenciesMode : byte { /// <summary> /// For...
25.518519
95
0.560232
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Utilities/Configuration/ForceSkipDependenciesMode.cs
689
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace CloudKitAtlas { [Regist...
23
84
0.719368
[ "Apache-2.0" ]
ChristopherRamos/monotouch-samples
ios8/CloudKitAtlas/CloudKitAtlas/CKAssetViewController.designer.cs
759
C#
// <copyright file="AzureActiveDirectorySettings.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.LearnNow.Models.Configuration { /// <summary> /// A class which helps to provide Azure Active Directory settings for application. /// </...
28.909091
87
0.590147
[ "MIT" ]
Aayushi1202/Coursecompanion
Source/Microsoft.Teams.Apps.LearnNow/Models/Configuration/AzureActiveDirectorySettings.cs
956
C#
using System.Linq; using Solver.Base; namespace Solver.Challenges.Day13 { public class Day13Parser : IParser<Day13Input> { public Day13Input Parse(string[] values) { return new(int.Parse(values[0]), values[1].Split(',').Select(r => r == "x" ? "0" : r).Select(int.Parse)); } } }
21.071429
76
0.654237
[ "MIT" ]
klyse/AdventOfCode2020
Solver/Challenges/Day13/Day13Parser.cs
297
C#
namespace Aula06_Ex01 { partial class frmCadastro { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
49.595918
174
0.604806
[ "MIT" ]
MatheusFranciscone/Projeto_MultiFunctions
Aula06_Ex01/Aula06_Ex01/Cadastro.Designer.cs
12,162
C#
using System; using System.Collections.Generic; using System.Linq; namespace BCM.Models { [Serializable] public class BCMRecipe : BCMAbstract { #region Filters public static class StrFilters { public const string Type = "type"; public const string Count = "count"; public const stri...
32.344086
145
0.598072
[ "MIT" ]
kangkang198778/BCM
BCManager/src/Models/BCMRecipe.cs
6,018
C#
using System.Linq; using Ardalis.GuardClauses; using CMS.DocumentEngine; using CSharpFunctionalExtensions; using FluentCacheKeys; using Sandbox.Core.Domain.Intrastructure.Operations.Queries; using Sandbox.Data.Kentico.Infrastructure.Queries; using Sandbox.Delivery.Core.Features.Nodes; using static Sandbox.Data.Kentic...
35.346154
101
0.68444
[ "MIT" ]
seangwright/clean-kentico12-mvc
src/delivery/Sandbox.Delivery.Data/Features/Nodes/NodeAliasPathByNodeGuidQueryHandler.cs
1,840
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is subject to the Microsoft Public License (Ms-PL). * A copy of the license can be found in the license.htm file included * in this distribution....
42.178147
250
0.724841
[ "BSD-3-Clause" ]
Dashboard-X/ServiceStack
src/ServiceStack/Html/InputExtensions.cs
17,339
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights; namespace MVCFramework45.FunctionalTests.Controllers { public class HomeController : Controller { private TelemetryClient telemetryClient;...
27.909091
143
0.625407
[ "MIT" ]
SergeyRazmyslov/ApplicationInsights-dotnet
NETCORE/test/MVCFramework.FunctionalTests/Controllers/HomeController.cs
1,537
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> //----------------------------------------...
32.186047
84
0.495665
[ "MIT" ]
agailevictor/e_leave
eleave/eleave_view/hr/balleave.aspx.designer.cs
1,386
C#
namespace Aircompany.Models { public enum MilitaryPlaneType { FIGHTER, BOMBER, TRANSPORT } }
13
33
0.569231
[ "MIT" ]
Haste-s/CleanCode
Net/Aircompany/Models/MilitaryPlaneType.cs
132
C#
//----------------------------------------------------------------------------- // FILE: Test_NeonClusterApi.cs // CONTRIBUTOR: Marcus Bowyer // COPYRIGHT: Copyright (c) 2005-2021 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this f...
32.432515
239
0.539298
[ "Apache-2.0" ]
nforgeio/neonKUBE
Test/Test.Neon.Kube/Kube/Test_NeonKubeKv.cs
10,575
C#
#if !NETCORE_SUPPORT using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using NUnit.Framework; using ServiceStack.Configuration; using ServiceStack.OrmLite; using ServiceStack.Text; namespace ServiceStack.Common.Tests { [TestFixture] public class Enviro...
33.673709
109
0.544998
[ "Apache-2.0" ]
BruceCowan-AI/ServiceStack
tests/ServiceStack.Common.Tests/Configuration/AppSettingsTests.cs
13,922
C#
namespace UAssetAPI.Kismet.Bytecode.Expressions { /// <summary> /// A single Kismet bytecode instruction, corresponding to the <see cref="EExprToken.EX_NameConst"/> instruction. /// </summary> public class EX_NameConst : KismetExpression<FName> { /// <summary> /// The token of this ...
30.736842
117
0.58476
[ "MIT" ]
DarthPointer/UAssetAPI
UAssetAPI/Kismet/Bytecode/Expressions/EX_NameConst.cs
1,170
C#
using FluentAssertions; using Xunit; namespace StrEnum.UnitTests.Parsing; public class TryParseTests { public class Sport : StringEnum<Sport> { public static readonly Sport TrailRunning = Define("TRAIL_RUNNING"); } [Theory] [InlineData("TrailRunning", false)] [InlineData("TRAIL_RUNNI...
28.432432
96
0.697719
[ "MIT" ]
StrEnum/StrEnum
test/StrEnum.UnitTests/Parsing/TryParseTests.cs
1,054
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
54.100386
232
0.659078
[ "Apache-2.0" ]
garrettwong/google-cloud-dotnet
apis/Google.Cloud.Billing.V1/Google.Cloud.Billing.V1/CloudCatalogClient.g.cs
28,024
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. #pragma warning disable SA1402 // File may only contain a single class using System; using Xenko.Core...
39.669355
201
0.626448
[ "MIT" ]
Beefr/xenko
sources/engine/Xenko.Engine/Animations/AnimationCurveEvaluatorOptimizedGroup.cs
9,838
C#
namespace Kudu.Contracts.Settings { public static class SettingsKeys { /// <remarks> /// Legacy value that is superseded by DeploymentBranch /// </remarks> internal const string Branch = "branch"; public const string DeploymentBranch = "deployment_branch"; publi...
50.147059
96
0.710264
[ "Apache-2.0" ]
silentworks/kudu
Kudu.Contracts/Settings/SettingsKeys.cs
1,707
C#
using Relo; using SageBinaryData; public static partial class Marshaler { public static unsafe void Marshal(Node node, FXListBehaviorEvent* objT, Tracker state) { if (node is null) { return; } Marshal(node.GetAttributeValue(nameof(FXListBehaviorEvent.Index), null), ...
44.16129
125
0.693937
[ "MIT" ]
Qibbi/BinaryAssetBuilder
source/BinaryAssetBuilder.XmlCompiler/Marshaler.ModulesFXListBehavior.cs
1,371
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut...
40.384615
152
0.565714
[ "MIT" ]
Mysa99/Advanced-GUI
Reg/Properties/Settings.Designer.cs
1,579
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.Generic; using System.Globalization; using System.Text; using System.Xml; namespace Syste...
39.022346
176
0.42219
[ "MIT" ]
Bencargs/wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Dispatcher/EndpointAddressProcessor.cs
6,985
C#
using System; using System.Collections.Generic; using System.IO; using System.Text.Json; using System.Threading; using System.Threading.Tasks; namespace EmberKernel.Services.Configuration { public class OptionWriter<TOptions> where TOptions : class, new() { private readonly PluginOptionsSettin...
35.906977
139
0.631477
[ "MIT" ]
OsuSync/EmberTools
src/EmberKernel/Services/Configuration/OptionWriter.cs
1,546
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using ...
29.078947
68
0.557466
[ "MIT" ]
ThomasMiz/Silk.NET
src/Microsoft/Silk.NET.Direct3D11/Structs/RasterizerDesc1.gen.cs
4,420
C#
using Microsoft.EntityFrameworkCore; using System.Reflection; using System.Text; namespace Com.Atomatus.Bootstarter.Context { /// <summary> /// Context connection for postgres database. /// </summary> internal sealed class ContextConnectionPostgres : ContextConnection { private const int D...
46.465116
129
0.627127
[ "Apache-2.0" ]
atomatus/dot-net-boot-starter
Atomatus.Bootstarter/Com.Atomatus.Bootstarter.Postgres/ContextConnectionPostgres.cs
2,000
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging.AzureAppServices; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; namespace ExdTech.ImageServer { public class Program { public static void Main(string[] args) ...
37.216216
83
0.557734
[ "MIT" ]
peterdongan/ExdTech.ImageServer
ExdTech.ImageServer.Api/Program.cs
1,377
C#
namespace Manga.WebApi.UseCases.Register { using System.Threading.Tasks; using Manga.Application.Boundaries.Register; using Manga.Domain.ValueObjects; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; [Route("api/register/[controller]")] public class CustomersControl...
30.184211
81
0.618134
[ "Apache-2.0" ]
darshitachavda/Clean-Architecture-manga-pro
source/Manga.WebApi/UseCases/Register/CustomersController.cs
1,147
C#
using Q42.HueApi.Models; using Q42.HueApi.Models.Groups; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Q42.HueApi.Interfaces { /// <summary> /// Hue Client for interaction with the bridge /// </summary> public interfac...
21.481481
49
0.712069
[ "MIT" ]
AngusMcIntyre/Q42.HueApi
src/Q42.HueApi/Interfaces/IHueClient.cs
580
C#
using ReactiveUI.Fody.Helpers; using Ui.Wpf.Common; using Ui.Wpf.Common.ViewModels; namespace Kanban.Desktop.Settings { public class SettingsViewModel : ViewModelBase, ISettingsViewModel { public void Initialize(ViewRequest viewRequest) { } public bool UseDynamicDimens...
23.133333
70
0.680115
[ "MIT" ]
gabbacode/Kanban.Desktop
Kanban.Desktop/Kanban.Desktop/Settings/SettingsViewModel.cs
349
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Community.OData.Linq { using System; using System.ComponentModel; using Community.OData.Linq.Builder; /// <summary> /// Provide...
42.758621
124
0.656855
[ "MIT" ]
IharYakimush/comminity-data-odata-linq
Community.Data.OData.Linq/ODataConventionModelBuilderExtensions.cs
2,482
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ProductOfArrayExceptSelf")] [assembly: As...
39.457143
84
0.74656
[ "MIT" ]
thenitro/leet-code-problems
2021/ProductOfArrayExceptSelf/ProductOfArrayExceptSelf/Properties/AssemblyInfo.cs
1,384
C#
namespace AirConditionerTesterSystem.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; using Contracts; using Exceptions; using Models; using Models.Contracts; using Repositories; using Utilities; public class Controll...
35.689189
135
0.579326
[ "MIT" ]
stoyanov7/SoftwareUniversity
C#Development/HighQualityCode/AirConditionerTesterSystem/AirConditionerTesterSystem.Core/Controller.cs
5,284
C#
using NServiceBus.AcceptanceTesting.Support; using System.Threading.Tasks; namespace NServiceBus.IntegrationTesting { public interface IHandleTestCompletion { Task OnTestCompleted(RunSummary summary); } }
20.636364
49
0.770925
[ "Apache-2.0" ]
Tobias-08/NServiceBus.IntegrationTesting
src/NServiceBus.IntegrationTesting/IHandleTestCompletion.cs
229
C#
/***************************************************************************\ * * File: XamlParser.cs * * Purpose: Class for compiling Xaml. * * History: * 6/06/01: rogerg Created * 5/28/03: peterost Ported to wcp * 10/6/03: peterost Reorganized to remove DP - clr distinction * * Cop...
37.356705
148
0.549483
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Markup/XamlParser.cs
54,877
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
51.591837
245
0.588476
[ "MIT" ]
Agazoth/azure-powershell
src/Elastic/generated/api/Models/Api20200701/OperationResult.TypeConverter.cs
7,438
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Threading.Tasks; namespace Xamarin.Forms.Extended { public class InfiniteScrollCollection<T> : ObservableCollection<T>, IInfiniteScrollLoader, IInfinit...
22.197917
122
0.709057
[ "MIT" ]
mattleibow/InfiniteScrolling
InfiniteScrolling/InfiniteScrollCollection.cs
2,133
C#
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; namespace Dapplo.Jira.Query { /// <summary> /// A clause for simple values like container, macro and label /// </summary> pub...
19.610169
101
0.636992
[ "MIT" ]
oldmansauls/Dapplo.Jira
src/Dapplo.Jira/Query/SimpleValueClause.cs
1,159
C#
using System; using System.Threading.Tasks; using Common.Log; using Lykke.Snow.Mdm.Contracts.Models.Contracts; using Lykke.Snow.Mdm.Contracts.Models.Events; using MarginTrading.AssetService.Core.Caches; using MarginTrading.AssetService.Core.Domain; using MarginTrading.AssetService.Core.Handlers; using MarginTrading.As...
37.752688
117
0.598405
[ "MIT-0" ]
lykkecloud/MarginTrading.AssetService
src/MarginTrading.AssetService.Services/RabbitMq/Handlers/UnderlyingChangedHandler.cs
3,513
C#
/** * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
31.3
78
0.671725
[ "Apache-2.0" ]
AndreiLuis/dotnet-standard-sdk
src/IBM.Watson.VisualRecognition.v4/Model/ObjectMetadata.cs
1,252
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Splatoon.Cheats { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application {...
18.277778
42
0.705167
[ "MIT" ]
ivydrinkscoffee/Splatoon.Cheats
App.xaml.cs
331
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.Composition; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Text.Analyzers; namespace Text.CSharp.Analyzers { /...
34.882353
160
0.770658
[ "Apache-2.0" ]
AndrewZu1337/roslyn-analyzers
src/Text.Analyzers/CSharp/CSharpIdentifiersShouldBeSpelledCorrectly.Fixer.cs
593
C#
using BEDA.CMB.Contracts.Responses; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace BEDA.CMB.Contracts.Requests { /// <summary> /// 17.28.查询公司卡关联付款方信息请求主体 /// </summary...
27.872727
78
0.557078
[ "MIT" ]
fdstar/BankEnterpriseDirectAttach
src/BEDA.CMB/Contracts/Requests/17/RQ17_28.cs
1,963
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using System.Web.Mvc; using System.Xml; using System.Xml.Serialization; using Cats.Models; using Cats.Services.Administration; using Cats.Services.Common; using Cats.Models.ViewMod...
35.461538
138
0.509761
[ "Apache-2.0" ]
IYoni/cats
Web/Controllers/SMSGatewayController.cs
5,534
C#
using System.Collections.Generic; using FluentAssertions.Common; namespace FluentAssertions.Equivalency.Ordering { /// <summary> /// Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a /// severe performance impact otherwise. /// </summary> int...
30.636364
114
0.673591
[ "Apache-2.0" ]
Pyroka/FuentAssertions.Unity
FluentAssertions.Unity/Equivalency/Ordering/ByteArrayOrderingRule.cs
674
C#
using System.Threading; using System.Threading.Tasks; using BC7.Infrastructure.CustomExceptions; using BC7.Repository; using MediatR; namespace BC7.Business.Implementation.Users.Commands.ChangeAvatar { public class ChangeAvatarCommandHandler : IRequestHandler<ChangeAvatarCommand> { private readonly IU...
34.575758
133
0.712533
[ "MIT" ]
XardasLord/BitClub7
BC7.Business.Implementation/Users/Commands/ChangeAvatar/ChangeAvatarCommandHandler.cs
1,143
C#
/* using System.Runtime.CompilerServices; using IPA.Config.Stores; [assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)] namespace BeatSaberDiscordPresence.Configuration { internal class PluginConfig { public static PluginConfig Instance { get; set; } public virtual int IntVa...
32.45
154
0.623267
[ "MIT" ]
braddevans/BeatSaberDiscordPresence
BeatSaberDiscordPresence/Configuration/PluginConfig.cs
1,300
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Options; using MongoDB.Driver; using OnlineTraining.Entities.Db; using OnlineTraining.Entities.Entities; using OnlineTraining.Helper.Config; using OnlineTraining.Repositories.Interfaces; namespa...
34.605263
114
0.61673
[ "Unlicense" ]
anandgithub27/online-training
OnlineTraining/OnlineTraining.Repositories/Repositories/BookmarkRepository.cs
2,632
C#
#region Licence /* The MIT License (MIT) Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limita...
37.553957
153
0.662452
[ "MIT" ]
BrighterCommand/Contrib
Renegade/src/Paramore.Restms.Server/Adapters/Service/RestMSServerBuilder.cs
5,231
C#
using System; using System.Collections.Generic; using System.Text; using DotNet.Basics.Diagnostics; namespace DotNet.Basics.Cli { public interface ICliHost : ICliConfiguration { ILogger Log { get; } } }
18.230769
50
0.675105
[ "MIT" ]
rzmoz/DotNet.Basics
DotNet.Basics.Cli/ICliHost.cs
239
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...
54.54023
192
0.65466
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/AWSMarketplaceMetering/Generated/_bcl45/AmazonAWSMarketplaceMeteringClient.cs
52,203
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("6....
38.72973
84
0.745987
[ "MIT" ]
GerganaRibarova/Programming-Basics
6.Drawing-with-Loops-Exercises/6.Drawing-with-Loops-Exercises/Properties/AssemblyInfo.cs
1,436
C#
namespace BBT.StructureTools.Convert.Strategy { using System; using System.Collections.Generic; using System.Linq.Expressions; using BBT.StructureTools.Convert; /// <summary> /// Strategy to convert entities with a <c>ToMany</c> relationship. /// See <see cref="IConvertOperation{TSource,TT...
49.157895
145
0.689507
[ "MIT" ]
bbtsoftware/BBT.StructureTools
src/BBT.StructureTools/Convert/Strategy/IOperationCreateToManyWithReverseRelation.cs
1,870
C#
// Copyright © 2018, Meta Company. All rights reserved. // // Redistribution and use of this software (the "Software") in binary form, without modification, is // permitted provided that the following conditions are met: // // 1. Redistributions of the unmodified Software in binary form must reproduce the ab...
45
149
0.660606
[ "MIT" ]
JDZ-3/MXRManipulation
Assets/MetaSDK/Meta/Mouse/Scripts/DragScale.cs
4,472
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management.Compute.Models; using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azur...
46.98338
184
0.613702
[ "MIT" ]
MarzWorldLit/azure-sdk-for-net
src/SDKs/Compute/Compute.Tests/ScenarioTests/OSProfileTests.cs
16,963
C#
namespace Microsoft.Azure.Cosmos.SDK.EmulatorTests { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos.Spatial; using Microsoft.VisualStudio.TestTools.UnitTesting; u...
42.860215
190
0.565563
[ "MIT" ]
Camios/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/CosmosSpatialTests.cs
11,960
C#
using System; namespace Rafi { internal class Names { public static string[] Csr { get; } = new string[0x1000]; public static string[] IntReg { get; } = new string[32]; static Names() { Csr[0x000] = "ustatus"; Csr[0x001] = "fflags"; Csr[0x0...
29.042553
65
0.357509
[ "Apache-2.0" ]
fjt7tdmi/rafi-emu-csharp
Rafi/Def/Names.cs
4,097
C#
using FlowScriptEngine; namespace FlowScriptEngineBasic.FlowSourceObjects.Array { [ToolTipText("Array_BinarySearch_Summary")] public partial class BinarySearchFlowSourceObject : ArrayFlowSourceObjectBase { [ToolTipText("Array_BinarySearch_Compare")] public event FlowEventHandler Compare; ...
24.25
81
0.478568
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEngineBasic/FlowSourceObjects/Array/BinarySearchFlowSourceObject.cs
1,845
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.902778
165
0.654932
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataMigration/V20180715Preview/Outputs/GetUserTablesPostgreSqlTaskPropertiesResponse.cs
2,585
C#
namespace genny.Interfaces.Repositories; public interface IRepositoryFactory { IConnectionDescriptionRepository ConnectionDescriptionRepository { get; } IDatabaseObjectRepository DatabaseObjectRepository { get; } }
31.857143
77
0.838565
[ "MIT" ]
stho32/M001-WebApp-X-CSharp-001
Source/genny/genny.Interfaces/Repositories/IRepositoryFactory.cs
223
C#
//----------------------------------------------------------------------- // <copyright file="IRetryPolicyAction.cs"> // Copyright (c) 2015 Adam Craven. All rights reserved. // </copyright> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
40.090909
122
0.622071
[ "Apache-2.0" ]
channeladam/ChannelAdam.Core
src/ChannelAdam.Core/TransientFaultHandling/IRetryPolicyAction.cs
1,325
C#
using System; using System.Net; using System.Net.Http; namespace NSW.StarCitizen.Tools.Repository { public static class HttpNetClient { private static readonly HttpClientHandler _clientHandler; public static HttpClient Client { get; } static HttpNetClient() { Service...
37.363636
162
0.695864
[ "MIT" ]
defterai/SCTools
SCTools/SCTools/Repository/HttpNetClient.cs
822
C#
using System; using System.Runtime.Serialization; namespace Application.Common { [Serializable] public class AppException : ApplicationException { #region "Property" protected string _TranslationCode; public string TranslationCode { get { return _Transla...
26.34
84
0.585421
[ "MIT" ]
uon-coehm/IQCare
SourceBase/DataAccess/Application.Common/AppException.cs
1,317
C#
using CommunityToolkit.Mvvm.ComponentModel; using Windows.Gaming.Input; namespace UnoGamepad { public class GamepadViewModel : ObservableObject { private static int _id = 0; public GamepadViewModel(Gamepad gamepad) { Id = ++_id; Gamepad = gamepad; } ...
29.469388
73
0.608033
[ "MIT" ]
MartinZikmund/blog-2022
UnoGamepad/UnoGamepad.Shared/GamepadViewModel.cs
1,446
C#
using System; using System.Collections.Generic; using Android.Content; using Com.Adjust.Test; namespace TestApp { public class CommandListener : Java.Lang.Object, ICommandListener { private readonly AdjustCommandExecutor _adjustCommandExecutor; public CommandListener(Context con...
30.675676
118
0.597357
[ "MIT" ]
hungrydk/xamarin_sdk
android/Test/TestApp/CommandListener.cs
1,137
C#
using System.ServiceModel.Channels; namespace WcfCoreMtomEncoder { public class MtomMessageEncoderFactory : MessageEncoderFactory { private readonly MessageEncoderFactory _innerMessageEncoderFactory; public MtomMessageEncoderFactory(MessageEncoderFactory innerMessageEncoderFactory) { ...
34.73913
110
0.755945
[ "MIT" ]
LokiMidgard/WcfCoreMtomEncoder
src/WcfCoreMtomEncoder/MtomMessageEncoderFactory.cs
801
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace UnityPoc.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type type) { ...
39.916667
140
0.635351
[ "MIT" ]
tonysneed/Demo.UnityPocWithNLog
UnityPoc/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,437
C#
using System.Runtime.Serialization; namespace LogicMonitor.Api.Alerts { /// <summary> /// A column specification /// </summary> [DataContract] public class ColumnSpecification { /// <summary> /// Whether visible /// </summary> [DataMember(Name = "visible")] public bool IsVisible { get; set; } /// <s...
19.137931
37
0.621622
[ "MIT" ]
tdicks/LogicMonitor.Api
LogicMonitor.Api/Alerts/ColumnSpecification.cs
555
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
42.033333
108
0.679223
[ "MIT" ]
galich/SharpDevelop
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Test/ICSharpCode.Reports.Core.Test/ReportingLanguage/LanguageTests/PropertyEvaluator.cs
2,524
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> //---...
41.083333
80
0.649087
[ "MIT" ]
NeSh74/Fundamental-CSharp-January-2021
14_Associative Arrays - Exercise And More Exercise/09_ForceBook/obj/Debug/netcoreapp3.1/09_ForceBook.AssemblyInfo.cs
986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using Repository; namespace IDTO.Entity.Models { public class Mode : EntityBase { //Primary Key public int Id { get; set; } ...
18.142857
44
0.674541
[ "Apache-2.0" ]
OSADP/IDTO
IDTO Azure Hosted Systems/IDTO.Entity/Models/Mode.cs
383
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Reflection; using System; using System.Linq; namespace VSX.UniversalVehicleCombat.Radar { [CustomPropertyDrawer(typeof(LinkableVariable))] public class TrackableVarPropertyDrawer : PropertyDrawer ...
48.064444
178
0.531971
[ "MIT" ]
RisulKarimWG/GameX
Assets/SpaceCombatKit/Scripts/AllVehicles/Radar/LinkableVariables/Editor/LinkableVariableDrawer.cs
21,631
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...
30.606061
104
0.56662
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DAX/Generated/Model/Parameter.cs
7,070
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 Analyzer.Utilities.FlowAnalysis.Analysis.TaintedDataAnalysis; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.Ne...
45.777778
160
0.777508
[ "Apache-2.0" ]
AndrewZu1337/roslyn-analyzers
src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Security/ReviewCodeForOpenRedirectVulnerabilities.cs
1,236
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace VendingMachineNew.Controllers { public class PayPalController : Controller { // GET: PayPal public ActionResult Index() { return View(); ...
19.588235
47
0.606607
[ "MIT" ]
jaredburks/VendingMachineFinal
Controllers/PayPalController.cs
335
C#
// *********************************************************************** // Assembly : HZH_Controls // Created : 08-08-2019 // // *********************************************************************** // <copyright file="UCBtnExt.Designer.cs"> // Copyright by Huang Zhenghui(黄正辉) All, QQ g...
43.243697
166
0.547221
[ "Apache-2.0" ]
JakobWang/NetWinformControl
HZH_Controls/HZH_Controls/Controls/Btn/UCBtnExt.Designer.cs
5,326
C#