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
// ============================= // Email: info@ebenmonney.com // www.ebenmonney.com/templates // ============================= using System; using System.Collections.Generic; using System.Text; namespace QuickApp.SQLDAL.Models.Interfaces { public interface IAuditableEntity { string CreatedBy { get; ...
23
43
0.573913
[ "MIT" ]
code4lifetime/QuickApp
QuickApp.SQLDAL/Models/Interfaces/IAuditableEntity.cs
462
C#
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text.RegularExpressions; using OpenTK; using OpenTK.Graphics.OpenGL; using grendgine_collada; using MuffinEngine.World.Model; using MuffinEngine.Animation; namespace MuffinEngine.W...
48.465793
209
0.45564
[ "MIT" ]
Yohanus/MuffinEngine
KailashEngine/World/DAE_Loader.cs
33,298
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 namespace Moryx.Tools.Wcf { /// <summary> /// Type of binding /// </summary> public enum ServiceBindingType { /// <summary> /// WebHttp binding used for standard http methods and w...
22.444444
74
0.547855
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Core
src/Moryx.Tools.Wcf/Service/ServiceBindingType.cs
606
C#
using UnityEngine; using System.Collections; /// <summary> /// This is an implementation of ADSR curves that have linnear sub-elements. /// It makes use of the Input.Axis paradigm for input control. /// </summary> public class ADSRCurve : ADSR { public float sustain = 1; public AnimationCurve attack;...
35.644928
131
0.485668
[ "MIT" ]
eharpste/misc-unity-scripts
Unity Project/Assets/Scripts/ADSR/ADSRCurve.cs
4,921
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...
29.067797
81
0.565015
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DomainRegistration/V20200601/Inputs/AddressArgs.cs
1,715
C#
namespace BgPeople.Services.Areas.HelpPage.ModelDescriptions { using System; using System.Reflection; public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
22.5
60
0.72963
[ "MIT" ]
TsvetanKT/BgPeopleWebApi
BgPeopleWebApi.Services/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
270
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 ...
40.546392
172
0.678363
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/_bcl45+netstandard/ListJobExecutionsForThingPaginator.cs
3,933
C#
using NPOI.SS.Formula; using System; using System.Collections.Generic; using System.Text; namespace NPOI.SS.UserModel { public class ExcelNumberFormat { private int idx; private String format; public ExcelNumberFormat(int idx, String format) { this.idx = idx; ...
28.053571
112
0.530236
[ "Apache-2.0" ]
AlexanderSemenyak/npoi-1
main/SS/UserModel/ExcelNumberFormat.cs
1,573
C#
using Blossomic.Converters; using System.Text.Json; using System.Text.Json.Serialization; namespace Blossomic.Models { public class DifficultyBeatmap { [JsonPropertyName("_difficulty")] [JsonConverter(typeof(DifficultyConverter))] public Difficulty Difficulty { get; set; } [Js...
31.035714
105
0.678941
[ "MIT" ]
Auros/Blossomic
Blossomic/Models/DifficultyBeatmap.cs
871
C#
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using LinqToDB; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using MyLab.ApiClient.Test; using MyLab.Db; using MyLab.Search.EsAdapter; using MyLab.Search.EsTest; using MyLab.Search.Indexer; using MyLab...
32.477113
120
0.419851
[ "MIT" ]
mylab-search-framework/indexer
src/FunctionTests/IndexerBehavior.cs
18,447
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Library.Migrations { public partial class PatronVirtual : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuilder) { ...
18.388889
71
0.667674
[ "MIT" ]
POsten040/Library.Solution
Library/Migrations/20210112213832_PatronVirtual.cs
333
C#
namespace P04.MiddleMan { public class ProblemCode { public class Program { public void Main() { Person person = new Person(); person = person.GetManager(); } } public class Person { publi...
18.976744
54
0.433824
[ "MIT" ]
PetarKTodorov/CodeQualityAnalysisMetrics
CodeQualityAnalysisMetrics/P04.MiddleMan/ProblemCode.cs
818
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
37.513514
151
0.56172
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
CrypCloud/CrypCloudManager/Settings.Designer.cs
4,168
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...
35.419048
147
0.632428
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/DescribeEndpointRequestMarshaller.cs
3,719
C#
using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages.PostalAddress; using TechTalk.SpecFlow; namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefinations.PostalAddress { [Binding] public class _3215_NoAddressFoundPageSteps : NoAddressFoundPage { [Then(@"I shoud see no address fou...
36.8125
91
0.682513
[ "MIT" ]
SkillsFundingAgency/tl-results-and-certification-automation-suite
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/PostalAddress/_3215_NoAddressFoundPageSteps.cs
1,180
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using Android.App; using Android.OS; using Playground.ViewModels.Pages; using Softeq.XToolkit.WhiteLabel.Droid; namespace Playground.Droid.Views.Pages { [Activity] public class DetailsPageActivity : ActivityBase<DetailsPageViewModel> ...
25.142857
73
0.717803
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
samples/Playground/Playground.Droid/Views/Pages/DetailsPageActivity.cs
530
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.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<...
27.726817
370
0.599928
[ "Apache-2.0" ]
LingxiaChen/roslyn-analyzers
src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/DoNotDirectlyAwaitATaskTests.Fixer.cs
11,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Web.API.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } ...
17.105263
44
0.615385
[ "MIT" ]
QiuRyan/AspNetMVC
src/APP/Web.API/Controllers/HomeController.cs
327
C#
using Alloy.Mvc._1.Models.Pages; using Alloy.Mvc._1.Models.ViewModels; using EPiServer.Web; using EPiServer.Web.Mvc; using Microsoft.AspNetCore.Mvc; namespace Alloy.Mvc._1.Controllers; public class StartPageController : PageControllerBase<StartPage> { public IActionResult Index(StartPage currentPage) { ...
41.766667
111
0.702314
[ "Apache-2.0" ]
episerver/content-templates
templates/Alloy.Mvc/Controllers/StartPageController.cs
1,253
C#
using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace JsonApiDotNetCoreExample.Controllers { [Route("[controller]")] public sealed class NonJsonApiController : ControllerBase { [HttpGet] public IActionResult Get() { string[] result = ...
22.5
80
0.504762
[ "MIT" ]
3volutionsAG/JsonApiDotNetCore
src/Examples/JsonApiDotNetCoreExample/Controllers/NonJsonApiController.cs
1,260
C#
// Copyright © 2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; using System.Threading.Tasks; using CefSharp.Internals; namespace CefSharp { /// <summary> /// ...
33.076923
113
0.643721
[ "BSD-3-Clause" ]
364988343/CefSharp.Net40
CefSharp/Callback/TaskResolveCallback.cs
2,151
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using Application.Presentation; using Application.Common;...
37.644068
113
0.605133
[ "MIT" ]
uon-crissp/IQCare
SourceBase/Presentation/PresentationApp/ClinicalForms/frmClinical_OIDrugSelector.aspx.cs
6,663
C#
using System; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Koopakiller.Apps.MultiDimensionalMindManager { /// <summary> /// Provides application-specific behavior to supplement the ...
39.777778
99
0.614779
[ "MIT" ]
Koopakiller/Archive
__MDMM/MultiDimensional MindManager/App.xaml.cs
3,940
C#
using System.Collections.Generic; using System.Linq; namespace MotleyFlash { public class QueueMessenger : IMessenger { public QueueMessenger( IMessageProvider messageProvider, IMessengerOptions messengerOptions) { this.messageProvider = messageProvider; ...
25.746479
86
0.569475
[ "MIT" ]
billbogaiv/motley-flash
src/MotleyFlash/QueueMessenger.cs
1,830
C#
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Shouldly; using Xunit; using Abp.Application.Services.Dto; using Institute.Portal.Users; using Institute.Portal.Users.Dto; namespace Institute.Portal.Tests.Users { public class UserAppService_Tests : PortalTestBase { private read...
27.886792
114
0.549391
[ "MIT" ]
sweetguo/PortalMicroService
aspnet-core/test/Institute.Portal.Tests/Users/UserAppService_Tests.cs
1,480
C#
 namespace CarService.Test.TestUnit { using AutoMapper; using CarService.Controllers; using CarService.Data.Models; using CarService.Services.Cars; using CarService.Services.Mechanics; using CarService.Services.Orders; using CarService.Test.Mocks; using Microsoft.AspNetCore.Mvc; usi...
30.42
64
0.499343
[ "MIT" ]
nikolastefanov/CarService
CarService/CarService.Test/TestUnit/CarsControllerTest.cs
3,044
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...
29.969388
101
0.561117
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/JobSummary.cs
5,874
C#
using SharpDebug.Exceptions; using System; using System.Collections; using System.Collections.Generic; namespace SharpDebug.CommonUserTypes.NativeTypes.std { /// <summary> /// Implementation of std::array /// </summary> /// <typeparam name="T"></typeparam> public class array<T> : UserType, IReadOn...
37.306452
142
0.523274
[ "MIT" ]
sdmaclea/SharpDebug
Source/SharpDebug.CommonUserTypes/NativeTypes/std/array.cs
13,880
C#
using System.Collections.Generic; using System.Linq; using Blockcore.Features.Miner.Api.Models; using Newtonsoft.Json.Linq; using Xunit; namespace Blockcore.Features.RPC.Tests.Models { /// <summary> /// Tests of <see cref="GetStakingInfoModel"/> class. /// </summary> public class GetStakingInfoModelTe...
39.213483
140
0.566762
[ "MIT" ]
Botcoin-Abacus/blockcore
src/Tests/Blockcore.Features.RPC.Tests/Models/GetStakingInfoTest.cs
3,492
C#
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Configs; using StructLinq; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NetFabric.Hyperlinq.Benchmarks { [GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)] [CategoriesColumn] public class WhereToL...
35.631313
80
0.533381
[ "MIT" ]
Ashrafnet/NetFabric.Hyperlinq
NetFabric.Hyperlinq.Benchmarks/Benchmarks/WhereToListBenchmarks.cs
7,055
C#
using System; using System.Collections.Generic; using System.Linq; using Mapping_Tools.Classes.MathUtil; namespace Mapping_Tools.Classes.SliderPathStuff { /// <summary> /// Helper methods for advanced bezier anchor and path approximation manipulation. /// A <see cref="BezierSubdivision"/> represents a sin...
39.073529
174
0.527663
[ "MIT" ]
2poi/Mapping_Tools
Mapping Tools/Classes/SliderPathStuff/BezierSubdivision.cs
7,973
C#
// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Animator)] [Tooltip("Sets the value of a bool parameter")] public class SetAnimatorBool : FsmStateActionAnimatorBase { [RequiredField] [CheckForComponen...
22.027397
68
0.603856
[ "MIT" ]
aiden-ji/oneButtonBoB
Assets/PlayMaker/Actions/Animator/SetAnimatorBool.cs
1,608
C#
using SuperSocket.JTT.Base.Interface; using System; using System.Collections.Generic; using System.Text; namespace SuperSocket.JTT.JTT1078.MessageBody.Internal { /// <summary> /// 远程录像回放请求应答消息数据体 /// </summary> /// <remarks> /// <para>业务类:<see cref="Const.DataType.UP_PLAYBACK_MSG"/></para> ///...
27.86
88
0.56425
[ "Apache-2.0" ]
SuperSocket/SuperSocket.JTT
src/Protocols/SuperSocket.JTT.JTT1078/MessageBody/Internal/PlaybackStartupReplyBody.cs
1,711
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...
28.790323
89
0.587115
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-aiven
sdk/dotnet/Inputs/GetGrafanaGrafanaUserConfigAuthGithubArgs.cs
1,785
C#
// // ManifestResourceAttributes.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // Permission is hereby granted, free of free, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
36.65
73
0.745566
[ "MIT" ]
MrHanKing/UnityHotfixDemoAddressableAndILRuntime
Assets/ThirdParty/ILRuntime/Mono.Cecil.20/MonoCecil/Mono.Cecil/ManifestResourceAttributes.cs
1,466
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.IO; using System.Threading.Tasks; using System.Windows; using CoreTweet; using MessagePack; namespace HelloSpirit { /// <summary> /// App.xaml の相互作用ロジック /// </summa...
22.703704
94
0.65416
[ "MIT" ]
AntiquePendulam/HelloSpirit
HelloSpirit/App.xaml.cs
633
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * 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...
37
83
0.714818
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/NursingOrCustodialCarePracticeSetting.cs
1,073
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namespace FuncisSharp { public class ...
23.621818
149
0.556034
[ "MIT" ]
danielwerthen/Funcis-Sharp
Funcis-Sharp/ProxyPipe.cs
6,498
C#
using System; using System.Collections.Generic; namespace QSProjectsLib { public static class DBWorks { #region OnlyValues public static bool GetBoolean(System.Data.IDataReader rdr, string Column, bool NullValue) { if (rdr[Column] != DBNull.Value) return rdr.GetBoolean(rdr.GetOrdinal(Column)); else ...
26.478261
101
0.670361
[ "Apache-2.0" ]
Art8m/QSProjects
QSProjectsLib/Helpers/DBWorks.cs
7,382
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.AppService.Models { public partial class StaticSiteZi...
38.836735
195
0.467858
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteZipDeploymentARMResource.Serialization.cs
5,709
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace BlazorAppServer1.Pages { [ResponseCache(Duration = 0, Location = Respo...
25.666667
88
0.68595
[ "Apache-2.0" ]
reyou/Ggg.Csharp
apps/apps-self/blazor-samples/intro2-server/BlazorAppServer1/Pages/Error.cshtml.cs
849
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 Microsoft.CodeAnalysis.Syntax.InternalSyntax; namespace Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax ...
36.863636
152
0.671393
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Portable/Syntax/InternalSyntax/CSharpSyntaxNodeCache.cs
1,624
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Panuon.UI { public class PUCheckBox : CheckBox { static PUCheckBox() { DefaultStyleKeyProperty.OverrideMetadata(typeof(PUCheckBox), new FrameworkPropertyMetadata(typeof(PUCheckBox))); ...
33.64
214
0.576992
[ "Apache-2.0" ]
huzuohuyou/PanuonUI
Panuon.UI/4_CheckBox/PUCheckBox.cs
3,660
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using PlaywrightSharp.Transport; using PlaywrightSharp.Transport.Channels; using PlaywrightSharp.Transport.Protocol; namespace PlaywrightSharp { /// <inheritdoc cref="IBrowser"/> public class Browser : ChannelOwner...
38.735192
127
0.563551
[ "MIT" ]
DenisBalan/playwright-sharp
src/PlaywrightSharp/Browser.cs
11,117
C#
namespace XmlTools.Tests.CodeGenerator.FileTests { public class SchemaWithComplexTypeWithSimpleContentWithEnumerationAttribute_EnumElementCasing : CodeGeneratorTestsBase { public SchemaWithComplexTypeWithSimpleContentWithEnumerationAttribute_EnumElementCasing() : base(ParserTestFile.SchemaWithComplexTy...
62.9
183
0.855326
[ "MIT" ]
GeorgDangl/XmlTools
test/XmlTools.Tests/CodeGenerator/FileTests/SchemaWithComplexTypeWithSimpleContentWithEnumerationAttribute_EnumElementCasing.cs
631
C#
/* Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international> Author: Michael Hoffmeister This source code is licensed under the Apache License 2.0 (see LICENSE.txt). This source code may use other Open Source software components (see LICENSE.txt). */ using System; u...
36.304777
119
0.48329
[ "Apache-2.0" ]
MMuellerMitsubishi/aasx-package-explorer
src/AasxCsharpLibrary/AdminShell.cs
294,107
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayEbppBillPayurlGetResponse. /// </summary> public class AlipayEbppBillPayurlGetResponse : AopResponse { /// <summary> /// 付款页面地址 /// </summary> [XmlElement("pay_url")] ...
20.555556
62
0.594595
[ "MIT" ]
erikzhouxin/CSharpSolution
OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Response/AlipayEbppBillPayurlGetResponse.cs
382
C#
#region Usings using System; using System.Globalization; using JetBrains.Annotations; #endregion namespace Extend { /// <summary> /// Class containing some extension methods for <see cref="DateTime" />. /// </summary> public static partial class DateTimeEx { /// <summa...
40.857143
137
0.604312
[ "MIT" ]
DaveSenn/Extend
.Src/Extend/System.DateTime/DateTime.GetWeekOfYear.cs
1,677
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; usi...
60.145709
340
0.647861
[ "MIT" ]
BaherAbdullah/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/ManagedDatabaseSecurityAlertPoliciesRestOperations.cs
30,133
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(1036876423)] public class TLInputBotInlineMessageText : TLAbsInputBotInlineMessage { public override int Constru...
28.4375
116
0.516923
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLInputBotInlineMessageText.cs
2,275
C#
using System; using JetBrains.Annotations; namespace JetBrains.Lifetimes { public class LifetimeCanceledException : OperationCanceledException { [PublicAPI] public Lifetime Lifetime { get; } public LifetimeCanceledException(Lifetime lifetime) : base( #if !NET35 lifetime.Definition.ToCancellati...
26.409091
145
0.698795
[ "Apache-2.0" ]
norvegec/rd
rd-net/Lifetimes/Lifetimes/LifetimeCanceledException.cs
581
C#
using UnityEngine; namespace ShaderForge { [System.Serializable] public class SFN_Reflect : SF_Node_Arithmetic { public SFN_Reflect() { } public override void Initialize() { base.Initialize( "Reflect" ); base.PrepareArithmetic( 2 ); connectors[1].label = "I"; connectors[2].label ...
26.941176
126
0.644105
[ "Unlicense" ]
AshaSalorina/ShaderForge
Shader Forge/Assets/ShaderForge/Editor/Code/_Nodes/SFN_Reflect.cs
916
C#
using GraphQL.Introspection; using GraphQL.Language.AST; using GraphQL.Types; using System.Collections; using System.Collections.Generic; using System.Linq; namespace GraphQL.Execution { public static class ExecutionHelper { public static IObjectGraphType GetOperationRootType(Document document, ISchema...
35.106522
163
0.496316
[ "MIT" ]
BeardyC/graphql-dotnet
src/GraphQL/Execution/ExecutionHelper.cs
16,149
C#
using System; using UnityEngine; using UnityEngine.Events; public class PlayerMovePhysics : MonoBehaviour { public float speed = 5; public bool worldDirection = true; public bool rotatePlayer = true; public Action spaceAction; public Action enterAction; Rigidbody rb; void Start() { ...
27.381818
99
0.558433
[ "MIT" ]
AaronTheDesigner/2dCavernCrusher
Library/PackageCache/com.unity.cinemachine@2.5.0/Samples~/Cinemachine Example Scenes/Shared/Scripts/PlayerMovePhysics.cs
1,508
C#
namespace GradeManagement.Interfaces { public interface IGradable { float GradeValue { get; } float Weighting { get; } bool Counts { get; } int ElementCount { get; } } }
21.4
37
0.579439
[ "MIT" ]
duck-dev/Grade-Management
src/Interfaces/IGradable.cs
216
C#
// ReSharper disable IdentifierTypo namespace FMSelectionHelper.Models { public sealed class RoleCollection { public static RoleCollection Instance { get; } = new RoleCollection(); private List<Role> roles = new List<Role>(); static RoleCollection() { } priva...
57.090491
157
0.602987
[ "MIT" ]
avandam/FMSelectionHelper
FMSelectionHelper.Models/RoleCollection.cs
37,225
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.Common; using System.Linq; using System.Text; namespace Dapper.Aggregator.SampleConsoleApp { public static class DbConnectionRepository { public const string DefaultContext = "Default"; ...
29.61
106
0.590679
[ "Apache-2.0" ]
s-ueno/Dapper.Aggregater
Dapper.Aggregator.SampleConsoleApp/DbConnectionRepository.cs
2,963
C#
using System.Configuration; using System.Windows; using System.Windows.Threading; using Common.Models; using Recorder.Dialogs; using Recorder.Exceptions; using Recorder.Models; using Recorder.Utilities; using Recorder.ViewModels; namespace Recorder { /// <summary> /// Interaction logic for App.xaml //...
29.967391
107
0.597388
[ "Apache-2.0" ]
BrianMcGough/IUMediaHelperApps
Recorder/App.xaml.cs
2,759
C#
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); y...
35.147059
73
0.681172
[ "Apache-2.0" ]
AI-ML-Projects/reef
lang/cs/Org.Apache.REEF.Tang/Exceptions/BindException.cs
1,164
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace GarupaSimulator.WpfUtil { public static class XamlDebug { // DebugとReleaseでのxaml表示内容切替 // http://sourcechord.hatenablog.com/entry/2016...
23.96875
69
0.591917
[ "MIT" ]
KawaSwitch/GarupaSimulator
GarupaSimulator/WpfUtil/XamlDebug.cs
895
C#
namespace BuildService.Services.Data.ConstructionWorks { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BuildService.Data; using BuildService.Data.Models; using BuildService.Services.Mapping; using BuildService.Web.ViewModels.ConstructionWorks; ...
31.754098
139
0.645844
[ "MIT" ]
adena/BuildService
Services/BuildService.Services.Data/ConstructionWorks/ConstructionWorksService.cs
1,939
C#
namespace NightyCode.PostScript.Syntax { public class StringNode : LiteralNode { #region Constructors and Destructors public StringNode(Token token) : base(token) { } #endregion } }
18.642857
45
0.547893
[ "MIT" ]
NightyCode/PostScriptCodeFormatter
NightyCode.PostScript/Syntax/StringNode.cs
263
C#
using System; namespace _004_struct { class Program { static void Main(string[] args) { } } struct MyStruct //: MyStruct1 // : MyClass { public int field; } struct MyStruct1 { public int field; } class MyClass { } }
11.769231
46
0.496732
[ "Apache-2.0" ]
arttonoyan/dotnet-courses
Lesson_Structure/004_struct/Program.cs
308
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Runtime.InteropServices; using Deployer.Exceptions; using Deployer.Gui.Common; using Deployer.Services.Wim; using ReactiveUI; using Serilog; namespace Deployer.Raspberry.G...
34.683168
111
0.556095
[ "MIT" ]
keisukekisu/WOA-Deployer-Rpi
Source/Deployer.Raspberry.Gui/ViewModels/WimPickViewModel.cs
3,503
C#
namespace Meetup.Xamarin.France.Testing.ViewModels { using System.Net.Http; using Services; public static class Dependencies { public static void InitializeDemo() { Ioc.Default.Register<IAuthentication, DemoAuthentication>(); Ioc.Default.Register<IMeetupService, DemoMeetupService>(); } public st...
26.564103
63
0.73166
[ "MIT" ]
aloisdeniel/Meetup.Xamarin.France.Demo
Sources/Meetup.Xamarin.France.Testing.ViewModels/Dependencies.cs
1,038
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("Ga...
40.216216
88
0.748656
[ "Apache-2.0" ]
GalacticAPI/Galactic
Galactic.EventLog.Sql/Properties/AssemblyInfo.cs
1,491
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Threading; using System.Linq; public class ThreadManager : MonoBehaviour { public static int maxThreads = 8; static int numThreads; private static ThreadManager _current; private int _count; public static Th...
17.056338
91
0.682081
[ "MIT" ]
jukkae/ar-game
Assets/Scripts/Utility/ThreadManager.cs
2,422
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using System.Reactive.Linq; using Moq; using Avalonia.Styling; using Avalonia.UnitTests; using Xunit; usin...
31.310638
119
0.514134
[ "MIT" ]
Karlyshev/Avalonia
tests/Avalonia.Styling.UnitTests/StyledElementTests.cs
14,716
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataAccessLayer { public class Article { public int ID { get; set; } public int Category_ID { get; set; } public strin...
29.5
52
0.601043
[ "MIT" ]
filizkirkan/CineBlog
DataAccessLayer/Article.cs
769
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.Linq.Expressions; namespace ZqUtils.ObjectMethodExecutors { /// <summary> /// CoercedAwaitableInfo /// </summar...
32.813187
112
0.58004
[ "Apache-2.0" ]
zqlovejyc/ZqUtils
ZqUtils/ObjectMethodExecutors/CoercedAwaitableInfo.cs
2,988
C#
namespace Machete.X12Schema.V5010 { using X12; public interface Loop0360_945 : X12Layout { Segment<FA1> TypeOfFinancialAccountingData { get; } SegmentList<FA2> AccountingData { get; } } }
18.307692
59
0.617647
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/Loop0360_945.cs
238
C#
/* * convertapi * * Convert API lets you effortlessly convert file formats and types. * * OpenAPI spec version: v1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Co...
41.265537
186
0.593647
[ "Apache-2.0" ]
Cloudmersive/Cloudmersive.APIClient.NET.DocumentAndDataConvert
client/src/Cloudmersive.APIClient.NET.DocumentAndDataConvert/Model/SetFormFieldValue.cs
7,304
C#
using Contract; namespace NetCoreServer { public class EchoService : Contract.IEchoService { public string Echo(string text) { System.Console.WriteLine($"Received {text} from client!"); return text; } public string ComplexEcho(EchoMessage text) ...
23.421053
75
0.577528
[ "MIT" ]
CSGOpenSource/CoreWCF
src/Samples/NetCoreServer/EchoService.cs
447
C#
using System; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility; namespace Havit.ApplicationInsights.DependencyCollector { /// <summary> /// Ty DependencyTelemetry, které jsou typu Azure blob a zároveň mají result ...
37.836735
164
0.655879
[ "MIT" ]
havit/HavitFramework
Havit.ApplicationInsights.DependencyCollector/MarkAzureBlobStatusCode404AsSucceededInitializer.cs
1,883
C#
//----------------------------------------------------------------------- // <copyright file="MixinIsSealedType.cs" company="Copacetic Software"> // Copyright (c) Copacetic Software. // <author>Philip Pittle</author> // <date>Wednesday, January 29, 2014 10:57:24 PM</date> // Licensed under the Apache License, Ve...
36.675439
124
0.511122
[ "Apache-2.0" ]
ppittle/pMixins
pMixins.CodeGenerator.Tests/IntegrationTests/CompileTests/AdvancedMixinTypes/MixinIsSealedType.cs
4,183
C#
using Bombs; using Ship; using System.Collections; using System.Collections.Generic; using Upgrade; namespace Ship { namespace FirstEdition.ScurrgH6Bomber { public class SolSixxa : ScurrgH6Bomber { public SolSixxa() : base() { PilotInfo = new PilotCardIn...
28.489796
133
0.611032
[ "MIT" ]
GeneralVryth/FlyCasual
Assets/Scripts/Model/Content/FirstEdition/Pilots/ScurrgH6Bomber/SolSixxa.cs
1,398
C#
using AutoMapper; using ConsultaH.Application.Interface; using ConsultaH.Domain.Entities; using ConsultaH.MVC.ViewModels; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web.Mvc; namespace ConsultaH.MVC.Controllers { public class ExamesController : Controller { priv...
32.325301
141
0.571003
[ "MIT" ]
hnmendes/ConsultaH
Consultah.MVC/Controllers/ExamesController.cs
5,368
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.5
98
0.710504
[ "MIT" ]
hraverkar/.NetFramework-Sys.IO-Topics
WPF/MultiDataTrigger/MultiDataTrigger/Properties/AssemblyInfo.cs
2,383
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; // Implements spawner behavior used to instantiate red / cancer cells. // Has controls for spawn frequency, initial velocity (z), random velocity (xyz), // random angular velocity / torque, and object lifetime. // // Spawns evenly distrib...
42.191781
136
0.727597
[ "MIT" ]
SeijiEmery/BloodCellHero
Assets/Scripts/Spawner.cs
3,088
C#
using Urho; namespace PhysicsStressTest { class Program { static void Main(string[] args) { new PhysicsStressTest().Run(); } } }
13.785714
43
0.487047
[ "MIT" ]
dertom95/Urho.Net-Samples
PhysicsStressTest/Program.cs
195
C#
using MiCake.Audit; using MiCake.DDD.Domain; using System; namespace StepFly.Domain { /// <summary> /// Vip 用户 /// </summary> public class VIPUser : AggregateRoot, IHasModificationTime, IHasCreationTime { /// <summary> /// 用户表中的ID /// </summary> public Guid UserId {...
22.421053
80
0.479656
[ "Apache-2.0" ]
uoyoCsharp/StepFly
src/StepFly/Domain/VIPUser.cs
1,340
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.IO; using System.Threading; using System.Threading.Tasks; namespace ScenarioTests.Comm...
31.166667
113
0.610339
[ "MIT" ]
Bencargs/wcf
src/System.Private.ServiceModel/tests/Common/Scenarios/TestMockStream.cs
2,807
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Generator { class Program { static void Main(string[] args) { if (args.Length > 0 && Directory...
18.507692
71
0.512884
[ "MIT" ]
Bassman2/JenkinsWebApi
Tools/Generator/Program.cs
1,205
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
42.257862
208
0.606787
[ "MIT" ]
FonsecaSergio/azure-powershell
src/ResourceManager/Network/Commands.Network/NetworkWatcher/ConnectionMonitor/RemoveAzureNetworkWatcherConnectionMonitorCommand.cs
6,563
C#
//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= // // Copyright (c) Paina Solutions. All right reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // //=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+...
34.705024
146
0.459954
[ "Apache-2.0" ]
dokuflex/Dokuflex
Source/DokuFlex.Word.AddIn/ThisAddIn.cs
21,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ch4_Exercise3 { class Ch4_Exercise3 { static void Main(string[] args) { HeaderFooter.Header(); //Header Colors.MagentaFont(); //Mag...
37.117647
98
0.558901
[ "Apache-2.0" ]
EthanLawr/ComputerScience
Computer Science/Year_1_CSharp/Ch4_Exercise3_Solution/Ch4_Exercise3/Ch4_Exercise3.cs
1,895
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной ...
59.760498
248
0.812244
[ "MIT" ]
SalavatD/MoscowHackApplication
MoscowHackApplication/MoscowHackApplication.Android/Resources/Resource.designer.cs
594,990
C#
namespace GameDevWare.Serialization.Tests { public class ValueContainer<T> { public T Value; } }
12.75
41
0.745098
[ "MIT" ]
deniszykov/msgpack-unity3d
src/GameDevWare.Serialization.Tests/ValueContainer.cs
102
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> //----------------------------------------...
35.35443
85
0.542069
[ "MIT" ]
aburias/hotcakes-commerce-core
Website/DesktopModules/Hotcakes/Core/Admin/Configuration/Extensibility.aspx.designer.cs
2,795
C#
using DragonSpark.Reflection.Types; using FluentAssertions; using Xunit; namespace DragonSpark.Testing.Reflection.Types; public sealed class IsGenericTypeDefinitionTests { // ReSharper disable once UnusedTypeParameter sealed class Subject<T> {} [Fact] public void Verify() { var sut = IsGenericTypeDefinition....
22.947368
54
0.761468
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Testing/Reflection/Types/IsGenericTypeDefinitionTests.cs
438
C#
/* Generated by QSI Date: 2020-08-12 Span: 106:1 - 181:8 File: src/postgres/include/nodes/parsenodes.h */ using Qsi.PostgreSql.Internal.Serialization; namespace Qsi.PostgreSql.Internal.PG10.Types { [PgNode("Query")] internal class Query : IPg10Node { public virtual NodeTag Type => NodeTag.T_Q...
24.175824
57
0.6
[ "MIT" ]
ScriptBox99/chequer-qsi
Qsi.PostgreSql/Internal/PG10/Types/Query.cs
2,200
C#
namespace SentimentAnalyzer.Services.Data { using System.Linq; using SentimentAnalyzer.Data.Models; public interface IWordsOccurrencesService { IQueryable<WordOccurrences> GetAll(); void Create(WordOccurrences wordOccurrences); } }
20.846154
53
0.719557
[ "MIT" ]
gbelcheva/MovieMind
Source/Services/SentimentAnalyzer.Services.Data/IWordsOccurrencesService.cs
273
C#
using JwtHelpers; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using System; using System.Threading.Tasks; nam...
36.815217
113
0.521405
[ "MIT" ]
doxa-labs/dream-reviews-app-api
RuyaTabircim.Api/Startup.cs
3,389
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
39.345455
152
0.659889
[ "MIT" ]
erichdev/EAT-School-Lunch
EATLunchApp/EATLunchApp/App_Start/IdentityConfig.cs
4,330
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Linq; using System.Data; using Surging.Core.CPlatform.Ioc; using Surging.Core.ProxyGenerator; using MicroService.Data.Common; using MicroService.Data.Extensions; using MicroService.Data.Validation; using Micro...
32.040323
100
0.596778
[ "MIT" ]
DotNetExample/surging.Demo
SurgingDemo/04.Modules/MicroService.Modules.Product/GoodsService.cs
4,037
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
42.784404
141
0.563525
[ "MIT" ]
DexterPOSH/azure-powershell
src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlans/GetAzureAppServicePlan.cs
9,112
C#
using System; using Microsoft.AspNetCore.Http; namespace OrchardCore.Microsoft.Authentication.Settings { public class AzureADSettings { public string DisplayName { get; set; } public string AppId { get; set; } public string TenantId { get; set; } public PathString CallbackPath {...
24.357143
55
0.668622
[ "BSD-3-Clause" ]
1426463237/OrchardCore
src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Settings/AzureADSettings.cs
341
C#
using System; using System.IO; using DataDynamics.PageFX.Common.Services; using DataDynamics.PageFX.Core.IL; using DataDynamics.PageFX.Core.Translation.ControlFlow; using DataDynamics.PageFX.Core.Translation.ControlFlow.Services; namespace DataDynamics.PageFX.Core.Translation { internal static class ILMapDum...
36.525253
110
0.495852
[ "MIT" ]
GrapeCity/pagefx
source/libs/Core/Translation/ILMapDump.cs
3,616
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; namespace Horizon.Payment.Alipay.Request { /// <summary> /// alipay.commerce.transport.ad.stocktask.batchquery /// </summary> public class AlipayCommerceTransportAdStocktaskBatchqueryRequest : IAlipayRequest<AlipayCommerceTranspo...
23.032258
139
0.554272
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/AlipayCommerceTransportAdStocktaskBatchqueryRequest.cs
2,878
C#
public sealed class WeaponController : IExecutable, IMatchStateListener, ICleanable { private readonly IInputKeyPress _primary; private readonly IInputKeyPress _secondary; private readonly IInputKeyPress _melee; private readonly IInputKeyPress _singleFire; private readonly IInputKeyHold _autoFire; ...
27.184615
105
0.644312
[ "MIT" ]
OlekLolKek/gb0122
Assets/Code/Controllers/WeaponController.cs
3,536
C#