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 Xunit; using ZKCloud.Extensions; using ZKCloud.Test.Base.Core; using ZKCloud.Test.Base.Core.Model; namespace ZKCloud.Test.Extensions { public class DecimalExtensionTests : CoreTest { [Theory] [InlineData(1.02, 1.02, 3)] [InlineData(1.02, 1.02, 2)] [InlineData(1, 1, 2)] ...
31.888889
105
0.615331
[ "MIT" ]
tongxin3267/alabo
src/07.test/01-Alabo.Test/Extensions/DecimalExtensionTests.cs
1,435
C#
 namespace SuperMap.WinRT.REST.SpatialAnalyst { /// <summary> /// <para>${REST_BufferAnalystParameters_Title}</para> /// <para>${REST_BufferAnalystParameters_Description}</para> /// <para><img src="BufferAnalyst.bmp"/></para> /// </summary> public class BufferAnalystParameters { ...
28.909091
88
0.627358
[ "Apache-2.0" ]
SuperMap/iClient-for-Win8
iClient60ForWinRT/SuperMap.WinRT.REST/SpatialAnalyst/BufferAnalystParameters.cs
638
C#
namespace RTLTMPro { public struct TashkeelLocation { public char Tashkeel { get; set; } public int Position { get; set; } public TashkeelLocation(TashkeelCharacters tashkeel, int position) : this() { Tashkeel = (char) tashkeel; Position = position; ...
23.714286
83
0.575301
[ "MIT" ]
3174N/project-lashon
Assets/RTLTMPro/Scripts/Runtime/TashkeelLocation.cs
332
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MusicHub.Data.Models { public class Performer { [Key] public int Id { get; set; } [MaxLength(20)] [Required] public string FirstName { get; set; } ...
22.071429
78
0.600324
[ "MIT" ]
GeorgiGradev/CSharp_DataBases
02. Entity Framework Core/06. LINQ/Solutions/P01_MusicHubDatabase/Data/Models/Performer.cs
620
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RevoltSharp { public class EmbedBuilder { public string Title { get; set; } public string Url { get; set; } public string IconUrl { get; set; } public s...
27.753425
73
0.520237
[ "MIT" ]
xXBuilderBXx/RevoltSharp
RevoltSharp/Core/Messages/Embed.cs
2,028
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.Runtime.InteropServices; namespace System.Threading { public static partial class ThreadPool { internal static void ReportThreadStatus(bool isWorking) ...
39.744186
136
0.698654
[ "MIT" ]
71221-maker/runtime
src/mono/netcore/System.Private.CoreLib/src/System/Threading/ThreadPool.Mono.cs
1,709
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QDMS.Server.DataSources { public class EODCode { public string Exchange { get; set; } public string TickerSymbol { get; set; } public EODCode(string exchange,...
19.391304
60
0.636771
[ "BSD-3-Clause" ]
karlcc/qdms
QDMS.Server.DataSources.EODData/EODCode.cs
448
C#
using System.Collections.Generic; using System.Linq; using AncestryDnaClustering.Models.HierarchicalClustering.Distance; namespace AncestryDnaClustering.Models.HierarchicalClustering { /// <summary> /// A type of Node that represents a single match. /// </summary> public class LeafNode : Node { ...
35.62
154
0.623807
[ "MIT" ]
KenSpratlin/sharedclustering
Models/HierarchicalClustering/LeafNode.cs
1,783
C#
namespace Gu.Roslyn.AnalyzerExtensions.Tests.Symbols.KnownSymbol { using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis.CSharp; using NUnit.Framework; public static class QualifiedMethodTests { [Test] public static void SymbolEquality() { var syntaxTree = CShar...
30.78125
122
0.631472
[ "MIT" ]
JohanLarsson/Gu.Roslyn.Extensions
Gu.Roslyn.AnalyzerExtensions.Tests/Symbols/KnownSymbol/QualifiedMethodTests.cs
987
C#
using System.Collections.Generic; using System.IO; using Microsoft.AspNet.Builder; using Nancy.Owin; using Nancy; using Nancy.ViewEngines.Razor; namespace Salon { public class Startup { public void Configure(IApplicationBuilder app) { app.UseOwin(x => x.UseNancy()); } } public static class DB...
20.413043
131
0.690096
[ "MIT" ]
TaylorLoftisKim/Hair-Salon
startup.cs
939
C#
using DiscordRPC; using Ryujinx.Common; using System; using System.Linq; namespace Ryujinx.Configuration { static class DiscordIntegrationModule { private static DiscordRpcClient _discordClient; private static string LargeDescription = "PangoNX Debugger is a Nintendo Switch emulator."; ...
40.346821
109
0.562321
[ "MIT" ]
davFaithid/pangonx-debugger
Ryujinx/Configuration/DiscordIntegrationModule.cs
7,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Apollo { public class Program { public static ...
25.481481
70
0.642442
[ "Apache-2.0" ]
emre-guler/Apollo
Program.cs
688
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
23.666667
86
0.622848
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Cdn/Model/PvItem.cs
1,314
C#
using Finanzuebersicht.Backend.Core.Contract.Persistence.Modules.Accounting.Categories; using Finanzuebersicht.Backend.Core.Contract.Persistence.Tools.Pagination; using Finanzuebersicht.Backend.Core.Logic.Tests.Tools.Pagination; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections....
40.590909
101
0.681224
[ "MIT" ]
shuralw/Finanzuebersicht2.0
Finanzuebersicht.Backends/Finanzuebersicht.Backend.Core/Logic.Tests/Modules/Accounting/Categories/DTOs/DbCategoryTest.cs
2,679
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlogNC.Areas.Blog.Models.ViewComponentModels { public class NavigationViewModel { public IEnumerable<StaticPage> QualifyingStaticPages { get; set; } } }
21.692308
74
0.755319
[ "MIT" ]
nfisher23/BlogNC
BlogNC/Areas/Blog/Models/ViewComponentModels/NavigationViewModel.cs
284
C#
namespace Springboard365.Xrm.Plugins.Core.IntegrationTest { using System; using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; public class AssignEntitySpecificationFixture : SpecificationFixtureBase { public AssignRequest AssignRequest { get; private set; } public string Me...
28.580645
76
0.577878
[ "Apache-2.0" ]
Davesmall28/DSmall.DynamicsCrm.Plugins.Core
Springboard365.Xrm.Plugins.Core.IntegrationTest/PluginTest/Assign/AssignEntitySpecificationFixture.cs
888
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorWASMHosted.Server { public class Program { ...
26.148148
70
0.648725
[ "MIT" ]
sahan91/BlazorWASMHosted
BlazorWASMHosted/Server/Program.cs
708
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SpeedWagon.Interfaces; using SpeedWagon.Runtime.Interfaces; using SpeedW...
40.813559
193
0.647425
[ "MIT" ]
darrenferguson/speedwagon
SpeedWagon.Web/Extension/DependencyInjection.cs
4,818
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.240741
153
0.634261
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceManagementNdesConnectorsCollectionRequest.cs
4,886
C#
// Copyright 2007-2014 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
37.785714
109
0.692502
[ "Apache-2.0" ]
Johavale19/Johanna
src/MassTransit/Testing/Factories/SagaTestFactoryImpl.cs
1,587
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. // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using...
34.203644
145
0.505641
[ "MIT" ]
vincenzoml/Silk.NET
src/Lab/D3D12Triangle/DX12Sample.cs
31,915
C#
using System; using System.Web; using Autofac; using Autofac.Integration.Wcf; namespace MoviesService { public class Global : HttpApplication { protected void Application_Start(object sender, EventArgs e) { var builder = new ContainerBuilder(); builder.Reg...
32
103
0.648438
[ "MIT" ]
jonathanconway/cbamovieexercise
MoviesService/Global.asax.cs
770
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/objidl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
34.659091
145
0.620984
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/objidl/BIND_OPTS2Tests.cs
1,527
C#
using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { frm.ShowDialog(); if (frm.DialogResult == DialogResult.OK) { string s = ""; if (frm.chkResident.Checked == true) s = "...
61.071429
237
0.476803
[ "MIT" ]
BorislavVladimirov/C-Software-University
C# ProgrammingBasics September 2018/ForLoops/ConsoleApp1/Program.cs
2,841
C#
using System; using System.Collections.Generic; using System.Linq; using Windows.UI.Xaml.Data; namespace Zafiro.Uno.Converters { public class PipelineConverter : List<IValueConverter>, IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) { ...
31.5
126
0.692063
[ "MIT" ]
SuperJMN-Zafiro/Zafiro
Source/Zafiro.Uno/Converters/PipelineConverter.cs
630
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TodoApp.EntityFrameworkCore; usin...
38.542461
117
0.443995
[ "MIT" ]
344089386/abp-samples
TodoApp/Mvc-EfCore/src/TodoApp.EntityFrameworkCore.DbMigrations/Migrations/20210323190458_Initial.Designer.cs
88,958
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
35.444444
120
0.709248
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/KinesisAnalyticsV2/Outputs/ApplicationApplicationConfigurationApplicationCodeConfiguration.cs
1,276
C#
using Coreflow.Web.Controllers; using Coreflow.Web.Models; using System; using System.Collections.Generic; using System.Linq; namespace Coreflow.Web.Helper { public static class CodeCreatorHelper { public static List<CodeCreatorModel> GetCodeCreatorModels() { return Program.Coreflo...
34.68
177
0.618224
[ "MIT" ]
lordmampf/Coreflow
Coreflow.Web/Helper/CodeCreatorHelper.cs
869
C#
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; using JetBrains.Annotations; namespace LinqToDB { using Expressions; using Linq; using Linq.Builder; [PublicAPI] public static class LinqExtensions { #region Table Helpers static readonly MethodInfo...
38.8
186
0.672255
[ "MIT" ]
jogibear9988/linq2db
Source/LinqExtensions.cs
42,294
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace ItaLog.Api.ViewModels.Level { public class LevelViewModel : IComparable<LevelViewModel> { public int Id { get; set; } public string Description { get; set; } public int ...
22.9
62
0.668122
[ "MIT" ]
Cadulox/squad-1-ad-csharp-itau-1
ItaLog/ItaLog.Api/ViewModels/Level/LevelViewModel.cs
460
C#
using System.Collections.Generic; using System.Threading.Tasks; using MongoDB.Driver; using vt_encrypchat.Domain.Entity; namespace vt_encrypchat.Data.Contracts.Repository { public interface IBaseRepository<T> where T : BaseEntity { Task<IEnumerable<T>> GetAll(FilterDefinition<T> filter = null); ...
27.8125
71
0.696629
[ "Apache-2.0" ]
MarkCDavid/vt-encrypchat
vt-encrypchat.Data/Contracts/Repository/IBaseRepository.cs
445
C#
using System.Collections.Generic; using System.Threading.Tasks; using YC.ApplicationService.ApplicationService.SysUserAppService.Dto; using YC.ApplicationService.Dto; using YC.ApplicationService.SysUserAppService; using YC.ApplicationService.SysUserAppService.Dto; using YC.Core; using YC.Core.Autofac; using YC.Core.Do...
34.625
90
0.767148
[ "Apache-2.0" ]
boozzh/yc.boilerplate
src/Backstage/BasicAppLayer/YC.ApplicationService/ApplicationService/SysUserAppService/ISysUserAppService.cs
1,110
C#
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // ---------------------------------------------------------------------------- namespace AppOwnsData.Services { using AppOwnsData.Models; using Microsoft....
39.489083
189
0.60721
[ "MIT" ]
E2517/PowerBI-Developer-Samples
.NET Core/Embed for your customers/AppOwnsData/Services/PbiEmbedService.cs
9,045
C#
using System; namespace MigrateJiraIssuesToGithub { internal class Checker { public static void IsNull(object value, string parameterName) { if (value == null) { throw new ArgumentNullException(parameterName); } } public stat...
23.26087
69
0.542056
[ "MIT" ]
gBritz/JiraToGithubMigrator
src/MigrateJiraIssuesToGithub/Checker.cs
537
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using NUnit.Framework; using System.Threading; namespace TestingProject { class Program { [SetUp] public void Initializer() ...
31.431579
219
0.546551
[ "MIT" ]
brahmi92/QATools
TestingProject/Program.cs
2,988
C#
using System; using NServiceBus; using Raven.Client.Documents; class LegacyFindTypeTagName { void ConfigureConvention(IDocumentStore documentStore) { #region 5to6-LegacyDocumentIdConventions Func<Type, string> defaultConvention = documentStore.Conventions.FindCollectionName; ...
24.875
93
0.572864
[ "Apache-2.0" ]
Cogax/docs.particular.net
Snippets/Raven/Raven_6/UpgradeGuides/5to6/LegacyFindTypeTagName.cs
767
C#
// =============================================================================== // Alachisoft (R) NCache Sample Code. // =============================================================================== // Copyright © Alachisoft. All rights reserved. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
43.510638
84
0.662103
[ "Apache-2.0" ]
Alachisoft/NCache-Samples
legacy-api/dotnet/AsynchronousOperations/AsynchronousOperations/Properties/AssemblyInfo.cs
2,050
C#
/* * Copyright (c) 2015, InWorldz Halcyon Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this *...
38.371585
215
0.591398
[ "BSD-3-Clause" ]
ConnectionMaster/halcyon
InWorldz/InWorldz.Phlox.Engine/EngineInterface.cs
35,110
C#
namespace EAMapping { partial class SelectTargetForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
48.589928
165
0.622002
[ "BSD-2-Clause" ]
CuchulainX/Enterprise-Architect-Toolpack
EAMapping/SelectTargetForm.Designer.cs
6,756
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Auth.Service.Admin.Infrastructure.Repositories; public class UserRepository : Repository<AuthDbContext, User>, IUserRepository { public UserRepositor...
30.793103
100
0.612542
[ "Apache-2.0" ]
masastack/MASA.Auth
src/Services/Masa.Auth.Service.Admin/Infrastructure/Repositories/UserRepository.cs
895
C#
namespace BlockRun.Enum { public enum GameState { Menu, Play, GameOver } }
10.181818
25
0.5
[ "Unlicense" ]
guigsc/block-run
Assets/Scripts/Enum/GameState.cs
112
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Flurl; using Flurl.Http; using Microsoft.Extensions.DependencyInjection; using NBitcoin; using Stratis.Bitcoin.Base; using Stratis.Bitcoin.Connection; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Consensus....
47.849315
179
0.621672
[ "MIT" ]
AmsterdamCoin/AmsterdamCoinBitcoinFullNode
src/Stratis.Bitcoin.IntegrationTests/ConsensusManagerTests.cs
34,932
C#
//********************************************************************* //xCAD //Copyright(C) 2021 Xarial Pty Limited //Product URL: https://www.xcad.net //License: https://xcad.xarial.com/license/ //********************************************************************* using System; using System.Collections.Generic; ...
36.490196
109
0.5669
[ "MIT" ]
EddyAlleman/xcad
src/Base/Extensions/XExtensionExtension.cs
1,863
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class gamedataPassiveProficiencyBonusUIData_Record : gamedataTweakDBRecord { public gamedataPassiveProficiencyBonusUIData_Record(CR2WFile cr2w, CVariable pare...
25.066667
131
0.771277
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/gamedataPassiveProficiencyBonusUIData_Record.cs
362
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.ForecastQueryService")] [assembly: ...
48.40625
274
0.757908
[ "Apache-2.0" ]
ianb888/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/ForecastQueryService/Properties/AssemblyInfo.cs
1,549
C#
using System.Linq; using NUnit.Framework; using SKBKontur.SeleniumTesting.Tests.Helpers; using SKBKontur.SeleniumTesting.Tests.TestEnvironment; namespace SKBKontur.SeleniumTesting.Tests.KebabTests { [DefaultWaitInterval(2000)] public class KebabTest : TestBase { public KebabTest(string reactVers...
29.662162
114
0.576765
[ "MIT" ]
ArkadiyVoronov/react-ui-testing
SeleniumTesting/Tests/KebabTests/KebabTest.cs
2,197
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("12...
37.756757
84
0.742305
[ "MIT" ]
sevdalin/Software-University-SoftUni
Programming-Basics/02. Simple Calculations/12. USDtoBGN/Properties/AssemblyInfo.cs
1,400
C#
/* * ORY Keto * * Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. * * The version of the OpenAPI document: v0.6.0-alpha.5 * Contact: hi@ory.sh * Generated by: https://github.com/openapitools/openapi-genera...
45.527231
233
0.57941
[ "Apache-2.0" ]
extraymond/sdk
clients/keto/dotnet/src/Ory.Keto.Client/Client/ApiClient.cs
39,290
C#
using RRHH.BL; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace RRHHPlanilla { public partial class Busquedas : Form { CargosBL...
31.946903
141
0.596676
[ "MIT" ]
germanm27/PlanillaRRHHL3
RRHHPlanilla/RRHHPlanilla/Mantenimiento/Busqueda.cs
3,612
C#
using System.Collections.Generic; using System.Linq; namespace DerConverter.Asn.KnownTypes { public class DerAsnSet : DerAsnType<DerAsnType[]> { internal DerAsnSet(IDerAsnDecoder decoder, DerAsnIdentifier identifier, Queue<byte> rawData) : base(decoder, identifier, rawData) { ...
28.820513
100
0.588968
[ "Apache-2.0" ]
RichardRanft/pem-utils
src/DerConverter/Asn/KnownTypes/DerAsnSet.cs
1,126
C#
using System; using System.Configuration; using System.IdentityModel.Tokens; using System.Security.Claims; using System.Threading.Tasks; using System.Web.Hosting; using DotvvmAuthSample; using DotVVM.Framework.Hosting; using Microsoft.IdentityModel.Protocols; using Microsoft.Owin; using Microsoft.Owin.FileSystems; usin...
44.471545
139
0.599269
[ "Apache-2.0" ]
riganti/dotvvm-samples-azuread-auth
Owin/DotvvmAuthSample/DotvvmAuthSample/Startup.cs
5,470
C#
//------------------------------------------------------------------------------ // <copyright file="PrologToken.cs" company="Axiom"> // // Copyright (c) 2006 Ali Hodroj. All rights reserved. // // The use and distribution terms for this source code are contained in the file // named license.t...
27.140625
97
0.529073
[ "MIT" ]
FacticiusVir/prologdotnet
Prolog.Compiler/Framework/PrologToken.cs
3,474
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime: 4.0.30319.42000 // // Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si // el código se vu...
40.333333
175
0.616047
[ "Apache-2.0" ]
JCM-19/POO
Unidad2/Autopista/Autopista/Properties/Resources.Designer.cs
2,917
C#
/* * @author Valentin Simonov / http://va.lent.in/ */ namespace TouchScript.InputSources { /// <summary> /// An object which represents an input source. /// </summary> /// <remarks> /// <para>In TouchScript all touch points (<see cref="ITouch"/>) come from input sources.</para> /// <para>If y...
33.347826
123
0.633638
[ "MIT" ]
jackgan90/TouchScript
TouchScript/InputSources/IInputSource.cs
767
C#
using System; using Knet.Kudu.Client.Internal; using Knet.Kudu.Client.Protobuf; using Knet.Kudu.Client.Protocol; namespace Knet.Kudu.Client.Scanner; internal static class RowwiseResultSetConverter { // Used to convert the rowwise data to the newer columnar format, // to avoid virtual calls on ResultSet. /...
35.017143
103
0.568538
[ "Apache-2.0" ]
xqrzd/kudu
src/Knet.Kudu.Client/Scanner/RowwiseResultSetConverter.cs
6,128
C#
// Copyright (c) Samuel Cragg. // // Licensed under the MIT license. See LICENSE file in the project root for // full license information. namespace SharpKml.Dom.GX { using SharpKml.Base; /// <summary> /// Allows the tour to be paused until a user takes action to continue the tour. /// </s...
30.666667
85
0.623641
[ "MIT" ]
D-Bullock/sharpkml
SharpKml/Dom/GX/TourControl.cs
738
C#
using System.IO; using Cardbooru.Application.Configurations; using Cardbooru.Application.Helpers; using Cardbooru.Application.Interfaces; using Cardbooru.Application.Managers; using Cardbooru.Application.Services; using MvvmCross.Plugins.Messenger; using Ninject; namespace Cardbooru.Application.Infrastructur...
32.175676
96
0.566149
[ "MIT" ]
matryosha/cardbooru
Cardbooru.Application/Infrastructure/Extensions.cs
2,310
C#
using UnityEngine; public class GameResult : MonoBehaviour { public int score = 0; }
12.857143
39
0.722222
[ "MIT" ]
VitorSoaresSilva/keep-falling-chicken
Assets/Scripts/Data/GameResult.cs
90
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GIDX.SDK.Models { public interface ICustomerDetails { string MerchantCustomerID { get; set; } string Salutation { get; set; } string FirstName { get; set; } ...
30.085106
117
0.608204
[ "MIT" ]
TSEVOLLC/GIDX.SDK-csharp
src/GIDX.SDK/Models/ICustomerDetails.cs
1,416
C#
// Copyright (c) 2008-2018, Hazelcast, Inc. 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 // // Unless required ...
29.309524
80
0.666125
[ "Apache-2.0" ]
asimarslan/hazelcast-csharp-client
Hazelcast.Net/Hazelcast.Core/TerminatedLifecycleService.cs
1,231
C#
namespace AirNavigationRaceLive.Properties { // This class allows you to handle specific events on the settings class: // The SettingChanging event is raised before a setting's value is changed. // The PropertyChanged event is raised after a setting's value is changed. // The SettingsLoade...
42.758621
114
0.659677
[ "MIT" ]
ArminZ/ANR_Scoring_And_Visualisation
AirNavigationRaceLive/Settings.cs
1,242
C#
using System.ComponentModel.DataAnnotations; using Abp.Authorization.Users; namespace HeProject.Models.TokenAuth { public class AuthenticateModel { [Required] [StringLength(AbpUserBase.MaxEmailAddressLength)] public string UserNameOrEmailAddress { get; set; } [Required] ...
25.473684
58
0.677686
[ "MIT" ]
hemiaoio/abp-alain
aspnet-core/src/HeProject.Web.Core/Models/TokenAuth/AuthenticateModel.cs
486
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...
36.232258
160
0.56989
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/StartJobRunRequest.cs
11,232
C#
using System; using System.Globalization; using System.Text; namespace Ps3DiscDumper.Utils { public static class HexExtensions { public static byte[] ToByteArray(this string hexString) { if (hexString == null) return null; if (hexString.Length == 0) ...
27.097561
94
0.521152
[ "MIT" ]
13xforever/ps3-disc-dumper
Ps3DiscDumper/Utils/HexExtensions.cs
1,113
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("GetA...
37.918919
84
0.750535
[ "MIT" ]
joselabster/GetAllReadMoreUrls
GetAllReadMoreUrls/GetAllReadMoreUrls/Properties/AssemblyInfo.cs
1,404
C#
using Ed_Fi.Credential.Domain.Enums; using Ed_Fi.Credential.Domain.Model; using System; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ed_Fi.Credential.Business { public interface IVendorSubscriptionBusiness { void Unsubscribe(string wamsId, i...
46.94697
288
0.591012
[ "Apache-2.0" ]
Ed-Fi-Exchange-OSS/Credential-Manager
Ed-Fi.Credential.Business/VendorSubscriptionBusiness.cs
12,396
C#
using System; using System.Collections.Generic; namespace FastState.Test { internal class TestClass { public TestClass(string v) { Value = v; } public string Value { get; } public override bool Equals(object? obj) { return obj is TestCl...
22.305556
75
0.534247
[ "MIT" ]
snargledorf/FastState
FastState.Test/TestClass.cs
805
C#
// <copyright file="ReverseLatLonHiCoordinateInterpretationStrategy.cs" company="Eötvös Loránd University (ELTE)"> // Copyright 2016-2019 Roberto Giachetta. Licensed under the // Educational Community License, Version 2.0 (the "License"); you may // not use this file except in compliance with the License. ...
47.169811
169
0.6928
[ "ECL-2.0" ]
AegisSpatial/aegis
src/Core.Reference/Strategies/ReverseLatLonHiCoordinateInterpretationStrategy.cs
2,505
C#
using MinerPlugin; using NHM.Common; using NHMCore.Configs; using NHMCore.Configs.Data; using NHMCore.Mining.Plugins; using NHMCore.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace NHMCore.Mining { public class Miner { ...
40.725537
172
0.501348
[ "MIT" ]
6paklata/NiceHashMiner
src/NHMCore/Mining/Miner.cs
17,066
C#
using Autodesk.Revit.DB; namespace RevitSetLevelSection.Models.LevelDefinitions { internal class BBPositionTop : IBBPosition { public double GetPosition(Outline outline) { return outline.MaximumPoint.Z; } } }
27.333333
56
0.695122
[ "MIT" ]
dosymep/RevitPlugins
RevitSetLevelSection/Models/LevelDefinitions/BBPositionTop.cs
248
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace DP4_FacadePattern { class Television { private readonly String description; public Television(String description) { ...
21.022222
87
0.567653
[ "Unlicense" ]
avandam/TrainingVietnam
SOLID/DP4_FacadePattern/Television.cs
948
C#
using apophis.Lexer.Tokens; namespace Messerli.VsSolution.Token { internal class NewLineToken : IToken, ILineBreakToken { public override string ToString() { return "\r\n"; } } }
17.538462
57
0.600877
[ "MIT" ]
messerli-informatik-ag/MetaGenerator
VsSolution/Token/NewLineToken.cs
228
C#
using Dapper; using EdaSample.Common.Events; using EdaSample.Services.Common.Events; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Net; using Syst...
32.175
129
0.601399
[ "MIT" ]
dk20170906/EventDriverStudy
src/services/EdaSample.Services.Customer/Controllers/CustomersController.cs
2,784
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.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.IO; us...
40.468254
213
0.619533
[ "Apache-2.0" ]
HaloFour/roslyn
src/Compilers/Shared/GlobalAssemblyCacheHelpers/ClrGlobalAssemblyCache.cs
10,200
C#
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using Microsoft.Extensions.Configuration; using MovescountBackup.Lib.Dto; using MovescountBackup.Lib.Services; using Strava.Upload; using StravaUpload.Lib; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System....
45.37594
170
0.589395
[ "MIT" ]
marazt/strava-upload
StravaUpload.StravaUploadFunction/Function.cs
6,035
C#
namespace AggregateConsistency.Infrastructure { public class Snapshot { public Snapshot(long streamRevision, long snapshotRevision, object value) { StreamRevision = streamRevision; SnapshotRevision = snapshotRevision; Value = value; } public object Value { get; } public long StreamRevision { get; }...
24.333333
77
0.742466
[ "MIT" ]
jageall/BuildStuff2018
AggregateConsistency/Infrastructure/Snapshot.cs
367
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("Rea...
38.378378
84
0.75
[ "MIT" ]
adospace/experimental-reactorui
src/ReactorUI.WinForms.DemoApp/Properties/AssemblyInfo.cs
1,423
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Xml; using JetBrains.Annotations; using JetBrains.Diagnostics; using JetBrains.Metadata.Reader.API; using JetBrains.Metadata.Reader.Impl; using JetBrains.ReSharper.Psi; using JetBrains.Util; namespace JetBrains.Re...
41.961749
120
0.622086
[ "Apache-2.0" ]
20chan/resharper-unity
resharper/resharper-unity/src/ApiXml.cs
7,681
C#
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // 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 withou...
41.036697
114
0.626872
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Data/OData/Query/SyntacticAst/NonSystemToken.cs
4,473
C#
using System; using System.Linq; using ZzukBot.Game.Statics; namespace ZzukBot.Mem { /// <summary> /// Class for a simple hack (read: changing bytes in memory) /// </summary> internal class Hack { // address where the bytes will be changed private IntPtr _address = IntPtr.Zero;...
31.646154
104
0.535002
[ "Unlicense" ]
Bia10/ZzukBot_V3
ZzukBot_WPF/Mem/Hacks.cs
4,116
C#
using System.Threading.Tasks; using Tweetinvi.Iterators; using Tweetinvi.Models.V2; using Tweetinvi.Parameters.V2; namespace Tweetinvi.Client.V2 { public interface ISearchV2Client { /// <inheritdoc cref="GetSearchTweetsV2Iterator(ISearchTweetsV2Parameters)"/> Task<SearchTweetsV2Response> Search...
44.3
141
0.714823
[ "MIT" ]
IEvangelist/tweetinvi
src/Tweetinvi.Core/Public/Client/Clients/V2/ISearchV2Client.cs
1,329
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ical.Net; using Ical.Net.DataTypes; using Ical.Net.Interfaces.DataTypes; using Ical.Net.Serialization; using Ical.Net.Serialization.iCalendar.Serializers; using CalendarDll.Data; using Ical.Net.Interfaces.Components; using Ical....
42.132265
215
0.481012
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
joshdanielson/loconomics
iCalendarLib/CalendarDll/CalendarUtils.cs
105,120
C#
using System; using System.Collections.Generic; using AerisWeather.Net.Clients; using AerisWeather.Net.Models.Exceptions; using AerisWeather.Net.Models.Responses; using Moq; namespace AerisWeather.Net.Tests.Unit.SunMoonUnitTests { public class BaseSunMoonUnitTests : BaseTest { public ISunMoon sunMoon;...
30.35
141
0.594728
[ "MIT" ]
EasyIntegration/AerisWeather.Net
AerisWeather.Net.Tests.Unit/SunMoonUnitTests/BaseSunMoonUnitTests.cs
1,823
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace ContosoUniversity.Contracts { public class PaginatedList<T> : List<T> { public int PageIndex { get; } public int TotalPages { get; } public P...
32.606061
121
0.651487
[ "Apache-2.0" ]
savanna-projects/test-application-mvc
src/csharp/ContosoUniversity/ContosoUniversity/Contracts/PaginatedList.cs
1,078
C#
 using HelpMyStreet.Utils.Enums; using HelpMyStreet.Utils.Models; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Newtonsoft.Json; using RequestService.Repo.EntityFramework.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Question = RequestService.Repo....
59.162304
744
0.564027
[ "MIT" ]
Magicianred/request-service
RequestService/RequestService.Repo/Helpers/QuestionExtenstions.cs
22,634
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.public.content.cancel /// </summary> public class AlipayOpenPublicContentCancelRequest : IAlipayRequest<AlipayOpenPublicContentCancelResponse> { ...
23.521739
109
0.539125
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayOpenPublicContentCancelRequest.cs
3,270
C#
using System.Linq; using NUnit.Framework; using UniTool.Editor; namespace UniTool.Tests.EditMode { public class UnityPackageExporterTest { [Test] public void ExportTest() { UnityPackageExporter.Export(); } [Test] public void GetExportPathTes...
30.255319
130
0.566807
[ "MIT" ]
TakenokoTech/UniTool
Assets/UniTool.Tests/EditMode/UnityPackageExporterTest.cs
1,422
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. /****************************************************************************** * This file is auto-generated from ...
43.030132
189
0.594074
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/AbsoluteDifferenceWideningLower.Vector64.SByte.cs
22,849
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; //using Mediwatch.Shared.Models; /*public class FormationTemplate { [Required] public string Name { get; set; } [Required] public DateTime StartDate { get; set; } = DateTime.Today; [Required] public DateTime EndDate { ...
19.290323
111
0.712375
[ "CC0-1.0" ]
Mediwatch/BlazyWatch
Client/Pages/_FormationTemplate.cs
1,794
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.ConeLib { ...
40.49004
104
0.529666
[ "MIT" ]
valu8/Plotly.Blazor
Plotly.Blazor/Traces/ConeLib/HoverLabel.cs
10,163
C#
using System; using System.Collections.Generic; using System.Text; namespace InheritanceAndPolymorphism { public class LocalCourse : Course { private string lab; public LocalCourse(string courseName, string teacherName, IList<string> students, string lab) : base(courseName, teache...
22.911111
101
0.504365
[ "MIT" ]
GAlex7/TA
10. High-Quality-Code/08. High-quality Classes/Inheritance-and-Polymorphism/LocalCourse.cs
1,033
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
35.934307
153
0.636604
[ "MIT" ]
BibleUs/daggerfall-unity
Assets/Scripts/Game/UserInterfaceWindows/CreateCharRaceSelect.cs
4,923
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
40.122951
192
0.626762
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/DynamoDBv2/Generated/Model/Internal/MarshallTransformations/DeleteTableResponseUnmarshaller.cs
4,895
C#
namespace Fan.Settings { public enum EPreferredDomain { /// <summary> /// use whatever the url is given, will not do forward /// </summary> Auto, /// <summary> /// forward root domain to www subdomain, e.g. fanray.com -> www.fanray.com /// </summary> ...
26.722222
83
0.517672
[ "Apache-2.0" ]
FanrayMedia/Fanray
src/Core/Fan/Settings/EPreferredDomain.cs
483
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Todo.Core.Data; namespace Todo.C...
36.079487
95
0.447658
[ "MIT" ]
oskvr/TodoApp
Todo.Core/Migrations/20210114174235_InitialSqlServer.Designer.cs
14,073
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 System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Threading; using NuGet.Com...
38.981567
169
0.608464
[ "Apache-2.0" ]
clairernovotny/NuGet.Client
src/NuGet.Core/NuGet.Packaging/PackageArchiveReader.cs
8,459
C#
/* Copyright 2009 HPDI, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
29.477273
75
0.653045
[ "ECL-2.0", "Apache-2.0" ]
esskar/vss2git
VssPhysicalLib/ProjectEntryFile.cs
1,299
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" ]
dogfuntom/Fermented-Tomighty
Tomighty.Windows/Properties/Settings.Designer.cs
1,073
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; //Eigene Usings using Model = MeisterGeister.Model; namespace MeisterGeister.Model.Service { public class VorNachteilService : ServiceBase { #region //----- EIGENSCHAFTEN ---- public List<Mode...
24.596491
170
0.558488
[ "Apache-2.0" ]
Constructor0987/MeisterGeister
Model/Service/VorNachteilService.cs
1,404
C#
using System; using Foundation; using StoreKit; using TrueLogicMobile.API; using TrueLogicMobile.API.Interfaces; using TrueLogicMobile.iOS.Services; using UIKit; [assembly: Xamarin.Forms.Dependency(typeof(AppRating))] namespace TrueLogicMobile.iOS.Services { public class AppRating : IAppRating { public void RateA...
23.638889
108
0.712103
[ "MIT" ]
Jakar510/Jakar.Api
Services/AppRatiing.cs
853
C#