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
src/gsudo/Logger.cs
Silvenga/gsudo
1
7036977
<gh_stars>1-10 using System; using System.Diagnostics; using System.IO; namespace gsudo { public enum LogLevel { All = 0, Debug = 1, Info = 2, Warning = 3, Error = 4, None = 5, } class Logger { public static int ProcessId = System.Diagnostic...
BasicMathLibrary/Surfaces/MissingValueReplenishments/NoneMissingValueReplenishment.cs
dodoni/dodoni.net
5
7036978
<reponame>dodoni/dodoni.net<filename>BasicMathLibrary/Surfaces/MissingValueReplenishments/NoneMissingValueReplenishment.cs /* MIT License Copyright (c) 2011-2019 <NAME> (http://www.dodoni-project.net) All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
src/buildinitramfs/CpioNode.cs
djp952/vm-linux
0
7036979
<reponame>djp952/vm-linux<filename>src/buildinitramfs/CpioNode.cs //--------------------------------------------------------------------------- // Copyright (c) 2016 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "S...
src/Lykke.Service.NeoApi.DomainServices/Blockchain/Contracts/GetUnclaimedResponse.cs
LykkeCity/Lykke.Service.NeoApi
0
7036980
<reponame>LykkeCity/Lykke.Service.NeoApi<filename>src/Lykke.Service.NeoApi.DomainServices/Blockchain/Contracts/GetUnclaimedResponse.cs using Newtonsoft.Json; namespace Lykke.Service.NeoApi.DomainServices.Blockchain.Contracts { public class GetUnclaimedResponse { [JsonProperty("unclaimed")] pub...
IntegrationTestingSandbox/DataAccess/Strings.cs
aberkromb/IntegrationTesting_Research
0
7036981
<gh_stars>0 namespace IntegrationTestingSandbox.DataAccess { public class Strings { public int Id { get; set; } public string String { get; set; } } }
MiningPrototype/Assets/Scripts/Dialog/SacrificeActions.cs
LucxMangaJet/BAMiningPrototype
1
7036982
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; public enum AltarRewardType { None, InstantDelivery, Spring, MidasTouch, Analphabetism, Sadness } public class SacrificeActions : MonoBehaviour { [SerializeField] flo...
test/CommandLineUtils.Tests/CommandLineProcessorTests.cs
sebastienros/CommandLineUtils
1
7036983
<reponame>sebastienros/CommandLineUtils // Copyright (c) <NAME>. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Xunit; using Xunit.Abstractions; namespace McMaster.Extensions.CommandLineUtils.Tests { public class CommandLineProcessorTests ...
Artificial-Ant-Agents/Assets/Scripts/Classes/Misc/StateMachine.cs
WailAbou/Artificial-Ant-Agents
0
7036984
using System; public class StateMachine { public BaseState currentState; public void ChangeState(BaseState newState, Action OnDisable, Action OnEnable) { currentState?.Disable(OnDisable); currentState = newState; currentState.Enable(OnEnable); } public void Update(Action ...
project 2/Assets/2D Hand Painted/$Common/Scripts/Animate/AnimateRandomFrame.cs
mia-taylor9/unity-project
0
7036985
<filename>project 2/Assets/2D Hand Painted/$Common/Scripts/Animate/AnimateRandomFrame.cs using UnityEngine; using Random = UnityEngine.Random; namespace NotSlot.HandPainted2D { [RequireComponent(typeof(Animator))] [AddComponentMenu("2D Hand Painted/Animate/Random Frame")] public sealed class AnimateRandomFrame :...
Store.Web/obj/Debug/netcoreapp2.1/Razor/Views/Order/DeliveryStep.g.cshtml.cs
den2201/BookStore
0
7036986
<reponame>den2201/BookStore<filename>Store.Web/obj/Debug/netcoreapp2.1/Razor/Views/Order/DeliveryStep.g.cshtml.cs #pragma checksum "C:\projects\BookStore\Store.Web\Views\Order\DeliveryStep.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e1551f4f4d5c83355ef8efa5c6248a049fd3432d" // <auto-generated/> #pragma warning di...
NxBRE2/Source/org/nxbre/ie/rule/AtomFunction.cs
jdevonshire/experiments
112
7036987
namespace org.nxbre.ie.rule { using System; using System.Collections; using org.nxbre.ie.adapters; using org.nxbre.ie.core; using org.nxbre.ie.predicates; using org.nxbre.util; /// <summary> /// An AtomFunction represents a function-driven association of predicates. It is immutable. /// </summary...
Sprinkler/Framework/TestResult.cs
furore-fhir/sprinkler
6
7036988
/* * Copyright (c) 2014, Furore (<EMAIL>) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.github.com/furore-fhir/sprinkler/master/LICENSE */ using System; using System.Collections.Generic; using System.Linq; using Sys...
Slot.Editor/Commands/DeleteWordBackCommand.cs
vorov2/CodeBox
8
7036989
<gh_stars>1-10 using System; using Slot.Editor.ObjectModel; using static Slot.Editor.Commands.ActionResults; using System.ComponentModel.Composition; using Slot.Core.ComponentModel; namespace Slot.Editor.Commands { [Export(typeof(EditorCommand))] [ComponentData("editor.deletewordback")] public sealed clas...
LumiSoftNet/Net/FTP/Server/FTP_e_GetDirListing.cs
garakutanokiseki/Join.NET
1
7036990
using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.FTP.Server { /// <summary> /// This class provides data for <see cref="FTP_Session.GetDirListing"/> event. /// </summary> public class FTP_e_GetDirListing : EventArgs { private string m_Pa...
RazzleServer.Crypto/MapleAesCipher.cs
razfriman/RazzleServer
25
7036991
<filename>RazzleServer.Crypto/MapleAesCipher.cs using System; using System.Security.Cryptography; namespace RazzleServer.Crypto { public class MapleAesCipher { private ICryptoTransform AesTransformer { get; } /// <summary> /// IV to use in the Maple AES section /// </summary> ...
src/Mediator.WebAPI/Controllers/NotifierMediatorController.cs
fuadyhidayat/Lab-Mediator
0
7036992
<filename>src/Mediator.WebAPI/Controllers/NotifierMediatorController.cs using Mediator.Application.Notifiers; using Microsoft.AspNetCore.Mvc; namespace Mediator.WebAPI.Controllers { [ApiController] [Route("api/[controller]/[action]")] public class NotifierMediatorController : ApiController { p...
Meru_Web/MeruAPI/Controllers/DeviceApiController.cs
enigma34/MERU-App
0
7036993
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Meru_Web.Models; using Meru_Web.Repository; namespace Meru_Web.Controllers { public class DeviceApiController : ApiController { private I...
Icing/Icing.Tests/TestTools/TestFramework/TestOf_TestClassFinishedEventArgs.cs
benallred/Icing
5
7036994
using System; using Icing.TestTools.TestFramework; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Icing.Tests.TestTools.TestFramework { [TestClass] public class TestOf_TestClassFinishedEventArgs { [TestMethod] public void Constructor() { TestClassFinishedEventArgs eventArgs = new TestClas...
ReSharper.FSharp/src/FSharp.Psi/src/Impl/Tree/RecordDeclaration.cs
slavam2605/fsharp-support
0
7036995
using System.Collections.Generic; using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree; using JetBrains.ReSharper.Plugins.FSharp.Util; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Tree { internal partial class RecordDeclaration { protected override string DeclaredElementNa...
Tests/Transport/OpenSshConfigTest.cs
HackerBaloo/GitSharp
1
7036996
/* * Copyright (C) 2008, Google Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this list of con...
QuantumChess.App/Framework/IWindowManager.cs
gregsdennis/QuantumChess
0
7036997
namespace QuantumChess.App.Framework { /// <summary> /// A service that manages windows. /// </summary> public interface IWindowManager { /// <summary> /// Shows a non-modal window for the specified model. /// </summary> /// <param name="rootModel">The root model.</param> void ShowWindow(IScreen rootMod...
src/Shift.Data/Repositories/OrdemServicoExameRepository.cs
alan-lisboa/Shift.Order
1
7036999
using Microsoft.EntityFrameworkCore; using Shift.Core.Data; using Shift.Data.Contexts; using Shift.Domain.Interfaces; using Shift.Domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shift.Data.Repositories { public class Orde...
src/HttPlaceholder.TestUtilities/TestObjectFactory.cs
dukeofharen/httplaceholder
59
7037000
<filename>src/HttPlaceholder.TestUtilities/TestObjectFactory.cs using HttPlaceholder.Application.StubExecution; using Moq; namespace HttPlaceholder.TestUtilities { public static class TestObjectFactory { public static IRequestLoggerFactory GetRequestLoggerFactory() { var r...
src/Libraries/Plugins.cs
austinv900/Oxide.Core
20
7037001
using Oxide.Core.Plugins; using System.Linq; namespace Oxide.Core.Libraries { /// <summary> /// The plugins library /// </summary> public class Plugins : Library { /// <summary> /// Returns if this library should be loaded into the global namespace /// </summary> pu...
ThScoreFileConverterTests/Models/Th13/CollectRateReplacerTests.cs
armadillo-winX/ThScoreFileConverter
16
7037002
<filename>ThScoreFileConverterTests/Models/Th13/CollectRateReplacerTests.cs using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using ThScoreFileConverter.Models; using ThScoreFileConverter.Models.Th13; using Definition...
AlgorithmSolution/AlgorithmSolution/ZN.Core.Algorithm.String/Alphabet.cs
nandehutuzn/Algorithm
2
7037003
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZN.Core.Algorithm.String { /// <summary> /// 字母表API by zhangning 20170719 /// </summary> public abstract class Alphabet { /// <summary> ///...
Assets/newgrounds-newgrounds.io-for-unity-c-2aa135974443/Assets/io/newgrounds/objects/error.cs
maryphun/Hellfight
0
7037004
using System; using System.Collections.Generic; using SimpleJSON; namespace io.newgrounds.objects { /// <summary> /// A model for 'error' data. /// </summary> public class error : Model { /// <summary> /// A code indication the error type. /// </summary> public int code { get; set; } /// <summary> ...
src/EntityFramework.Migrations/Infrastructure/Migrator.cs
matteo-mosca-easydom/EntityFramework
0
7037005
<filename>src/EntityFramework.Migrations/Infrastructure/Migrator.cs // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Data;...
_no_namespace/UIEMItemsControl.----c__DisplayClass7_0.cs
SinsofSloth/RF5-global-metadata
1
7037006
<gh_stars>1-10 [CompilerGeneratedAttribute] // RVA: 0x159420 Offset: 0x159521 VA: 0x159420 private sealed class UIEMItemsControl.<>c__DisplayClass7_0 // TypeDefIndex: 8522 { // Fields public UIEMItemsControl <>4__this; // 0x10 public int _index; // 0x18 // Methods // RVA: 0x1F0FA80 Offset: 0x1F0FB81 VA: 0x1F0FA8...
src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingMemberCardOpenExtensions.cs
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
1
7037007
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Flurl.Http; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// <summary> /// 为 <see cref="WechatTenpayClient"/> 提供会员卡开放相关的 API 扩展方法。 /// </summary> public static class WechatTenpayClientExecuteMarketingM...
mvc/mvcproje/mvcproje/Views/Heading/AddHeading.cshtml
ebruaktas99/mvcdepartmaniletisim
0
7037008
<reponame>ebruaktas99/mvcdepartmaniletisim @model EntityLayer.Concrete.Heading @{ ViewBag.Title = "AddHeading"; Layout = "~/Views/Shared/_adminLayout.cshtml"; } <h2> Yeni Başlık Ekleme</h2> <br /> @using (Html.BeginForm("AddHeading", "Heading", FormMethod.Post)) { <div class="form-group"> @Html.Label("Ba...
Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@75ed63f10701-1623629446205/SDK/Features/UX/Scripts/Collections/CollectionEnums/ObjectOrientationSurfaceType.cs
kroodl21/MRTK-Blank-Starter
28
7037009
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// The type of surface to map the collect to. /// </summary> public enum ObjectOrientationSurfaceType { Cylinder = 0, Plane, ...
content/backend/src/Apps/LNCDApp.MainApp/MassTransitConfiguration.cs
leancodepl/corelibrary-templates
0
7037010
<gh_stars>0 using System; using GreenPipes; using LeanCode.DomainModels.EF; using LeanCode.DomainModels.MassTransitRelay; using LeanCode.DomainModels.MassTransitRelay.Middleware; using LNCDApp.DomainName.Services.DataAccess.Serialization; using MassTransit; using MassTransit.AutofacIntegration; using Microsoft.AspNetCo...
SimpleExpression/SimpleExpression.Core/AbstractTree/Builders/Leaves/LeafBuilder.cs
Timothep/SimpleExpressions
3
7037011
using System; using System.Collections.Generic; using SimpleExpressions.Core.AbstractTree.Nodes; using SimpleExpressions.Core.Converters; namespace SimpleExpressions.Core.AbstractTree.Builders.Leaves { public abstract class LeafBuilder: BaseBuilder { public override INode AddNode(INode currentParent, ...
src/01.Infrastructure/MicroService.Common/Enums/QueryOrderBy.cs
NaturalDragon/Surging.Authority
2
7037013
using System; using System.Collections.Generic; using System.Text; namespace MicroService.Common.Core.Enums { public enum QueryOrderBy { Asc = 1, Desc = 2, } }
BigML/BatchTopicDistribution/BatchTopicDistributionListing.cs
mmerce/bigml-csharp
12
7037014
using System; using System.Threading.Tasks; namespace BigML { public class BatchTopicDistributionListing : Query<BatchTopicDistribution.Filterable, BatchTopicDistribution.Orderable, BatchTopicDistribution> { public BatchTopicDistributionListing(Func<string, Task<Listing<BatchTopicDistribution>>> client...
PrerenderDotNet/WebDriver/ClientWebSocketExtensions.cs
jenol/prerender-selenium
0
7037015
<filename>PrerenderDotNet/WebDriver/ClientWebSocketExtensions.cs using Newtonsoft.Json; using System; using System.IO; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PrerenderDotNet.WebDriver { public static class ClientWebSocketExtensions { ...
examples/ConsoleHook/QuickStart.cs
topstarai/WindowsHook
21
7037016
// This code is distributed under MIT license. // Copyright (c) 2010-2018 <NAME> // See license.txt or https://mit-license.org/ using System; using System.Collections.Generic; using WindowsHook; namespace ConsoleHook { internal class QuickStart { public void Do() { //1. Define ke...
Auth0HackBackend/Auth0HackBackend/Model/WorkRequest.cs
AgentEnder/Auth0Hack2020
0
7037017
<reponame>AgentEnder/Auth0Hack2020 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Auth0HackBackend.Model { public class WorkRequest { public Guid WorkRequestId { get; set; } public Guid? RequestorId { get; set; } public virtua...
src/02.data/04-Alabo.Data.Things/Orders/ResultModel/TaskQueueResult.cs
tongxin3267/alabo
0
7037018
using Alabo.Data.Things.Orders.Extensions; using Alabo.Framework.Tasks.Queues.Domain.Enums; using Alabo.Framework.Tasks.Queues.Domain.Servcies; using Alabo.Framework.Tasks.Queues.Models; using Alabo.Helpers; using System; namespace Alabo.Data.Things.Orders.ResultModel { /// <summary> /// 此结果类型输入数据新增到任务队列表...
Source/Glass.Mapper.Sc/DataMappers/SitecoreLinkedMapper.cs
seankearney/Glass.Mapper
3
7037019
/* Copyright 2012 <NAME> 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...
CityBuilder/Assets/Scripts/ScriptableObjects/SingleFacilitySO.cs
enjj/City-Builder-Unity3D
0
7037020
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "New facility", menuName = "CityBuilder/StructureData/Facility")] public class SingleFacilitySO : SingleStructureBaseSO { public int maxCustomers; public int upkeepPerCustomer; }
PopOptBox.Problems.Test/SingleObjective/Continuous/StyblinskiTangTests.cs
Clymsw/PopOptBox
1
7037021
using System; using System.Linq; using PopOptBox.Base.Variables; using Xunit; namespace PopOptBox.Problems.SingleObjective.Continuous.Test { public class StyblinskiTangTests { [Fact] public void TwoDim_CorrectlyIdentifiesLegalSolution() { var evaluator = new StyblinskiTang(2...
src/DarkLoop.Azure.Functions.Authorize/Handlers/AuthenticationRequestHandler.cs
dark-loop/functions-authorize
10
7037022
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace DarkLoop.Azure.Functions.Authorize.H...
INT422-ASP.NET-MVC/Assignment 6 - Copy/Assignment 6/Controllers/Track_vm.cs
Smohiti/Seneca-Projects
1
7037023
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace Assignment_6.Controllers { public class TrackBase { public TrackBase() { Name...
Source/Icebreaker/Infrastrucutre/TeamsTrafficManagerAvailibilityCheck.cs
Azure-DevOps-JP/wm-icebreaker-r1
0
7037024
using Icebreaker.Common.Models; using System; using System.Collections.Generic; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Icebreaker.Infrastrucutre { public class TeamsTrafficManagerAvailibilityCheck : IHealthCheckProvider { public async Task<IEnumerable<Heal...
HDBellData/Migrations/202004110336295_InitMigration-V1.cs
rbaz/AspNet-3Layers-Architecture
0
7037025
<filename>HDBellData/Migrations/202004110336295_InitMigration-V1.cs namespace HDBellData.Migrations { using System; using System.Data.Entity.Migrations; public partial class InitMigrationV1 : DbMigration { public override void Up() { CreateTable( "dbo.De...
NKnife.Storages/SQL/Interfaces/Sql/IGroupBy.cs
xknife-erian/nknife
2
7037026
<reponame>xknife-erian/nknife namespace NKnife.Storages.SQL.Interfaces.Sql { public interface IGroupBy { string Column { get; set; } string TableAlias { get; set; } bool IsRaw { get; set; } } }
Server/Models/APIParam/ICDParam.cs
kieuthiendev123/QLCV
0
7037027
<filename>Server/Models/APIParam/ICDParam.cs using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace PKO.Models { public class ICDParam { public int Id { get; set; } public int? ParentId { get; set; } [Required(ErrorMessage = "MISSING_CODE")] public s...
NET.Tools.Engines.Network/Updater/IUpdateServer.cs
CHiiLD/net-toolkit
1
7037028
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NET.Tools.Engines.Network { /// <summary> /// Represent the interface for all update services /// </summary> public interface IUpdateServer { /// <summary> /// Get the new v...
src/ActiveStreams/Sampling/PeriodFunctions.cs
danielcrenna/ActiveStreams
0
7037029
// Copyright (c) <NAME> & Contributors. 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.Diagnostics; namespace ActiveStreams.Sampling { public static class PeriodFunctions { public static Func<DateTimeO...
PetaPoco/Attributes/TableNameAttribute.cs
strangepholker/PetaPoco
0
7037030
<filename>PetaPoco/Attributes/TableNameAttribute.cs<gh_stars>0 // <copyright company="PetaPoco - CollaboratingPlatypus"> // Apache License, Version 2.0 https://github.com/CollaboratingPlatypus/PetaPoco/blob/master/LICENSE.txt // </copyright> // <author>PetaPoco - CollaboratingPlatypus</author> // <date>2018/06/29...
sub/MediaPlayer/Scripts/PlayProgressBarPanel.cs
xieminghui/Game
0
7037031
<reponame>xieminghui/Game using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; #if UD_I3VR using i3vr; #endif namespace MediaPlayer { public class PlayProgressBarPanel : MonoBehaviour { public Text CurrentTimeText; public Text TotalTimeText...
Xrm.Framework.CI.PowerShell/Common/PluginAssembly.cs
msusur/xRMCiFramework2016
0
7037032
<filename>Xrm.Framework.CI.PowerShell/Common/PluginAssembly.cs using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Client; namespace Xrm.Framework.CI.Common.Entities { /// <s...
src/Voucherify/DataModel/ProductSkuList.cs
ahordijk/voucherify-dotNET-sdk
12
7037033
<gh_stars>10-100 #if VOUCHERIFYSERVER using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using Voucherify.Core.DataModel; namespace Voucherify.DataModel { [JsonObject] public class ProductSkuList : ApiListObject { [JsonProperty(PropertyName = "data")] ...
EA.Gen.Model.Helper/RoleConstraint.cs
channell/Ea.Gen
0
7037034
/* * Copyright Cepheis Ltd 2022 * All rights reserves */ using EA.Gen.Model; using System.Collections.Generic; using System.Linq; namespace EA.Gen.Hub.Data { /// <summary> /// Helper class for copying RoleConstraint /// </summary> internal static class RoleConstraint_Data { /// <summary> ...
src/RxTelegram.Bot/Validation/ValidationErrorsStringAttribute.cs
RxTelegram/RxTelegram.Bot
3
7037035
<reponame>RxTelegram/RxTelegram.Bot using System; namespace RxTelegram.Bot.Validation { [AttributeUsage(AttributeTargets.Field)] public class ValidationErrorsStringAttribute : Attribute { public string Reason { get; } public ValidationErrorsStringAttribute(string reason) => Reason = reason...
UberQueue/UberQueue.cs
alefranz/UberQueue
0
7037036
<reponame>alefranz/UberQueue using System.Diagnostics.CodeAnalysis; namespace UberQueue { /// <summary> /// Assumptions: /// - Single consumer (not threadsafe) /// </summary> /// <typeparam name="T"></typeparam> public class UberQueue<T> { private readonly IAsyncQueue<T>[] _queues;...
Music_Player_Forms_Edition/Music_Player_Forms_Edition/Form1.Designer.cs
Keenonthedaywalker/C-MP3Player
0
7037037
namespace Music_Player_Forms_Edition { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
Story Tool/Source/TextAdventurePlugin/Brainiac Base Code/Nodes/ReferencedBehavior.cs
MattFiler/TextAdventure
2
7037038
//////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // // - Redis...
Core/Cleipnir.ResilientFunctions.Tests/InMemoryTests/WatchDogsTests/InitialInvocationFailedTests.cs
stidsborg/Cleipnir.ResilientFunctions
0
7037039
using System.Threading.Tasks; using Cleipnir.ResilientFunctions.Helpers; using Cleipnir.ResilientFunctions.Storage; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Cleipnir.ResilientFunctions.Tests.InMemoryTests.WatchDogsTests; [TestClass] public class InitialInvocationFailedTests : Cleipnir.ResilientF...
XAMLator.Core/TcpCommunicator.cs
aliyasar/XAMLator
1
7037040
<filename>XAMLator.Core/TcpCommunicator.cs using System; using System.Collections.Concurrent; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace XAMLator { public class TcpCommunicatorServer : TcpCommunicator { int serverPort; TcpListen...
src/EventSub/SqlServerClient.cs
TinyBlueRobots/EventSub
4
7037041
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Dapper; using Microsoft.Data.SqlClient; namespace EventSub; class SqlServerClient : IDbClient { readonly string _connectionString; public SqlServerClient(string connectionString) { _connectionSt...
MVVMTabDemo/ViewModels/SharedViewModel.cs
beyerleinf/mvvm-tab-demo
0
7037042
<filename>MVVMTabDemo/ViewModels/SharedViewModel.cs using MVVMTabDemo.DataModels; using MVVMTabDemo.ViewModels.Interfaces; using System.ComponentModel; using System.Runtime.CompilerServices; namespace MVVMTabDemo.ViewModels { class SharedViewModel : ISharedViewModel { private SharedDataModel _dataMode...
Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@75ed63f10701-1623629446205/Core/Interfaces/BoundarySystem/IMixedRealityBoundaryHandler.cs
kroodl21/MRTK-Blank-Starter
28
7037043
<gh_stars>10-100 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Boundary { public interface IMixedRealityBoundaryHandler : IEventSystemHandler { /// <summary> /// Raised when the bou...
External/Tools/SwfOp/Data/RecordHeader.cs
SlavaRa/flashdevelop-macros
1
7037044
/* swfOP is an open source library for manipulation and examination of Macromedia Flash (SWF) ActionScript bytecode. Copyright (C) 2004 <NAME>. see Licence.cs for LGPL full text! This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as...
Day08/Program.cs
tvaedelund/advent-of-code-2016
0
7037045
using System.Diagnostics; using System.Text; using System.Text.RegularExpressions; Console.WriteLine("AoC 2016 Day08"); var sw = Stopwatch.StartNew(); var input = File.ReadAllLines("input.txt"); var screen = new int[6, 50]; var debug = false; if (debug) { test(); } else { foreach (var instr in input) {...
Models/TableResource.cs
9Ankit00/mssql-restapi
35
7037046
using System; //using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Serilog; using Serilog.Events; using SMO = Microsoft.SqlServer.Management.Smo; using SMOCommon = Microsoft.SqlServer.Management.Common; namespace MSSqlRestApi.Models { public sealed class TableResource : Resource { ...
YellowBuses-Sketch.App/Repositories/XmlRepository.cs
iivchenko/YellowBuses-Sketch
0
7037047
<gh_stars>0 // <copyright company = "XATA" > // Copyright (c) 2016, All Right Reserved // </copyright> // <author><NAME></author> // <email><EMAIL></email> using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using Sys...
11th grade/First-semester/4. DateTime/Medicaments/Medicaments/Program.cs
DemirevMartin/CSharp
0
7037048
<reponame>DemirevMartin/CSharp /* * Created by SharpDevelop. * User: User * Date: 12.10.2020 г. * Time: 15:41 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; namespace Medicaments { class Medicament { private int year, month, day, days; public Medica...
src/Services/WeText.Services.Accounts/AccountsCommandHandler.cs
kaobeixingfu/we-text
288
7037049
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WeText.Common.Commands; using WeText.Common.Repositories; using WeText.Domain; using WeText.Domain.Commands; namespace WeText.Services.Accounts { internal sealed class AccountsComm...
src/Api/Filters/HandleUnauthorizedAccessExceptionAttribute.cs
meutley/ISTS
3
7037050
<reponame>meutley/ISTS using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace ISTS.Api.Filters { public class HandleUnauthorizedAccessExceptionAttribute : ExceptionFilterAttribute { public override void OnException(ExceptionContext context) { ...
Assets/Scripts/Tutorial/TutorialProgression.cs
HappyIRL/Bombaway
1
7037051
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TutorialProgression : MonoBehaviour { Tutorial tutorial; [SerializeField] int stepToEnable; protected virtual void Start() { tutorial = GameObject.FindObjectOfType<Tutorial>(); tutorial.AddStep...
Smart.Windows/Windows/Markup/CompareToExtension.cs
usausa/Smart-Net-Windows
5
7037052
namespace Smart.Windows.Markup { using System; using System.Windows; using System.Windows.Markup; using System.Windows.Media; using Smart.Windows.Data; using Smart.Windows.Expressions; [MarkupExtensionReturnType(typeof(CompareToBoolConverter))] public sealed class CompareToBoolExtensio...
2017/day15/Program.cs
sprz/Advent-Of-Code
0
7037053
using System; namespace day15 { class Program { static void Main(string[] args) { // var genA = new Generator(783,16807); // var genB = new Generator(325,48271); var genA = new Generator(783,16807,4); var genB = new Generator(325,48271,8); ...
Peanuts.Net.Web/App_Start/ApplicationUserManager.cs
queoGmbH/peanuts
5
7037054
<reponame>queoGmbH/peanuts<filename>Peanuts.Net.Web/App_Start/ApplicationUserManager.cs using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Com.QueoFlow.Peanuts.Net.Core.Domain.Users; using Com.QueoFlow.Peanuts.Net.Core.Infrastructure.Security; using Com.Q...
src/Data/Implementations/src/Nameless.Data.Common/LoggerExtension.cs
marcoaoteixeira/nameless
0
7037055
<reponame>marcoaoteixeira/nameless using System.Data; using System.Linq; using System.Text; using Nameless.Logging; namespace Nameless.Data { internal static class LoggerExtension { #region Internal Static Methods internal static void Command(this ILogger self, IDbCommand command) { ...
src/QuartzHost.UI/Common/HttpJsonExtensions.cs
cddldg/QuartzHost
2
7037056
using Microsoft.AspNetCore.Components; using QuartzHost.Contract.Common; using QuartzHost.Contract.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Json; using System.Text; using System.Text.Json; using System.Text.Js...
Adventures/ARuncibleCargo/Game/Helpers/GameStateHelper.cs
skyhoshi/Eamon-CS
15
7037057
 // GameStateHelper.cs // Copyright (c) 2014+ by <NAME>. All rights reserved. using System.Collections.Generic; using Eamon.Framework.Helpers; using Eamon.Game.Attributes; using Eamon.Game.Extensions; namespace ARuncibleCargo.Game.Helpers { [ClassMappings] public class GameStateHelper : Eamon.Game.H...
src/ESFA.DC.ILR.ReportService.Service/Builders/PeriodEnd/AppsMonthlyPaymentModelBuilder.cs
SkillsFundingAgency/DC-ILR-1819-ReportService
0
7037058
using ESFA.DC.ILR.FundingService.FM36.FundingOutput.Model.Output; using ESFA.DC.ILR.Model.Interface; using ESFA.DC.ILR.ReportService.Interface.Builders.PeriodEnd; using ESFA.DC.ILR.ReportService.Model.ReportModels.PeriodEnd; namespace ESFA.DC.ILR.ReportService.Service.Builders.PeriodEnd { public class AppsMonthly...
Src/VsVimShared/Implementation/ToastNotification/ToastNotificationService.cs
Kazark/VsVim
0
7037059
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using System.Windows; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Text.Editor; namespace Vim.VisualStudio.Implementation.ToastNotification { ...
Compiler/JSModel/Expressions/JsTypeReferenceException.cs
AstrorEnales/SaltarelleCompiler
86
7037060
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSharpCode.NRefactory.TypeSystem; namespace Saltarelle.Compiler.JSModel.Expressions { public class JsTypeReferenceExpression : JsExpression { public ITypeDefinition Type { get; private set; } public JsTypeReferenceExpre...
RiskMapsCore/Reports/AdhocReport.cs
Inside-Outcomes/Risk-Tracker
2
7037061
<reponame>Inside-Outcomes/Risk-Tracker using RiskTracker.Entities; using RiskTracker.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.IO; using System.Linq; using System.Web; namespace RiskTracker.Reports { public class AdhocReport { public static ReportData<Row> b...
AlipaySDKNet/Domain/AlipayIserviceIotIntentQueryModel.cs
alipay/alipay-sdk-net
117
7037062
<filename>AlipaySDKNet/Domain/AlipayIserviceIotIntentQueryModel.cs using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayIserviceIotIntentQueryModel Data Structure. /// </summary> [Serializable] public class AlipayIserviceIotIntentQueryModel : Aop...
src/CosmosDbExplorer/Contracts/Views/IShellWindow.cs
sachabruttin/DocumentDbExplorer
4
7037063
<gh_stars>1-10 using System.Windows.Controls; using CosmosDbExplorer.Behaviors; using MahApps.Metro.Controls; namespace CosmosDbExplorer.Contracts.Views { public interface IShellWindow { //Frame GetNavigationFrame(); void ShowWindow(); void CloseWindow(); Frame GetRightPan...
PartsCatalog/Utilities/HttpRequestBody.cs
innoveworkshop/PartsCatalog.NET
0
7037064
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace PartsCatalog.Utilities { /// <summary> /// A simple class to help us build request bodies more easily. /// </summary> public class HttpRequestBody { private const string boundary = "X-PARTSCATALOG-BOUNDARY"; private F...
src/Moryx.TestTools.SystemTest/ModuleConfigurator.cs
mmarkwort/MORYX-Platform
22
7037065
<filename>src/Moryx.TestTools.SystemTest/ModuleConfigurator.cs<gh_stars>10-100 // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using Moryx.Runtime.Maintenance.Plugins.Modules; namespace Moryx.TestTools.SystemTest { /// <summary> /// Helper to modify the c...
src/Unitverse.Core/Frameworks/Test/MsTestTestFramework.cs
mattwhitfield/Unitverse
8
7037066
<gh_stars>1-10 namespace Unitverse.Core.Frameworks.Test { using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Unitverse.Core.Helpers; using Unitverse.Core.Options; public class MsTestTestFramework : BaseTest...
ObjectsComparer/ObjectsComparer/CustomComparers/MultidimensionalArrayComparer~1.cs
rafysanchez/ObjectsComparer
237
7037067
using System; using System.Collections.Generic; using System.Linq; using ObjectsComparer.Utils; namespace ObjectsComparer { internal class MultidimensionalArrayComparer<T> : AbstractComparer { private readonly IComparer<T> _comparer; public MultidimensionalArrayComparer(ComparisonSettings set...
Demo.Hangfire/Db/StatusType.cs
nathanchere/Demo.Hangfire
0
7037068
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Demo.Hangfire.Db { [Table("InsuranceRegistry.StatusType")] public class StatusType { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int StatusId...
CommunityBikeSharing/CommunityBikeSharing/Models/Community.cs
DagobertDev/CommunityBikeSharing
6
7037069
<reponame>DagobertDev/CommunityBikeSharing using System; using CommunityBikeSharing.Services.Data; using Plugin.CloudFirestore.Attributes; namespace CommunityBikeSharing.Models { public class Community { [Id] public string Id { get; set; } public string Name { get; set; } [DocumentConverter(typeof(TimeSpan...
System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/FreeFormEditing/IAutoConnectContainer.cs
cnork/referencesource
911
7037070
<filename>System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/FreeFormEditing/IAutoConnectContainer.cs //---------------------------------------------------------------- // <copyright company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights re...
Galeria.cshtml
AlyssonFeitosa/testando
0
7037072
<reponame>AlyssonFeitosa/testando<filename>Galeria.cshtml @{ ViewData["Title"] = "Galeria de Fotos"; } <h3>@ViewData["Title"]</h3> <div class="container"> <div class="jumbotron col-10" style="background-color: yellow;"> <figure> <img src="img/paofrances.png" class="img-fluid"> ...
GameDatabase/GameDatabase.Solution/Views/Home/Index.cshtml
ChrisRamer/3.4.1.1-game-database
0
7037073
@{ Layout = "_Layout"; } <h1 id="title">Game Database</h1> <h4 id="subtitle"><i>Store your games here!</i></h4> <hr /> <p> @Html.ActionLink("View all developers", "Index", "Developers") | @Html.ActionLink("View all games", "Index", "Games") </p>
TBD.Psi.Sensors/LaserScan2D.cs
CMU-TBD/TBD.Psi.Components
0
7037074
<reponame>CMU-TBD/TBD.Psi.Components using System; namespace TBD.Psi.Sensors { public class LaserScan2D { private readonly float[] data; private readonly float maxAngle; private readonly float minAngle; private readonly float angleIncrement; private readonly TimeSpan sc...
DFC.App.JobProfileSkills.SegmentService.UnitTests/SegmentServiceTests/SegmentServiceGetByIdTests.cs
SkillsFundingAgency/dfc-app-jobprofile-skills
1
7037075
using DFC.App.JobProfileSkills.Data.Contracts; using DFC.App.JobProfileSkills.Data.Models; using DFC.App.JobProfileSkills.Data.ServiceBusModels; using DFC.App.JobProfileSkills.Repository.CosmosDb; using FakeItEasy; using System; using System.Linq.Expressions; using System.Threading.Tasks; using Xunit; namespace DFC.A...
Crpc/CrpcHostBuilder.cs
0xdeafcafe/crpc-dotnet
1
7037076
using System; using System.Diagnostics; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace Crpc { public class CrpcHost { internal CrpcHost() { } public static IHo...
Code/Runtime/UnityUtility/Async/TaskFactory.cs
oleghcp/UnityUtility
0
7037078
<filename>Code/Runtime/UnityUtility/Async/TaskFactory.cs using System; using UnityEngine; using UnityEngine.SceneManagement; using UnityUtility.Collections; using UnityUtility.IdGenerating; using UnityUtilityTools; namespace UnityUtility.Async { public interface ITaskStopper { event Action StopAllTask...
src/Mojapi.Core/Response/Authenticated/ProfileResponse.cs
PotatoMaster101/mojapi
0
7037079
<filename>src/Mojapi.Core/Response/Authenticated/ProfileResponse.cs using Mojapi.Core.Common; namespace Mojapi.Core.Response.Authenticated { /// <summary> /// Represents a response from the player profile endpoint. /// </summary> public class ProfileResponse : BaseResponse { /// <summary> ...
source/Draft/Endpoints/Endpoint.cs
NathanTurnbow/Draft
42
7037080
using System; using System.Linq; using System.Runtime.Serialization; namespace Draft.Endpoints { /// <summary> /// Represents a verified etcd endpoint. /// </summary> [Serializable, DataContract] public sealed class Endpoint : IEquatable<Endpoint> { /// <summary> /// I...