max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
GoogleTestAdapter/VsPackage.Shared/Debugging/VsDebuggerAttacher.cs
ncook-hxgn/TestAdapterForGoogleTest
27
7038440
using System; using System.Reflection; using System.Runtime.InteropServices; using GoogleTestAdapter.Framework; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell.Interop; using Thread = System.Threading.Thread; namespace GoogleTestAdapter.VsPackage.Debugging { public class VsDebuggerAttacher : IDeb...
Musoq.Converter/Build/TurnQueryIntoRunnableCode.cs
Eibwen/Musoq
244
7038441
<reponame>Eibwen/Musoq<filename>Musoq.Converter/Build/TurnQueryIntoRunnableCode.cs<gh_stars>100-1000 using System; using System.IO; using System.Reflection; using System.Text; using Musoq.Converter.Exceptions; using Musoq.Evaluator; namespace Musoq.Converter.Build { public class TurnQueryIntoRunnableCode : BuildC...
OpenRiaServices.DomainServices.Hosting.OData/Framework/Utils/ServiceUtils.cs
icnocop/OpenRiaServices
0
7038442
using System; using System.ServiceModel; namespace OpenRiaServices.DomainServices.Hosting.OData { #region Namespaces using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using OpenRiaServices; using System.ServiceModel.Activation; using System.ServiceModel.De...
RCNet/MathTools/Hurst/HurstExpEstim.cs
thild/NET
0
7038443
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RCNet.MathTools.Hurst { /// <summary> /// Class implements calculation of the Hurst exponent estimation (rescalled range method) /// </summary> [Serializable] public class HurstExpEstim {...
client/MAVN.Service.SmartVouchers.Client/Models/Enums/VoucherCampaignContentType.cs
HannaAndreevna/MAVN.Service.SmartVouchers
0
7038444
namespace MAVN.Service.SmartVouchers.Client.Models.Enums { /// <summary> /// Represents the type of content for a voucher campaign. /// </summary> public enum VoucherCampaignContentType { /// <summary>Name</summary> Name = 0, /// <summary>Description</summary> Descri...
src/Swastika.Messenger.Lib/Models/SignalR/SignalRModels.cs
Swastika-IO/Swastika-IO-Messenger
1
7038445
<filename>src/Swastika.Messenger.Lib/Models/SignalR/SignalRModels.cs using Newtonsoft.Json; namespace Messenger.Lib.Models.SignalR { public class CreateMatchHubModel { [JsonProperty("hostPlayerId")] public string HostPlayerId { get; set; } [JsonProperty("setCount")] public int ...
src/EventBus/test/Scorpio.EventBus.Tests/Scorpio/EventBus/EventBusOptions_Tests.cs
project-scorpio/Scorpio
11
7038446
using System.Linq; using Scorpio.EventBus.TestClasses; using Shouldly; using Xunit; namespace Scorpio.EventBus { public class EventBusOptions_Tests { [Fact] public void AddHandler() { var options = new EventBusOptions(); options.AddHandler(EventHandlerDescrip...
ewmsCsharpUnDevelopVersion/ewmsCsharp/Classes/ItemStorage.cs
w3arthur/ReferenceCSharp
0
7038447
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.Json.Serialization; using ewmsCsharp.Interfaces; namespace ewmsCsharp.Classes { public class ItemStorage : DataDate, IItemStorage // only date no Id, Name { #region P...
Services/Business/Authentication/Authentication.Tests/AuthenticationServiceTests.cs
MichaelDiers/ShopNothingToBuy
0
7038448
namespace Service.Business.Authentication.Tests { using System.Threading.Tasks; using Service.Contracts.Business.Authentication; using Service.Models.Business.Authentication; using Xunit; public class AuthenticationServiceTests { [Theory] [InlineData("username", "<PASSWORD>", AuthenticationResult....
Coveralls.Tests/CoverallsBootstrapTests.cs
xtiancapil/coveralls-net-core
0
7038449
<filename>Coveralls.Tests/CoverallsBootstrapTests.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using FluentAssertions; using NSubstitute; using NUnit.Framework; namespace Coveralls.Tests { [TestFixture] public class CoverallsBootstrapTests { ...
Libraries/Common/Norml.Common.Data/Repositories/IPagingRepository.cs
joncrump/norml
0
7038450
using System.Linq.Expressions; namespace Norml.Common.Data.Repositories { public interface IPagingRepository { PagingModel GetCriteriaByPage(Expression filterExpression = null, PagingInfo pagingInfo = null, bool includeParameters = true); } }
UserService/UserService/Service/UserServiceRepository.cs
Danielbahe/Microservice-Template
0
7038451
using System; using System.Collections.Generic; using RabbitCommunications.Models; using UserService.Models; using UserService.Service.Interfaces; using MySql.Data.MySqlClient; using System.Data; using System.Linq; namespace UserService.Service { public class UserRepository : IUserRepository { private...
C#/Messaging.Core/src/Models/RabbitMessageHandler.cs
g-gar/ApiApuestas
0
7038452
using System.Collections.Generic; using System.Text; using Messaging.Core.Interfaces; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace Messaging.Core.Models { public class RabbitMessageHandler : IRabbitMessageHandler { public List<Payload> Payloads { get; set; } = new List<Payload>(); public void...
aspnet-core/src/AccountingSystems.Web.Mvc/Models/PurchaseOrder/ViewPurchaseOrderViewModel.cs
corinthdev/Invoice-and-Accounting-System
0
7038453
<filename>aspnet-core/src/AccountingSystems.Web.Mvc/Models/PurchaseOrder/ViewPurchaseOrderViewModel.cs using Abp.AutoMapper; using AccountingSystems.PurchaseOrders.Dto; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AccountingSystems.Web.Models.PurchaseOrder...
Demos/MonoGame/Server/Player.cs
ArcticFox-Dev/RiptideNetworking
0
7038455
 // This file is provided under The MIT License as part of RiptideNetworking. // Copyright (c) 2022 <NAME> // For additional information please see the included LICENSE.md file or view it on GitHub: https://github.com/tom-weiland/RiptideNetworking/blob/main/LICENSE.md using Microsoft.Xna.Framework; using RiptideDemos...
src/StuffPacker/store/packlist/PackListDataState.cs
StuffPacker/StuffPacker
0
7038456
using StuffPacker.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace StuffPacker.store.packlist { public class PackListDataState { public bool IsLoading { get; private set; } public string ErrorMessage { get; private set; }...
benchmarks/dijkstra/functional_c#/Program.cs
lrecht/ParadigmComparison
0
7038457
<gh_stars>0 using System.Collections.Immutable; using System.Collections.Generic; using System.Linq; using benchmark; namespace functional_c_ { class Program { static Comparer<(string, int, string)> vertexComparer = Comparer<(string, int, string)>.Create((x, y) => x.Item2 > y.Item2 ? 1 : x.It...
cleanArchitecture.Web/Messages/Product.cs
harisrkhan7/cleanArchitecture
0
7038458
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace cleanArchitecture.Web.Messages { [DataContract] public class Product { [DataMember] public Guid Id { get; set; } [DataMember] public string Name { get; set; } ...
src/Tests.Core.Reference/Collections/Formula/Projections/PolarStereographicCProjectionTest.cs
robertogiachetta/aegis
4
7038459
<reponame>robertogiachetta/aegis // <copyright file="PolarStereographicCProjectionTest.cs" company="Eötvös Loránd University (ELTE)"> // Copyright 2016-2019 <NAME>. Licensed under the // Educational Community License, Version 2.0 (the "License"); you may // not use this file except in compliance with the L...
Assets/Plugins/Unity Essentials - Peek And Bookmark/Scripts/Peek/BookMarks/PeekLogic.cs
usernameHed/Philae-Lander
0
7038460
<reponame>usernameHed/Philae-Lander using System; using System.Collections.Generic; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.SceneManagement; using UnityEngine; using UnityEngine.SceneManagement; using UnityEssentials.Peek.Extensions; using UnityEssentials.Peek.Extensions.Editor; using UnityEs...
External/Plugins/HaXeContext/Completion/HaxeComplete330.cs
yoonix1/flashdevelop
0
7038461
using System.Collections.Generic; using ASCompletion.Completion; using ASCompletion.Context; using PluginCore; using PluginCore.Utilities; using ScintillaNet; namespace HaXeContext { class HaxeComplete330 : HaxeComplete { public HaxeComplete330(ScintillaControl sci, ASExpr expr, bool autoHi...
CSCodec.UnitTests/Binary/BitReaderTests.cs
MineCake147E/CSCodec
2
7038462
using System; using System.Buffers.Binary; using System.Numerics; using System.Collections.Generic; using System.IO; using System.Text; using NUnit.Framework; using CSCodec.Utils; using CSCodec.Binary; namespace CSCodec.UnitTests.Binary { [TestFixture] public class BitReaderTests { [TestCase(byte.MinValue)] [T...
GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Factories/VectorFactory.cs
ga-explorer/GeometricAlgebraLib
6
7038463
<filename>GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Factories/VectorFactory.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using DataStructuresLib.BitManipulation; using GeometricAlgebraFulcrumLib.Algebra.GeometricAlgebra.Basis; using ...
QuickFrame.Common/Output/MsgOutput.cs
qiqigou/QuickFrame
0
7038464
<filename>QuickFrame.Common/Output/MsgOutput.cs namespace QuickFrame.Common { /// <summary> /// 响应消息 /// </summary> public class MsgOutput : IMEntity { /// <summary> /// 消息码 /// </summary> public int Code { get; set; } /// <summary> /// 标题 ///...
tests/J2N.Tests/IO/TestCharBuffer2.cs
introfog/J2N
26
7038465
using NUnit.Framework; using System; using System.Reflection; using StringBuffer = System.Text.StringBuilder; namespace J2N.IO { /// <summary> /// Tests from JDK/nio/BasicChar.java /// </summary> public class TestCharBuffer2 : BaseBufferTestCase { private static readonly char[] VALUES = { ...
src/eyazisma.online.api.net5/Extensions/ArrayExtensions.cs
devhuseyinkartal/eyazisma.online.api
0
7038466
<filename>src/eyazisma.online.api.net5/Extensions/ArrayExtensions.cs using System; using System.Linq; namespace eyazisma.online.api.Extensions { internal static class ArrayExtensions { public static T[] Add<T>(this T[] array, T arrayItem) { if (arrayItem == null) th...
OpenBots.Server.SDK/Model/CreateJobViewModel.cs
dks50217/OpenBots.Studio
56
7038467
<filename>OpenBots.Server.SDK/Model/CreateJobViewModel.cs<gh_stars>10-100 /* * OpenBots Server API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ usin...
src/Homework4/Interfaces/IZooManager.cs
Arhangelruh/TMS-DotNet-Chertok
0
7038468
<filename>src/Homework4/Interfaces/IZooManager.cs using Homework4.Models; namespace Homework4.Interfaces { interface IZooManager { public void GetAnimal(string variety); public void GetAllAnimals(); public void AddAnimal(Animal animal); public void Remove(string id); } }
src/Computation/PersistentSpace.cs
Symbolica/Symbolica
16
7038469
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using Symbolica.Collection; using Symbolica.Computation.Values.Constants; using Symbolica.Expression; namespace Symbolica.Computation; internal sealed class PersistentSpace : IPersistentSpace { private readonly IPersistentS...
Source/Persistence/EtAlii.Ubigia.Persistence.Diagnostics/_Scaffoldings/PersistenceProfilingScaffolding.cs
vrenken/EtAlii.Ubigia
2
7038470
<filename>Source/Persistence/EtAlii.Ubigia.Persistence.Diagnostics/_Scaffoldings/PersistenceProfilingScaffolding.cs // Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Persistence { using EtAlii.xTechnology.Diagnostics; using EtAlii...
Tutorial 012 - Aim Bot (Sync)/Sys/Data/MouseMessage.cs
yuhao-he/RCi.Tutorials.Csgo.Cheat.External
152
7038471
namespace RCi.Tutorials.Csgo.Cheat.External.Sys.Data { /// <summary> /// "https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms644986(v%3Dvs.85)" /// </summary> public enum MouseMessage { WM_LBUTTONDOWN = 0x0201, WM_LBUTTONUP = 0x0202, WM_MOUSEMOVE = 0...
Server/Services/GuidService.cs
hieronymusma/Bet-Game
0
7038472
using Server.DataStorage; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Server.Services { public class GuidService : IGuidService { private readonly DatabaseContext mContext; private static readonly object lockObject = new object(); ...
cllc-public-app/Controllers/ApplicationVersionInfoController.cs
ianco/jag-lcrb-carla-public
0
7038473
using Gov.Lclb.Cllb.Public.ViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using System; using System.Diagnostics; using System.Reflection; namespace Gov.Lclb.Cllb.Public.Controllers { [Route("api/[controller]")] [ApiController] ...
one-stop-service/ReceiveFromHubService.cs
danieltruong/ag-lclb-cllc-public
0
7038474
<filename>one-stop-service/ReceiveFromHubService.cs using Gov.Lclb.Cllb.Interfaces; using Gov.Lclb.Cllb.Interfaces.Models; using Hangfire; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.IO; using System.Linq; using System.ServiceModel; using System.Xml...
src/CodeMaze.Caching/BlogCache.cs
codemazenet/codemaze.net
0
7038475
<reponame>codemazenet/codemaze.net using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; namespace CodeMaze.Caching { public enum CacheDivision { General, Post, Pa...
Assets/_Framework/Scripts/Util/BezierPoint.cs
ElasticSea/BricksVR
0
7038476
using System; using UnityEngine; using _Framework.Scripts.Extensions; namespace _Framework.Scripts.Util { [Serializable] public struct BezierPoint { /// <summary> /// - Enumeration describing the relationship between a point's handles /// - Connected : The point's handles are mir...
src/Common/Common.DTO/AuthDTO/SignUpDTO.cs
MursalovAltun/FilmAdviserWebApi
0
7038477
namespace Common.DTO.AuthDTO { public class SignUpDTO : LoginDTO { public string FullName { get; set; } public string ConfirmPassword { get; set; } private string _timeZoneId; public string TimeZoneId { get => !string.IsNullOrEmpty(this._timeZoneId) ? this...
ProtoSDK/MS-RPCE/Stub/RpceBindOnlyServer.cs
Microsoft/WindowsProtocolTestSuites
99
7038478
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Microsoft.Protocols.TestTools.StackSdk.Networking.Rpce { /// <...
projects/Gibbed.Dunia.ConvertXml/Program.cs
Janne252/Gibbed.Dunia
15
7038479
/* Copyright (c) 2021 Rick (rick 'at' gibbed 'dot' us) * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purp...
Assets/Game/Scripts/Editor/RoomEditor.cs
GalacticGlum/TheDungeonMaster
1
7038480
/* * Author: <NAME> * File Name: RoomEditor.cs * Project Name: TheDungeonMaster * Creation Date: 12/28/2017 * Modified Date: 1/13/2017 * Description: Room component inspector. */ using UnityEditor; using UnityEditor.IMGUI.Controls; using UnityEditorInternal; using UnityEngine; /// <inheritdoc /> /// <summary>...
Runtime/Implementations/PhaseLoop.cs
dimaswift/swift-framework
2
7038481
<reponame>dimaswift/swift-framework using SwiftFramework.Core.SharedData; using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace SwiftFramework.Core { public class PhaseLoop<S> { public bool Activated { get; private set; } public int CurrentIteration { ...
src/Couchbase.Lite.Shared/API/Query/Parameters.cs
kokoska69/couchbase-lite-net
0
7038482
<gh_stars>0 // // Parameters.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/license...
sl.domain.unitTests/LabelTest.cs
DotNetFin/service-log
5
7038483
<reponame>DotNetFin/service-log using sl.domain.Exceptions; using sl.domain.Models; using Xunit; namespace sl.domain.unitTests { public class LabelTest { [Fact] public void Label_Equals() { // arrange var label = "by Diyaz"; // act var l...
DMR.WebApp/Areas/Game/Models/Character.cs
david-rachwalik/dmr
3
7038484
<reponame>david-rachwalik/dmr<gh_stars>1-10 using DMR.WebApp.Areas.Game.Models.CharacterBodyParts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DMR.WebApp.Areas.Gam...
test/UnitTest/DataModel/CapacityUnitTest.cs
zhoucan1990/aliyun-tablestore-csharp-sdk
19
7038486
<reponame>zhoucan1990/aliyun-tablestore-csharp-sdk<gh_stars>10-100 /* * Trade secret of Alibaba Group R&D. * Copyright (c) 2015 Alibaba Group R&D. * * All rights reserved. This notice is intended as a precaution against * inadvertent publication and does not imply publication or any waiver * of confidentia...
tests/AspectInjector.Tests.Runtime/TestClass.cs
venux/aspect-injector
517
7038487
using AspectInjector.Broker; using AspectInjector.Tests.Assets; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace AspectInjector.Tests.Runtime { internal static partial class TestClassWrapper<T1> where T1 : struct { public partial class ...
Koromo Copy/Component/DC/DCCommon.cs
Terkiss/Koromo-Copy
0
7038488
/*** Copyright (C) 2019. dc-koromo. All Rights Reserved. Author: Koromo Copy Developer ***/ using HtmlAgilityPack; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks;...
SFeed.SqlRepository/SqlRepositoryBase.cs
yilmazanil/SFeed
0
7038489
<gh_stars>0 using SFeed.Core.Infrastructue.Common; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; namespace SFeed.SqlRepository { public abstract class SqlRepositoryBase<T> : IRepository<T> where T : class { private SocialFee...
Graphics/Vuforia/Vuforia/VuforiaProject/Components/FollowCameraBehavior.cs
starostin13/Samples
0
7038490
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WaveEngine.Components.Cameras; using WaveEngine.Framework; using WaveEngine.Framework.Graphics; namespace VuforiaProject.Components { public class FollowCameraBehavior : Behavior { #region Variables [Re...
Sharpotify7/Mono.Security.Cryptography/Aes.cs
fernandoescolar/sharpotify7
0
7038491
<gh_stars>0 namespace Mono.Security.Cryptography { public abstract class Aes : SymmetricAlgorithm { public static new Aes Create() { return Create("System.Security.Cryptography.AesManaged"); } public static new Aes Create(string algName) { ...
src/Authorization/PolicyManager.DataAccess/Repositories/AuthorizationRepository.cs
jwendl/authorization-service-example
4
7038492
<reponame>jwendl/authorization-service-example using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Threading.Tasks; using Flee.PublicTypes; using PolicyManager.DataAccess.Functions; using PolicyManager.DataAccess.Interfaces; using PolicyManager.DataAccess.Mode...
src/02-DotNet-Template/dotnet-template-starter/Wasm/Services/AuthenticationApiService.cs
htl-leo/iot-seminar-2022
0
7038493
<filename>src/02-DotNet-Template/dotnet-template-starter/Wasm/Services/AuthenticationApiService.cs using Base.DataTransferObjects; using Base.Helper; using Blazored.LocalStorage; using Microsoft.AspNetCore.Components.Authorization; using Newtonsoft.Json; using System.Linq; using System.Net.Http; using System.Net.Ht...
SbAdminCore.Web/Views/Home/Charts.cshtml
battxbox/SbAdminCore
0
7038494
<gh_stars>0  @{ ViewData["Title"] = "Charts"; Layout = "~/Views/Shared/_Layout.cshtml"; } <!-- Page Heading --> <h1 class="h3 mb-2 text-gray-800">Charts</h1> <p class="mb-4">Chart.js is a third party plugin that is used to generate the charts in this theme. The charts below have been customized - for further ...
src/Feature/Blog/code/Installers/BlogWindsorInstaller.cs
BillDinger/SCHackathon2016
0
7038495
namespace Sitecore.Feature.Blog.Installers { using System.Web.Mvc; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; public class BlogWindsorInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IC...
ExampleTextPlugin/ExampleTextPlugin.cs
ArsenShnurkov/mypad-winforms-texteditor
13
7038496
<filename>ExampleTextPlugin/ExampleTextPlugin.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using MyPad; using MyPad.Plugins; namespace ExampleTextPlugin { public class ExampleTextPlugin : ITextPlugin { EditorWindow a...
Src/Test/SDK/Common/Temporal.Common.Payloads/public/PayloadContainersUnnamedTestBase.cs
macrogreg/sdk-dotnet
2
7038497
<reponame>macrogreg/sdk-dotnet using System; using Temporal.Common.Payloads; using Xunit; namespace Temporal.Sdk.Common.Tests { public abstract class PayloadContainersUnnamedTestBase { private readonly PayloadContainers.IUnnamed _instance; private readonly int _length; protected Payloa...
NWebDav.Sample.Kestrel/Startup.cs
fOCUSVRN/nwebdav
0
7038498
<gh_stars>0 using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using NWebDav.Server; using NWebDav.Server.AspNetCore; using NWebDav.Server.Stores; using System; namespace NWebDav.Sample.Kestrel { public class Startup { // This method gets called by the runtime. Use this method to ...
src/OpenCvSharp/Modules/line_descriptors/LSDDetector.cs
artheru/opencvsharp
3,886
7038500
using System; using System.Collections.Generic; using System.Linq; using OpenCvSharp.Internal.Vectors; // ReSharper disable UnusedMember.Global // https://github.com/opencv/opencv_contrib/blob/33ae078b0989b44ac8d262d210335b04bb268b4d/modules/line_descriptor/src/binary_descriptor.cpp#L1030 #if false namespace OpenCvS...
Drachenhorn.Core/Printing/PrintingManager.cs
Pretorer/Drachenhorn
0
7038501
<filename>Drachenhorn.Core/Printing/PrintingManager.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Drachenhorn.Core.IO; using Drachenhorn.Core.ViewModels.Sheet; using Drachenhorn.Xml.Sheet; using GalaSoft.MvvmLight.Ioc...
Server/Model/Base/Module/Component/DestroySystem.cs
qq362946/Sining
10
7038502
using System; namespace Sining.Event { public interface IDestroySystem { Type Type(); void Run(object obj); } public abstract class DestroySystem<T> : IDestroySystem { protected abstract void Destroy(T self); public Type Type() { return typeof(...
Views/Addresses/EditAddress.cshtml
vohuman/e-pharmacy
0
7038503
<reponame>vohuman/e-pharmacy @model DrYahya.Models.Data.Address @{ ViewBag.Title = "Editting address for " + ViewBag.CustomerName; } @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="site-section col-12"> <div class="col-3"> </div> <div class="container col-...
GenerativeArt.Models/ConnectedLineGenerator.cs
ScottLilly/GenerativeArt
3
7038504
using GenerativeArt.Core; namespace GenerativeArt.Models; public class ConnectedLineGenerator : IConnectedLineGenerator { private const int MARGIN = 25; private enum Direction { None, Up, Down, Left, Right } private int _maxCanvasWidth; private int _m...
src/Uno.Extensions.Reactive.UI/Presentation/Bindings/Collections/Facets/LoadMoreItemsRequest.cs
unoplatform/uno.extensions
21
7038505
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Uno.Extensions.Collections; using Uno.Extensions.Reactive.Logging; namespace Uno.Extensions.Reactive.Bindings.Collections; internal class LoadMoreItemsRequest { private readonly TaskCompletionSource<IPageContent...
ESB/Libraries/ESB.Data/Migrations/Bots/20200225220925_Initial.cs
fabiobraganet/TelegramBot
0
7038506
<filename>ESB/Libraries/ESB.Data/Migrations/Bots/20200225220925_Initial.cs using System; using Microsoft.EntityFrameworkCore.Migrations; namespace ESB.Data.Migrations.Bots { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { m...
Checks/AllModes/General/Resources/CheckMultipleVideo.cs
Darius-Wattimena/MapsetChecks
0
7038507
using MapsetParser.objects; using MapsetParser.objects.events; using MapsetVerifierFramework; using MapsetVerifierFramework.objects; using MapsetVerifierFramework.objects.attributes; using MapsetVerifierFramework.objects.metadata; using System; using System.Collections.Generic; using System.Globalization; using System...
MMSB_variational/Source/Factors/SumWhere.cs
dtrckd/Mixed-Membership-Stochastic-Blockmodel
18
7038508
<filename>MMSB_variational/Source/Factors/SumWhere.cs // (C) Copyright 2008 Microsoft Research Cambridge using System; using System.Collections.Generic; using System.Text; using System.Linq; using MicrosoftResearch.Infer.Distributions; using MicrosoftResearch.Infer.Maths; namespace MicrosoftResearch.Infer.Fact...
Ludum Dare 42 - Vertigo/Running out of Space/Assets/Scripts/Toolbox/Objects/ExternalDataManager/ExternalDataManager.cs
CantyCanadian/GameJams
0
7038509
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExternalDataManager : Singleton<ExternalDataManager> { public string PathFromRoot = "Assets/Assets/External"; public int FilesPerFrame = 999; private List<LoadingData> m_LoadingList; private Dictionary<string,...
src/SpotifyApi.NetCore.Tests/AlbumsApiTests.cs
we4sz/SpotifyApi.NetCore
32
7038510
<gh_stars>10-100 using Microsoft.VisualStudio.TestTools.UnitTesting; using SpotifyApi.NetCore.Authorization; using System.Net.Http; using System.Threading.Tasks; namespace SpotifyApi.NetCore.Tests { [TestClass] public class AlbumsApiTests { [TestCategory("Integration")] [TestMethod] ...
src/Razor2Pdf/ServiceCollectionExtensions.cs
nano-byte/Razor2Pdf
1
7038511
using Microsoft.Extensions.DependencyInjection; namespace NanoByte.Razor2Pdf { public static class ServiceCollectionExtensions { /// <summary> /// Adds support for rendering Razor Pages as PDFs. /// </summary> public static IServiceCollection AddRazor2Pdf(this IService...
src/Application/Services/Implementations/ArticleService.cs
Reechychukz/prunedge-medium-api
0
7038512
<filename>src/Application/Services/Implementations/ArticleService.cs using Application.DTOs; using Application.Enums; using Application.Helpers; using Application.Resources; using Application.Services.Interfaces; using AutoMapper; using Domain.Entities; using Domain.ViewModels; using Infrastructure.Repositories.Interf...
Assets/RangeObjects/RangeObject/Lib/RangeObjectPhysicsEventListener/RangeObjectPhysicsEventListener.cs
ldalzotto/ProjectUndefined-TrainingGround
0
7038513
<gh_stars>0 using System; using InteractiveObjects; using UnityEngine; namespace RangeObjects { public struct RangeObjectPhysicsTriggerInfo { public CoreInteractiveObject OtherInteractiveObject; public Collider Other; } public abstract class ARangeObjectV2PhysicsEventListener { ...
Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs
nightred/space-station-14
0
7038514
<filename>Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs using Robust.Shared.GameObjects; using Content.Server.GameObjects.EntitySystems; using Robust.Shared.IoC; using Robust.Shared.Maths; using Robust.Server.Interfaces.GameObjects; using Robust.Shared.Serialization; using Content.Shared.G...
test/System.Web.Http.Test/Tracing/Tracers/HttpControllerTracerTest.cs
matiias/MVC
2
7038515
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; u...
src/Validot/Results/ValidationResult.cs
TwentyFourMinutes/Validot
0
7038516
namespace Validot.Results { using System; using System.Collections.Generic; using System.Linq; using System.Text; using Validot.Errors; internal class ValidationResult : IValidationResult { private const string NoErrorsString = "OK"; private const string PathS...
test/System.Web.WebPages.Test/Utils/PropertyHelperTest.cs
matiias/MVC
2
7038517
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Linq; using System.Reflection; using Microsoft.TestCommon; namespace System.Web.WebPages.Test { public class PropertyHelperTest { [Fact] public voi...
CMP/CmpWap/ApiClients/DataContracts/ResourceMetricSets.cs
grazies/Phoenix
38
7038518
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System.Collections.ObjectModel; using System.Runtime.Serialization; namespace Microsoft.WindowsAzurePack.Samples.DataContra...
Roy-T.AStar/Paths/PathFinderNode.cs
coconavy/A-Star
0
7038519
using System; using Roy_T.AStar.Graphs; using Roy_T.AStar.Primitives; namespace Roy_T.AStar.Paths { internal sealed class PathFinderNode : IComparable<PathFinderNode> { public PathFinderNode(INode node, Duration durationSoFar, Duration expectedRemainingTime) { this.Node = node; ...
source/PropertyValidation/PropertyProvider/PropertyProvider/Checkers/IObjectReferenceChecker.cs
andreykarinskiy/System.ComponentModel.Annotations.Validation
1
7038520
using System.Reflection; namespace PropertyProvider.Checkers { /// <summary> /// Checks whether a property type is custom or built-in. /// </summary> public interface IObjectReferenceChecker { /// <summary> /// Returns TRUE if the property type is custom, /// and FALSE if i...
WebApp.UI2/Pages/MyBooks/VoucherWithItems/AllVarients.cshtml
dpk2789/aow-new-api
0
7038521
@page @model WebApp.UI2.Pages.MyBooks.VoucherWithItems.AllVarientsModel @{ var userId = User.Claims.FirstOrDefault(x => x.Type == "AcessToken").Value; } <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div c...
source/Web.Domain/Repositories/RemittanceRepository.cs
gshri67/S.i.-Systems---Client-App
0
7038522
using System; using System.Collections.Generic; using System.Linq; using Dapper; using SiSystems.ClientApp.Web.Domain.Repositories; using SiSystems.SharedModels; namespace SiSystems.ConsultantApp.Web.Domain.Repositories { public interface IRemittanceRepository { IEnumerable<Remittance> GetRemittancesF...
WebsocketAdapter/Events/ConnectionEvent.cs
xipherix/WebsocketChainExpanderApp
3
7038523
using System; using System.Collections.Generic; using System.Net.WebSockets; using System.Text; namespace WebsocketAdapter.Events { public class ConnectionEventArgs : EventArgs { public DateTime TimeStamp { get; set; } public WebSocketState State { get; set; } public string StatusText ...
HotsBpHelper/Pages/WebFileUpdaterViewModel.cs
wakuflair/HotsBpHelper
10
7038524
<filename>HotsBpHelper/Pages/WebFileUpdaterViewModel.cs using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Security; us...
src/Charming/Internal/LowerCaseNamingStrategy.cs
tzkhan/Charming
3
7038525
<reponame>tzkhan/Charming namespace Charming.Internal { using Newtonsoft.Json.Serialization; internal class LowerCaseNamingStrategy : NamingStrategy { #pragma warning disable CA1308 protected override string ResolvePropertyName(string name) => name.ToLowerInvariant(); } }
src/ProjectUnknown.AspNetCore.OAuth/OAuthOptions.cs
osovitskiy/ProjectUnknown
1
7038526
using Microsoft.AspNetCore.Http; namespace ProjectUnknown.AspNetCore.OAuth { public class OAuthOptions { public bool AllowInsecureHttp { get; set; } public PathString TokenEndpointPath { get; set; } } }
Modules/CKEditor/Views/Body-Html.Editor.cshtml
nicman2006/Orchard-CMS
1
7038527
@{ Script.Require("CKEditor"); // From Orchard.Mvc.Html.HtmlHelperExtensions var id = Html.ViewData.TemplateInfo.GetFullHtmlFieldId("Text"); // because "[" and "]" aren't replaced with "_" in GetFullHtmlFieldId id = id.Replace('[', '_').Replace(']', '_'); } @using(Script.Foot()) { <script type="text/...
Sitecore.BaseLayouts/sitecore modules/shell/BaseLayouts/Pipelines/PipelineRunner.cs
BenGGolden/Sitecore.BaseLayouts
0
7038528
using Sitecore.Diagnostics; using Sitecore.Pipelines; namespace Sitecore.BaseLayouts.Pipelines { /// <summary> /// Runs pipelines as specified by RunnablePipelineArgs /// </summary> public class PipelineRunner : IPipelineRunner { /// <summary> /// Runs the pipeline specifie...
Tests/DbLocalizationProvider.Tests/LocalizedEnumTests.cs
ShadowLaurus/LocalizationProvider
0
7038529
<gh_stars>0 using System.Collections.Generic; using System.Linq; using DbLocalizationProvider.Sync; using Xunit; namespace DbLocalizationProvider.Tests { public class LocalizedEnumTests { public LocalizedEnumTests() { var types = new[] { typeof(DocumentEntity) }; var su...
src/Services/Basket/Basket.API/GrpcServices/DiscountGrpcService.cs
geraldmaale/AspnetMicroservices
0
7038530
using Discount.Grpc.Protos; using Grpc.Net.Client; namespace Basket.API.GrpcServices; public class DiscountGrpcService { private readonly DiscountProtoService.DiscountProtoServiceClient _client; public DiscountGrpcService(DiscountProtoService.DiscountProtoServiceClient client) { _client = client ...
Source/Classic/Libs/ManagedIrbis/Source/Infrastructure/IrbisNetworkException.cs
amironov73/ManagedClient.45
0
7038531
<filename>Source/Classic/Libs/ManagedIrbis/Source/Infrastructure/IrbisNetworkException.cs // This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* IrbisNetworkException.exe -- * Ars Magna project, http://arsmagn...
SpanJson.Tests/JsonReaderTests.cs
Tornhoof/SpanJson
299
7038533
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace SpanJson.Tests { public class JsonReaderTests { [Theory] [InlineData(@"{""Name"":""\\"", ""Test"":""Something""}", "Something")] [InlineData(@"{""Name"":"""", ""Test"":""Somethi...
03_Problem_MinMaxSumAndAverageOfNNumbers/03_Problem_MinMaxSumAndAverageOfNNumbers.cs
ivantchev/Loops-Homework
0
7038534
using System; //Write a program that reads from the console a sequence of n integer numbers and returns the minimal, //the maximal number, the sum and the average of all numbers (displayed with 2 digits after the decimal point). //The input starts by the number n (alone in a line) followed by n lines, each holding a...
kkde/option/EnvOptionForm.cs
mryp/kkde
13
7038535
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using kkde.global; namespace kkde.option { /// <summary> /// 環境設定ダイアログ /// </summary> public partial class EnvOptionForm : Form { public EnvOption...
LiveSplit/LiveSplit.Core/UI/Components/ComponentRenderer.cs
CryZe/LiveSplit
0
7038536
<gh_stars>0 using LiveSplit.Model; using LiveSplit.Options; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; namespace LiveSplit.UI.Components { public class ComponentRenderer { public IEnumerable<IComponent> VisibleComponents { get; set; } public float...
Tests/Tests.Kerberos.NET/Messages/KrbKdcRepTests.cs
sugarDadyAdamberg/Kerberos.NET
0
7038539
using System; using Kerberos.NET.Crypto; using Kerberos.NET.Entities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests.Kerberos.NET { [TestClass] public class KrbKdcRepTests { [TestMethod, ExpectedException(typeof(ArgumentException))] public void CreateServiceTicket_Null...
Rock.Core/DefaultApplicationIdProvider.cs
bfriesen/Rock.Core
0
7038540
using System; namespace Rock { /// <summary> /// The default implementation of <see cref="IApplicationIdProvider"/>. Attempts to get the /// value from an instance of <see cref="AppSettingsApplicationIdProvider"/>. If that fails, /// gets the value from an instance of <see cref="EntryAssemblyApplicati...
server/Pages/Admin/LinkShorteners/Edit.cshtml.cs
mtcairneyleeming/DocumentAnnotation
0
7038541
<gh_stars>0 using System.Linq; using System.Threading.Tasks; using DocumentAnnotation.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; namespace DocumentAnnotation.Pages.Admin.LinkShorteners { public class EditModel : PageModel { p...
WeeklyGarfield/WeeklyGarfield.Core/Services/DilbertItem.cs
tuke307/MvvmCross-Samples
347
7038542
<gh_stars>100-1000 namespace DailyGarfield.Core { public class GarfieldItem { public string Title { get; set; } public string StripUrl { get; set; } } }
twc/csharp/core/Models/WitnessSignData.cs
alipay/antchain-openapi-prod-sdk
6
7038543
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.TWC.Models { // 见证流程签署数据 public class WitnessSignData : TeaModel { // 印章图片fileKey列表 [NameInMap("seal_file_keys")] [Validation(Requi...
work/s07/webapp/Pages/Index.cshtml.cs
TrussKong/websoft
0
7038544
<reponame>TrussKong/websoft using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using webapp.Models; using webapp.Services; using System.Text.Json; using...
HW2/2.3/IStack.cs
Alexander-Ploskin/MathMechReposSemester2
0
7038545
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Task2_3 { interface IStack { void Push(int value); int Pop(); bool Empty(); } }