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
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
53.970588
102
0.610354
[ "MIT" ]
cointoss1973/Prism4.1-WPF
Quickstarts/EventAggregation/EventAggregation.Tests.AcceptanceTest/EventAggregation.Tests.AcceptanceTest/Properties/AssemblyInfo.cs
3,670
C#
namespace KafkaFlow.TypedHandler { internal class TypedHandlerConfiguration { public HandlerTypeMapping HandlerMapping { get; } = new HandlerTypeMapping(); } }
25.571429
85
0.726257
[ "MIT" ]
fab60/kafka-flow
src/KafkaFlow.TypedHandler/TypedHandlerConfiguration.cs
179
C#
using DotNetNuke.Common; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Web; using DotNetNuke.Common.Utilities; using DotNetNuke.Entities.Portals; namespace Dnn.PersonaBar.Themes.Components.DTO { [Serializable] [DataContract] public clas...
26.756757
72
0.648485
[ "MIT" ]
DNN-Connect/Dnn.AdminExperience
Extensions/Manage/Dnn.PersonaBar.Themes/Components/DTO/ThemeInfo.cs
992
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
46.5905
199
0.48076
[ "Apache-2.0" ]
EmilioFreire/Lean
Common/Util/LeanData.cs
56,887
C#
using FluentValidation; namespace Gear.ProjectManagement.Manager.Domain.Projects.Commands.ProjectSstp { internal class ProjectSstpCommandValidator : AbstractValidator<ProjectSstpCommand> { public ProjectSstpCommandValidator() { RuleFor(x => x.ProjectId).NotNull().NotEmpty(); ...
25.538462
86
0.698795
[ "MIT" ]
indrivo/bizon360_pm
IndrivoPM/Gear.ProjectManagement.Application/Domain/Projects/Commands/ProjectSstp/ProjectSstpCommandValidator.cs
334
C#
#region Copyrights /* Gibbo2D License - Version 1.0 Copyright (c) 2013 - Gibbo2D Team Founders Joao Alves <joao.cpp.sca@gmail.com> & Luis Fernandes <luisapidcloud@hotmail.com> Permission is granted to use this software and associated documentation files (the "Software") free of charge, to any person or company. The ...
37.383721
115
0.65661
[ "MIT" ]
Whitebeard86/Gibbo2D
Gibbo.Editor.Model/Classes/FileHelper.cs
3,217
C#
using System; using System.Collections.Generic; using System.Linq; using LanguageExt; using SJP.Schematic.Core; using SJP.Schematic.Core.Extensions; namespace SJP.Schematic.Reporting.Html.ViewModels; /// <summary> /// Internal. Not intended to be used outside of this assembly. Only required for templating....
31.520833
109
0.620291
[ "MIT" ]
sjp/SJP.Schema
src/SJP.Schematic.Reporting/Html/ViewModels/View.cs
2,937
C#
using System; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Microsoft.Data.OData; using Moq; #pragma warning disable 3008 namespace Simple.OData.Client.Tests.Core { public abstract class CoreTestBase : IDisposable { protected readonly IODataClient _client; ...
36.761194
151
0.63987
[ "MIT" ]
3-PRO/Simple.OData.Client
src/Simple.OData.Client.UnitTests/Core/CoreTestBase.cs
2,465
C#
// <auto-generated /> using System; using GoodToCode.Locality.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversio...
36.44403
117
0.475991
[ "Apache-2.0" ]
goodtocode/stack
deploy/Locality.Infrastructure.Persistence.Migrations/Migrations/20201025024420_20201024-194355.Designer.cs
9,769
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; using System.Collections.Immutable; namespace Microsoft.CodeAnalysis.CSharp.Symbols { /// <summary> /// State machine interface proper...
28.418182
171
0.608232
[ "Apache-2.0" ]
GKotfis/roslyn
src/Compilers/CSharp/Portable/Lowering/StateMachineRewriter/SynthesizedStateMachineProperty.cs
4,691
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LeetCode.Test { [TestClass] public class _0767_ReorganizeString_Test { [TestMethod] public void ReorganizeString_1() { var solution = new _0767_ReorganizeString(); var result = solution.ReorganizeS...
26.787879
60
0.582579
[ "MIT" ]
BigEggStudy/LeetCode-CS
LeetCode.Test/0751-0800/0767-ReorganizeString-Test.cs
884
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using ProductMonitor.Domain.Model; using ProductMonitor.Domain.Interface; namespace ProductMonitor.Desktop.ViewModel { public class ProductViewModel : BaseViewModel ...
21.264
69
0.446576
[ "MIT" ]
AlexQianjin/ProductMonitor
ProductMonitor.Desktop/ViewModel/ProductViewModel.cs
2,660
C#
using System.Configuration; namespace CompositeC1Contrib.Teasers.Configuration { public class TeasersSection : ConfigurationSection { [ConfigurationProperty("designs", IsRequired = false)] public TeasersDesignCollection Designs { get { return (TeasersDesignCollection)...
31.735294
100
0.624652
[ "MIT" ]
burningice2866/CompositeC1Contrib
Teasers/Configuration/TeasersSection.cs
1,081
C#
using System; using System.Threading; namespace Common.Logging { /// <summary> /// Correlation context. /// </summary> /// <remarks>Propagates correlation id.</remarks> public static class CorrelationContext { private const string CorrelationIdIsAlreadySpecified = "Correlation id is al...
27.538462
102
0.521415
[ "MIT" ]
tonynuke/Shop
Shared/Common.Logging/CorrelationContext.cs
1,076
C#
/* * Copyright(c) 2018 Samsung Electronics Co., Ltd. * * 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 ...
37.055517
171
0.594728
[ "Apache-2.0", "MIT" ]
expertisesolutions/TizenFX
src/Tizen.NUI/src/internal/Application.cs
52,730
C#
using System.Web; using System.Web.Mvc; namespace Submitter { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.714286
80
0.652672
[ "MIT" ]
bogdanbrudiu/CupaTimisului
Old.NET/Submitter/App_Start/FilterConfig.cs
264
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using SDKTemplate; using System; namespace SDKTemplat...
38.26087
134
0.5425
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Official Windows Platform Sample/Windows 8.1 Store app samples/99866-Windows 8.1 Store app samples/Content prefetch sample/C#/S1-DirectContentUris.xaml.cs
4,402
C#
using System; using Newtonsoft.Json; namespace Salesfly.Tests { public class Spew { public static void Dump(object obj) { Console.WriteLine(JsonConvert.SerializeObject(obj)); } } }
17.615385
64
0.615721
[ "MIT" ]
salesfly/salesfly-csharp
Salesfly.Tests/Spew.cs
229
C#
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using FizzWare.NBuilder; using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using VideoWeb.Controllers; using BookingsApi.Client; using BookingsApi.Contract.Request...
43.524096
122
0.663806
[ "MIT" ]
hmcts/vh-video-web
VideoWeb/VideoWeb.UnitTests/Controllers/HealthController/HealthTests.cs
7,225
C#
using Basement.BLFramework.Core.Common; using Basement.BLFramework.Core.Context; using Basement.Common; namespace Basement.BLFramework.Core.Reference.Description { public interface IDescription : IHasContext, IChildren<IDescription>, IParent<IDescription> { bool selectable { get; } string key ...
27
95
0.701389
[ "MIT" ]
planetouched/Unity3d_OEPFramework
Basement/BLFramework/Core/Reference/Description/IDescription.cs
434
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Drawing; using System.Threading; namespace WPrime64 { public class Gnd { private static Gnd _i = null; public static Gnd I { get { if (_i == null) _i = new Gnd(); return _i;...
17.792453
128
0.672322
[ "MIT" ]
stackprobe/Prime64
WPrime64/WPrime64/Ground.cs
961
C#
namespace WebScheduler.Server.HealthChecks; using Microsoft.Extensions.Diagnostics.HealthChecks; using Orleans; using WebScheduler.Abstractions.Grains.HealthChecks; /// <summary> /// Verifies connectivity to a <see cref="ILocalHealthCheckGrain"/> activation. As this grain is a /// stateless worker, validation always ...
36.454545
109
0.73005
[ "MIT" ]
ElanHasson/web-scheduler
Source/WebScheduler.Server/HealthChecks/GrainHealthCheck.cs
1,604
C#
using System; using System.Linq; using BAFactory.Fx.FileTags.Common; using BAFactory.Fx.FileTags.Exif.IFD; using BAFactory.Fx.Utilities.ImageProcessing; namespace BAFactory.Fx.FileTags.Exif.MakerNotes.Canon { class CanonMakerInfo : MakerInfo { internal override IFDHeader GetMakerNotesHeader(...
30.763158
125
0.642429
[ "Apache-2.0" ]
carlos-takeapps/bafactoryfx
File Tags/Exif/MakerNotes/Canon/CanonMakerInfo.cs
1,171
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Afonsoft.Libary.Utilities; using LeComCre.Web.PageBase; using LeComCre.Web.Negocios; namespace LeComCre.Web { public partial class CadUsuario : pageBase ...
44.918605
226
0.476961
[ "MIT" ]
afonsoft/LeComCre
LeComCre.Web/LeComCre.Web/CadUsuario.aspx.cs
7,763
C#
namespace EfDesignDemo.Entities { public class Product { public int Id { get; set; } public string ProductName { get; set; } public decimal UnitPrice { get; set; } } }
22.666667
47
0.593137
[ "MIT" ]
hero3616/ef-design-di
EfDesignDemo.Entities/Product.cs
206
C#
using System.Collections.Generic; using Newtonsoft.Json; using NJsonSchema; using NJsonSchema.Annotations; namespace JsonRpcNet.Docs { public class JsonRpcService { [JsonProperty("name")] public string Name { get; set; } = string.Empty; [JsonProperty("path")] public str...
30.12
104
0.632138
[ "MIT" ]
gottscj/JsonRpcNet
src/JsonRpcNet.Docs/JsonRpcService.cs
753
C#
// LeoSingleton.CommonLibs - Common Libraries for TypeScript and .NET Core // Copyright (c) Leo C. Singleton IV <leo@leosingleton.com> // See LICENSE in the project root for license information. using System.Threading; using System.Threading.Tasks; using Xunit; namespace LeoSingleton.CommonLibs.Coordination.UnitTest...
26.555556
75
0.540272
[ "MIT" ]
leosingleton/commonlibs
dotnet/UnitTests/Coordination/AsyncEventWaitHandleTest.cs
1,914
C#
namespace DwellerBot { public interface ISaveable { void SaveState(); void LoadState(); } }
12.2
30
0.565574
[ "MIT" ]
Angelore/dwellerbot
DwellerBot/ISaveable.cs
124
C#
namespace BookShop.Data.EntityConfiguration { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Models; internal class CategoryConfiguration : IEntityTypeConfiguration<Category> { public void Configure(EntityTypeBuilder<Category> bu...
26
78
0.615385
[ "MIT" ]
AndreyKodzhabashev/CSparpDB
Lec07_Advanced Querying/BookShop.Data/EntityConfiguration/CategoryConfiguration.cs
522
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...
31.115789
204
0.605886
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Logz/V20201001Preview/GetSubAccountTagRule.cs
2,956
C#
using Microsoft.AspNetCore.Mvc; using Xms.Web.Framework.Context; using Xms.Web.Framework.Filters; namespace Xms.Web.Framework.Controller { /// <summary> /// 登录状态验证控制器基类 /// </summary> [TypeFilter(typeof(InitializationFilterAttribute), Order = 0)] [TypeFilter(typeof(IdentityFilterAttribute), Order ...
28.666667
91
0.707364
[ "MIT" ]
861191244/xms
Presentation/Xms.Web.FrameWork/Controller/AuthenticatedControllerBase.cs
540
C#
using HydroServerTools.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; using System; namespace HydroServerTools { public partial class Startup { // For more inf...
39.986111
125
0.630775
[ "BSD-3-Clause" ]
CUAHSI/Azure-Hydroservertools
HydroServerTools/App_Start/Startup.Auth.cs
2,881
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
54.235294
169
0.594902
[ "MIT" ]
cointoss1973/Prism4.1-WPF
Quickstarts/UIComposition/EmployeeModule/Views/EmployeeSummaryView.xaml.cs
1,844
C#
using MagusCharacterGenerator.Castes; using MagusCharacterGenerator.GameSystem.Attributes; using MagusCharacterGenerator.GameSystem.Valuables; using MagusCharacterGenerator.GameSystem.Weapons; using Mtf.Languages; namespace MagusCharacterGenerator.Things.Weapons.Spears { class Javelin : Weapon, IMeleeWeap...
27.448276
66
0.680905
[ "MIT" ]
Mortens4444/MagusCharacterGenerator
MagusCharacterGenerator/Things/Weapons/Spears/Javelin.cs
798
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Asm { using System; using System.Runtime.CompilerServices; using static ...
27.14
125
0.492999
[ "BSD-3-Clause" ]
0xCM/z0
src/asm/src/models/AsmBranchTarget.cs
1,357
C#
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless...
33.915493
127
0.659053
[ "Apache-2.0" ]
BearerPipelineTest/grpc-dotnet
test/Grpc.Net.Client.Tests/Infrastructure/StreamSerializationHelper.cs
2,410
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-generate...
40.724771
179
0.564542
[ "Apache-2.0" ]
thojaw/PdfiumViewer
PdfiumViewer/Properties/Resources.Designer.cs
4,441
C#
namespace Ventas { partial class UltimasReservaciones { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
35.016393
169
0.560861
[ "MIT" ]
catrachitohn/Ventas
Reservaciones/Ventas/UltimasReservaciones.Designer.cs
2,138
C#
using JetBrains.Annotations; using NetScript.Runtime.Objects; namespace NetScript.Runtime.Builtins { internal static class IteratorIntrinsics { [NotNull] public static ScriptObject Initialise([NotNull] Agent agent, [NotNull] Realm realm, ScriptObject objectPrototype, ScriptObject funct...
37.47619
173
0.684879
[ "MIT" ]
MatthewSmit/.netScript
NetScript/Runtime/Builtins/IteratorIntrinsics.cs
789
C#
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Fritz.TwitchChatArchive.Data; using Fritz.TwitchChatArchive.Messages; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Microsoft.W...
34.347107
128
0.765159
[ "MIT" ]
csharpfritz/TwitchChatArchive
src/Fritz.TwitchChatArchive/Download.cs
4,156
C#
using Microsoft.Windows.AppNotifications; using SettingsUI.Demo.Pages; using SettingsUI.Helpers; namespace SettingsUI.Demo.AppNotification; public class ToastWithAvatar : IScenario { private static ToastWithAvatar _Instance; public static ToastWithAvatar Instance { get { if (_...
29.756757
134
0.677566
[ "MIT" ]
ghost1372/SettingsUI
src/SettingsUI.Demo/AppNotification/ToastWithAvatar.cs
1,103
C#
// Copyright © 2015 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Platformus.Barebone; using Platformus.Forms.Data.Abstractions; using Platformus.Forms.Data.Models; using Platformus.Globalization.Backend.View...
32.6
111
0.745399
[ "Apache-2.0" ]
uQr/Platformus
src/Platformus.Forms.Backend/Areas/Backend/ViewModels/Shared/CompletedField/CompletedFieldViewModelFactory.cs
981
C#
using System.Diagnostics.CodeAnalysis; using Xunit; using Xunit.Sdk; namespace Funcky; public static partial class FunctionalAssert { /// <summary>Asserts that the given <paramref name="either"/> is <c>Left</c> and contains the given <paramref name="expectedLeft"/>.</summary> /// <exception cref="AssertActual...
41.965517
146
0.654478
[ "Apache-2.0", "MIT" ]
FreeApophis/Funcky
Funcky.Xunit/FunctionalAssert/IsLeft.cs
2,434
C#
// © Anamnesis. // Licensed under the MIT license. namespace Anamnesis.Character.Converters { using System; using System.Globalization; using System.Windows; using System.Windows.Data; using Anamnesis.Memory; [ValueConversion(typeof(Customize.Genders), typeof(Visibility))] public class MasculineGenderToVisibi...
28.074074
97
0.774406
[ "MIT" ]
Caraxi/Anamnesis
Anamnesis/Character/Converters/MasculineGenderToVisibilityConverter.cs
761
C#
/* Copyright (C) 2020 Jean-Camille Tournier (mail@tournierjc.fr) This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore QLCore is free software: you can redistribute it and/or modify it under the terms of the QLCore and QLNet license. You should have received a copy of the license along w...
34.526316
95
0.653963
[ "BSD-3-Clause" ]
OpenDerivatives/QLCore
QLCore/Grid.cs
1,970
C#
using RiveScript.AST; using System; using System.Collections.Generic; namespace RiveScript { /// <summary> /// Topic manager class for RiveScript. /// </summary> public class TopicManager { Dictionary<string, Topic> topics = new Dictionary<string, Topic>(); // Hash of managed topics ...
36.20462
128
0.486053
[ "MIT" ]
effacestudios/rivescript-csharp
RiveScript/TopicManager.cs
10,972
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // using UnityEngine; using UnityEditor; using HoloToolkit.Unity.Collections; [CustomEditor(typeof(ObjectCollection))] public class CollectionEditor : Ed...
26.92
92
0.658247
[ "MIT" ]
Zeraphil/HoloGaitRehab
Assets/HoloToolkit/UX/Scripts/Collections/Editor/CollectionEditor.cs
675
C#
using System; using System.Collections.Generic; using bv.common.Core; using eidss.model.Core; using eidss.model.Reports.Common; namespace eidss.model.Reports.AZ { [Serializable] public class AssignmentLabDiagnosticModel : BaseModel { public AssignmentLabDiagnosticModel() { ...
30.069767
126
0.58546
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6.1/eidss.model/Reports/AZ/AssignmentLabDiagnosticModel.cs
1,295
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 System.Threading; using StarkPlatform.Compiler.Stark.Syntax; using StarkPlatform.Compiler.Organizing.Organizers; namespace S...
37.791667
161
0.726571
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Stark.Features/Organizing/Organizers/FieldDeclarationOrganizer.cs
909
C#
using System.Collections.Generic; using ModKit; using UnityModManagerNet; namespace SolastaUnfinishedBusiness.Viewers { public class CreditsAndHelpViewer : IMenuSelectablePage { public string Name => "Help & Credits"; public int Priority => 1; private static void DisplayMulticlassHel...
46.148148
197
0.576244
[ "MIT" ]
Holic75/SolastaUnfinishedBusiness
SolastaUnfinishedBusiness/Viewers/CreditsAndHelpViewer.cs
3,741
C#
// Copyright (c) 2010-2013 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 us...
41.268293
93
0.75
[ "MIT" ]
Jenkin0603/myvim
bundle/omnisharp-vim/server/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Parser/Expression/AnonymousTypeCreateExpressionTests.cs
1,694
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.195402
153
0.57479
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ApplicationRemovePasswordRequest.cs
2,975
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace Questionnaire1029.SystemAdmin { public ...
26.444444
81
0.479342
[ "MIT" ]
thousandtw/Questionnaire
Questionnaire1029/Questionnaire1029/SystemAdmin/DataConfirmPage.aspx.designer.cs
3,780
C#
using Microsoft.Azure.Cosmos.Table; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace MailDispatcher.Storage { public interface IRepository<T> where T: TableEntity, new() { public IAsyncEnumerable<TableQuerySegmen...
24.769231
132
0.708075
[ "MIT" ]
neurospeech/mail-dispatcher-core
MailDispatcher/Storage/IRepository.cs
646
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using StartupIdentity.Core.Domain.Entities; namespace StartupIdentity.Pre...
34.639344
142
0.645528
[ "MIT" ]
isilveira/StartUpIdentity
src/StartupIdentity.Presentations.IdentityWebAPP/Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.cs
2,115
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.580645
151
0.583955
[ "MIT" ]
HanseMiner/CloneRepo_gitrepovisualizer
GitRepoVisualizer/Properties/Settings.Designer.cs
1,074
C#
using System; using System.Collections.Generic; using System.Text; namespace CarDealer.DTO { public class SupplierDto { public int Id { get; set; } public string Name { get; set; } public int PartsCount { get; set; } } }
18.5
43
0.625483
[ "MIT" ]
bobo4aces/07.SoftUni-CSharpDBFundamentals
02. Databases Advanced - Entity Framework - 10. JSON Processing/Exercises/Car Dealer/CarDealer/DTO/SupplierDto.cs
261
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Components.E2ETest.Infrastructure; using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures; using Microso...
44.556391
119
0.658792
[ "Apache-2.0" ]
belav/aspnetcore
src/Components/test/E2ETest/Tests/SaveStateTest.cs
5,926
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; using System.Collections.Generic; using System.Linq; using Microsoft.Toolkit.Parsers.Markdown.Helpers;...
39.552966
187
0.501473
[ "MIT" ]
DJDGSFTX/WindowsCommunityToolkit
Microsoft.Toolkit.Parsers/Markdown/Inlines/HyperlinkInline.cs
18,669
C#
using System; using Newtonsoft.Json; namespace HubSpot.Model.Contacts { public static class ContactProperties { public static readonly IProperty LastModifiedDate = new Property("lastmodifieddate"); public static readonly IProperty AssociatedCompanyId = new Property("associatedcompanyid"); ...
41.625
99
0.746246
[ "MIT" ]
Kralizek/hubspot-dotnet-sdk
src/HubSpot.Client/Model/Contacts/ContactProperties.cs
668
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Web; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Microsoft.Owin.Security; using Ninject.Modules; using RememBeer.Models.Identity.Contracts; namespace RememBeer.MvcClient.Ninject.NinjectModules { [ExcludeFromCodeCoverage] ...
27.090909
88
0.640101
[ "MIT" ]
J0hnyBG/RememBeerMeMvc
src/RememBeer.MvcClient/Ninject/NinjectModules/AuthNinjectModule.cs
1,194
C#
using SpreadCommander.Common.PowerShell; using System; using System.Collections.Generic; using System.Linq; using Automation = System.Management.Automation; using System.Management.Automation.Runspaces; using System.Text; using System.Threading.Tasks; using System.Collections.ObjectModel; using System.Management.Autom...
35.525727
145
0.544081
[ "Apache-2.0" ]
VassilievVV/SpreadCommander
SpreadCommander.Common/ScriptEngines/PowerShellScriptEngine.cs
15,882
C#
#region License // Copyright 2014 MorseCode Software // 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 o...
47.106977
191
0.51718
[ "Apache-2.0" ]
jam40jeff/RxMvvm
Source/MorseCode.RxMvvm/Observable/Property/Internal/CancellableAsyncCalculatedPropertyWithContext{TFirst,TSecond,TThird,T}.cs
10,128
C#
using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; namespace Myproject.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); //ASP.NET Web API Route Config ...
27.5
99
0.52987
[ "MIT" ]
ahmetkursatesim/ASPNETProject
src/Myproject.Web/App_Start/RouteConfig.cs
772
C#
using System; class RestaurantDiscount { static void Main() { int groupSize = int.Parse(Console.ReadLine()); string package = Console.ReadLine().ToLower(); string hallName; decimal hallPrice = 0; decimal packagePrice = 0; decimal discount = 0; if (grou...
24.775862
100
0.473208
[ "MIT" ]
lapd87/SoftUniProgrammingFundamentalsCSharp
ProgrammingFundamentalsCSharp/02ConditionalStatementsAndLoops/03RestaurantDiscount/RestaurantDiscount.cs
1,439
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml...
38.857143
126
0.610101
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter17/SpacingButtons/SpacingButtons/SpacingButtons.WinPhone/App.xaml.cs
5,168
C#
using System; using System.Collections.Generic; namespace Storagr.Shared { public interface IStoragrEnumerable<TItem> : IStoragrRunner<IEnumerable<TItem>> { IStoragrEnumerable<TItem> Take(int count); IStoragrEnumerable<TItem> Skip(int count); IStoragrEnumerable<TItem> SkipUntil...
33.363636
78
0.702997
[ "MIT" ]
talaryonlabs/storagr
src/Storagr.Shared/Core/Fluent/IStoragrEnumerable.cs
736
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.925373
81
0.622847
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ocr/V20181119/Models/SmartStructuralOCRRequest.cs
2,662
C#
using System; namespace DaRT { public class Player { public int number; public String ip; public String ping; public String guid; public String name; public String status; public String lastseen; public String lastseenon; public String lo...
29.796875
151
0.535396
[ "MIT" ]
bravo10delta/DaRT
DaRT/Classes/Player.cs
1,909
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using FluentAssertions; using IdentityModel; using iSHARE.Abstractions; using iSHARE.IdentityServer.Helpers.Interfaces; using iSHARE.IdentityServer.Validation; using iSHARE.IdentityServer.Validation.Int...
36
111
0.657051
[ "Unlicense" ]
iSHARE-Scheme/Authorization-Registry
tests/iSHARE.IdentityServer.Tests/Validation/DefaultJwtValidatorTests.cs
2,810
C#
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace CodeCracker.CSharp.Usage { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class SimplifyRedundantBooleanCompa...
46.157895
119
0.708856
[ "Apache-2.0" ]
dotnet-campus/code-cracker
src/CSharp/CodeCracker/Usage/SimplifyRedundantBooleanComparisonsAnalyzer.cs
2,631
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/services/ad_group_criterion_label_service.proto // </auto-generated> // Original file comments: // Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); //...
60.204244
429
0.719699
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V8/Services/AdGroupCriterionLabelServiceGrpc.g.cs
22,697
C#
using UnityEngine; public class Pulse : MonoBehaviour { Vector3 startScale; void Start () { startScale = transform.localScale; } void Update() { transform.localScale = startScale * (1f + .1f * Mathf.Sin(2 * Time.time)); } }
15.470588
82
0.608365
[ "MIT" ]
jaburns/ggj2018
Assets/Scripts/Pulse.cs
265
C#
namespace _1.Code_First_Student_System.Models { using System.ComponentModel.DataAnnotations; public class License { public int Id { get; set; } [Required] [StringLength(50)] public string Name { get; set; } public int ResourceId { get; set; } public virtu...
20.166667
54
0.608815
[ "MIT" ]
RAstardzhiev/SoftUni-C-
Databases Advanced - Entity Framework 6/EF Relations/1. Code First Student System/Models/License.cs
365
C#
using UnityEngine; using System.Collections; public class BoostPedalCollider : MonoBehaviour { [SerializeField] private BoostPedal _bp; void OnTriggerEnter(Collider aCol) { CarController target = aCol.gameObject.GetComponent<CarController>(); if (null == target) { ...
21.538462
78
0.55
[ "MIT" ]
showstop98/gtb-client
Assets/Script/Play/BoostPedalCollider.cs
562
C#
using Newtonsoft.Json; using SFA.DAS.EmployerIncentives.Functions.LegalEntities.Services.LegalEntities.Types; using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace SFA.DAS.EmployerIncentives.Functions.LegalEntities.Services.LegalEntities { public class EmailService : IEma...
32.285714
118
0.710177
[ "MIT" ]
SkillsFundingAgency/das-employer-incentives-functions
src/SFA.DAS.EmployerIncentives.Functions.LegalEntities/Services/LegalEntities/EmailService.cs
906
C#
using System.Collections.Generic; namespace _11_PerlinNoiseMarbled { public class Hitable_List : HitTable { public List<HitTable> Objects; public Hitable_List() { this.Objects = new List<HitTable>(); } public Hitable_List(HitTable hitTable) : t...
25.426471
98
0.470792
[ "MIT" ]
Jorgemagic/RaytracingTheNextWeek
11-PerlinNoiseMarbled/HitTables/Hittable_List.cs
1,731
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Blazor.ECharts.Options { /// <summary> /// 坐标轴在 grid 区域中的分隔线。 /// </summary> public class SplitLine { /// <summary> /// 是否显示分隔线。默认数值轴显示,类目轴不显示。 /// ...
21.233333
58
0.55102
[ "MIT" ]
blazor-cn/Blazor.ECharts
Blazor.ECharts/Options/SplitLine.cs
761
C#
using System.Web; using System.Web.Optimization; namespace NuGetVersion { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Scri...
38.78125
112
0.573731
[ "MIT" ]
lbearl/NuGetVersionChecker
NuGetVersion/App_Start/BundleConfig.cs
1,243
C#
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using PeterPedia.Client.Services; namespace PeterPedia.Client.Pages.Episodes; public partial class Add : ComponentBase { [Inject] private TVService TVService { get; set; } = null!; private ElementReference Input; pr...
21.673913
70
0.62989
[ "MIT" ]
peter-andersson/peterpedia
src/Client/Pages/Episodes/Add.razor.cs
999
C#
using FlowScriptEngine; namespace FlowScriptEngineBasic { public class ToolTipText : IToolTipText { private string toolTipText; private string summary; private string remark; private string key; public ToolTipText(string summary) { this.key = summar...
25.956522
105
0.577052
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEngineBasic/ToolTipText.cs
1,196
C#
namespace EasyAbp.EShop.Stores { public static class StoresConsts { public const string TransactionOrderCompletedActionName = "OrderCompleted"; public const string TransactionOrderRefundedActionName = "OrderRefunded"; } }
28.777778
83
0.718147
[ "MIT" ]
Hunter1994/EShop
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain.Shared/EasyAbp/EShop/Stores/StoresConsts.cs
261
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/xaudio2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServic...
42.857143
145
0.757778
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2_SEND_DESCRIPTOR.cs
902
C#
// 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 writing, software distributed under the ...
46.990683
158
0.609786
[ "Apache-2.0" ]
ple-utt239/google-api-dotnet-client
Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.cs
45,393
C#
namespace WebApi.UseCases.V1.Deposit { using System; using System.ComponentModel.DataAnnotations; /// <summary> /// The response for a successfull Deposit. /// </summary> public sealed class DepositResponse { /// <summary> /// The Deposit response constructor. ...
25.431373
51
0.520432
[ "Apache-2.0" ]
gfragoso/clean-architecture-manga
src/WebApi/UseCases/V1/Deposit/DepositResponse.cs
1,297
C#
using System.Collections.Generic; namespace UniDi { [NoReflectionBaking] public class CopyNonLazyBinder : NonLazyBinder { List<BindInfo> _secondaryBindInfos; public CopyNonLazyBinder(BindInfo bindInfo) : base(bindInfo) { } // This is used in cases where...
30.029851
101
0.60835
[ "Apache-2.0" ]
UniDi/UniDi
Source/Binding/Binders/CopyNonLazyBinder.cs
2,012
C#
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Promociones.API.Entities { public class Promocion { [BsonId] public Guid Id { get; private set; } public IEnumerab...
43.55814
335
0.67859
[ "MIT" ]
matiasdotta/Fravega-challenge
src/Services/Promociones/Promociones.API/Entities/Promocion.cs
1,875
C#
using Cybtans.Graphics.Models; using System.Collections.Generic; namespace Cybtans.Graphics.Shading { public enum Operator { IsActive = 1, Equal = 2, NotEqual = 3, LessThan = 4, GratherThan = 5 , LessThanEqual = 6, GreaterThanEqual = 7 } pu...
21.363636
75
0.492766
[ "MIT" ]
ansel86castro/cybtans-sdk
CybtansSDK/Graphics/Cybtans.Graphics/Shading/Conditions/ParameterPredicate.cs
1,177
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...
37.4
84
0.76165
[ "MIT" ]
DevExpress/OBSOLETE_EF-Core-Security
EFCoreSecurityDemos/EFCoreSecurityXamarinDemo/EFCoreSecurityXamarinDemo/EFCoreSecurityXamarinDemo.Droid/Properties/AssemblyInfo.cs
1,312
C#
using System; using System.Reflection; namespace Demo.Library.Extensions { public static class SecurityExtension { public static string GetSecurityContext(this Type type) { return type.FullName; } public static string GetSecurityContext(this PropertyInfo property) ...
29.636364
107
0.597137
[ "MIT" ]
ImenRASSAA/DDD.Enterprise.Example
Infrastructure/Library/Security/SecurityExtension.cs
980
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.IO; namespace DotNetNuke.Services.FileSystem.Internal { /// <summary> /// Internal class t...
31.727273
72
0.654728
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/Services/FileSystem/Internal/IFileSecurityController.cs
700
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts.Tables.General { [TableName(TableName)] internal sealed class HorizontalMetricsTable : Table { private const string TableName = "hmtx"; private readonly short[] leftSideBearings; ...
39.6
178
0.590909
[ "Apache-2.0" ]
BigMach/Fonts
src/SixLabors.Fonts/Tables/General/HorizontalMetricsTable.cs
3,168
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Afx.Tcp.Host { class CmdMethodInfo { public int Cmd { get; set; } public Type Type { get; set; } public MethodInfo Method { get; set; } public Type ParameterType { get; set...
18.608696
52
0.61215
[ "Apache-2.0" ]
jerrylai/Afx.Tcp.Host
src/Afx.Tcp.Host/CmdMethodInfo.cs
430
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.ComponentModel.Design.Serialization; using System.Globalization; namespace System.ComponentModel { /// <summary> /// Provides a type converter that can be used ...
35.436508
129
0.567973
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeListConverter.cs
4,465
C#
using CPFrameWork.Utility.DbOper; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Data; using Sy...
41.223382
147
0.43386
[ "Apache-2.0" ]
VAllens/qMISPlat
Library/Common/CPFrameWork.Global/CPAppContext.cs
20,356
C#
namespace Hash_Table { using System; using System.Collections; using System.Collections.Generic; public class MyDictionary<TKey, TValue> : IEnumerable<KeyValue<TKey, TValue>> { private HashTable<TKey, TValue> table; public MyDictionary() { this.table = new Hash...
22.270833
81
0.508887
[ "MIT" ]
NikolaVodenicharov/DataStructures
HasTables/Data-Structures-Hash-Tables-Sets-and-Dictionaries-Lab-CSharp-Skeleton/Dictionaries/MyDictionary.cs
1,071
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> //--...
40.22807
177
0.573266
[ "MIT" ]
UmarNaeem7/Minesweeper
Minesweeper/Properties/Resources.Designer.cs
4,588
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...
83.133758
663
0.690929
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20210210/MarsAgentDetails.json.cs
12,896
C#
using CivLeagueJP.API.Models; using CivLeagueJP.API.Models.Civ6; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CivLeagueJP.API.Models { public class UserPlayerConnection { [Key] public long Id { get; set; } public virtual Play...
28.833333
68
0.703276
[ "MIT" ]
seed-of-apricot/CivLeagueJP.API
Models/UserPlayerConnection.cs
519
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.TestModels.UpdatesModel; using Microsoft.EntityFrameworkCore.TestUt...
42.333333
156
0.653051
[ "Apache-2.0" ]
StevenRasmussen/efcore
test/EFCore.SqlServer.FunctionalTests/UpdatesSqlServerFixture.cs
2,032
C#