content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Runtime.InteropServices; using ManagedShell.Common.Enums; namespace ManagedShell.Common.Interfaces { [ComImport, Guid("6584CE6B-7D82-49C2-89C9-C6BC02BA8C38"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IAppVisibilityEvents { long AppVisibilityO...
31
114
0.734767
[ "Apache-2.0" ]
cairoshell/ManagedShell
src/ManagedShell.Common/Interfaces/IAppVisibilityEvents.cs
560
C#
using NUnit.Framework; using XFS = System.IO.Abstractions.TestingHelpers.MockUnixSupport; namespace System.IO.Abstractions.TestingHelpers.Tests { [TestFixture] public class MockFileSystemWatcherFactoryTests { [Test] public void MockFileSystemWatcherFactory_CreateNew_ShouldThrowNotImplement...
32.92
95
0.678007
[ "MIT" ]
BADF00D/System.IO.Abstractions
System.IO.Abstractions.TestingHelpers.Tests/MockFileSystemWatcherFactoryTests.cs
825
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; namespace QEthics { public class RecipeWorker_GenomeSequencing : RecipeWorker { public override IEnumerable<BodyPartRecord> GetPartsToApplyOn(Pawn pawn, RecipeDef recipe) { ...
31.84375
130
0.64475
[ "MIT" ]
Danikuh/QuestionableEthicsEnhanced
QEE/Workers/RecipeWorker_GenomeSequencing.cs
1,021
C#
using RexConnectClient.Core; using RexConnectClient.Core.Result; using RexConnectClient.Core.Transfer; namespace RexConnectClient.Test.Common { /*================================================================================================*/ public class TestResponseResult : ResponseResult { ///////////////...
36.25
101
0.335632
[ "Apache-2.0" ]
inthefabric/RexConnectClient
Solution/RexConnectClient.Test/Common/TestResponseResult.cs
872
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("Amazon Kinesis Client Library .NET")] [assembly: AssemblyDescription("Amazon Kinesis Client Libra...
43.290323
104
0.763785
[ "MIT" ]
ciaranodonnell/KinesisDotNet
Code/Amazon/ClientLibrary/Properties/AssemblyInfo.cs
1,344
C#
using System.Text.Encodings.Web; using System.Threading.Tasks; using Fluid; using Fluid.Values; namespace OrchardCore.Liquid.Filters { public class LiquidFilter : ILiquidFilter { private readonly ILiquidTemplateManager _liquidTemplateManager; private readonly HtmlEncoder _htmlEncoder; ...
32.923077
121
0.71729
[ "BSD-3-Clause" ]
3bit/OrchardCore
src/OrchardCore.Modules/OrchardCore.Liquid/Filters/LiquidFilter.cs
856
C#
namespace MeasurementUnitsManagement.Models.Entities { public class FormularizedUnitModel : BaseUnit { public string FormulatedFromTheBaseUnit { get; set; } public string FormulatedToTheBaseUnit { get; set; } } }
30.5
63
0.709016
[ "MIT" ]
omidhosseini/MeasurementUnitsManagement
MeasurementUnitsManagement.Models/Entities/FormularizedUnitModel.cs
244
C#
using Augury.Lucene; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Augury.Test.Serialization { [TestClass] public class SpellCheckSerializationTest : SerializationTestBase<SpellCheck> { protected override SpellCheck CreateInstance() { const string files = @"..\....
28.875
88
0.690476
[ "MIT", "Unlicense" ]
jeanbern/Augury
Augury.Tests/Serialization/SpellCheckSerializationTest.cs
464
C#
using FluentMigrator; using Ridics.Authentication.Database.Migrations.TagTypes; using Ridics.DatabaseMigrator.Shared.TagsAttributes; namespace Ridics.Authentication.Database.Migrations.Migrations.Authentication { [DatabaseTags(DatabaseTagTypes.VokabularAuthDB)] [MigrationTypeTags(MigrationTypeTagTypes.Structu...
56.042857
145
0.704563
[ "BSD-3-Clause" ]
RIDICS/Authentication
Solution/Ridics.Authentication.Database.Migrations/Migrations/Authentication/M_059_ResourcePermissionActions.cs
3,925
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
37.402439
227
0.637757
[ "MIT" ]
AnanyShah/azure-sdk-for-net
src/SDKs/ContainerRegistry/Management.ContainerRegistry/Generated/Models/EncodedTaskStepUpdateParameters.cs
3,067
C#
using CodeModel.Graphs; using CodeModel.RuleEngine; using CodeModel.Symbols; namespace CodeModel.Rules { public class UsesDateTimeNowViolation : Violation, IViolationWithSourceLocation, INodeViolation { public SourceLocation? SourceLocation { get; private set; } public Node Node { get; private ...
28.777778
99
0.69112
[ "Apache-2.0" ]
Novakov/HighLevelCodeAnalysis
src/CodeModel/Rules/UsesDateTimeNowViolation.cs
518
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
36.267857
489
0.599212
[ "MIT" ]
DiogenesPolanco/azure-sdk-for-net
src/ResourceManagement/WebSites/Microsoft.Azure.Management.Websites/Generated/Models/ResourceMetric.cs
4,062
C#
// Copyright (c) Microsoft Corporation. All Rights Reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; namespace Datasync.Common.Test.Models { /// <summary> /// Deserialize everything into the Data object....
25.15
61
0.703777
[ "MIT" ]
fileman/azure-mobile-apps
sdk/dotnet/test/Datasync.Common.Test/Models/ClientObject.cs
505
C#
using System; using Android.Runtime; using Android.Webkit; namespace QuilljsCross.Android.Quilljs { public class ValueCallback : Java.Lang.Object, IValueCallback { private readonly Action<string> _callback; public ValueCallback(Action<string> callback) { _callback ...
22.392857
82
0.62201
[ "MIT" ]
MrClockOff/QuilljsCross
QuilljsCross.Android/Quilljs/ValueCallback.cs
629
C#
// ====================================================================== // // filename : ExportTestData.cs // description : // // created by 雪雁 at 2019-11-05 20:02 // 文档官网:https://docs.xin-lai.com // 公众号教程:麦扣聊技术 // QQ群:85318032(编程交流) // Blog:ht...
29.222222
78
0.489544
[ "MIT" ]
JacksonWang2016/Magicodes.IE
src/Magicodes.ExporterAndImporter.Tests/Models/Export/ExportTestData.cs
1,164
C#
/* * NiFi Rest Api * * The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ...
38.212903
478
0.550734
[ "Apache-2.0" ]
mendonca-andre/NiFi.Swagger
NiFi.Swagger/Model/LineageResultsDTO.cs
5,923
C#
using CssTemplatesForFree.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace CssTemplatesForFree.Controllers { public class CsstemplatesController : ApiController { DBContext db = new DBContext(); ...
25.770492
135
0.548346
[ "BSD-2-Clause" ]
victorantos/css-templates-website
Controllers/CsstemplatesController.cs
1,574
C#
using JetBrains.Annotations; using System; using System.Data; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace CK.Sprite.Framework { public interface IDomainService : ITransientDependency { } }
19.466667
58
0.787671
[ "MIT" ]
kuangqifu/CK.Sprite.Job
01_framework/CK.Sprite/CK.Sprite.Framework/Domain/IDomainService.cs
294
C#
/** * Copyright 2015 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...
49.865385
371
0.741998
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_04_02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_02/Interaction/MedicationProfileDetailQueryResponse.cs
2,593
C#
namespace AppCalculadora2 { partial class FrmCalculadora { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se estén usando. /// </su...
43.322581
122
0.573556
[ "MIT" ]
remendozag/Plataformas2022-2
AppCalculadora2/AppCalculadora2/Form1.Designer.cs
9,413
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using ICSharpCode.PackageManagement; using ICSharpCode.PackageManagement.Desig...
33.340426
114
0.804084
[ "MIT" ]
denza/SharpDevelop
src/AddIns/Misc/PackageManagement/Test/Src/Helpers/FakePackageManagementProjectFactory.cs
1,569
C#
/**** * PMSM calculation - automate PMSM design process * Created 2016 by Ngo Phuong Le * https://github.com/lehn85/pmsm_calculation * All files are provided under the MIT license. ****/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using MathNet.Numerics.LinearAlgebra; us...
38.163636
178
0.518628
[ "MIT" ]
lehn85/pmsm_calculation
PMSM_calculation/motor/PMMotor/PMAnalyticalAnalyser.cs
10,497
C#
// War College - Copyright (c) 2017 James Allred (wildj79 at gmail dot 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 right...
38.911392
134
0.520982
[ "MIT" ]
wildj79/WarCollege
src/WarCollege.Tests/CharacterTests.cs
12,298
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace lab_60_asp_northwind { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource...
24.5
99
0.593537
[ "MIT" ]
jaspreetkaur28/CSharpLabsTraining
lab_60_asp_northwind/App_Start/RouteConfig.cs
590
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
37.902108
164
0.550125
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/CompareGreaterThanOrEqualScalar.Vector64.Single.cs
25,167
C#
namespace RiotSharp.LeagueEndpoint { /// <summary> /// Tier of the league (League API). /// </summary> public enum Tier { /// <summary> /// Master tier. /// </summary> Master, /// <summary> /// Challenger tier. /// </summary> Challeng...
17.571429
40
0.38676
[ "MIT" ]
TRangeman/RSharp
RiotSharp/LeagueEndpoint/Converters/Tier.cs
863
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.Reflection; /// <summary> /// This attribute can only be applied to fields because its /// associated PropertyDrawer only operates on fields (either /// public or tagged with the [SerializeField] attribute) in /// the target MonoBehaviour. ///...
33.271186
173
0.782476
[ "MIT" ]
morbidintel/WebCity
Assets/Imported/Helper Classes/InspectorButtonAttribute.cs
1,965
C#
// // Copyright (c) Seal Report (sealreport@gmail.com), http://www.sealreport.org. // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0.. // using System; using System.Collections.Generic; using Sy...
39.584642
452
0.526872
[ "Apache-2.0" ]
Superdrug-innovation/Seal-Report
Projects/SealLibraryWin/Model/MetaTable.cs
45,366
C#
using System; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; // ReSharper disable once CheckNamespace namespace NKnife.Win.Forms { public sealed partial class Api { /// <summary> /// 面向C#使用API的封装:对User32.dll的封装 /// </summary> public class U...
40.175258
207
0.509073
[ "MIT" ]
xknife-erian/nknife
NKnife.Win.Forms/API/API.User32.cs
65,312
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
30.305085
104
0.642617
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Layout/Basic/View/WinForms/DisplaySetCreationConfigurationComponentView.cs
1,788
C#
using Lab.EventSourcing.Core; using System; using Xunit; namespace Lab.EventSourcing.Inventory.Test { public class EventStoreCase { [Fact] public void Should_Persist_Events() { var eventStore = EventStore.Create(); Inventory inventory = Inventory.Create(); ...
32.166667
91
0.614277
[ "Unlicense" ]
wsantosdev/lab-eventsourcing-parte-3
Lab.EventSourcing.Inventory.Test/EventStoreCase.cs
1,739
C#
using System; namespace Mobet.Auditing.Attributes { /// <summary> /// This attribute is used to apply audit logging for a single method or /// all methods of a class or interface. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] public class AuditedAttribute : ...
23
76
0.681159
[ "Apache-2.0" ]
Mobet/mobet
Mobet-Net/Mobet.Auditing/Attributes/AuditedAttribute.cs
347
C#
using System.Runtime.Serialization; namespace EncompassRest.Loans.RateLocks { /// <summary> /// RateStatus /// </summary> public enum RateStatus { /// <summary> /// Not Locked /// </summary> [EnumMember(Value = "notLocked")] NotLocked = 0, /// <summa...
22.225806
41
0.470247
[ "MIT" ]
EncompassRest/EncompassREST
src/EncompassRest/Loans/RateLocks/RateStatus.cs
691
C#
using PnP.Core.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; namespace PnP.Core.Model.SharePoint { internal sealed class SyntexModel : ISyntexModel { #region Properties public IListItem...
52.957377
244
0.637981
[ "MIT" ]
MathijsVerbeeck/pnpcore
src/sdk/PnP.Core/Model/SharePoint/Syntex/Internal/SyntexModel.cs
48,458
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace xdef.net.Utils { public static class BigEndianBitConverter { public static byte[] GetBytes(bool value) { return BitConverter.GetBytes(value).Reverse().ToArray(); } public...
35.214953
75
0.580414
[ "Apache-2.0" ]
adameste/xdef.net
xdef.net/xdef.net/Utils/BigEndianBitConverter.cs
3,770
C#
using System; using System.Diagnostics; using WindowsDesktop.Interop; namespace WindowsDesktop { public static class VirtualDesktopHelper { internal static void ThrowIfNotSupported() { if (!VirtualDesktop.IsSupported) { throw new NotSupportedException("Need to include the app manifest in y...
24.429487
145
0.670428
[ "MIT" ]
nathannelson97/VirtualDesktopGridSwitcher
VirtualDesktop-master/source/VirtualDesktop/VirtualDesktopHelper.cs
3,813
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// MybankCreditProdarrangementContracttextQueryModel Data Structure. /// </summary> [Serializable] public class MybankCreditProdarrangementContracttextQueryMode...
29.828571
105
0.625479
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankCreditProdarrangementContracttextQueryModel.cs
1,242
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.IO; using System.Text; using Microsoft.CodeAnalysis.Scripting.Hosting; namespace Microsoft.CodeAnalysis.Scripting.Test { inte...
26.895238
161
0.493626
[ "Apache-2.0" ]
aanshibudhiraja/Roslyn
src/Scripting/CoreTest/TestConsoleIO.cs
2,828
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleCalculator { public interface IOperationData { Char Symbol { get; } } }
15.428571
33
0.75
[ "MIT" ]
kenwilcox/SimpleCalculator
SimpleCalculator/Interfaces/IOperationData.cs
218
C#
using Windows.UI.Xaml; namespace TrackMe.WinPhoneUniversalNative.Converters { public sealed class BooleanToVisibilityConverter : BooleanConverter<Visibility> { public BooleanToVisibilityConverter() : base(Visibility.Visible, Visibility.Collapsed) { } } }
26.909091
83
0.716216
[ "MIT" ]
PGSSoft/TrackMe-Mobile
TrackMe.WinPhoneUniversalNative/Converters/BooleanToVisibilityConverter.cs
298
C#
using System; using System.Collections.Generic; using System.Linq; using EIva.Algorithms.Utils; using Tree; namespace Trae { /// <summary> /// Lexical frequency counter tree. /// </summary> public class Trae<TChar> : ITree<TChar, uint> where TChar : IEquatable<TChar>, IComparable<TChar>...
27.904762
104
0.533276
[ "MIT" ]
eiva/Algorithms
EIva.Algorithms/Trae/Contract.cs
1,174
C#
namespace RSToolkit.UI.Controls { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using RSToolkit.Controls; using UnityEngine.Events; [RequireComponent(typeof(Text))] public class UICountDownText : CountDown { ...
26
57
0.575855
[ "MIT" ]
richardschembri/UnityRSToolk
UnityRSToolkit/Assets/RSToolKit/Scripts/UI/Controls/UICountDownText.cs
938
C#
using System.Text; using Exceptionless.Core.Models.Data; using Newtonsoft.Json; namespace Exceptionless.Core.Extensions; public static class RequestInfoExtensions { public static RequestInfo ApplyDataExclusions(this RequestInfo request, IList<string> exclusions, int maxLength = 1000) { if (request == nul...
36.184466
157
0.611215
[ "Apache-2.0" ]
491134648/Exceptionless
src/Exceptionless.Core/Extensions/RequestInfoExtensions.cs
3,729
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.Linq; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Fram...
36.97931
160
0.504196
[ "MIT" ]
BananeVolante/osu
osu.Game/Overlays/Chat/ChatLine.cs
10,437
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("Sal...
37.611111
84
0.750369
[ "MIT" ]
AngelloLuis/GamarraWasi
Sales.Backend/Properties/AssemblyInfo.cs
1,357
C#
namespace TelegramClient.Core.Network.Exceptions { using System; internal abstract class DataCenterMigrationException : Exception { private const string ReportMessage = " See: https://github.com/sochix/TLSharp#i-get-a-xxxmigrationexception-or-a-migrate_x-error"; intern...
28.823529
106
0.628571
[ "MIT" ]
vik-borisov/TelegramClient
src/TelegramClient.Core/Network/Exceptions/DataCenterMigrationException.cs
490
C#
using CommunityToolkit.Mvvm.ComponentModel; using System.Collections.ObjectModel; using TagsTree.Commands; using TagsTree.Views; namespace TagsTree.ViewModels; public partial class FileImporterViewModel : ObservableObject { public FileImporterViewModel(FileImporterPage page) { Import = new RelayComma...
34.783784
105
0.651904
[ "MIT" ]
Poker-sang/TagsTree
TagsTree/ViewModels/FileImporterViewModel.cs
1,289
C#
using System; class SquareOfANumber { static void Main() { string decorationLine = new string('-', 80); Console.Write(decorationLine); Console.WriteLine("***Printing the square of the number 12345***"); Console.Write(decorationLine); Console.WriteLine("The square of {0}...
24.2
77
0.614325
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
C# Projects/Homework-IntroductionToProgramming/8. SquareOfANumber/SquareOfANumber.cs
365
C#
/* * This filePath is part of AceQL C# Client SDK. * AceQL C# Client SDK: Remote SQL access over HTTP with AceQL HTTP. * Copyright (C) 2021, KawanSoft SAS * (http://www.kawansoft.com). All rights reserved. * ...
45.304762
115
0.526592
[ "Apache-2.0" ]
kawansoft/AceQL.Client2
AceQL.Client.Tests2/test/Dml.Blob/SqlBlobSelectTest.cs
4,759
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Prime; using Prime.Models...
41.426173
1,687
0.489925
[ "Apache-2.0" ]
WadeBarnes/moh-prime
prime-dotnet-webapi/Migrations/20210715213428_CreateClientLogModels.Designer.cs
694,497
C#
#pragma checksum "C:\Users\Yusuf\source\repos\Come\Come\Areas\Identity\Pages\Account\Manage\ResetAuthenticator.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4aefd4ae22f0d15fda4517e69e24cd9eb891864a" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompi...
65.664773
360
0.760838
[ "Apache-2.0" ]
cemre-2187/Come
Come/obj/Debug/netcoreapp3.1/win-x86/Razor/Areas/Identity/Pages/Account/Manage/ResetAuthenticator.cshtml.g.cs
11,557
C#
#region LICENSE // The contents of this file are subject to the Common Public Attribution // License Version 1.0. (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // https://github.com/NiclasOlofsson/MiNET/blob/master/LICENSE. // The License ...
25.909091
149
0.686184
[ "MPL-2.0" ]
TruDan/MiNET
src/MiNET/MiNET/Blocks/Bed.cs
4,560
C#
using System.Collections; using System.Collections.Generic; using System; using u3dExtensions.IOC; namespace u3dExtensions.Engine.Runtime { public class BindingProviderAttribute : System.Attribute { public object Name = InnerBindingNames.Empty; public int DependencyCount = 0; public object[] DependencieNames ...
20.235294
57
0.781977
[ "MIT" ]
MarcoNacao/u3dframeworkExtension
UnityProject/Assets/u3dFrameworkExtensions/Runtime/Binding/Attributes/BindingProvider.cs
346
C#
using SoulsFormats; using System; using System.Linq; using System.Windows.Forms; namespace TAEDX.TaeEditor { public partial class TaeInspectorWinFormsControl : UserControl { public event EventHandler<EventArgs> TaeEventValueChanged; protected virtual void OnTaeEventValueChanged(Event...
39.133333
207
0.434777
[ "MIT" ]
katalash/TAE-DX
TAEDX/TaeEditor/TaeInspectorWinFormsControl.cs
16,438
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace WeatherAPI.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it with ...
42.745614
261
0.55315
[ "MIT" ]
HenkeHulk/WeatherApi
WeatherAPI/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,492
C#
using System.Threading.Tasks; using Twitch.Net.Models; using Twitch.Net.Models.Responses; namespace Twitch.Net.Interfaces { public interface IStreamActions { /// <summary> /// Get streams /// </summary> /// <param name="first">Amount of streams. Limit: 100</param> /// ...
52.309091
182
0.64025
[ "MIT" ]
Cryma/Twitch.Net
Twitch.Net/Interfaces/IStreamActions.cs
2,879
C#
using BusterWood.Testing; using System.Threading.Tasks; namespace BusterWood.Caching { public class AsyncReadThroughCacheTests { public static async Task can_read_item_from_underlying_cache(Test t) { foreach (var key in new[] { 1, 2 }) { var cache = new ...
32.8125
96
0.507937
[ "Apache-2.0" ]
SammyEnigma/Goodies
TestingTests/Caching/AsyncReadThroughCacheTests.cs
1,577
C#
/***************************************************************************** * * ReoGrid - .NET 表計算スプレッドシートコンポーネント * https://reogrid.net/jp * * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 * * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 * 著作権者は補償を含むあらゆる責任を負いません。 * * Copyright (c) 2012-2016 unvell.com,...
32.557971
127
0.665257
[ "MIT" ]
burstray/ReoGrid
!ReoGrid-3.0.0/DemoJP/Worksheet/ZoomDemo.Designer.cs
4,743
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace InstantMessagingServerApp.Hubs { public class ConnectionMapping<T> { private readonly Dictionary<T, HashSet<string>> _connections = new Dictionary<T, HashSet<string>>(); public int Count...
26.211268
70
0.471789
[ "MIT-0" ]
andrew-sakaylyuk/Messenger
Server/InstantMessagingServerApp/Hubs/ConnectionMapping.cs
1,863
C#
using System; using System.Runtime.InteropServices; class MidiFighterTwister { #if (UNITY_STANDALONE_WIN && UNITY_64) || (UNITY_EDITOR_WIN && UNITY_64) || WIN64 [DllImport("MidiFighterTwister64.dll", EntryPoint = "mftStart")] public static extern byte mftStart(); [DllImport("MidiFighterTwister64.dll", En...
33.531469
101
0.714911
[ "MIT" ]
yoggy/MidiFighterTwister
VisualStudio/src/testMainCSharp/MidiFighterTwister/MidiFighterTwister.cs
4,797
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("Do...
37.5
84
0.747451
[ "Apache-2.0" ]
AMBULATUR/dotvvm-contrib
Controls/BootstrapColorpicker/src/DotVVM.Contrib/Properties/AssemblyInfo.cs
1,278
C#
using System; using System.Collections.Generic; using Eto.Drawing; using Eto.Forms; namespace XenForms.Toolbox.UI.Shell { public class ButtonMenuList : Panel { public Image Image { get; set; } private readonly ContextMenu _menu = new ContextMenu(); protected override void OnPreLoad(E...
21.597403
82
0.497294
[ "MIT" ]
DevChive/XenForms
Source/Toolbox/UI/Shell/ButtonMenuList.cs
1,665
C#
using System; using System.Linq; using System.Threading.Tasks; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.System; using Windows.UI.Core; using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Med...
34.375
123
0.505072
[ "MIT" ]
VladislavAntonyuk/userdialogs
src/Acr.UserDialogs/Platforms/Uwp/UserDialogsImpl.cs
15,677
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using GalaSoft.MvvmLight; namespace CoreDemoApp { /// <summary> /// See <a href="https://www.codeproject.com/Tips/876349/WPF-Validation-using-INotifyDataErrorInfo">this l...
26.969697
122
0.668914
[ "MIT" ]
ariksman/CoreDemoApp
CoreDemoApp/ModelBase.cs
2,672
C#
using System.Threading.Tasks; using CreativeCoders.Git.Abstractions; namespace CreativeCoders.GitTool.Base; public interface IGitServiceProviderFactory { Task<IGitServiceProvider> CreateProviderAsync(IGitRepository gitRepository); bool IsResponsibleFor(IGitRepository gitRepository); string ProviderName...
25.461538
80
0.818731
[ "Apache-2.0" ]
CreativeCodersTeam/GitTools
source/GitTool/CreativeCoders.GitTool.Base/IGitServiceProviderFactory.cs
333
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.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using Moq; using Avalonia.Controls; using Avalonia.Styling; usi...
29.546053
104
0.55177
[ "MIT" ]
HendrikMennen/Avalonia
tests/Avalonia.Styling.UnitTests/SelectorTests_Class.cs
4,491
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Abp.Authorization; using Abp.Authorization.Users; using Abp.MultiTenancy; usin...
40.871795
171
0.603095
[ "MIT" ]
dystudio/SuperRocket.AspNetCoreVue
aspnet-core/src/SuperRocket.AspNetCoreVue.Web.Core/Controllers/TokenAuthController.cs
9,566
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
26.202952
139
0.619772
[ "MIT" ]
saludnqn/Empadronamiento
DalSic/generated/GuardiaPracticasEstado.cs
7,101
C#
using GSU.Museum.CommonClassLibrary.Models; using GSU.Museum.Web.Interfaces; using GSU.Museum.Web.Models; using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.GridFS; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PhotoInfo = GSU.Museum.Web.Models.Photo...
38.355828
152
0.516155
[ "MIT" ]
Neroz1x/GSU.Museum
GSU.Museum.Web/Repositories/ExhibitsRepository.cs
6,254
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.ARMv8A32.Instructions { /// <summary> /// Pop - Pop multiple registers off the stack /// </summary> /// <seealso cref="Mosa.Platform.ARMv8...
24.16129
74
0.716956
[ "BSD-3-Clause" ]
marcelocaetano/MOSA-Project
Source/Mosa.Platform.ARMv8A32/Instructions/Pop.cs
749
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"); you ...
26.798165
134
0.679219
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-dms-enterprise/Dms_enterprise/Model/V20181101/ListSensitiveColumnsDetailRequest.cs
2,921
C#
using System; using System.Collections.Generic; using System.Text; namespace Gizmo.GraphicFramework.CanvasElements.CanvasUIElements { class ButtonElement { } }
15.818182
64
0.764368
[ "MIT" ]
ar-dev-1983/Gizmo.NodeDesigner
Gizmo.GraphicFramework/CanvasElements/CanvasUIElements/ButtonElement.cs
176
C#
// Copyright (c) 2019 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
45.21382
258
0.578592
[ "Apache-2.0" ]
delsoft/NCache
Src/NCClient/Core/ICache.cs
34,681
C#
namespace Sudoku.Bot.Communication.Triggering; /// <summary> /// Provides with the event data for <see cref="GuildRelatedEventHandler"/>. /// </summary> /// <seealso cref="GuildRelatedEventHandler"/> public sealed class GuildRelatedEventArgs : EventArgs { /// <summary> /// Initializes a <see cref="GuildRelatedEvent...
34.033333
104
0.701273
[ "MIT" ]
Sunnie-Shine/Sudoku
src/Sudoku.Bot.Communication/Triggering/GuildRelatedEventArgs.cs
1,023
C#
using k8s.Operators; using Microsoft.Extensions.Logging; using System.Threading.Tasks; using System.Collections.Generic; using System.Threading; using System; namespace k8s.Operators.Tests { public class TestableController : Controller<TestableCustomResource> { public TestableController() : base(Operat...
37.045045
194
0.640807
[ "Apache-2.0" ]
falox/csharp-operator-sdk
tests/k8s.Operators.Tests/TestableController.cs
4,112
C#
using System; class PointWithinCircle { static void Main() { double r = 2; double x = 1; double y = 2; if (x * x + y * y <= r * r) { Console.WriteLine("Point ({0};{1}) is within the circle: {2}", x, y, true); } else { Cons...
20.55
88
0.43309
[ "MIT" ]
baretata/CSharpPartOne
03.Operators and Expressions/Point within circle/Program.cs
413
C#
namespace VerifyTests; public static partial class VerifierSettings { internal static List<Action<StringBuilder>> GlobalScrubbers = new(); static VerifierSettings() { MemberConverter<Exception, string>(x => x.StackTrace, (_, value) => Scrubbers.ScrubStackTrace(value)); } inter...
34.663043
127
0.642521
[ "MIT" ]
tom-englert/Verify
src/Verify/Serialization/Scrubbers/VerifierSettings.cs
3,100
C#
// <copyright file="ScriptFileGenerator.cs" company="Oleg Sych"> // Copyright © Oleg Sych. All Rights Reserved. // </copyright> namespace T4Toolbox.VisualStudio { using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using EnvDTE...
42.606299
163
0.613011
[ "MIT" ]
AshleyHollis/T4Toolbox
src/T4Toolbox.VisualStudio/ScriptFileGenerator.cs
5,414
C#
using System; namespace UnityEngine.XR.ARSubsystems { /// <summary> /// Encapsulates all information provided in an event callback for when the camera frame is received. /// </summary> public struct XRCameraFrameReceivedArgs : IEquatable<XRCameraFrameReceivedArgs> { /// <summary> //...
33.123288
106
0.598428
[ "Apache-2.0" ]
BCBlanka/BeatSaber
Library/PackageCache/com.unity.xr.arsubsystems@2.1.3/Runtime/CameraSubsystem/XRCameraFrameReceivedArgs.cs
2,418
C#
namespace Authy.netcore.Results { /// <summary> /// Result from starting a Phone call /// </summary> public class StartPhoneCallResult : AuthyResult { } }
16.454545
51
0.618785
[ "MIT" ]
hansimehdi/AuthyClient
Authy.NetCore/Results/StartPhoneCallResult.cs
183
C#
// ConcurrentDictionary.cs // // Copyright (c) 2009 Jérémie "Garuma" Laval // // 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 /...
24.121535
132
0.663308
[ "MIT" ]
GridProtectionAlliance/go2cs
src/Utilities/Antlr4.Runtime/Sharpen/Compat/ConcurrentDictionary.cs
11,315
C#
using Core.Forms.NHibernate.Contracts; using Core.Forms.NHibernate.Models; using NUnit.Framework; namespace Core.Forms.Tests.Services { [TestFixture] public class FormServiceTest : AbstractServiceTest<Form, IFormService> { /// <summary> /// Creates the form. /// </summary> ...
22.878049
74
0.545842
[ "BSD-2-Clause" ]
coreframework/Core-Framework
Source/Core.Forms.Tests/Services/FormServiceTest.cs
940
C#
namespace ClearHl7.Codes.V280 { /// <summary> /// HL7 Version 2 Table 0422 - Triage Code. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0422</remarks> public enum CodeTriageCode { /// <summary> /// 1 - Non-acute. /// </summary> NonAcute, ...
20.589744
59
0.392279
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V280/CodeTriageCode.cs
805
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Concurrent; using System.Diagnostics; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using...
40.138298
161
0.605884
[ "Apache-2.0" ]
balazssimon/meta-cs
src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Symbols/MissingCorLibrarySymbol.cs
3,775
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
27.541756
134
0.62432
[ "MIT" ]
saludnqn/Empadronamiento
DalSic/generated/RemAgente.cs
12,862
C#
using BaiduPanDownloadWpf.ViewModels; using System.Windows.Controls; namespace BaiduPanDownloadWpf.Views { /// <summary> /// Interaction logic for DownloadedPage.xaml /// </summary> public partial class DownloadedPage : UserControl { public DownloadedPage() { Initialize...
20.647059
53
0.643875
[ "MIT" ]
GoingTime/Accelerider.Windows
BaiduPanDownloadWpf/Views/DownloadedPage.xaml.cs
353
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...
25.711111
76
0.695765
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Edcps/Apis/DescribeInstanceNameResult.cs
1,237
C#
namespace DataFlow.EdFi.Models.Types { public class MediumOfInstructionType { /// <summary> /// The unique identifier of the resource. /// </summary> public string id { get; set; } /// <summary> /// Key for MediumOfInstruction /// </summary> pub...
26.605263
88
0.546983
[ "Apache-2.0" ]
schoolstacks/dataflow
DataFlow.EdFi/Models/Types/MediumOfInstructionType.cs
1,011
C#
using System; using UnityEngine; namespace AirFishLab.ScrollingList.MovementCtrl { /// <summary> /// Control the movement for the unit movement /// </summary> /// It is evaluated by the distance movement which moves for the given distance. /// If the list reaches the end in the linear mode, it wil...
39.76875
90
0.601132
[ "Apache-2.0" ]
Mighstye/-Tragedies-in-Vacuous-Scroll
Assets/Plugins/CircularScrollingList/Scripts/MovementCtrl/UnitMovementCtrl.cs
6,365
C#
// Licensed under the MIT License. // Copyright (c) 2018 the AppCore .NET project. using System; using AppCore.Diagnostics; namespace AppCore.EventModel { /// <summary> /// Provides extension methods for the <see cref="IEventContext"/>. /// </summary> public static class EventContextExtensions { ...
39.705882
127
0.585481
[ "MIT" ]
AppCoreNet/Events
src/AppCore.EventModel.Abstractions/EventContextExtensions.cs
3,377
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DynamicsOdata { public static class UriExtensions { public static Uri Combine(this Uri uriCurrent, params string[] uriParts) { string uri = uriCurrent.ToSt...
28.535714
119
0.513141
[ "MIT" ]
ShadowPic/PublicTestProjects
DynamicsFinOps/FinOpsConfigurationValidation/DynamicsOdata/UriExtensions.cs
801
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; using System.IO; using GenArt.AST; using System.Runtime.Serialization.Formatters.Binary; namespace GenArt.Classes { public static class Serializer { //public static void Serialize(Settings settings) ...
31.910345
91
0.47266
[ "MIT" ]
matthew-lake/EvoImageCompression
CompressionWPF/CompressionWPF/Serializer.cs
4,629
C#
using System; using System.Collections.Generic; using System.Text; namespace FlightManager.Services.ServiceModels { public class ReservationServiceModel { public string Id { get; set; } public string FirstName { get; set; } public string SecondName { get; set; } public string L...
29.708333
47
0.621318
[ "MIT" ]
viksuper555/FlightManager
FlightManager.Services/Models/ReservationServiceModel.cs
715
C#
using DFC.App.FindACourse.Data.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace DFC.App.FindACourse.Services { public interface ILocationService { Task<IEnumerable<SearchLocationIndex>> GetSuggestedLocationsAsync(string term); } }
23.833333
87
0.772727
[ "MIT" ]
SkillsFundingAgency/dfc-app-findacourse
DFC.App.FindACourse.Services/ILocationService.cs
288
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; // can syncronize with others /// <summary> /// Fires rockets :) /// /// By behaviour, it fires all shots at biggest (aproximated) groups of enemies, and then either reloads one or all shots /// </summary> public class RocketLauncher : Ai...
31.919463
203
0.558452
[ "MIT" ]
Laharnar/MothershipBulletHell
Assets/Motherships/Scripts/Turrets/RocketLauncher.cs
4,758
C#
using AoC2020.Days; using Moq; using NUnit.Framework; using System; using System.Collections.Generic; using System.Threading.Tasks; using Utilities; namespace AoC2020.UnitTests.DayTests; internal class Day6Tests { [Test] public async Task TestDay6Part1() { var inputMock = PrepareInput(); ...
18.98
97
0.660695
[ "MIT" ]
CeesKaas/AdventofCode
2020/AoC2020.UnitTests/DayTests/Day6Tests.cs
951
C#
using System; using Xilium.CefGlue.Helpers.Log; namespace Xilium.CefGlue.WPF { internal sealed class WpfCefClient : CefClient { private WpfCefBrowser _owner; private WpfCefLifeSpanHandler _lifeSpanHandler; private WpfCefDisplayHandler _displayHandler; private WpfCefRenderHandl...
28.690909
104
0.645754
[ "BSD-3-Clause" ]
RoddoWasHere/Chrome.Net
CefGlue.WPF/WpfCefClient.cs
1,580
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.814815
151
0.585116
[ "MIT" ]
Radfordhound/GMod-Dupe-Downloader
Gmod Dupe Downloader/Properties/Settings.Designer.cs
1,077
C#
using System.Collections.Generic; using System.Text.Json.Serialization; using Horizon.Payment.Alipay.Domain; namespace Horizon.Payment.Alipay.Response { /// <summary> /// AlipayInsMarketingCampaignDecisionResponse. /// </summary> public class AlipayInsMarketingCampaignDecisionResponse : AlipayResponse...
27.157895
76
0.684109
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Response/AlipayInsMarketingCampaignDecisionResponse.cs
544
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
44.401747
143
0.630803
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs
10,168
C#