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.Collections.Generic; namespace EntityFrameworkCore.LocalStorage.Serializer { interface ISerializer { Dictionary<TKey, object[]> Deserialize<TKey>(string list, Dictionary<TKey, object[]> newList); string Serialize<TKey>(Dictionary<TKey, object[]> list); } }
25.083333
102
0.710963
[ "MIT" ]
TheRealDuckboy/EntityFrameworkCore.LocalStorage
src/EntityFrameworkCore.LocalStorage/Serializer/ISerializer.cs
303
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Core...
63.507109
227
0.663134
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ServerAutomaticTuningRestOperations.cs
13,400
C#
using System.Text; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Micros...
38.578125
117
0.596193
[ "MIT" ]
paloni/sharebook
backend/src/ShareBook.WebApi/Startup.cs
4,938
C#
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// An Issue is a place to discuss ideas, enhancements, tasks, and bugs for a project. /// </su...
48.804688
362
0.623659
[ "MIT" ]
ChilliCream/octokit.graphql.net
Octokit.GraphQL/Model/Issue.cs
12,494
C#
#if !NETSTANDARD13 /* * 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 ...
38.845361
154
0.664278
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/src/Services/Athena/Generated/Model/_bcl45+netstandard/ListDataCatalogsPaginator.cs
3,768
C#
// // StaticEventSubscriptionIssue.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2014 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal ...
39.594595
166
0.736519
[ "MIT" ]
Jenkin0603/myvim
bundle/omnisharp-vim/server/NRefactory/ICSharpCode.NRefactory.CSharp.Refactoring/CodeIssues/Custom/StaticEventSubscriptionIssue.cs
5,863
C#
using Seed.Environment.Plugins.Features; namespace Seed.Environment.Engine { public interface IFeatureEventHandler { void Installing(IFeatureInfo feature); void Installed(IFeatureInfo feature); void Enabling(IFeatureInfo feature); void Enabled(IFeatureInfo feature); ...
21.291667
48
0.700587
[ "MIT" ]
fyl080801/dotnet-seed
src/Seed.Environment.Abstractions/Engine/IFeatureEventHandler.cs
511
C#
using System; namespace Octopus.Client.Model { public class DashboardItemResource : Resource { public string ProjectId { get; set; } public string EnvironmentId { get; set; } public string ReleaseId { get; set; } public string DeploymentId { get; set; } public string Tas...
39.035714
58
0.620311
[ "Apache-2.0" ]
terotgut/OctopusClients
source/Octopus.Client/Model/DashboardItemResource.cs
1,093
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("M2e...
37.405405
84
0.746387
[ "BSD-3-Clause" ]
Project-Lunar/Project-Lunar-M2Engage-Library
M2engage/Properties/AssemblyInfo.cs
1,387
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; using System.Reflection; public class GenericDataHandler : MonoBehaviour { object dataSource; Dictionary<string, object> fields; //for real time sources public DataSource source = null; string index ...
21.634409
138
0.522863
[ "MIT" ]
ChrisAshtear/EUIDatasources
Runtime/Menu/GenericDataHandler.cs
2,014
C#
namespace Xamarin.Forms.Platform.Android { public static class PlatformConfigurationExtensions { public static IPlatformElementConfiguration<PlatformConfiguration.Android, T> OnThisPlatform<T>(this T element) where T : Element, IElementConfiguration<T> { return (element).On<PlatformConfiguration.Android>()...
30
114
0.784848
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Platform.Android/PlatformConfigurationExtensions.cs
330
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
36.147059
84
0.568755
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/OpenRiaServices.EntityFramework/Test/DbContextModel/AdventureWorks/ShipMethod.cs
1,229
C#
namespace Frederikskaj2.Reservations.Shared { public enum UpdateUserResult { Success, GeneralError, UserWasDeleted } }
17.222222
44
0.63871
[ "MIT" ]
Frederikskaj2/Reservations
Shared/Models/UpdateUserResult.cs
157
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using Moq; using NUnit.Framework; using PHPAnalysis.Analysis; using PHPAnalysis.Analysis.AST; using PHPAnalysis.Analysis.CFG; using PHPAnalysis.Analysis.CFG.Taint; using PHPAnalysis.Ana...
37.280702
117
0.564706
[ "MIT" ]
jtvn/Eir-CTLLTL
PHPAnalysis/PHPAnalysis.Tests/Analysis/AST/IncludeResolvertTests.cs
2,127
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
57.625571
246
0.688114
[ "MIT" ]
LGDoor/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerJobAgentJobExecution.cs
12,620
C#
using System; using System.Collections.Concurrent; using StackExchange.Redis; namespace Masuit.Tools.Core.NoSQL { /// <summary> /// ConnectionMultiplexer对象管理帮助类 /// </summary> public static class RedisConnectionManager { /// <summary> /// Redis服务器连接字符串,默认为:127.0.0.1:6379,allowadmin...
34.427419
160
0.582806
[ "MIT" ]
U3DC/Masuit.Tools
Masuit.Tools.Core/NoSQL/RedisConnectionManager.cs
4,509
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using System.Text.Encodings.Web; using System.Linq; using System.Threading.Tasks; using IVMSBack.Areas.Identity.Data; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; usi...
34.310811
126
0.574242
[ "Unlicense" ]
saibothack/IVMSBack
IVMSBack/Areas/Identity/Pages/Account/Manage/Email.cshtml.cs
5,080
C#
using System.Collections.Generic; using Abp.AutoMapper; using EIRA.MultiTenancy; namespace EIRA.Web.Models.Account { public class TenantSelectionViewModel { public string Action { get; set; } public List<TenantInfo> Tenants { get; set; } [AutoMapFrom(typeof(Tenant))] public c...
21.826087
53
0.599602
[ "MIT" ]
gladiatormaximusty/Questionnaire-Backend
src/EIRA.Web/Models/Account/TenantSelectionViewModel.cs
504
C#
// Copyright Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using HoloToolkit.Unity; namespace GalaxyExplorer { public class SolarSystemResizer : SingleInstance<SolarSystemResizer> { void Awake() { ...
28.933333
102
0.721198
[ "MIT" ]
ActiveNick/GalaxyExplorer
Assets/SolarSystem/SolarSystemResizer.cs
436
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.Diagnostics.CodeAnalysis; using Microsoft.EntityFrameworkCore.Query.Internal; using Microsoft.EntityFrameworkCore.Query.SqlExpressions; namespace Microsoft.EntityFramew...
41.896552
132
0.646365
[ "MIT" ]
AraHaan/efcore
src/EFCore.Relational/Query/RelationalQueryTranslationPostprocessor.cs
7,290
C#
using System; using System.Collections.Generic; using System.Linq; namespace Titration_Analyzer { public class unkownacid { private Dictionary<string, string> monoproticacid = new Dictionary<string, string>(); private Dictionary<string, string> diproticacidone = new Dictionary<string, string>...
45.793605
186
0.442075
[ "CC0-1.0" ]
dalevens/OpenTitration
src/TitrationAnalyzer/unkownacid.cs
15,755
C#
namespace VegaLite.Schema { /// <summary> /// The layout direction for legend orient group layout. /// </summary> public struct Direction { public Orientation? Enum; public SignalRef SignalRef; public static implicit operator Direction(Orientation @enum) { ...
21.964286
70
0.513821
[ "MIT" ]
trmcnealy/VegaLite.NET
VegaLite.NET/Schema/Direction.cs
617
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
56.964103
256
0.688153
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDatabaseAdvisor.cs
11,108
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.666667
151
0.582633
[ "Apache-2.0" ]
laingsimon/draw-ship
DrawShip.Preview/Properties/Settings.Designer.cs
1,073
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Reflection; using System; using AnyThinkAds.Common; using AnyThinkAds.ThirdParty.LitJson; namespace AnyThinkAds.Api { public class ATBannerAdLoadingExtra { public static readonly string kATBannerAdLoadingExtra...
36.644444
263
0.69153
[ "Apache-2.0" ]
anythinkteam/demo_unity
AnyThinkUnitySDK/Assets/AnyThinkAds/Api/ATBannerAd.cs
4,949
C#
// * // * Copyright (C) 2008 Roger Alsing : http://www.RogerAlsing.com // * // * This library is free software; you can redistribute it and/or modify it // * under the terms of the GNU Lesser General Public License 2.1 or later, as // * published by the Free Software Foundation. See the included license.txt // * or ht...
36.724138
137
0.65446
[ "MIT" ]
TrevorDArcyEvans/EllieWare
code/SyntaxBox/Alsing.SyntaxBox/Document/SyntaxDefinition/Pattern/PatternScanResult.cs
1,067
C#
using System; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using ImageRichWebSite.Models; namespace ImageRichWebSite.Controllers { [Authorize] public class ManageCo...
36.374677
175
0.567024
[ "Apache-2.0" ]
kappy/ImageRichWebApplication
ImageRichWebApplication/Controllers/ManageController.cs
14,079
C#
using System; using System.Security.Cryptography; namespace SSH.Encryption { class TripleDES_CTR : CipherCTR { public override int BlockSize { get { return 8; } } public override int KeySize { get { return 24; } } internal override Type CryptoType { get { return typeof(TripleD...
27.769231
101
0.65651
[ "MIT" ]
neoscrib/secureshell
SSH/Encryption/TripleDES_CTR.cs
363
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.Goog...
53.9
935
0.680891
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/V1/Outputs/AttachedDiskResponse.cs
7,007
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Realtor.Core.SharedKernel; using Realtor.Data.Extensions; namespace Realtor.Data { public abstract class EntityConfig<TEntity> : IEntityTypeConfiguration<TEntity> where TEntity : Entity { public virtual v...
26.9375
106
0.733179
[ "MIT" ]
rdtriggs/RealtorSite
Realtor.WebApi/Realtor.Data/EntityConfig.cs
433
C#
using System; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; namespace Aspnetcore.Camps.Model.Entities { public class CampUser : IdentityUser { public string FirstName { get; set; } public string LastName { get; set; } } }
23.818182
56
0.698473
[ "MIT" ]
wghglory/Aspnetcore.Camps
Aspnetcore.Camps.Model/Entities/CampUser.cs
264
C#
using System; using cOOnsole.Handlers; using cOOnsole.Handlers.Base; using FluentAssertions; using Xunit; using static cOOnsole.Shortcuts; namespace cOOnsole.Tests { public class ShortcutsTests { private readonly Unconditional _dummy = new(HandleResult.Handled); [Fact] public void Tok...
32.421053
117
0.660714
[ "MIT" ]
kalexii/cOOnsole
cOOnsole.Tests/ShortcutsTests.cs
1,234
C#
using System; using HotChocolate.Configuration; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Descriptors.Definitions; namespace HotChocolate.Types { public class InterfaceType<T> : InterfaceType { private Action<IInterfaceTypeDescriptor<T>> _configure; public Interfac...
26.422222
80
0.633305
[ "MIT" ]
GraemeF/hotchocolate
src/HotChocolate/Core/src/Types/Types/InterfaceType~1.cs
1,189
C#
namespace Gripper.ChromeDevTools.Emulation { using Newtonsoft.Json; /// <summary> /// Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints /// </summary> public sealed class UserAgentBrandVersion { /// <summary> /// brand ///</sum...
21.689655
101
0.489666
[ "MIT" ]
tomaskrupka/Gripper
src/Gripper.ChromeDevTools/Emulation/UserAgentBrandVersion.cs
629
C#
using System.Collections.Generic; using System.Linq; using NiuNiu.Library.Domain; namespace NiuNiu.Library.Solver { /// <summary> /// Finds the best value from a hand for NiuNiu. /// </summary> public class HandSolver { private List<HandValue> cardValues; private Hand currentHand; ...
36.42
136
0.549698
[ "MIT" ]
EdAllonby/NiuNiu
NiuNiu/NiuNiu.Library/Solver/HandSolver.cs
1,821
C#
using System; namespace ParadoxNotion.Serialization.FullSerializer { /// <summary> /// This attribute controls some serialization behavior for a type. See the comments /// on each of the fields for more information. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] ...
43.153846
92
0.646168
[ "MIT" ]
CITMUniversityExercises/AIExercises
AIVisualScripting/AIVisualScripting/Assets/ParadoxNotion/NodeCanvas/Framework/_Commons/Runtime/Serialization/Full Serializer/fsObjectAttribute.cs
2,246
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Media.Imaging; using Sy...
41.918343
310
0.573615
[ "MIT" ]
Nixxis/ncs-client
NixxisControls/NixxisPanel.cs
70,844
C#
using System.Collections.Generic; using System.Text; namespace MargieBot.Utilities { internal class BotNameRegexComposer { public string ComposeFor(string botName, string botUserID, IEnumerable<string> aliases) { StringBuilder builder = new StringBuilder(); builder.Appe...
28.666667
95
0.563123
[ "MIT" ]
PDun/margiebot
MargieBot/src/BotHelpers/BotNameRegexComposer.cs
604
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...
37.357143
297
0.715105
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/V20180601/Outputs/DiagnosticsProfileResponse.cs
1,046
C#
using Newtonsoft.Json; using RestSharp; using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.SceneManagement; class RegisterRequestModel { public string Username { get; set; } public string Password { get; set; } public int CharacterTy...
33.541667
147
0.617391
[ "MIT" ]
4rgetlahm/Object-Group-Game
Unity/Assets/Scripts/Authentication/RegisterHandler.cs
3,220
C#
/** * Autogenerated by Thrift Compiler (0.12.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializat...
23.43379
67
0.533905
[ "MIT" ]
jake-ruyi/sdk
ServiceGenerated.nf2.0/GeneratedSync/Ruyi/SDK/CommonType/RuyiFeatures.cs
5,132
C#
using System; using System.Collections.Generic; using UltimaOnline; using UltimaOnline.Network; using UltimaOnline.Gumps; namespace UltimaOnline.Misc { public static partial class Assistants { private static class Settings { public const bool Enabled = false; publi...
41.174359
128
0.501432
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Misc/Assistants.cs
8,029
C#
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter.Models.Th165; using ThScoreFileConverterTests.Extensions; using ThScoreFileConverterTests.Models.Th10.Wrappers; using ThScoreFileConverterTests.Models.Th165.Stubs; using ...
36.521127
107
0.609526
[ "BSD-2-Clause" ]
fossabot/ThScoreFileConverter
ThScoreFileConverterTests/Models/Th165StatusTests.cs
5,188
C#
// Copyright (c) 2020-2021 Eli Aloni (a.k.a elix22) // Copyright (c) 2008-2021 the Urho3D project. // // 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 withou...
36.992767
287
0.585081
[ "MIT" ]
Urho-Net/Samples
FeatureSamples/Source/SceneReplication/SceneReplication.cs
20,457
C#
using System; using System.Collections.Generic; using CSharpWars.DtoModel; using CSharpWars.Enums; using CSharpWars.Scripting.Model; using FluentAssertions; using Xunit; namespace CSharpWars.Tests.Scripting { public class VisionTests { [Fact] public void Vision_Build_Should_Build_Correctly() ...
58.276423
157
0.586775
[ "Unlicense" ]
Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020
csharpwars/backend/CSharpWars/CSharpWars.Tests/Scripting/VisionTests.cs
7,170
C#
using System; namespace PipeDriveApi.Models { public class Note : BaseEntity { public int Id { get; set; } public int? DealId { get; set; } public int? PersonId { get; set; } public int? OrgId { get; set; } public string Content { get; set; } public DateTime? Ad...
30.714286
54
0.584496
[ "MIT" ]
r8zr/PipeDriveApi
Source/PipeDriveApi/PipeDriveApi/Models/Note.cs
647
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("ICo...
38.486486
84
0.752107
[ "Apache-2.0" ]
gokceozel/IComparableInterface
IComparableInterface.Console/IComparableInterface.Console/Properties/AssemblyInfo.cs
1,427
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIHarpyCombatLogic : CAIFlyingMonsterCombatLogic { public CAIHarpy...
30.826087
131
0.747532
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CAIHarpyCombatLogic.cs
687
C#
namespace AlgoSdk.Formatters { public sealed class SignatureTypeFormatter : KeywordByteEnumFormatter<SignatureType> { public SignatureTypeFormatter() : base(SignatureTypeExtensions.TypeToString) { } } }
27.875
88
0.757848
[ "MIT" ]
CareBoo/Algorand.SDK.Unity
Packages/com.careboo.unity-algorand-sdk/CareBoo.AlgoSdk/Serialization/Formatters/Enum/SignatureTypeFormatter.cs
223
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Module1.Services { public interface ISmsSender { Task SendSmsAsync(string number, string message); } }
17.846154
57
0.732759
[ "MIT" ]
sorskoot/WebHackingCourse
Module1/Module1/Module1/Services/ISmsSender.cs
234
C#
using System; using System.Collections.Generic; namespace LocalFunctions { class Program { static void Main(string[] args) { void ForEach<T>(IEnumerable<T> source, Action<T> action) { foreach (var item in source) { act...
22.75
78
0.470696
[ "MIT" ]
compilyator/CSharp7
LocalFunctions/LocalFunctions.cs
548
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...
29.230769
107
0.620614
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Keyspaces/Generated/Model/KeyspaceSummary.cs
2,280
C#
using System; using System.Text.RegularExpressions; using FluentValidation; using Kesco.Persons.BusinessLogic; using Kesco.Persons.ObjectModel; using Kesco.Web.Mvc.Validation; namespace Kesco.Persons.Web.Models.Requisites { public class RequisitesValidator : ObjectValidator<Requisites> { public RequisitesValidato...
38.085106
84
0.758473
[ "MIT" ]
Kesco-m/Kesco.App.Web.MVC.Persons
Kesco.Persons.Web/Models/Requisites/RequisitesValidator.cs
5,372
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microso...
40.962963
86
0.54566
[ "MIT" ]
cointoss1973/Prism4.1-WPF
PrismLibrary/Desktop/Prism/Regions/IRegionNavigationService.cs
2,212
C#
namespace DataStore.Models { using System; public class DatabaseException : Exception { public DatabaseException() { } public DatabaseException(string message) : base(message) { } public DatabaseException(string message, Exception innerE...
19.095238
74
0.563591
[ "MIT-feh" ]
anavarro9731/datastore
src/DataStore.Models/DatabaseException.cs
401
C#
using System.Web.Mvc; using JetBrains.Annotations; namespace JoinRpg.Web.Areas.Admin { [UsedImplicitly] public class AdminAreaRegistration : AreaRegistration { public override string AreaName => "Admin"; public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( ...
23.3
70
0.671674
[ "MIT" ]
FulcrumVlsM/joinrpg-net
Joinrpg/Areas/Admin/AdminAreaRegistration.cs
468
C#
namespace Sapher.Persistence.TypeAdapters { using Model = Persistence.Model; internal static class ResponseResultStateAdapterExtensions { internal static Model.ResponseResultState ToDataModel(this Dtos.ResponseResultState responseResultState) { switch (responseResultState) ...
34.306122
112
0.603212
[ "MIT" ]
joaodiasneves/sapher
src/sapher/Persistence/TypeAdapters/ResponseResultStateAdapterExtensions.cs
1,683
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace CommandAPI.Migrations { public partial class AddApplicationUserFirst : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migration...
48.910299
380
0.528325
[ "MIT" ]
startdusk/CommandAPISolution
src/CommandAPI/Migrations/20211107030926_AddApplicationUserFirst.cs
14,724
C#
using ExampleFunctionAppProject; using Moq; using NUnit.Framework; using System; using System.Collections.Generic; using Unify.AzureFunctionAppTools; using Unify.AzureFunctionAppTools.ExceptionHandling; using Unify.AzureFunctionAppTools.Preprocessing; namespace ExampleFunctionApp.UnitTests { /// <summary> /// ...
39.370968
100
0.670217
[ "MIT" ]
UNIFYSolutions/Unify.AzureFunctionAppTools
Example/ExampleFunctionApp.UnitTests/GetUserContextFactoryTestFixture.cs
2,441
C#
/******************************************************************************* IMPORTANT NOTE - This file was contributed by one of our users. While the rest of Cubiquity is distributed free for non-commercial use, the contents of this file are under the more liberal zlib license. Please see the copyright notice belo...
30.05597
131
0.636375
[ "MIT" ]
Rockswell/vxl-unity3d
Assets/Cubiquity/Scripts/Vector3i.cs
8,055
C#
namespace WebApi.Models { public class LoginModel { public string Username { get; set; } public string Password { get; set; } } }
17.555556
44
0.594937
[ "MIT" ]
metiftikci/Proje-B
src/WebApi/Models/LoginModel.cs
158
C#
namespace BC7.Business.Implementation.Payments.Commands.DonateViaAffiliateProgram { public class DonateViaAffiliateProgramViewModel { public string PaymentUrl { get; set; } } }
28.142857
82
0.751269
[ "MIT" ]
XardasLord/BitClub7
BC7.Business.Implementation/Payments/Commands/DonateViaAffiliateProgram/DonateViaAffiliateProgramViewModel.cs
199
C#
using System; using Autodesk.DesignScript.Runtime; using Autodesk.Revit.DB; using tData = Autodesk.Revit.DB.TransmissionData; using modelPath = Autodesk.Revit.DB.ModelPath; namespace Synthetic.Revit { /// <summary> /// Wrapper for Revit API TransmissionData /// </summary> public class TransmissionD...
35.52439
119
0.630278
[ "MIT" ]
amcgoey/Synthetic
11.Synthetic Revit/TransmissionData.cs
2,915
C#
using RX_Explorer.Interface; using System; using System.ComponentModel; using System.Threading.Tasks; using Windows.Storage; namespace RX_Explorer.Class { public sealed class RecycleStorageFile : FileSystemStorageFile, IRecycleStorageItem { public string OriginPath { get; private set; } publi...
32.632353
133
0.617846
[ "Apache-2.0" ]
crramirez/RX-Explorer
RX_Explorer/Class/RecycleStorageFile.cs
2,221
C#
using System; using Foundation; using AppKit; namespace Synthesia { public partial class MainWindow : NSWindow { public MainWindow(IntPtr handle) : base(handle) { } [Export("initWithCoder:")] public MainWindow(NSCoder coder) : base(coder) { } public override void AwakeFromNib() { base...
19.222222
66
0.66763
[ "MIT" ]
Synthesia-LLC/metadata-editor
mac-gui/MainWindow.cs
348
C#
using PingDong.Newmoon.Venues.DomainEvents; using PingDong.Testings; using Xunit; namespace PingDong.Newmoon.Venues { public class VenueRegisteredDomainEventTest { [Fact] public void ConstructorAssignedProperties() { var tester = new DtoClassTester<VenueRegisteredDomainEven...
24
74
0.671296
[ "MIT" ]
pingdong/newmoon.places
src/Venues.Core.UnitTests/Domain Events/VenueRegisterdDomainEventTest.cs
434
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Lasm.UAlive { public static partial class HUMAssets { public static partial class Data { public struct GameObjectIs { public GameObject gameObject; public GameO...
23.410448
68
0.40102
[ "MIT" ]
jrDev1/UAlive
Humility/Assets/HUMAssets_Data.cs
3,139
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> //---...
42.541667
81
0.65524
[ "MIT" ]
TheArchitect123/IE.Mobile.Forms
Utilities/Extensions/IE.Utilities/IE.Utilities.Extensions/obj/Release/netstandard2.0/IE.Utilities.Extensions.AssemblyInfo.cs
1,021
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.HumanResources { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)] ...
33.586207
155
0.827515
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.HumanResources/Get_Location_AttributesInput.cs
974
C#
using System; using Examples; namespace Examples { public class Object1 {} } public class Example { public static void Main() { /* inserted */ int _7 = 27; object obj1 = new Object1(); func(obj1); } public static void func(string s) {} }
17.533333
38
0.634981
[ "Apache-2.0" ]
thufv/DeepFix-C-
data/Mutation/CS1503_5_mutation_15/[E]CS1503.cs
265
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("__Debugger")] [assembly: AssemblyDescript...
37.611111
84
0.740768
[ "Apache-2.0", "MIT" ]
Spool5520/ultraviolet
Source/UvDebug/Desktop/Properties/AssemblyInfo.cs
1,357
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. namespace System.Windows.Forms { using System.Windows.Forms.VisualStyles; using System.Drawing; using S...
42.70775
169
0.556559
[ "MIT" ]
kevingosse/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderer.cs
45,740
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> //-----------------------------------------...
51.30303
142
0.541642
[ "MIT" ]
HaydnTrigg/Librelancer
src/LibreLancer/Shaders/DepthPass_AlphaTest.cs
3,388
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.Extensions.Logging; using System; using System.IO; using TreinamentoInfraestrutura.Domain; namespace TreinamentoInfraestrutura.Data { public class ApplicationContext : DbContext { //Gravando seus logs...
45.740741
142
0.639271
[ "MIT" ]
itasouza/DominandoEntityFrameworkCore
DominandoEFCore/TreinamentoInfraestrutura/Data/ApplicationContext.cs
2,480
C#
namespace Wikiled.Twitter.Monitor.Service.Configuration { public class TwitterConfig { public string Persistency { get; set; } public bool HashKeywords { get; set; } public string[] Keywords { get; set; } public string[] Users { get; set; } public string[] Languages ...
21.375
56
0.605263
[ "Apache-2.0" ]
AndMu/Wikiled.Twitter.Monitor.Service
src/Wikiled.Twitter.Monitor.Service/Configuration/TwitterConfig.cs
344
C#
using System; using System.Runtime.CompilerServices; namespace Cake.AppCenter { /// <summary> /// Settings for appcenter codepush release. /// Release an update to an app deployment. /// </summary> [CompilerGenerated] public sealed class AppCenterCodepushReleaseSettings : AutoToolSettings { /// <summary> //...
31.605769
204
0.636447
[ "MIT" ]
cake-contrib/Cake.AppCenter
src/Cake.AppCenter/Codepush/Release/AppCenterCodepushReleaseSettings.cs
3,287
C#
/* * WebAPI * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: data * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.R...
35.044444
261
0.524921
[ "Apache-2.0" ]
zanardini/ARXivarNext-StressTest
ARXivarNext-StressTest/IO.Swagger/Model/LicensePermission.cs
7,885
C#
namespace SeoHelper.Constants { public class TwitterCardName { public const string Site = "twitter:site"; public const string Creator = "twitter:creator"; } }
24.25
57
0.634021
[ "MIT" ]
EngincanV/SeoHelper
src/SeoHelper/Constants/TwitterCardName.cs
196
C#
using System; using System.Collections.Generic; namespace LeetCode.LeetAgain { public class ConvertToTitleSln : ISolution { public string ConvertToTitle(int n) { List<char> t = new List<char>(); while (n != 0) { int m = (n - 1) % 26; ...
23.129032
51
0.464435
[ "MIT" ]
YouenZeng/LeetCode
LeetCode/LeetAgain/ConvertToTitleSln.cs
719
C#
using Aurora.Controls; using Aurora.Profiles; using Aurora.Utils; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; using Xceed.Wpf.Toolkit; namespace Aurora.Settings.Overrides.Logic { /// <summary> /// Evaluatable that detects when the value of the given numeri...
54.134615
219
0.640142
[ "MIT" ]
ADoesGit/Aurora
Project-Aurora/Project-Aurora/Settings/Overrides/Logic/Boolean/Boolean_ChangeDetector.cs
5,529
C#
using System.Collections.Generic; using System.Runtime.Remoting.Messaging; using Bluff.Helpers; using Bluff.Models; using Sony.Vegas; namespace Bluff.Commands { public class ArrangeEventsByCreatedTimestamp { public static void Execute(Vegas vegas) { var videoTracks = VegasHelper.Get...
35.925926
116
0.547938
[ "MIT" ]
AlienArc/VegasBluff
src/Bluff/Commands/ArrangeEventsByCreatedTimestamp.cs
1,940
C#
using Microsoft.SqlServer.Dts.Pipeline; using Microsoft.SqlServer.Dts.Pipeline.Wrapper; using Microsoft.SqlServer.Dts.Runtime.Wrapper; using RevolutionaryStuff.Core; using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; namespace Revol...
42.296146
243
0.564646
[ "MIT" ]
jbt00000/RevolutionaryStuff
src/RevolutionaryStuff.SSIS/BasePipelineComponent.cs
20,854
C#
using MyCompany.Core.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCompany.Entities.Concrete { public class Category: IEntity { public int CategoryId { get; set; } public string CategoryName { get; set; } } }
20.8
48
0.708333
[ "MIT" ]
gnnhakan/Asp.Net-Core
MyCompany/MyCompany.Entities/Concrete/Category.cs
314
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
42.707763
215
0.592858
[ "MIT" ]
gautamsi/Catel
src/Catel.Core/Catel.Core.NET40/Properties/Exceptions.WP7.Mango.Designer.cs
9,355
C#
using System.Linq; using Moq; using NUnit.Framework; using Xamarin.PropertyEditing.Reflection; using Xamarin.PropertyEditing.ViewModels; namespace Xamarin.PropertyEditing.Tests { public abstract class PropertiesViewModelTests { protected class TestClass { public string Property { get; set; } ...
29.939655
110
0.675209
[ "MIT" ]
Acidburn0zzz/Xamarin.PropertyEditing
Xamarin.PropertyEditing.Tests/PropertiesViewModelTests.cs
13,894
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.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Features....
35.593651
191
0.559222
[ "Apache-2.0" ]
JeremyKuhne/roslyn
src/Features/Core/Portable/RQName/RQNodeBuilder.cs
11,214
C#
using System.Windows.Controls; namespace One.Control.Controls.Dragablz { public class VerticalPositionMonitor : StackPositionMonitor { public VerticalPositionMonitor() : base(Orientation.Vertical) { } } }
20.25
69
0.687243
[ "MIT" ]
KleinPan/One
One.Control/Controls/Dragablz/VerticalPositionMonitor.cs
245
C#
using UnityEngine; using System.Collections; //REV: I HAVE DONE THE WORK UPTO VIDEO S03_019 29/11/30 public class TP_Camera : MonoBehaviour { public static TP_Camera Instance; public Transform TargetLookAt ; public float Distance = 5.0f; public float DistanceMin = 3.0f; public float DistanceMax = 10.0f; public f...
30.707819
144
0.722997
[ "MIT" ]
perthboy/UnityBase
Assets/_MyScripts/TP_Camera.cs
7,462
C#
namespace ChinazoCP.Data; [SingletonGame] [AutoReset] //usually needs reset public class ChinazoGameContainer : CardGameContainer<ChinazoCard, ChinazoPlayerItem, ChinazoSaveInfo> { public ChinazoGameContainer(BasicData basicData, TestOptions test, IGameInfo gameInfo, IAsyncDelayer delay, ...
37.722222
122
0.731959
[ "MIT" ]
musictopia2/GamingPackXV3
CP/Games/ChinazoCP/Data/ChinazoGameContainer.cs
679
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Sannel.House.SensorLogging.Data.Migrations.SqlServer.Migrations { public partial class Inital : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
34.186047
79
0.544218
[ "Apache-2.0" ]
Sannel/Sannel.House.SensorEntries
src/Migrations/Sannel.House.SensorLogging.Data.Migrations.SqlServer/Migrations/20190104044602_Inital.cs
1,472
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Inventors.ECP.Profiling { public class TimingViolation : Record { public TimingViolation(UInt32 signal, double elapsedTime, double timeLimit, UInt32 context) {...
22
99
0.617555
[ "MIT" ]
Inventors-Way/Inventors.ECP
Inventors.ECP/Profiling/TimingViolation.cs
640
C#
/* * Dyspatch API * * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspat...
40.509434
830
0.560899
[ "Apache-2.0" ]
getdyspatch/dyspatch-dotnet
src/IO.Dyspatch/Model/DraftMetaRead.cs
8,588
C#
using Microsoft.AspNetCore.Mvc; namespace AdminLte.TagHelpers.Demo.Pages.Shared.Components.HeaderLeft { public class HeaderLeftViewComponent : ViewComponent { public IViewComponentResult Invoke() => View(); } }
25.777778
69
0.741379
[ "MIT" ]
iyilm4z/admin-lte-dotnet
src/AdminLte.TagHelpers.Demo/Pages/Shared/Components/HeaderLeft/HeaderLeftViewComponent.cs
234
C#
using System; using Vortice.Direct3D12; using Vortice.Mathematics; namespace Veldrid.D3D12 { internal class D3D12Sampler : Sampler { private string _name; public ID3D12SamplerState DeviceSampler { get; } public D3D12Sampler(ID3D12Device device, ref SamplerDescription description) ...
36.363636
180
0.605
[ "MIT" ]
TeamStriked/striked3d
thirtparty/veldrid/Veldrid/D3D12/D3D12Sampler.cs
2,402
C#
namespace Fonet.Fo.Properties { internal class CharacterMaker : CharacterProperty.Maker { new public static PropertyMaker Maker(string propName) { return new CharacterMaker(propName); } protected CharacterMaker(string name) : base(name) { } public override ...
23.193548
89
0.573018
[ "Apache-2.0" ]
DaveDezinski/Fo.Net
src/Fo/Properties/CharacterMaker.cs
719
C#
/* * Original author: Brian Pratt <bspratt .at. proteinms.net>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2014 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance...
33.90625
133
0.666359
[ "Apache-2.0" ]
austinkeller/pwiz
pwiz_tools/Skyline/Model/IonMobility/DbVersionInfo.cs
1,087
C#
using System; namespace Grauenwolf.TravellerTools.Characters { public static class PatronBuilder { public static string PickAlliesAndEnemies(Dice dice) { if (dice == null) throw new ArgumentNullException(nameof(dice), $"{nameof(dice)} is null."); switch...
44.173469
128
0.500231
[ "MIT" ]
Grauenwolf/TravellerTools
TravellerTools/Grauenwolf.TravellerTools.Shared/Characters/PatronBuilder.cs
8,663
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("En...
36.655172
84
0.745061
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter23/EntryPopCode/EntryPopCode/EntryPopCode.WinPhone81/Properties/AssemblyInfo.cs
1,066
C#
using System; using System.Collections.Generic; using UnityEngine; using Random = System.Random; [Serializable] public class ItemToPool { public int amountToPool; public GameObject objectToPool; public bool shouldExpand; } /** * <summary> * Class <c>ManagerPool</c> * <para> * The Gener...
28.15
79
0.561871
[ "MIT" ]
Renegade-Master/Unity_CrossPlatform_MobileAndPC_Game
MobileGame/Assets/Scripts/ManagerPool.cs
3,380
C#
namespace Mellowood.Roles.Dto { public class FlatPermissionDto { public string Name { get; set; } public string DisplayName { get; set; } public string Description { get; set; } } }
21.454545
47
0.567797
[ "MIT" ]
Carben-dev/Mellowood
src/Mellowood.Application/Roles/Dto/FlatPermissionDto.cs
238
C#