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
// Copyright 2009 Jeffrey Cameron // // 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.311111
90
0.701289
[ "ECL-2.0", "Apache-2.0" ]
KidFashion/concordion-net
Concordion/Internal/Listener/VerifyRowResultRenderer.cs
1,319
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Grpc.Core.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assem...
43.782609
81
0.747766
[ "BSD-3-Clause" ]
jonywtf/grpc
src/csharp/Grpc.Core.Tests/Properties/AssemblyInfo.cs
1,007
C#
using Models; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Flow.Helpers { public class FlowHelper { public static async Task<Customer> GetFlowOutput(string userId) ...
34.833333
319
0.522727
[ "MIT" ]
CurlyBytes/CognitiveRocket
Community/2019/DynamicsPowerSydney/Demos/Flow/Helpers/FlowHelper.cs
1,674
C#
using System; namespace ComputerStoreWeb.App.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.818182
70
0.678899
[ "MIT" ]
1902-feb18-net/william-project0
ComputerStore.ui/ComputerStoreWeb.App/Models/ErrorViewModel.cs
218
C#
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Copyright (c) 2011 Garrett Serack . All rights reserved. // </copyright> // <license> // The software is licensed under the Apache 2.0 License (the "License") // You may not use the sof...
37.666667
121
0.566372
[ "Apache-2.0" ]
fearthecowboy/coapp
toolkit/Win32/Winmm.cs
1,019
C#
using Mews.Fiscalization.Greece.Model.Types; using System; using System.Collections.Generic; using System.Linq; namespace Mews.Fiscalization.Greece.Model { public abstract class Invoice { public Invoice( LocalCompany issuer, InvoiceHeader header, IEnumerable<Revenue...
35.431373
94
0.66021
[ "MIT" ]
yurypat/fiscalization-greece
src/Mews.Fiscalization.Greece/Model/Invoice.cs
1,809
C#
namespace Telephony { public interface ICalling { string Calling(string phoneNumber); } }
15.714286
43
0.645455
[ "MIT" ]
NeikoGrozev/CSharpAdvanced
OOP/Exercises/08. Interfaces and Abstraction - Exercise/04.Telephony/ICalling.cs
112
C#
using System; /* * Для каких случайных экспериментов естественно считать исходы * равновероятными? * * Отметьте все подходящие. */ namespace step_3 { class Program { static void Main(string[] args) { Console.WriteLine("а) бросаем игральную кость (кубик)"); ...
19.857143
78
0.592326
[ "Unlicense" ]
tshemake/Software-Development
stepik/2911/46760/step_3/Program.cs
572
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> //--...
45.615385
153
0.623946
[ "Apache-2.0" ]
WagoL/ping-rep
MesOpc/MesOpc/Properties/Settings.Designer.cs
1,781
C#
using System.ComponentModel.DataAnnotations; namespace MisFinanzas.Api.Models { public class LoginModel { public string TenancyName { get; set; } [Required] public string UsernameOrEmailAddress { get; set; } [Required] public string Password { get; set; } } }
21
58
0.638095
[ "MIT" ]
jjairocj/MisFinanzas
MisFinanzas.WebApi/Api/Models/LoginModel.cs
317
C#
namespace Microsoft.Recognizers.Text.Sequence.English { public class MentionExtractor : BaseMentionExtractor { } }
18.285714
56
0.742188
[ "MIT" ]
7i77an/Recognizers-Text
.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/MentionExtractor.cs
130
C#
namespace MVP.App.Common { using Android.OS; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Ioc; using GalaSoft.MvvmLight.Messaging; using Microsoft.Practices.ServiceLocation; public abstract class BaseActivityViewModel : ViewModelBase { protected BaseActivityViewModel() ...
24.5
68
0.66876
[ "MIT" ]
jamesmcroft/MS-MVP-Apps
MVP.App.Droid/Common/BaseActivityViewModel.cs
637
C#
// <auto-generated /> namespace SistemaGestionRENI.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial ...
27.733333
97
0.627404
[ "MIT" ]
bleudchanel/ProyectoRENI
SistemaGestionRENI/Migrations/201808200516005_IndicadorValor.Designer.cs
832
C#
using OpenTK; namespace Minotaur.Graphics.Animation { public abstract class BoneAnimationControlerBase : IBoneAnimationController { public abstract bool TryGetBoneTransforms(int bone, out Vector3 translation, out Quaternion rotation, out Vector3 scale, out float blendWeight); public bool TryGetGoneTransf...
30.73913
148
0.745403
[ "MIT" ]
mlunnay/minotaur
minotaur/src/Graphics/Animation/BoneAnimationControlerBase.cs
709
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("Pdf...
37.72973
84
0.747135
[ "Apache-2.0" ]
DAVISOL-GmbH/PdfiumViewer
Pdfium.Windows/Properties/AssemblyInfo.cs
1,399
C#
using FootballTeams.Models; namespace FootballTeams.Services.Contracts { public interface IXmlService { void WriteTeamToXml(string fileName, Team team); Team ReadTeamFromXml(string fileName); } }
18.916667
56
0.713656
[ "MIT" ]
SimeonGerginov/Football-Teams
FootballTeams/FootballTeams/Services/Contracts/IXmlService.cs
229
C#
using Schedule.CronExpressionBuilder.Interface; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Schedule.CronExpressionBuilder { public class DaysOfWeekExpressionBuilder : CronExpressionBuilder, IDaysOfWeekExpressionBuilder { /// <summary>...
35.6
150
0.596827
[ "MIT" ]
quartzidea/cronexpression
src/DaysOfWeekExpressionBuilder.cs
3,026
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace Anagram.Models { [TestClass] public class ItemTest { // public void Dispose() // { // Word.ClearAll(); // } [TestMethod] public void ItemConstructor_CreatesInstanceOfItem_Item(...
25.86
119
0.664733
[ "MIT" ]
TanviCodeLife/anagram-csharp
Anagram.Tests/ModelTests/WordTests.cs
2,586
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Threading.Tasks; namespace AdaKioskService { internal class ApplicationLauncher { /// <summary> /// butbut: for some reason this is no...
38.57645
133
0.586515
[ "MIT" ]
microsoft/ada
AdaKioskService/ApplicationLauncher.cs
21,952
C#
using System; using System.Threading; using Xamarin.Forms; namespace TruthOrDareUI { /// <summary> /// A class that is used for timers. /// </summary> public class CustomTimer { private readonly TimeSpan _timeSpan; private readonly Action _action; private CancellationTokenS...
26.62963
92
0.529207
[ "MIT" ]
reiniellematt/TruthOrDare
TruthOrDareUI/TruthOrDareUI/CustomTimer.cs
1,440
C#
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- using System.Collections.Generic; using System.Runtime.Serialization; using HR.TA.Common.Talent...
38.810345
97
0.596624
[ "MIT" ]
QPC-database/msrecruit-scheduling-engine
common/HR.TA.CommonLibrary/HR.TA.Talent/TalentContracts/TalentMatch/JobMatch.cs
2,253
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LNF.PhysicalAccess { public enum zStatus { Unknown = 0, Active = 1, Disabled = 2, Lost = 3, Stolen = 4, Terminated = 5, Unaccounted = 6, Void = 7, ...
16.818182
33
0.532432
[ "MIT" ]
lurienanofab/lnf
LNF/PhysicalAccess/Status.cs
372
C#
using System; namespace Tfvc2Git.Core.Models.BranchIntegrity { [Serializable] public enum FileIntegrityIssueType { MissingInTfvc, MissingInGit, ContentMismatch, ShouldBeDeletedInGit } }
18.076923
46
0.668085
[ "MIT" ]
Fred-Jacobs/tfvc-2-git
src/Tfvc2Git.Core/Models/BranchIntegrity/FileIntegrityIssueType.cs
237
C#
using System.IO; using System.Linq; using KeyValueStore.Cmd.Exceptions; using KeyValueStore.Cmd.Interfaces; namespace KeyValueStore.Cmd.Commands { public class GetCommand : ICommand { private readonly IDictionaryDeserializer _deserializer; private readonly IConsole _console; private re...
27.486486
118
0.600787
[ "MIT" ]
jimtonn/kv
src/KeyValueStore.Cmd/Commands/GetCommand.cs
1,019
C#
using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpression...
23.630769
116
0.552083
[ "MIT" ]
tonchevaAleksandra/HackerRank-Problem-Solving
HackerRank/SalesByMatch/Program.cs
1,538
C#
// <auto-generated /> using System; using Aiursoft.Warpgate.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Aiursoft.Warpgate.Migrations { [DbContext(...
34.863636
125
0.519883
[ "MIT" ]
AiursoftWeb/Infrastructures
src/WebServices/Infrastructure/Warpgate/Migrations/WarpgateDbContextModelSnapshot.cs
3,070
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...
37.156863
149
0.655145
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/Model/Internal/MarshallTransformations/UpdateApnsChannelRequestMarshaller.cs
3,790
C#
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For ...
22.794872
87
0.542182
[ "MIT" ]
DavosLi0bnip/daranguizu
Others/Xceed.Wpf/Xceed.Wpf.DataGrid/Stats/StatResult.cs
891
C#
#region using statements using SolutionShipper.Objects; using System; using System.Collections.Generic; using XmlMirror.Runtime.Objects; using XmlMirror.Runtime.Util; using DataJuggler.Core.UltimateHelper; #endregion namespace SolutionShipper.Parsers { #region class ShipmentParser : ParserBaseClass /// <s...
31.519737
105
0.52536
[ "MIT" ]
DataJuggler/SolutionShipper
SolutionShipper/Parsers/ShipmentParser.custom.cs
4,791
C#
using System.ComponentModel; namespace MockHttp.Language.Flow; [EditorBrowsable(EditorBrowsableState.Never)] internal sealed class FallbackRequestSetupPhrase : SetupPhrase<IResponseResult, IThrowsResult>, IRespondsThrows, IFluentInterface { public FallbackRequestSetupPhrase(HttpCall setup) : base(setup) ...
25.692308
129
0.787425
[ "Apache-2.0" ]
swoog/MockHttp
src/MockHttp/Language/Flow/FallbackRequestSetupPhrase.cs
336
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....
42.880952
128
0.610217
[ "MIT" ]
sherikhanx/CPCApp
CPC/Model/CPCUnsortedCash.cs
1,801
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.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Microsoft.DotNet.UpgradeAssistant { public interface ITargetFrameworkMonikerComparer : ICompa...
52.375
153
0.693914
[ "MIT" ]
IEvangelist/upgrade-assistant
src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/ITargetFrameworkMonikerComparer.cs
1,678
C#
using DGP.Genshin.Common.Core.DependencyInjection; using DGP.Genshin.Common.Exceptions; using DGP.Genshin.Messages; using DGP.Genshin.MiHoYoAPI.Calculation; using DGP.Genshin.MiHoYoAPI.GameRole; using DGP.Genshin.Services.Abstratcions; using Microsoft.Toolkit.Mvvm.ComponentModel; using Microsoft.Toolkit.Mvvm.Input; us...
38.368421
135
0.604329
[ "MIT" ]
bo6682/Snap.Genshin
DGP.Genshin/ViewModels/PromotionCalculateViewModel.cs
6,591
C#
namespace Storyteller.Model { public enum Lifecycle { Acceptance, Regression, Any } }
13.444444
27
0.553719
[ "MIT" ]
storyteller/StorytellerVNext
csharp/Storyteller/Model/Lifecycle.cs
121
C#
namespace Authentication.Data.Classes { public class VendorMaster { } }
12.142857
38
0.670588
[ "MIT" ]
CatalinCaldararu/Blazor-Real-Estate-Project-Management
Data/Classes/VendorMaster.cs
87
C#
namespace MassTransit.Testing { using System; using Courier; using Courier.Factories; public static class ActivityTestHarnessExtensions { /// <summary> /// Creates an activity test harness /// </summary> /// <typeparam name="TActivity"></typeparam> ...
42.40625
144
0.59494
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/Testing/ActivityTestHarnessExtensions.cs
4,071
C#
using System; using System.Collections.Generic; using System.Text; using Urho; using Urho.Gui; using Urho.Urho2D; namespace MHUrho.UserInterface.MouseKeyboard { public class CursorTooltips : IDisposable { GameUI uiCtl; MHUrhoApp Game => MHUrhoApp.Instance; protected UI UI => Game.UI; protected Urho.I...
18.661017
55
0.690282
[ "MIT" ]
MK4H/MHUrho
MHUrho/MHUrho/UserInterface/MouseKeyboard/CursorTooltips.cs
1,103
C#
namespace OpenGLBindings { /// <summary> /// Not used directly. /// </summary> public enum ArbInvalidateSubdata { } }
14.2
36
0.577465
[ "MIT" ]
DeKaDeNcE/WoWDatabaseEditor
Rendering/OpenGLBindings/ArbInvalidateSubdata.cs
142
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...
31.519481
104
0.618459
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleEmailV2/Generated/Model/IspPlacement.cs
2,427
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("Ti...
37.486486
84
0.741889
[ "MIT" ]
IvelinMarinov/SoftUni
01. Programming Basics - Oct2016/3. Simple Conditions/14. Time+15/Properties/AssemblyInfo.cs
1,390
C#
using System; namespace KH2FM_Toolkit { internal class ConsoleProgress { private const int width = 80; private ConsoleColor _ColorBack; private ConsoleColor _ColorFore; private int _ConsoleTop; private double _Multiplier; private long _Total; public long ...
29.984733
123
0.426935
[ "MIT" ]
GovanifY/KH2FM_Toolk
Shared/ConsoleProgress.cs
3,930
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using Azure.Core; using Azure.ResourceManager.Compute.Models; namespace Azure.ResourceManager.Compute { /// <summary> A class representing the VirtualMachineScaleS...
74.697674
473
0.716843
[ "MIT" ]
v-kaifazhang/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmExtensionData.cs
6,424
C#
using Furion.DatabaseAccessor; using Furion.DependencyInjection; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Xuey.NET.Framework.Service { /// <summary> /// 用户角色服务 /// </summary> public class SysUserRoleService : ISys...
33.075269
131
0.589727
[ "MIT" ]
xueynet/XYP
src/backend/Xuey.NET.Framework/Service/User/SysUserRoleService.cs
3,274
C#
/* * Copyright 2010-2013 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...
37.494253
179
0.594114
[ "Apache-2.0" ]
zz0733/aws-sdk-net
AWSSDK_DotNet35/Amazon.ElasticLoadBalancing/Model/Internal/MarshallTransformations/PolicyTypeDescriptionUnmarshaller.cs
3,262
C#
namespace App03 { public class MyObj { public string Name { get; set; } } public class MyOptions { public string Option1 { get; set; } public string[] Option2 { get; set; } public MyObj[] MyObj { get; set; } } }
19.142857
45
0.537313
[ "MIT" ]
bigfont/asp-net-5-beginner
App03Options/MyOptions.cs
268
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Screens.Edit.Components.RadioButtons; namesp...
35.090909
100
0.509067
[ "MIT" ]
asd7766zxc/osu
osu.Game.Tests/Visual/Editor/TestCaseEditorComposeRadioButtons.cs
1,501
C#
using System; using System.Windows.Forms; namespace CalculatorGUI { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { Application.EnableVisualStyles...
23.789474
65
0.581858
[ "MIT" ]
darksv/calc
Calculator.GUI/Program.cs
454
C#
using System; using Modular.NET.Core.Tests.TestMaterials.Enums; using Xunit; namespace Modular.NET.Core.Tests.Helpers { public class EnumHelperTests { #region Methods [Fact] public void EnumHelper_GetDictionary() { var dic = EnumHelper.GetDictionary<EnumGender>(); ...
29.483871
90
0.528009
[ "MIT" ]
modular-net/Modular.NET
test/Modular.NET.Core.Tests/Helpers/EnumHelperTests.cs
4,572
C#
 #region → Usings . using System; using System.Linq; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Windows; using citPOINT.eNeg.Common; using citPOINT.eNeg.Data.Web; using System.ServiceModel.DomainServices.Client; #endregion #region → History . /* Date User ...
33.575296
152
0.439198
[ "MIT" ]
ivconsult/eNeg
citPOINT.eNeg.Client.Tests/MockManageUsers.cs
19,863
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
44.046154
106
0.65351
[ "Apache-2.0" ]
arcayi/Lean
Common/Orders/Fees/FxcmFeeModel.cs
2,863
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using OpenQA.Selenium.Appium.Windows; namespace UITests.UILibrary { public class EventsMode { WindowsDriver<WindowsElement> Session; p...
27.5625
102
0.664399
[ "MIT" ]
Microsoft/accessibility-insights-windows
src/UITests/UILibrary/EventsMode.cs
428
C#
#pragma checksum "C:\Users\qzwse\source\repos\YourSpaceMDB_4.2\YourSpace\Modules\FileUpload\ImageUpload.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b36c37312774a0f18a99528860a04de3edc03d58" // <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning d...
26.397143
194
0.789804
[ "MIT" ]
Invectys/Sites
YourSpaceMDB_4.2_Optimization/YourSpace/obj/Debug/netcoreapp3.1/win-x64/RazorDeclaration/Modules/FileUpload/ImageUpload.razor.g.cs
9,239
C#
using System.Threading; using CrawlerWave.Utils.IO; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; namespace CrawlerWave.Core.Configurations; internal static class Initialization { private const int MaxAttemptsCreateDriver = 10; public static (IWebDriver? driver, ChromeDriverService? service) Create(s...
27.586207
98
0.600625
[ "MIT" ]
afborgesDev/CrawlerWave
src/CrawlerWave.Core/Configurations/Initialization.cs
1,602
C#
using System; using MGR.CommandLineParser.Extensibility.Converters; using Xunit; namespace MGR.CommandLineParser.UnitTests.Extensibility.Converters { public class BooleanConverterTests { [Fact] public void TargetType() { // Arrange IConverter converter = new Boo...
29.179012
134
0.543262
[ "MIT" ]
mgrosperrin/commandlineparser
tests/MGR.CommandLineParser.UnitTests/Extensibility/Converters/BooleanConverterTests.cs
4,729
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace ArtmisNet.Ha90.Migrations { public partial class Upgraded_To_Abp_5_1_0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "UserNameOrEmai...
31.770833
71
0.523279
[ "MIT" ]
grandpa22/HA90
src/ArtmisNet.Ha90.EntityFrameworkCore/Migrations/20191216011543_Upgraded_To_Abp_5_1_0.cs
1,527
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("08...
37.864865
84
0.744468
[ "MIT" ]
V-Uzunov/Soft-Uni-Education
02.ProgrammingFundamentalsC#/05.MethodsAndDebuggingExercise/08.CenterPoint/Properties/AssemblyInfo.cs
1,404
C#
using StudentSystem.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace StudentSystem.Web.Controllers { public class HomeController : Controller { private IStudentSystemData data; public HomeController() { ...
20.45
67
0.57335
[ "MIT" ]
DimitarDKirov/Data-Bases
13. Entity Framework Code First/StudentSystem/StudentSystem.Web/Controllers/HomeController.cs
820
C#
/* * Copyright (c) Adam Chapweske * * Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE) */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DOM.HTML.Internal { /// <summary> /// Root of an HTML document. /// See the HTML...
22.714286
84
0.636268
[ "MIT" ]
achapweske/silvernote
SilverNote.DOM/HTML/Implementation/HTMLHtmlElementBase.cs
956
C#
using System.Windows; using System.Windows.Media.Media3D; namespace Surfaces { public abstract class Surface : ModelVisual3D { public static PropertyHolder<Material, Surface> MaterialProperty = new PropertyHolder<Material, Surface>("Material", null, OnMaterialChanged); public stati...
28.9375
102
0.604392
[ "MIT" ]
BogdanDimov/HQC-2-HW
Topics/02. Code-Tuning-and-Optimization/homework/Problem1. SolarSystem/Surface.cs
2,778
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Measure : MonoBehaviour { #region Unity Events void Awake() { var x = GetComponent<MeshRenderer>().bounds.extents.x; var z = GetComponent<MeshRenderer>().bounds.extents.z; Debug.Log(string....
22.647059
66
0.657143
[ "MIT" ]
kennebel/HexShip
Assets/B_Scripts/Support/Measure.cs
387
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FuelSDK; namespace objsamples { partial class Tester { static void TestET_ListSubscriber() { string NewListName = "CSharpSDKListSubscriber"; string SubscriberTestEmail = "CSharp...
56.007407
177
0.588679
[ "MIT" ]
Sandviksas/FuelSDK-CSharp
objsamples/Sample_List_Subscriber.cs
7,563
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace AssetImporter { public class LstLoader { public void Load(string sourceFileName, string destinationDirectory) { // This might not even be a real LST although it has .LST ...
47.113636
115
0.563917
[ "Apache-2.0" ]
asik/Settlers-2-Remake
src/AssetImporter/Loader/LstLoader.cs
2,075
C#
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
57.424779
149
0.665742
[ "MIT" ]
thelittlewozniak/getdelays.be
APIDelays/Areas/HelpPage/App_Start/HelpPageConfig.cs
6,489
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir & xuri 2021 // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
49.548387
217
0.769531
[ "MIT" ]
xuri02/SharpVk
src/SharpVk/Interop/Google/VkSwapchainKHRGetPastPresentationTimingDelegate.gen.cs
1,536
C#
// // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharePointPnP.ProvisioningApp.DomainModel { /// <summary> ...
24.363636
55
0.629353
[ "MIT" ]
GitTest12345679/sp-provisioning-service
SharePointPnP.ProvisioningApp/SharePointPnP.ProvisioningApp.DomainModel/Tenant.cs
806
C#
using CotorraNode.Common.Base.Schema; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using System.Text; namespace Cotorra.Schema { public static class MinimumSalaryExtension { public static MinimunSalary SetData(this Min...
24.806452
132
0.622237
[ "MIT" ]
CotorraProject/Cotorra
Cotorra.Schema/domain/MinimunSalary.cs
1,541
C#
// <copyright file="ElasticsearchClientInstrumentation.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
40.886792
160
0.719889
[ "Apache-2.0" ]
alexvaluyskiy/opentelemetry-dotnet-contrib
src/OpenTelemetry.Contrib.Instrumentation.Elasticsearch/ElasticsearchClientInstrumentation.cs
2,169
C#
using global::System; using NUnit.Framework; using NUnit.Framework.TUnit; using Tizen.NUI.Components; using Tizen.NUI.BaseComponents; namespace Tizen.NUI.Devel.Tests { using tlog = Tizen.Log; [TestFixture] [Description("public/WebView/WebView")] public class PublicWebViewTest { private co...
35.033608
181
0.554017
[ "Apache-2.0", "MIT" ]
JSUYA/TizenFX
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/WebView/TSWebView.cs
59,419
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using HraveMzdy.Procezor.Service.Interfaces; using HraveMzdy.Procezor.Payrolex.Registry.Constants; namespace HraveMzdy.Procezor.Payrolex.Registry.Providers { // PaymentBasis PAYMENT_BASIS publi...
30.885714
133
0.680851
[ "Unlicense" ]
mzdyhrave/payrollcs
proj/Procezor.Payrolex/Registry.Providers/SalaryResults.cs
1,083
C#
using System; using System.Data.Common; using System.IO; using System.Threading; using System.Threading.Tasks; using NServiceBus.Transport.SqlServerNative; public class ConsumingLoop { string connectionString = null!; async Task ConsumeLoop() { #region ConsumeLoop static async Task Callb...
27.924528
86
0.614189
[ "MIT" ]
gbiellem/NServiceBus.SqlNative
src/SqlServer.Native.Tests/Snippets/Main/ConsumingLoop.cs
1,482
C#
namespace PersonInfo { using System; using System.Collections.Generic; using System.Text; public interface IPerson { string Name { get; } int Age { get; } } }
14.428571
37
0.584158
[ "MIT" ]
deedeedextor/Software-University
C#Advanced/C#OOP/InterfacesAndAbstractionsLE/PersonsInfo/IPerson.cs
204
C#
// using System; // using System.Reflection; // using System.IO; // using System.Text; // readonly struct App // { // static Assembly EntryAssembly = typeof(App).Assembly; // static string[] ResourceNames() // => EntryAssembly.GetManifestResourceNames(); // static StringBuilder FormatBuffer() // ...
31.495495
81
0.51373
[ "BSD-3-Clause" ]
0xCM/z0
src/respack/app/App.cs
3,496
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Orleans; using GF.Common; using GF.Server; using Ps; public class CellConfig { //------------------------------------------------------------------------- SharpConfig...
31.987805
135
0.566908
[ "MIT" ]
corefan/Fishing
Server/Fishing.Grain/Main/CellConfig.cs
2,729
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Controls; namespace aoe3wpfg { public class Age3KeyboardFocusBorder : Button { public Age3KeyboardFocusBorder() { } } }
16.4
49
0.678862
[ "Unlicense" ]
tytannial/AOE3wpfg
aoe3wpfg/controls/Age3KeyboardFocusBorder.cs
248
C#
using Antlr4.Runtime; using Microsoft.Pc.TypeChecker.Types; namespace Microsoft.Pc.TypeChecker.AST.Expressions { public class MapAccessExpr : IPExpr { public MapAccessExpr(ParserRuleContext sourceLocation, IPExpr mapExpr, IPExpr indexExpr, PLanguageType type) { SourceLocation = sour...
27.086957
116
0.642055
[ "MIT" ]
cristicmf/P
Src/Pc/Compiler/TypeChecker/AST/Expressions/MapAccessExpr.cs
623
C#
using System; using Content.Client.Cooldown; using Content.Client.Items.Managers; using Content.Client.Stylesheets; using Robust.Client.GameObjects; using Robust.Client.Graphics; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Shared.GameObjects; using Robust.Shared.Input; u...
28.967914
111
0.554366
[ "MIT" ]
A-Box-12/space-station-14
Content.Client/Items/UI/ItemSlotButton.cs
5,419
C#
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ using System.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using NewRelic.Api.Agent; namespace AspNetCoreMvcAsyncApplication { public class CustomMiddleware { ...
22
60
0.635135
[ "Apache-2.0" ]
Faithlife/newrelic-dotnet-agent
tests/Agent/IntegrationTests/Applications/AspNetCoreMvcAsyncApplication/CustomMiddleware.cs
814
C#
using CleanArchitecture.Core.Entities; using CleanArchitecture.Core.Interfaces; using System.Linq; namespace CleanArchitecture.Core { public static class DatabasePopulator { public static int PopulateDatabase(IRepository todoRepository) { if (todoRepository.List<ToDoItem>().Count()...
31.636364
113
0.574713
[ "MIT" ]
C0d3Freek/CleanArchitecture
src/CleanArchitecture.Core/DatabasePopulator.cs
1,046
C#
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace BackgroundTask { public class BackgroundPrinter : IHostedService { private readonly ILogger<Backgro...
25.333333
83
0.67823
[ "MIT" ]
dmb-dev87/asp.net-tutorial
BackgroundTask/BackgroundTask/BackgroundPrinter.cs
838
C#
using Chloe.Descriptors; using Chloe.Exceptions; using Chloe.Infrastructure; using Chloe.Mapper; using Chloe.Mapper.Activators; using Chloe.Mapper.Binders; using Chloe.Reflection; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Chloe.Query.Mapping { public cla...
45.793939
160
0.65577
[ "MIT" ]
johnnyleecn/Chloe
src/Chloe/Query/Mapping/ComplexObjectActivatorCreator.cs
7,606
C#
using System; using System.Collections.Generic; namespace ServiceStack.CacheAccess { /// <summary> /// A common interface implementation that is implemented by most cache providers /// </summary> public interface ICacheClient : IDisposable { /// <summary> /// Removes the specified item from the...
40.06087
272
0.655958
[ "BSD-3-Clause" ]
GSerjo/ServiceStack
src/ServiceStack.Interfaces/CacheAccess/ICacheClient.cs
4,493
C#
/* * Copyright (c) 2018 Algolia * http://www.algolia.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 * in the Software without restriction, including without limitation the rights * to use, copy, modify...
36.615385
79
0.72619
[ "MIT" ]
DrLeh/algoliasearch-client-csharp
src/Algolia.Search/Models/Common/CopyToResponse.cs
1,428
C#
using System.Threading; using System.Threading.Tasks; using Audiochan.API.Extensions; using Audiochan.API.Models; using Audiochan.Core.Extensions; using Audiochan.Core.Services; using Audiochan.Core.Users.Commands; using Audiochan.Core.Users.Queries; using MediatR; using Microsoft.AspNetCore.Authorization; using Micro...
38.19802
115
0.625194
[ "MIT" ]
nollidnosnhoj/Audiochan_old
src/api/src/Audiochan.API/Controllers/Me/FavoriteAudiosController.cs
3,860
C#
// MIT License // Original work Copyright (c) 2019 InnoGames GmbH // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation the rights to use, cop...
45.472222
177
0.724496
[ "MIT" ]
nmacadam/Oni
Editor/Tools & Windows/Project Window Extensions/GuidDetail.cs
1,637
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; namespace Roslynator { /// <summary> /// Represents consecutive sequence of selected items in a collection. /// </s...
26.764706
156
0.565934
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Core/ISelection`1.cs
912
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.972603
149
0.655798
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/ElasticBeanstalk/Generated/Model/Internal/MarshallTransformations/CreateApplicationRequestMarshaller.cs
2,699
C#
using System; namespace CoCSharp.Network.Cryptography { /// <summary> /// Implements method to encrypt or decrypt network traffic of the Clash of Clan protocol /// version 7.x.x. This was ported from Clash of Clans Documentation Project(https://github.com/clanner/cocdp/blob/master/cocutils.py) /// by ...
31.770548
138
0.448421
[ "MIT" ]
FICTURE7/CoCSharp
src/CoCSharp/Network/Cryptography/Crypto7.cs
9,279
C#
//////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by Philippe Leefsma 2012 - ADN/Developer Technical Services // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and ...
28.174216
104
0.645808
[ "MIT" ]
ADN-DevTech/MaterialProfiler
MaterialProfiler/ListViewEx.cs
8,086
C#
namespace Facebook.ApiClient.Entities.Enumerations { /// <summary> /// The effective status of the ad set, which can be either its own status or caused by its parent campaign. /// </summary> public enum AdsetEffectiveStatus { /// <summary> /// ACTIVE /// </summary> A...
19.114754
112
0.457118
[ "MIT" ]
ketanjawahire/FacebookClient.Entities
Facebook.ApiClient.Entities/Enumerations/AdsetEffectiveStatus.cs
1,168
C#
using System; using System.Collections.Generic; using System.Text; namespace EquationSolver { public class ExceptionEventArgs: EventArgs { public Exception Exception { get; set; } public ExceptionEventArgs(Exception ex) { Exception = ex; } } }
17.823529
48
0.633663
[ "MIT" ]
JeffBramlett/EquationSolvr
EquationSolver/EquationSolver/ExceptionEventArgs.cs
305
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // namespace Test { using System; class AA { static int Main() { bool b = true; do { try ...
22.055556
71
0.329975
[ "MIT" ]
belav/runtime
src/tests/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b48864/b48864.cs
794
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client202010 { using Models; using System.Threading; using System.Threading.Tasks; /// <summ...
38.532258
199
0.567183
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated202010/AccountExtensions.cs
2,389
C#
using System; using System.ComponentModel.DataAnnotations; namespace Barista.Api.Dto { public class AuthenticationMeansDto { [Required] public string Type { get; set; } public string Label { get; set; } public DateTimeOffset ValidSince { get; set; } = DateTimeOffset.UtcNow; ...
21.333333
79
0.653646
[ "MIT" ]
nesfit/Coffee
Barista.Api/Dto/AuthenticationMeansDto.cs
386
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.808612
183
0.625757
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ManagedAppRegistrationOperationsCollectionRequest.cs
9,574
C#
// This example illustrates the manipulation of C++ references in C#. using System; public class runme { public static void Main() { Console.WriteLine( "Creating some objects:" ); Vector a = new Vector(3,4,5); Vector b = new Vector(10,11,12); Console.WriteLine( " Created " + a.print() );...
33.364865
94
0.601863
[ "Apache-2.0" ]
Arun-Yuvaraj/Pose-Estimation
swigwin-4.0.1/swigwin-4.0.1/Examples/csharp/reference/runme.cs
2,469
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 Y...
41.847222
129
0.596747
[ "Apache-2.0" ]
0xAAE/npoi
testcases/main/HSSF/Record/TestObjRecord.cs
6,026
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Build.Framework; using NuGet.Common; using NuGet.ProjectModel; namespace Microsoft.NET.Build.Tas...
30.253968
134
0.615425
[ "MIT" ]
333fred/dotnet-sdk
src/Tasks/Microsoft.NET.Build.Tasks/LockFileCache.cs
1,908
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using Dbg = System.Management.Automation.Diagnostics; using System.Runtime.Serialization; using System.Collections.G...
39.357143
141
0.617273
[ "Apache-2.0", "MIT" ]
adbertram/PowerShell
src/System.Management.Automation/engine/InformationRecord.cs
9,367
C#
using System; using System.Collections.Generic; using System.Text; namespace MatBlazor.DevUtils { public class Config { public static Config GetConfig() { return new Config(); } public string Path { get { return System.IO.Path.GetFullPath(_path...
22.5
65
0.575
[ "MIT" ]
CSOleson/MatBlazor
src/MatBlazor.DevUtils/Config.cs
722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; namespace Ordering.Application.Behaviors { public class UnhandledExceptionBehaviour<TRequest, TResponse> : IPipelineBehavio...
29.945946
133
0.637184
[ "MIT" ]
bgani/dotnet-microservices
src/Services/Ordering/Ordering.Application/Behaviors/UnhandledExceptionBehavior.cs
1,110
C#