content stringlengths 23 1.05M |
|---|
@{
ViewBag.Title = "Kiểm tra đơn hàng";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1 style="margin-bottom:2%;">Kiểm tra đơn hàng</h1>
@Html.Partial("~/Views/Partial_view/Kiemtradonhang.cshtml") |
using System.Globalization;
using System.Linq;
using System.Windows.Input;
using Windows.UI.Core;
using Uno.UI.Samples.UITests.Helpers;
using ICommand = System.Windows.Input.ICommand;
using EventHandler = System.EventHandler;
namespace Uno.UI.Samples.Presentation.SamplePages
{
internal class ListViewRefreshTemplate... |
using Kevinovation.PlanMySave.Model.Entity;
using Kevinovation.PlanMySave.Service.Contract;
namespace Kevinovation.PlanMySave.Service
{
public class PlanSaveService : IPlanSaveService
{
public PlanSaveService()
{
}
/// <summary>
/// Used for getting the result of the s... |
using System.Data.Entity;
namespace HelloWorld.V4.Read.Infrastructure
{
internal class HelloWorldDbContext : DbContext
{
public HelloWorldDbContext() : base("helloWorldDb")
{
}
public DbSet<HelloWorld> HelloWorlds { get; set; }
}
}
|
using GetworkStratumProxy.Extension;
using GetworkStratumProxy.Rpc;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text.Json;
namespace GetworkStratumProxy.Proxy.Client
{
public enum StratumState
{
Unauthorised,
Authorised,
Subscribed
}
... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
namespace Microsoft.DotNet.Cli.Utils.Tests
{
... |
namespace AltinnCore.Common.Enums
{
/// <summary>
/// This enum defines the Actions supported by the AltinnCore platform
/// </summary>
public enum ActionType
{
/// <summary>
/// Read Action
/// </summary>
Read = 0,
/// <summary>
/// Write Action
... |
using System;
using AGS.API;
using Android.Graphics;
namespace AGS.Engine.Android
{
public class AndroidBitmapLoader : IBitmapLoader
{
private readonly IGraphicsBackend _graphics;
public AndroidBitmapLoader(IGraphicsBackend graphics)
{
_graphics = graphics;
}
#region IBitma... |
using System;
using System.Runtime.Serialization;
namespace Bistrotic.Infrastructure.WebServer.Exceptions
{
[Serializable]
public class ServerStartupException : Exception
{
public ServerStartupException() : this(null)
{
}
public ServerStartupException(string? message) : th... |
//Problem 1. Sum of 3 Numbers
//Write a program that reads 3 real numbers from the console and prints their sum.
using System;
using System.Globalization;
using System.Threading;
class CalculateSum
{
static void Main()
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;... |
/*
Using loops write a program that converts an integer number to its binary representation.
The input is entered as long. The output should be a variable of type string.
Do not use the built-in .NET functionality.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System... |
using UnityEngine;
using System.Collections;
public class TentacleManager : MonoBehaviour {
public int m_iPosition;
public Sprite[] m_asTentacleSprites;
public CthulhuManager m_CthulhuManager;
private Transform Gauge;
static private float c_fDeltaTimePerFrameStandard = 0.3f;
static private float c_fSpeed =... |
using System;
using System.Threading.Tasks;
using Learning.MessageQueue.Messages;
namespace Learning.MessageQueue
{
public interface IEventSubscriber
{
Task SubscribeAsync<T>(Action<T> callBack) where T : IMessage;
Task SubscribeAsync<T>(Action<T> callBack, bool enableLock) where T : IMessage;... |
namespace MiniCRM.Web.Areas.Owners.Controllers
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MiniCRM.Services.Data.Contracts;
using MiniCRM.Web.ViewModels.Owners;
public class DashboardController : OwnersController
{
private re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using TasksOnTime;
using TasksOnTime.Scheduling;
namespace Vostok
{
/**
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="RootFolder" value="****" ... |
/*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System.Collections.Generic;
using System.Linq;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using Microsoft.Xrm.Client;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class AbstractAction : MonoBehaviour
{
float currentTranslationTime = 0f;
protected EventSystem eventSystem;
void Start()
{
eventSystem = GameObject.Find("CustomEventManager").GetComponent<Event... |
namespace TinyAggregate.UnitTests.Aggregates.Transport.Event
{
public class EngineStarted : IAcceptVisitors<IVehicleVisitor>
{
public void Accept(IVehicleVisitor visitor)
{
visitor.Visit(this);
}
}
}
|
using NHM.Common;
using System;
using System.Collections.Generic;
using System.Management;
using System.Threading.Tasks;
namespace NHM.DeviceDetection.WMI
{
internal static class DeviceBusDetector
{
private const string Tag = "DeviceBusDetector";
public static Task<List<DeviceBusData>> QueryWi... |
using System;
using System.IO;
using System.Reactive.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using IndexPublisher.Models;
using IndexPublisher.Models.Jackett;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Ser... |
using ESolutions.LifeLog.Models;
using ESolutions.Web.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ESolutions.LifeLog.Web.UI.Mobile
{
[PageUrl("~/Action.aspx")]
public partial class Action : ESolutions.Web.UI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
[RequireComponent(typeof(IStageManager))]
public class StageReference : SingletonMonoBehaviour<StageReference> {
void Awake() {
_stageManager = gameObject.GetComponent<IStageManager>();
}
... |
public class Solution {
public int MaxProfit(int[] prices) {
int maxCurr = 0;
int maxSoFar = 0;
for(int i = 1; i < prices.Length; i++){
maxCurr += prices[i] - prices[i-1];
maxCurr = Math.Max(maxCurr, prices[i] - prices[i-1]);
maxSoFar = Math.Max(m... |
namespace Aspose.Slides.Web.UI.Models.Interfaces
{
public interface ISplitterModel : IBaseViewModel
{
public string IntoMany { get; }
public string Every { get; }
public string Odd { get; }
public string ByNumber { get; }
public string IntoSingle { get; }
public string PageRange { get; }
public string T... |
using CalculoFolhaDePagamento.Domain.Domain.Contratos;
using CalculoFolhaDePagamento.Domain.Services.Repositories;
using CalculoFolhaDePagamento.Infra.Data.Connection;
using CalculoFolhaDePagamento.Infra.Data.Converters;
using CalculoFolhaDePagamento.Infra.Data.Tables;
using Dapper;
using Microsoft.Extensions.Configur... |
using System;
using Medidata.RWS.NET.Standard.ODM;
namespace Medidata.RWS.NET.Standard.Builders
{
/// <summary>
/// Indicates that the implementation can set a TransactionType parameter.
/// </summary>
/// <typeparam name="BuilderClass"></typeparam>
/// <tocexclude />
public interface Specifie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
namespace SpearSoft.RulesEngine
{
public struct ValidationResult
{
private bool _isValid;
private object[] _arguments;
/// <summary>
/// Gets IsValid
///... |
@model SFA.Apprenticeships.Web.Recruit.ViewModels.Report.ReportMenu
@{
ViewBag.Title = "Reports";
}
<h1 id="heading" class="heading-xlarge">Provider Reports</h1>
<ul>
@foreach (var report in Model.ReportList)
{
<li><a href="@Url.RouteUrl(report.Value)">@report.Key</a></li>
}
</ul>
|
using System;
namespace TradingStrategy
{
internal class Trade
{
public DateTime OpenTime { get; set; }
public decimal OpenPrice { get; set; }
public DateTime CloseTime { get; set; }
public decimal ClosePrice { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Il2CppDummyDll;
// Token: 0x02000374 RID: 884
[Token(Token = "0x2000374")]
[Serializable]
public class ControllerUiElementsState
{
// Token: 0x06001302 RID: 4866 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001302")]
[Address(RVA = "0x7... |
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.WindowsAzure.Storage.ChainTableInterface
{
// Any storage implementation that implements IChainTable can be used in TxTable
public... |
namespace BlackBox.Writers
{
using System;
using Xunit.Abstractions;
public class EventTestOutputWriter : EventConsoleWriter
{
private readonly ITestOutputHelper _output;
public EventTestOutputWriter(ITestOutputHelper output)
{
_output = output ?? throw new Argumen... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Swrith.Classes;
using Swrith.Utils;
namespace Swrith.Pages
{
public class IndexModel : PageModel
{
[BindProperty]
public ICollection<Post> DisplayedPosts { get;... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.ML.Probabilistic.Compiler.Attribu... |
using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Refit;
using PetsLostAndFoundSystem.MVC.Services;
namespace PetsLostAndFoundSystem.MVC.Infrastructure.Extensions
{
public static class ServiceCollectionExtensions
{
private static ServiceE... |
/* Form1.cs is formated only temporarily to test out the backing
*
* 3D graphics classes I made in the other files.
* Expect this class will significantly change in the near future.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Draw... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Web.Services
{
public class ItemService
{
public Models.Item GetByItemNumber(string itemNumber)
{
return new Models.Item
{
ItemNumber = itemNumber,
... |
using System;
using System.Collections.Generic;
namespace Registration.Api.Requests
{
public class BaseRequest
{
public BaseRequest()
{
}
public SourceCredentials SourceCredentials { get; set; }
public UserCredentials UserCredentials { get; set; }
public int ... |
using System;
using System.Collections.Concurrent;
using System.Net;
using System.Threading;
using Serilog;
namespace Singularity.Hazel.Udp
{
public class UdpConnectionRateLimit : IDisposable
{
private static readonly ILogger Logger = Log.ForContext<UdpConnectionRateLimit>();
// Allow burst t... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Monocle
{
public class TimerText : GraphicsComponent
{
private const float DELTA_TIME = 1 / 60f;
public enum CountModes { Down, Up };
public enum TimerModes { SecondsMilliseconds ... |
using Akka.Actor;
using Akka.Cluster;
using Tauron.Application.AkkaNode.Bootstrap;
namespace SimpleProjectManager.Server;
public sealed class ClusterJoinSelf : IStartUpAction
{
private readonly ActorSystem _system;
public ClusterJoinSelf(ActorSystem system)
=> _system = system;
public void Run(... |
/*===================================================================================
*
* Copyright (c) Userware (OpenSilver.net, CSHTML5.com)
*
* This file is part of both the OpenSilver Simulator (https://opensilver.net), which
* is licensed under the MIT license (https://opensource.org/licenses/MIT),... |
using UnityEngine;
using UnityEngine.Networking;
using System;
using System.Collections;
using System.Collections.Generic;
namespace UnityHue{
[System.Serializable]
public class HueGroup{
public string name;
public string id;
public HueGroup (string name, string id)
{
this.name = name;
this.id = id;
... |
namespace Qwiq
{
internal class WorkItemComparer : GenericComparer<IWorkItem>
{
private WorkItemComparer()
{
}
internal new static WorkItemComparer Default => Nested.Instance;
public override bool Equals(IWorkItem x, IWorkItem y)
{
if (ReferenceEqua... |
using TwitchLib.Api;
using TwitchLib.Api.Interfaces;
namespace HighLife.StreamAnnouncer.Service.Twitch
{
public class TwitchApiFactory
{
/// <summary>
/// Create a new Twitch API instance
/// </summary>
/// <param name="clientId">Id of the Twitch client</param>
/// <... |
using System.Collections.Generic;
using FluentAssertions;
using Weingartner.WeinCad.Interfaces;
using Weingartner.WeinCad.Interfaces.Monads;
using Xunit;
namespace SolidworksAddinFramework.Spec
{
public class ListExtensionsSpec
{
[Fact]
public void RotateToHeadShouldWork()
{
... |
// Copyright (c) 2021 homuler
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
using System;
using System.Collections;
using UnityEngine;
using Stopwatch = System.Diagnostics.Stopwatch;
namespace Mediapipe.Unity
{... |
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using SoundpadConnector.XML;
namespace SoundpadConnector.Response
{
/// <summary>
/// Represents a <see cref="Category"/> response
/// </summary>
public class CategoryResponse : ResponseBase<Category>
{
... |
using System.Collections.Generic;
using System;
using System.Threading;
namespace CSharp_Library.Utility {
//Avoids creating more threads by using the global queue
//Otherwise you could just create an instance of DispatchConcurrentQueue with just 1 worker for a similar effect
//The serial nature comes fro... |
namespace Softeq.XToolkit.CrossCutting.Executor
{
public class ExecutionResult<T>
{
public T Result { get; set; }
public ExecutionStatus Status { get; set; }
public ExecutionResult<T> Report(T result, ExecutionStatus status)
{
Result = result;
Status =... |
using Skyreach.Jp2.Codestream;
using Skyreach.Jp2.Codestream.Markers;
using Skyreach.Jp2.FileFormat;
using Skyreach.Query;
using Skyreach.Query.Precise;
using Skyreach.Util;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.T... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MineCase.Block;
using MineCase.World;
using MineCase.World.Plants;
using Newtonsoft.Json;
using Orleans;
using Orleans.Concurrency;
namespace MineCase.Server.World.Decoration.Plan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CompareCloudware.Domain.Models
{
#region CloudApplicationReview
public class CloudApplicationReview
{
public virtual int CloudApplicationReviewID { get; set; }
public virtual string CloudApplica... |
using GitVersion.Model.Configuration;
namespace GitVersion;
/// <summary>
/// Contextual information about where GitVersion is being run
/// </summary>
public class GitVersionContext
{
/// <summary>
/// Contains the raw configuration, use Configuration for specific config based on the current GitVersion conte... |
using AutoMapper;
using GenTemplate.Domain.Models;
using static GenTemplate.Application.Features.Post.GetPost.GetPostContract;
namespace GenTemplate.Application.Common.Mappings
{
public class MappConfigProfile : Profile
{
public MappConfigProfile()
{
CreateMap<Post, PostResponse>(... |
using Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Dtos.Identity;
using System;
namespace Skoruba.IdentityServer4.Shared.Dtos.Identity
{
public class IdentityUsersDto : UsersDto<IdentityUserDto, Guid>
{
}
} |
@model ByteBank.Web.ViewModels.EmailConfirmationViewModel
@{
ViewBag.Title = "Email Confirmation";
}
<h1>@Model.Message</h1>
@Html.ActionLink("Return to Home", "Index", "Home")
|
using UnityEngine;
using System.Collections;
public class TriggerScript : MonoBehaviour {
private LibraryMovementSimulator movementSimulator;
private Vector3 inwardVector;
public bool stairTrigger;
private Collider col;
void Start () {
inwardVector = transform.parent.transform.position - this.transform.pos... |
[CompilerGeneratedAttribute] // RVA: 0x1583B0 Offset: 0x1584B1 VA: 0x1583B0
private sealed class MiningManager.<>c__DisplayClass17_0 // TypeDefIndex: 7453
{
// Fields
public MiningPointSaveData miningPointSaveData; // 0x10
// Methods
// RVA: 0x1CB2970 Offset: 0x1CB2A71 VA: 0x1CB2970
public void .ctor() { }
// ... |
// defined: use a single thread
// not defined: thread count = (# logical processors on system - 1)
//#define useSingleThread
using AutoMapper;
using DFB_v1_40;
using DFB_v1_40.Asm;
using DFB_v1_40.Simulator;
using DFBSimulatorWrapper.DFBStateModel;
using System;
using System.Collections.Generic;
using System.Drawing... |
using NetModular.Lib.Data.Abstractions.Attributes;
using NetModular.Lib.Data.Core.Entities;
namespace NetModular.Module.Admin.Domain.ButtonPermission
{
/// <summary>
/// 按钮权限
/// </summary>
[Table("Button_Permission")]
public class ButtonPermissionEntity : Entity<int>
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using AsterSql.SqlSyntax;
namespace AsterSql.Data
{
public abstract class SqlLanguage
{
/// <summary>
/// 文字列がクオートも修飾もされていない識別子であることを検査する。
/// </summary>
public abstract bool IsRawIdentifier(string identifier);
/// <summa... |
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmartCattleCoreProcessor.Domain
{
public class CurrentValue
{
public virtual int ID { get; set; }
public virtual String ValueName { get;... |
namespace MdClone.Data.Contracts.Providers
{
public interface ISupportedFormatInfo
{
SupportedFormats SupportedFormatKey { get; }
string SupportedFormatName { get; }
string[] AllowedFileExtensions { get; }
}
} |
using UnityEngine;
public class MainMenu : MonoBehaviour
{
/** The ninja prefab */
public GameObject ninja;
/** has the game been fired */
private bool fired = false;
/** a timer */
private float timer = 0.0f;
// Update is called once per frame
void Update()
{
if (fired =... |
namespace ConformityCheck.Services.Data.Models
{
public class CountsDto
{
public int Articles { get; set; }
public int Products { get; set; }
public int Substances { get; set; }
public int Suppliers { get; set; }
public int Conformities { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace QIP.Services {
public static class CacheRegions {
public static string FIGURE_ID_GENERATOR = "FIGURE_ID";
public static string AUTH0 = "Auth0";
}
}
|
namespace Simplet.Generator
{
using System.Text;
internal class TextFile : IGeneratedFile
{
private readonly string _path;
private readonly byte[] _content;
public TextFile(string path, string content)
{
_path = path;
_content = Encoding.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NWorkflow.Exceptions
{
public class JobNotFoundException : NWorkflowException
{
private IFlow flow;
public JobNotFoundException(IFlow flow, string message)... |
using FGD.Api.Model;
using System;
using FGD.Data.Service;
using System.Threading.Tasks;
using FGD.Bussines.Service.Util;
using Microsoft.Extensions.Caching.Distributed;
namespace FGD.Bussines.Service
{
public class SubscriptionService : ISubscriptionService<SubscriptionModelApi<int>, int>
{
private I... |
namespace Swifter.SimpleScript
{
/// <summary>优先级枚举</summary>
public enum Priorities : int
{
/// <summary>常规</summary>
Bracket = 100,
/// <summary>常量</summary>
Constant = 500,
/// <summary>获取字段</summary>
GetField = 600,
/// <summary>设置字段</summary>
... |
using kamifer.LogManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace testing
{
public class miLog : Logger
{
public new void fatal(String mensaje)
{
base.log(mensaje, LoggerLevels.FATAL, 3);
... |
namespace KSoft.Phoenix.Resource.ECF
{
public sealed class EcfFileDDX
: EcfFile
{
const uint kSignature = 0x13CF5D01;
const ulong kChunkIdHeader = 0x1D8828C6ECAF45F2;
// EcfFile
const ulong kChunkIdMip0 = 0x3F74B8E87D2B44BF;
const ulong kChunkIdMipChain = 0x46F1FD3F394348B8;
//ResourceTagHe... |
using CraxcelLibrary;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FormUI
{
public partial class ApplicationForm : Form
{
public ApplicationForm()
{
InitializeComponent();
... |
// 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.Drawing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Protocols.TestTools;
using Microsoft.Protocols.TestTools.StackSd... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ControlPanel_API.Data.Database;
using ControlPanel_API.Entities;
using ControlPanel_API.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.Asp... |
//
//
// Solution: CityPlace
// Project: CityPlace.Web
// File: PublicationDetailsModel.cs
//
// Created by: ykors_000 at 24.03.2014 10:39
//
// Property of SoftGears
//
// ========
using CityPlace.Domain.Entities;
namespace CityPlace.Web.Models.Api
{
/// <summary>
/// Расширенная модель публикации
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpData.Util;
using Xunit;
namespace Sharp.Tests.Data.Util {
public class IntExtensionsTests {
[Fact]
public void BetweenTests() {
int ten = 10;
Assert.True(ten.Between(9, 11)... |
using FavourAPI.Dtos;
using FavourAPI.GraphQL.Types;
using GraphQL.Types;
namespace FavourAPI.GraphQL.InputTypes
{
public class ProviderInputType : InputObjectGraphType<ProviderDto>
{
public ProviderInputType()
{
Name = "ProviderInput";
//Field(c => c.ProfilePhoto);
... |
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.IO;
using System.Text;
namespace Uavcan.NET.Studio.CommandLine
{
sealed class ArgumentsConsole : IConsole
{
public bool IsOutputRedirected => true;
public bool IsErrorRedirected => true;
... |
using Newtonsoft.Json;
using System;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace win_eye.Plugins.DroneCI.BuildStatus
{
public class BuildStatusPlugin : IPlugin
{
public enum BuildStatus { Unknown, Success, Running }
private readonly string m_DroneURL;
... |
using BenchmarkDotNet.Attributes;
using RouteMatcher.Abstractions;
using RouteMatcher.DomainMatchers;
using System.IO;
namespace RouteMatcher.Benchmark
{
[MemoryDiagnoser, RankColumn]
public class DomainMatcherBenchmark
{
private readonly DomainMatcherHash<Rule> _hash;
private readonly DomainMatcherTrie<Rule> _... |
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Frapid.Messaging
{
public class EmailTemplateProcessor
{
public EmailTemplateProcessor(string template, List<object> dictionary)
{
Template = template;
Dictionary = dict... |
#nullable enable
using System;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Drawing;
us... |
namespace FourFlagsRPG.Models.Models.Heroes
{
using static Utilities.HeroConstants;
public class Dwarf : Hero
{
public Dwarf(string name)
: base(name)
{
this.Health *= DwarfHealthMultiplier;
this.Dexterity *= DwarfDexterityMultiplier;
this.Da... |
using System.Collections.Generic;
namespace HoneydewModels.Reference
{
public class AttributeModel : ReferenceEntity
{
public string Name { get; set; }
public ReferenceEntity ContainingType { get; set; }
public IList<ParameterModel> Parameters { get; set; } = new List<Paramete... |
using System;
using System.Reflection;
namespace Autofac.Annotation.Util
{
internal static class ComponentDetectorExtension
{
/// <summary>
/// 根据 <see cref="Component"/> 特性和 <see cref="IComponentDetector"/> 接口来判断类型是否为 Component。
/// </summary>
/// <param name="type"></param>
... |
using UnityEngine;
namespace A5BGames.DisintegrationEffect
{
public class DemoManager : MonoBehaviour
{
[SerializeField]
private Vector3 originPoint;
[SerializeField]
private Disintegratable disintegratable;
public void TriggerDisintegration () {
disintegra... |
using System;
namespace PiffLibrary.Boxes
{
/// <summary>
/// Defines encryption parameters a single sample.
/// </summary>
public sealed class PiffSampleEncryption
{
#region Constants
public static readonly Guid BoxId = Guid.Parse("a2394f52-5a9b-4f14-a244-6c427c648df4");
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Draco.Core.Models.Enumerations
{
public enum ExtensionInputObjectType
{
Unknown = 0,
File,
Folder
}
}
|
using Acquaintance.RequestResponse;
using FluentAssertions;
using NUnit.Framework;
namespace Acquaintance.Tests.RequestResponse
{
[TestFixture]
public class RequestResponse_Stress_Tests
{
[Test]
public void RequestResponseStress_Test()
{
const int numEvents = 100000;
... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace predicateForNames
{
class Program
{
static void Main(string[] args)
{
int maxAllowedLength = int.Parse(Console.ReadLine());
string[] names = Console.ReadLine()
.Split(" ");
... |
namespace AsyncCompletion.Abstract
{
using System.Threading.Tasks;
/// <summary>
/// Marks a type as requiring asynchronous completion and provides
/// the result of that completion.
/// </summary>
public interface IAsyncCompletion
{
/// <summary>
/// Gets the result of the... |
using RockLib.Configuration.ObjectFactory;
using RockLib.Messaging;
using System.Collections.Generic;
[assembly: ConfigSection("RockLib.Messaging:Senders", typeof(List<ISender>))]
[assembly: ConfigSection("RockLib.Messaging:Receivers", typeof(List<IReceiver>))]
|
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace CoreConsoleTemplate
{
public class Main
{
private readonly ILogger<Main> _log;
private readonly IConfiguration _config;
private readonly IDataAccess _dataaccess;
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace StockportWebapp.Validation
{
public class EndDateLaterThanStartDateValidation : ValidationAttribute
{
private readonly string _otherPropertyName;
private readonly string _errorMessage;
public... |
using ICSharpCode.TextEditor.Actions;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Writer.Modules;
namespace Writer.Controls
{
public class RTFTextBox : RichTextBox, IText
{
public string Content
{... |
using NUnit.Framework;
namespace CSharpier.Tests.TestFiles.DeclarationExpression
{
public class DeclarationExpressionTests : BaseTest
{
[Test]
public void DeclarationExpressions()
{
this.RunTest("DeclarationExpression", "DeclarationExpressions");
}
}
}
|
// ----------------------------------------------------
//
// AIMP DotNet SDK
//
// Copyright (c) 2014 - 2020 Evgeniy Bogdan
// https://github.com/martin211/aimp_dotnet
//
// Mail: mail4evgeniy@gmail.com
//
// ----------------------------------------------------
namespace AIMP.SDK.AlbumArtManager
{
... |
namespace Peach.Core.Debuggers.DebugEngine.Tlb
{
using System;
public enum __MIDL___MIDL_itf_DbgEng_0001_0068_0030
{
DEBUG_CONNECT_SESSION_NO_ANNOUNCE = 2
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.