content stringlengths 23 1.05M |
|---|
using System.Threading.Tasks;
namespace ZwiftSteero.Application.Abstractions
{
public interface ISteererApplication
{
Task<bool> AdvertiseAsync(string port);
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace FindAndReplace
{
/// <summary>
/// From http://kigg.codeplex.com/SourceControl/changeset/view/18277#346723
/// </summary>
[Serializable]
public class Verify
{
internal Verify()
{
}
[Serializ... |
using System.Collections.Generic;
namespace Disqus.NET.Requests
{
public class DisqusForumListCategoriesRequest : DisqusRequestBase
{
private DisqusForumListCategoriesRequest(string forum)
{
Parameters.Add(new KeyValuePair<string, string>("forum", forum));
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlatData.GroupEFConfigure
{
internal class SysAdminLogTypeConfiguration : IEntityTypeConfiguration<SysAdminLog>
{
public void Configure(EntityTypeBuilder<SysAdminLog> builder)
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Orion.Analytics.DayCounters;
using Orion.ModelFramework;
namespace Orion.Analytics.Tests.Dates
{
[TestClass]
public class DayCounterHelperTest
{
[TestMethod]
public void ParseTest()
{
IDayCounter dayCounter = Day... |
namespace Infrastructure.Models.Enumerations
{
public enum ReportType
{
Ingredient = 1,
Recipe = 2,
Comment = 3,
RecipeRecomendation = 3,
Message = 4,
}
} |
using BenchmarkDotNet.Attributes;
using Pea.Geometry.Geometry2D.Operations;
using Pea.Geometry2D;
using Pea.Geometry2D.Shapes;
using System;
using System.Collections.Generic;
namespace Pea.Geometry.Benchmarks
{
[MinColumn, MaxColumn]
[HtmlExporter, RPlotExporter]
public class RectanglePolygonOperationBenchmarks
{... |
using Bdt.GuiClient.Resources;
namespace Bdt.GuiClient.Forms
{
partial class AdminForm
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources ut... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Script;
/*********************************************************************
**** 作者 冰块药丸
**** 时间 18/4/15
**** 描述 核心子类
**********************************************************************/
namespace Assets.Script.N... |
namespace FirstAML.Couriers
{
/// <summary>
/// Defines the interface for types that calculate the price of shipping a parcel
/// </summary>
public interface IPriceCalculator
{
/// <summary>
/// Calculates the shipping cost for the given parcel
/// </summary>
... |
/*
* Apache License, Version 2.0
* Copyright 2019-2021 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
using UnityEngine;
namespace AillieoUtils.UnityTypeExt
{
public static class Vector3Ext
{
public static Vector3 SetX(this Vector3 v3, float x)
{
return new Vector3(x, v3.y, v3.z);
}
public static Vector3 SetY(this Vector3 v3, float y)
{
return ... |
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace PureSoft.Controls.VisualStudio
{
public class Vs2010TreeView : TreeView
{
#region Fields
private bool _elv;
private bool _enableExplorerTheme = true;
#endregion
#region Construc... |
using Farcin.Editor.Core.Date;
using System;
namespace Farcin.Editor.Core.Models {
public enum ClipboardOperation
{
Cut,
Copy
}
public class Clip
{
public string Content { get; set; }
public DateTime When { get; set; }
public ClipboardOperation Operation { ... |
using BuildZoo.Classes;
using System;
namespace BuildZoo
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Zootopia");
Console.WriteLine(" ");
Console.WriteLine("==================");
Console.WriteLine(" ");
... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace NRustLightning.Infrastructure.JsonConverters
{
public class MMDDHHmmTimeSpanConverter : JsonConverter<TimeSpan?>
{
private string _timespanFormatString = @"/MM/dd/hh/mm/ss";
public override TimeSpan? Read(ref ... |
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */
using System;
using Db4objects.Db4o.Foundation;
using Db4objects.Db4o.Internal;
using Db4objects.Db4o.Internal.Activation;
using Db4objects.Db4o.Internal.Delete;
using Db4objects.Db4o.Internal.Handlers;
using Db4objects.Db4o.Internal.Marshall;
... |
using System;
using A3ServerTool.Helpers.ServerLauncher;
using A3ServerTool.Models;
using Moq;
using Xunit;
namespace ServerifyA3Tests
{
/// <summary>
/// Provides tests for ServerLauncher class.
/// </summary>
public class ServerLauncherTests
{
[Fact]
private void Run_ShouldThrowI... |
using System;
using System.Runtime.Serialization;
namespace Illumina.BaseSpace.SDK.Types
{
[DataContract]
public class PropertyContainer
{
[DataMember]
public PropertyCompact[] Items { get; set; }
[DataMember]
public int? DisplayedCount { get; set; }
[DataMember]
... |
using SchemaFirstDemo.Models;
namespace SchemaFirstDemo.Dtos
{
public class AddTodoPayload
{
public AddTodoPayload(Todo todo)
{
Todo = todo;
}
public Todo Todo { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using QRCoder;
namespace TableTracewithQRCode.Data
{
public class HomeController : Controller
{
private static List<Admin> Admins = null;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace LinkedLists
{
/// <summary>
/// Tests for LinkedList class.
/// </summary>
[TestFixture]
class LinkedListTests
{
/// <summary>
//... |
using System;
using System.CommandLine;
using System.Linq;
using System.Threading.Tasks;
using Certes.Cli.Settings;
namespace Certes.Cli
{
internal static class ArgumentSyntaxExtensions
{
public const string ServerOptionName = "s|server";
public const string KeyOptionName = "k|key";
... |
using Xunit;
using ScrabbleApp.Objects;
namespace ScrabbleApp
{
public class ScrabbleTest
{
[Fact]
public void CalculateScore_SingleLetter_Number()
{
//Arrange
string oneLetter = "z";
//Act
Scrabble newWord = new Scrabble(oneLetter);
//Assert
As... |
using DXDecompiler.Chunks;
using DXDecompiler.Chunks.Rdef;
using DXDecompiler.Chunks.Shex;
using DXDecompiler.Chunks.Shex.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DXDecompiler.Decompiler
{
public class Interfaces
{
BytecodeContainer Container;
Strin... |
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using DSharpPlus.Interactivity.Extensions;
using PaimonBot.Services;
using PaimonBot.Services.HelpFormatter;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
... |
using FluentAssertions;
using Repo2.Core.ns11.FileSystems;
using Repo2.Core.ns11.Extensions.StringExtensions;
using Repo2.SDK.WPF45.FileSystems;
using Repo2.UnitTests.Lib.TestTools;
using Xunit;
namespace Repo2.AcceptanceTests.Lib.SDK.WPF45.Tests.FileSystems
{
[Trait("C:Temp", "write")]
public class FileSyste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fiddler;
[assembly: Fiddler.RequiredVersion("4.4.4.8")]
namespace FiddlerJwtDecode
{
public class FiddlerJwt : IAutoTamper
{
public void AutoTamperRequestAfter(Session oSession)
... |
using System.Collections.Generic;
namespace Gapotchenko.FX.Math.Topology
{
partial class Graph<TVertex>
{
/// <inheritdoc/>
public bool IsCyclic
{
get
{
if (m_CachedFlags[CF_IsCyclic_HasValue])
return m_CachedFlags[CF_IsCyclic... |
using System.Management.Automation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kaguwa.Commands.Network.Tests
{
[TestClass]
public class GetNetworkConnectionCommandTests
{
[TestMethod]
public void ShouldCreateCmdlet()
{
// Create an instance of the Cmd... |
using System;
namespace PME
{
internal class DateTimeNow : INow
{
public DateTime Now
{
get { return DateTime.UtcNow; }
}
}
}
|
// YnaEngine - Copyright (C) YnaEngine team
// This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of this source code package.
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Yna.Engine.Graphics3D.Material;
namespace Yna.Engine.Graph... |
using System;
namespace LumiSoft.Net.IMAP
{
// Token: 0x0200020C RID: 524
public enum IMAP_Flags_SetType
{
// Token: 0x0400073F RID: 1855
Add = 1,
// Token: 0x04000740 RID: 1856
Remove = 3,
// Token: 0x04000741 RID: 1857
Replace
}
}
|
using System;
using System.Collections.Generic;
namespace QualityOfCode.Wrong.KISS
{
public class Contact
{
public string Name { get; set; }
public List<Tuple<DateTime, Contact, string>> Messages { get; set; }
public Contact(string name)
{
Name = name;
... |
using N3O.Umbraco.Content;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Financial;
using N3O.Umbraco.Giving.Content;
using N3O.Umbraco.Localization;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Extensions;
namespace N3O.Umbraco.Giving.Cart.Models {
public class CartModel {
private... |
// Copyright 2009-2014 Matvei Stefarov <me@matvei.org>
using JetBrains.Annotations;
namespace fCraft {
/// <summary> Provides a way for printing an object's name beautified with Minecraft color codes.
/// It was "classy" in a sense that it was colored based on "class" (rank) of a player/world/zone. </summary>... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
namespace armipsSimpleGui
{
class Settings
{
public const string SETTINGS_FILENAME = "settings.xml";
public static uint fileRAM = 0;
public static List<String> u... |
using System;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Schema;
namespace De.Osthus.Ambeth.Util.Xml
{
/// <summary>
/// This class encapsulates the validation of xml documents against xsd files.
/// It is used to have the same API as in Java Ambeth.
/// </summary>
public class XmlV... |
using System.Collections.Generic;
using System.Numerics;
using System.Windows.Input;
using Veldrid.SceneGraph.InputAdapter;
namespace Veldrid.SceneGraph.Wpf
{
public class WpfInputStateSnapshot : InputSnapshot, IInputStateSnapshot
{
public bool IsMouseDown(MouseButton button)
{
ret... |
using System;
using AspNet.WebApi.HtmlMicrodataFormatter;
namespace NuGet.Lucene.Web.Formatters
{
/// <summary>
/// Extends <see cref="HtmlMicrodataFormatter"/> to include
/// customizations that improve markup for packages and related content.
/// </summary>
public class NuGetHtmlMicrodataFormatt... |
using Bouvet.DevelopmentKit.Input;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Bouvet.DevelopmentKit.Input
{
/// <summary>
/// This class is set up by InputManager to toggle what functionality is enabled on the app.
/// </summary>
[RequireComponent(typeof(InputManager... |
@inherits Liara.Formatting.LiaraRazorTemplateBase<Liara.Common.ErrorMessage>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>@Model.Description</title>
</head>
<body>
<h3>Error Code: <b>@Model.ErrorCode</b></h3>
<p>
@{ WriteLiteral(M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ScriptCs;
using ScriptCs.Contracts;
namespace DynamicHostExample
{
public class DictionaryScriptHostFactory : IScriptHostFactory
{
public IScriptHost CreateScriptHost(IScriptPackMa... |
using Kodefoxx.Studying.CsDesignPatterns.Shared.Domain.People;
namespace Kodefoxx.Studying.CsDesignPatterns.Iterator.News
{
/// <summary>
/// Defines a newsletter.
/// </summary>
public interface INewsletter
{
/// <summary>
/// Gets the name of the newsletter.
/// </summary... |
using System;
using System.Collections.Generic;
namespace ChilliCream.FluentConsole
{
internal sealed class ResolvedTaskDefinitions
{
public ResolvedTaskDefinitions(IReadOnlyList<TaskDefinition> taskDefinitions)
{
if (taskDefinitions == null)
{
throw new... |
using System.Collections.Generic;
public class SoldierRegenerateCommand : Command
{
public SoldierRegenerateCommand(IList<string> cmdArgs, IGameController gamecontroller)
: base(cmdArgs, gamecontroller)
{
}
public override void Execute()
{
var soldierType = this.CmdArgs[0];
... |
using RimWorld;
using System.Collections.Generic;
namespace RJWSexperience
{
/// <summary>
/// Thought class using record.
/// </summary>
public class Thought_Recordbased : Thought_Memory
{
private ThoughtDefExtension_StageFromRecord extension;
protected ThoughtDefExtension_StageFromRecord Extension
{
... |
namespace Reface.NPI.Parsers.Actions
{
public enum UpdateParseActions
{
Word,
And,
Or,
By,
End,
Equals,
Without,
Not
}
}
|
using UnityEngine;
using UniN.UniNClipboard;
public class Clipboard
{
private static IClipboard _shared;
public static IClipboard SharedClipboard
{
get
{
if (_shared == null)
{
var gameObject = new GameObject
{
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using com.csutil.json;
using com.csutil.model.immutable;
using Xunit;
namespace com.csutil.tests.model.immutable {
/// <summary>
/// This is a simple redux datastore example that mutates an immutable datamodel using actions that
/// are disp... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FossLock.Core.Util
{
public class Country
{
public string Id { get; set; }
public string Title { get; set; }
}
public static class... |
using UnityEngine;
namespace Source.Scripts.Configs
{
[CreateAssetMenu(menuName = "Source/Configs/Level")]
public class LevelConfig : ScriptableObject
{
[SerializeField] string _environment = string.Empty;
/// <summary>
/// Returns pre-generated level environment in Json format.
... |
using System;
using System.Collections.Generic;
using MongoDB.Bson;
namespace CS.MongoDB.DataObjects.Collections
{
[Serializable]
public class AuditObject: IEntity
{
private IDictionary<string, object> _NonMappedFields = new Dictionary<string, object>();
public IDictionary<string, object> ... |
using OpenCvSharp;
namespace ImageProcessingUtility.Processor
{
public sealed class ConvertGrayscale : ProcessBase
{
public override string Description { get; } = "Grayscale";
public override Mat Process(Mat image)
{
if (image.Channels() == 3)
{
... |
namespace Merleta.PagamentoContext.Domain.Tests.Commands
{
public class CriarClienteCommandTests
{
}
}
|
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour
{
public static ScoreManager Instance;
public int m_BestScore { private set; get; }
public int m_Rings { private set; get; }
public Text m_BestScoreText;
public Text m_ScoreText;
private void Awake()
... |
@model NovaLojaBoa.Models.Venda
@{
ViewBag.Title = "Venda";
}
<h2>Venda</h2>
<p>@Model.VendaID</p>
<p>@Model.VendaData</p>
<p>@Model.VendaTotal</p>
|
using System;
namespace Bot_NetCore.Entities
{
public class DateServices
{
public DateTime Date;
public int ColorPrice;
public int WantedPrice;
public int RolePrice;
public int FriendsPrice;
public DateServices(DateTime date, int colorPrice, int wantedPrice, in... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EGL
{
internal static class Constants
{
public const uint EGL_FALSE = 0;
public const uint EGL_TRUE = 1;
public const uint EGL_ALPHA_SIZE = 0x3021;
public const uint EGL_BAD_ACCESS = 0x3002;
p... |
using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello iBoxDB!");
//iBoxDB.LocalServer.DB.Root("/tmp/");
var text = iBoxDB.TestHelper.RunALL();
Console.WriteLine(text)... |
using EPiServer.Commerce.Marketing;
using Foundation.Infrastructure.Cms;
using System.Collections.Generic;
namespace Foundation.Infrastructure.Commerce.Marketing
{
public class PromotionsViewModel
{
public PromotionsViewModel()
{
Promotions = new List<PromotionData>();
... |
using System;
using System.Xml.Serialization;
using com.esendex.sdk.core;
namespace com.esendex.sdk.inbox
{
/// <summary>
/// Represents a collecion of inbox messages.
/// </summary>
[Serializable]
[XmlRoot("messageheaders", Namespace = Constants.API_NAMESPACE)]
public class InboxMessageCollec... |
using GildedRose.BL.Logics;
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
namespace GildedRose.Api.Controllers
{
/// <summary>
/// Inventory Controller class
/// </summary>
public class InventoryController : ApiController
{
/// ... |
using Microsoft.Owin;
using Owin;
using Umbraco.Web;
[assembly: OwinStartup("UmbracoCustomOwinStartup", typeof(UmbracoCustomOwinStartup))]
/// <summary>
/// A class to insert our own custom authentication routine into Umbraco's back-office authentication
///
/// To use this startup class, open web.config, locate th... |
using ShineEngine;
using System;
/// <summary>
/// (generated by shine)
/// </summary>
public class CenterRequestBindTool:MessageBindTool
{
public CenterRequestBindTool()
{
offSet=CenterRequestType.off;
list=new int[CenterRequestType.count-offSet][];
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Aveva.Gdp.TokenVault
{
public class TokenVaultConfig
{
public string VaultPath { get; set; }
public string VaultKey { get; set; }
}
}
|
using System;
using System.Collections.Generic;
namespace TehGM.Wolfringo.Commands
{
/// <summary>Changes the name of attribute inside of error messages.</summary>
/// <remarks>This name will be used by {{Name}} placeholder in error message template.</remarks>
[AttributeUsage(AttributeTargets.Parameter, A... |
using BikeSharing.Clients.Core.DataServices;
using BikeSharing.Clients.Core.DataServices.Base;
using BikeSharing.Clients.Core.Models;
using BikeSharing.Clients.Core.Services;
using Moq;
using NUnit.Framework;
using System.Threading.Tasks;
namespace BikeSharing.Clients.Tests
{
[TestFixture]
public class OpenWe... |
using System;
using System.Collections;
using System.IO;
using System.Reflection;
using System.Net.Sockets;
using System.Net;
using System.Collections.Generic;
using System.Threading;
namespace CsharpReflexiveLayer
{
/**
* Class that holds the main of the Csharp application
*
* @author Sotirios ... |
using System.Drawing;
using System.Windows.Forms;
namespace Combinatoria_FactorizacionEnPrimos
{
public partial class frmInfo : Form
{
public frmInfo(string titulo, Image imagen)
{
InitializeComponent();
Text += titulo;
pictureBox1.BackgroundIma... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class GrabbableCharacter : MonoBehaviour
{
public UnityEvent onGrab;
public UnityEvent onPlace;
public UnityEvent onCancel;
}
|
//
// Copyright (c) 2020 Chris Gunn
//
using System;
namespace BitSerialization.Reflection.Utilities
{
internal static class ReflectionExtensions
{
public static bool IsStruct(this Type type)
{
return type.IsValueType && !type.IsEnum && !type.IsPrimitive;
}
... |
using System.Numerics;
using Windows.UI;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Brushes;
using System;
namespace LottieUWP.Animation.Content
{
internal class RadialGradient : Gradient, IDisposable
{
private readonly float _x0;
private readonly float _y0;
privat... |
using UnityEngine;
using FrameworkDesign;
using System.Collections;
using UnityEngine.Assertions;
namespace OutOfTheBreach
{
public class ControllerMonster : MonoBehaviour, IController
{
private IGameModel mGameModel;
private IModelMonster mMonsterModel;
private ISystemMonster mMonsterS... |
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace AspNetCoreWorkshop.Api.Jobs.DeleteJob
{
public class DeleteJobRequest : IRequest<IActionResult>
{
public DeleteJobRequest(int id)
{
Id = id;
}
public int Id { get; }
}
}
|
using System;
using System.Runtime.InteropServices;
using UDlib.Core;
using UDlib.Core.Image;
using UnityEngine;
namespace UDlib.Cv {
internal static class Plugin {
[DllImport ("UDlib_Cv")]
[return: MarshalAs (UnmanagedType.I1)]
public static extern float solveLinear (Matrix<float> matA, Matrix<float> vecB,
... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayCommerceDataCampaignSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipayCommerceDataCampaignSendModel : AopObject
{
/// <summary>
/// 本次交易获得集点方式。目前... |
using System.Collections;
using Type = System.Type;
namespace Septyr.ScriptableObjectArchitecture
{
public abstract class BaseCollection : SOArchitectureBaseObject, IEnumerable
{
public object this[int index]
{
get => List[index];
set => List[index] = value;
}
... |
using System.Text.RegularExpressions;
namespace AdventOfCode2020.Business.Tools.Validators
{
public class PatternValidator
{
public static bool IsValid(string value, string pattern)
{
return new Regex(pattern).IsMatch(value);
}
}
}
|
using System;
using UnityEngine;
public class Timer
{
float timerAmount;
float timerTime;
bool paused;
public Timer(float length)
{
timerAmount = length;
}
public Timer()
{
}
public float Amount
{
get { return timerAmount; }
set
{
... |
using UnityEngine;
namespace ObjectPool
{
public class AutoScalePooledCube : PooledObject
{
// Start is called before the first frame update
public override void Start()
{
base.Start();
}
// Update is called once per frame
public override void Updat... |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace SqlServer2019Graph.Model
{
public class Edge
{
[JsonProperty("edge_table_name"... |
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Amazon.SQS;
using Amazon.SQS.Model;
namespace SqsPoller.Extensions.Publisher
{
public static class AmazonSqsExtensions
{
private static readonly JsonSerializerOptions _opti... |
using System;
using DDD.SimpleExample.Common.Events;
using NEventStore;
using NEventStore.Dispatcher;
namespace DDD.SimpleExample.WriteSide
{
public class InternalDispatcher : IDispatchCommits
{
private readonly IEventPublisher _publisher;
public InternalDispatcher(IEventPublisher publisher)
... |
using System.Collections.ObjectModel;
namespace Foster.Framework
{
/// <summary>
/// Stores an Input State
/// </summary>
public class InputState
{
/// <summary>
/// The Maximum number of Controllers
/// </summary>
public const int MaxControllers = 32;
... |
// 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.Drawing;
using static Interop;
namespace System.Windows.Forms
{
public partial class TabPage
... |
using System;
using System.ComponentModel;
using System.Text;
using System.Web.Routing;
using System.Xml;
namespace Graffiti.Core
{
public class GraffitiApplication
{
private EventHandlerList Events = new EventHandlerList();
#region Email Form
private static object EmailBeforeSendOject = new object();
priv... |
@{
ViewData["Title"] = "Ошибка";
}
<h1 class="text-danger">Ошибка!</h1>
<h2 class="text-danger">Во время обработки Вашего запроса произошла ошибка.</h2>
@if (!string.IsNullOrEmpty((string)ViewData["RequestId"]))
{
<p>
<strong>ID запроса:</strong> <code>@ViewData["RequestId"]</code>
</p>
}
<h3>Ре... |
// 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.Diagnostics.CodeAnalysis;
namespace System.Windows.Forms.Design
{
[SuppressMessage("Microsoft.Per... |
using InstagramApiSharp.Classes.ResponseWrappers.BaseResponse;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace InstagramApiSharp.Classes.ResponseWrappers
{
public class BadStatusErrorsResponseRecovery : BaseStatusResponse
{
[JsonProperty("errors")] public MessageErrorsResponsePhone ... |
using System;
using System.Windows.Media;
namespace OptimIT.Palettes
{
public class GBPalette
{
static GBPalette _INST;
public static GBPalette INST => _INST ?? new GBPalette();
public SolidColorBrush ProtossPylon => "#00a8ff".ToBrush();
public SolidColorBrush PeriWinkle => "#9... |
using Assets.Scripts.Factions;
using Assets.Scripts.Multiplayer.e;
using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
namespace Assets.Scripts.Weapons {
#region Firearm Enums
/**
* @author Brenton Hauth
* @date 11/25/20
* <summary>
* Sugge... |
using System;
using System.Linq;
using System.Threading.Tasks;
using RepairR.UnitTests;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace RepairR.IntegrationTests.Data
{
public class EfRepositoryUpdate : BaseEfRepoTestFixture
{
}
}
|
using System;
using GameFramework;
namespace GameMain
{
[DatabaseRow]
public class DBPlayer : DBRowBase
{
public DBPlayer(int id, int userId) : base(id,userId)
{
}
public int EntityTypeId { get; set; } = 0;
public string Name { get; set; } = string.Empty;
... |
using System;
using UnityEngine;
namespace Relanima.SceneManagement
{
public class PersistentObjectSpawner : MonoBehaviour
{
[SerializeField] private GameObject persistentObjectPrefab;
private static bool _hasSpawned;
private void Awake()
{
if (_hasSpawned)... |
using System;
namespace FP.Spartakiade2015.PropertyChangedNinject.BL
{
public class TestViewModel : BaseViewModel
{
public String Name { get; set; }
public String FirstName { get; set; }
public String Street { get; set; }
public String ZipCode { get; set; }
... |
// <copyright file="TestProcessWrapper.cs" company="Antonio Invernizzi V">
// Copyright (c) Antonio Invernizzi V. All rights reserved.
// </copyright>
namespace Tests.TestImplementations
{
using Infrastructure.Helpers;
using System.Diagnostics;
/// <summary>
/// Test implementation for the process wr... |
using System;
using GoodToCode.Framework.Name;
namespace GoodToCode.Entity.Resource
{
/// <summary>
/// Resource Type
/// </summary>
public interface IResourceType : INameKey
{
}
}
|
using UnityEngine;
namespace System.Collections.Generic
{
public static class ListEx
{
public static void RemoveRangeWrapped<T>(this List<T> list, int index, int count)
{
int itemCount = list.Count;
if (count == 0 || itemCount == 0) return;
if (count >= it... |
using UniRx;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;
namespace NetworkingTest
{
public class MatchingManager : MonoBehaviour
{
public enum MatchingMode
{
NotMatching,
Client,
Host,
}
[SerializeField] private Ne... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.