content
stringlengths
23
1.05M
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace CoreWebAppExample { [DataContract] public class ResourceAuthority : CredentialObject { private string _title = ""; private List<ResourcePath> _paths = null; [DataMember]...
using Newtonsoft.Json; namespace MLFlow.NET.Lib.Model.Responses.Run { public class RunInfo { [JsonProperty("run_uuid")] public string RunUuid { get; set; } [JsonProperty("experiment_id")] public string ExperimentId { get; set; } [JsonProperty("name")] public str...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace Blogger { /// <summary> /// Summary description for addentry. /// </summary> public class addentry : System.Windows.Forms.Form { private System.Windows.Forms.TextBo...
using Xunit; using Xunit.Extensions.Ordering; using Xunit.Extensions.Ordering.Tests; using Xunit.Extensions.Ordering.Tests.Fixtures; [assembly: CollectionBehavior(DisableTestParallelization = true)] [assembly: TestFramework("Xunit.Extensions.Ordering.TestFramework", "Xunit.Extensions.Ordering")] [assembly: TestCaseOr...
/// --------------------------------------------- /// Ultimate Character Controller /// Copyright (c) Opsive. All Rights Reserved. /// https://www.opsive.com /// --------------------------------------------- using UnityEditor; using UnityEngine; namespace Opsive.UltimateCharacterController.Inventory { /// <summa...
using lids.library.Enums; namespace lids.library.DAL.Transports { public class QueueItem { public DAL_TRANSACTION_TYPES TransactionType { get; set; } public dynamic QueueObject { get; set; } } }
/* TwoFactor * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2. */ using System; using System.Linq; using System.Security.Crypt...
using JetBrains.Annotations; using UVACanvasAccess.Model.Analytics; using UVACanvasAccess.Util; namespace UVACanvasAccess.Structures.Analytics { [PublicAPI] public class Tardiness : IPrettyPrint { internal Tardiness(TardinessModel model) { Missing = model.Missing; L...
@model Demo.Web.ViewModels.CreateEmployeeViewModel @{ ViewBag.Title = "Create Employee"; } @{ Html.EnableClientValidation(); Html.EnableUnobtrusiveJavaScript(); } @section styles { <style type="text/css"> .groupheaderLevel1 { position: relative; left: 50% !important;...
using System.Threading.Tasks; using System.Web.Mvc; using BackOffice.Areas.Users.Models; using BackOffice.Controllers; using BackOffice.Translates; using Core; namespace BackOffice.Areas.Users.Controllers { [Authorize] public class ChangeMyPasswordController : Controller { private readonly IBackOf...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public enum MissionType { None, Daily = 1, Week, Month, } public class Mission { public int mId; public MissionType mType; public DateTime mDateTime; public string mTextureName; private Texture mTexture; public str...
using DotNetNote.Models; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Threading.Tasks; namespace DotNetNote.ViewComponents { public class DataListViewComponent : ViewComponent { public async Task<IViewComponentResult> InvokeAsync(string name) { var...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.MachineLearningServices.Models { /// <summary> The RegistryListCredentialsResult. </summary> ...
//[Obsolete] [Obsolete("Use Test2")] public class Test { public Test() { WriteLine("Version 1"); } } [Data("Implemented by César")] public class Test2 { public Test2() { WriteLine("Version 2"); } } [AttributeUsage(AttributeTargets.All, AllowMultiple = false)] public sealed clas...
using LLVMSharp.API; using LLVMSharp.API.Types; using LLVMSharp.API.Types.Composite.SequentialTypes; using LLVMSharp.API.Values.Constants; using LLVMSharp.API.Values.Constants.ConstantDataSequentials; using LLVMSharp.API.Values.Constants.GlobalValues.GlobalObjects; using System; using System.Reflection; using System.R...
using System; using Tomino; public static class GameExtension { public static void WaitUntilPieceFallsAutomatically(this Game game) { var pieceFinishedFalling = false; Game.GameEventHandler eventHandler = delegate { pieceFinishedFalling = true; }; game.PieceFinishedFallingEvent += even...
using VRC.SDK3.Avatars.Components; namespace Mochizuki.VRChat.ParticleLiveToolkit.Internal { // ReSharper disable once InconsistentNaming internal static class VRCAnimatorLocomotionControlExtensions { public static void ApplyTo(this VRCAnimatorLocomotionControl source, VRCAnimatorLocomotionControl...
using RuriLib.Functions.Http; using RuriLib.Legacy.LS; using System; using System.Collections.Generic; using System.Linq; using System.Text; using RuriLib.Blocks.Requests.Http; using System.Threading.Tasks; using RuriLib.Legacy.Models; using RuriLib.Functions.Http.Options; using RuriLib.Functions.Conversion; using Rur...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BlazorFourInARow.Common.Models; namespace BlazorFourInARow.BusinessLogic { public interface ICurrentGameStateProvider { Task<GameState> GetCurrentGameStateAsync(); } }
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using OneFitnessVue.Common; using OneFitnessVue.Common.Notification; using OneFitnessVue.Data.GeneralSetting.Queries; ...
using AutoMapper; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using VoipProjectEntities.Application.Contracts.Persistence; using VoipProjectEntities.Application.Exceptions; using VoipProjectEntities.Application.Responses; using...
//MIT, 2016-present, WinterDev using System; using System.Collections.Generic; namespace PixelFarm.Drawing.WinGdi { class BufferBitmapStore { Stack<System.Drawing.Bitmap> _bmpStack = new Stack<System.Drawing.Bitmap>(); public BufferBitmapStore(int w, int h) { this.Width = w...
using System; using System.Collections.Generic; namespace ECS { public class EntityBuilder { public static EntityBuilder Default = new EntityBuilder(); public EntityBuilder AddComponent<T>(T t) where T: struct { return this; } public void Build(World world...
namespace AmbientSounds.Constants { public class IapConstants { public const string MsStoreAmbiePlusId = "ambieplus"; } }
using System; namespace Mocoding.Ofx.Client.Exceptions { class OfxResponseException : Exception { public OfxResponseException(string message) : base(message) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Google.Apis.Drive.v3; using Google.Apis.Drive.v3.Data; using DropNet; public class Navigation { private DriveService service; private DropNetClient dropClient; public Navigation(Drive...
using UnityEngine; using System.Collections; using System.Collections.Generic; // the core npc script. implements a number of states for an npc actor public class npcScript : MonoBehaviour { public enum npcState { invalid = -1, none = 0, idle = 1, patrol = 2, turnToPlayer = 3, InteractWithPlayer = 4,...
// <copyright file="TextureConverterService.cs" company="natsnudasoft"> // Copyright (c) Adrian John Dunstan. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
using Domain.Helpers; using Domain.Model; using Domain.Serializer; using Plugin; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Domain.Services { [Serializable] public class ModelService { public List<Drink> Drinks { get; private set; } publi...
namespace Patterns.Domain { public class Receipt { public decimal Price { get; } public decimal DiscountPrice { get; } public Receipt(decimal price, decimal discountPrice) { Price = price; DiscountPrice = discountPrice; } } }
using System; using System.Collections.Generic; using System.Text; namespace Chic.Core.Modules { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class ModuleEntryAttribute : Attribute { private Type _type { get; set; } public ModuleEntryAttribute(...
using UnityEngine; using System.Collections; public class Raycasting : MonoBehaviour { Camera camera; // Use this for initialization void Start () { camera = GetComponent<Camera> (); } // Update is called once per frame void Update () { Ray ray = camera.ViewportPointToRay (new Vector3 (0.5F, 0.5F, 0)); ...
 namespace RealbizGames.Shopping { public enum BuyItemStatus { None = 0, Processing = 1, Fail = 2 } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.IO; namespace WindowsFormsApplication_GetTemperature { class GetTemMethod { public string GetTemMethodtemp(string city) { string sURL,s...
namespace DockerSdk.Registries.Dto { internal class AuthResponse { public string? IdentityToken { get; set; } public string Status { get; set; } = null!; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using SoulsFormats; public class MSB2MapPiecePart : MSB2Part { [AddComponentMenu("Dark Souls 2/Parts/Map Piece")] /// <summary> /// Unknown. /// </summary> public short UnkT00; /// <summary> /// Unknown. /...
using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; using Newtonsoft.Json; namespace ImooseApiClient.Models { public class ServerTime { [JsonProperty("unix_time")] public long UnixTime { get; set; } [JsonProperty("unix_time_ms")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RequestService; namespace RequestServiceTest { public class RequestServiceHost : ServiceBaseCustom { public void Start(string[] args) { base.OnStart(args); ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using Newtonsoft.Json.Linq; namespace BMap.NET.WindowsForm { /// <summary> /// 导航路线起点/终点位置建议项 /// </summary> partial c...
using System; using System.Threading.Tasks; namespace ModularMonolith.Shared.Infrastructure.Modules { public sealed class ModuleBroadcastRegistration { public Type TargetType { get; } public Func<object, Task> Handle { get; } public string Key => TargetType.Name; public Module...
namespace ShpToSql.SqlConnectionControl { public partial class LoadingCircle { public LoadingCircle() { InitializeComponent(); } } }
using System; using ProtoBuf; namespace BO4E.ENUM { /// <summary>Unterscheidung für hoch- und niedrig-kalorisches Gas.</summary> public enum Gasqualitaet { [Obsolete("This value is only a workaround for the proto3 syntax generation. You shouldn't actually use it")] #pragma warning disable ...
using UnityEditor; using UnityEngine; namespace Baum2.Editor { public class BaumSpriteProcess : AssetPostprocessor { private void OnPostprocessTexture(Texture2D texture) { if( !assetPath.Contains("Assets/Art/UI/Sprites") ) { return; } var importer = assetImporter as TextureImporter; importer.textur...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.PythonBinding; using ICSharpCode.SharpDevelop; using ICSharpCode.SharpDevelop.Dom; using IronP...
using Tridion.ContentManager.ContentManagement; using Tridion.ContentManager.ContentManagement.Fields; using Tridion.ContentManager.Templating; using Tridion.ContentManager.Templating.Assembly; namespace TridionTemplates { [TcmTemplateTitle("Render Code")] public class RenderCode : ITemplate { pub...
using System.Threading.Tasks; using PuppeteerSharp.Tests.Attributes; using PuppeteerSharp.Xunit; using Xunit; using Xunit.Abstractions; namespace PuppeteerSharp.Tests.ChromiumSpecificTests { [Collection(TestConstants.TestFixtureCollectionName)] public class BrowserUrlOptionTests : PuppeteerPageBaseTest { ...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Build.Utilities; using WebGAC.Core; namespace WebGAC.MSBuild { public class SupplyCreds : Task { public override bool Execute() { Core.WebGAC gac = WebGACFactory.WebGAC; gac.CredRequestHandler = new Credentia...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------------------------------------...
namespace MS.GTA.BOTService.BusinessLibrary.Interfaces { using MS.GTA.BOTService.Common.Models; using System; using System.Collections.Generic; using System.Threading.Tasks; public interface IJobApplicationManager { Task<IList<UpcomingInterviews>> GetUpcomingInterviews(string userOid, ...
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ // dnlib: See LICENSE.txt for more info namespace Datadog.Trace.Ven...
using Neon.HomeControl.Components.EventsDb; using Newtonsoft.Json; namespace Neon.HomeControl.Components.Data { public class SunsetDataResultWrap { [JsonProperty("results")] public SunsetDataResults Results { get; set; } } }
using System; using System.ComponentModel; namespace Chapter09 { [Description("Listing 9.01")] class SimpleAnonymousMethod { static void Main() { Func<string, int> returnLength; returnLength = delegate(string text) { return text.Length; }; Console.Write...
using System; using System.Threading.Tasks; using Caliburn.Micro.Xamarin.Forms; using Xamarin.Forms; // ReSharper disable once CheckNamespace namespace LogoFX.Client.Mvvm.Navigation { /// <summary> /// A <see cref="NavigationPageAdapter"/> decorator allowing navigation to view model by type. /// </summary...
namespace MediatR.BackgroundService.SampleApi.BusinessLogic.Handlers.LongOperation; /// <summary> /// A request for the long operation. This will be ideally executed in the background /// </summary> public record LongOperationRequest(string Source) : IRequest<Unit>;
using System.Collections.Generic; using System.IO; using System.Linq; using IronBlock.Blocks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IronBlock.Tests { [TestClass] public class ListsTests { [TestMethod] public void Test_List_Create_With() { const string xml = @" <xml xmln...
// Copyright(c) 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations.Schema; namespace H1.Model.Entity.Configuration { public class P...
using System.Collections.Generic; namespace TxTraktor.Extension { public interface IExtension { string Name { get; } IEnumerable<Dictionary<string, string>> Process(string query); } }
/* * Destroy gameobject when its renderer is no longer visible * @ Max Perraut '20 */ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace WSoft.Camera { public class DestroyOutOfSight : MonoBehaviour { [Tooltip("A renderer that displays the object.")...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataProcessor.DataModels { public class ClassOccupanyDetails { public int IsClassOccupied { get; set; }//0 for false and 1 for true public int ClassTotalCapacity { get;...
using System; using System.Collections.Generic; using System.Threading.Tasks; using MarketingBox.Redistribution.Service.Domain.Models; using MarketingBox.Redistribution.Service.Grpc; using MarketingBox.Redistribution.Service.Grpc.Models; using MarketingBox.Redistribution.Service.Storage; using MarketingBox.Sdk.Common....
using UnityEngine; using System.Collections; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Xml; using System.IO; using ProtoBuf; using update_protocol_v3; namespace Holojam { public class MasterStream ...
// ----------------------------------------------------------------------- // <copyright file="IPaymentProcessor.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the L...
using System.Threading.Tasks; using FeedbackService.Contracts; using FeedbackService.Database.Repositories.Interfaces; using MassTransit; using Microsoft.Extensions.Logging; namespace FeedbackService.Consumers { public class GetOrderFeedbackConsumer : IConsumer<GetOrderFeedback> { private readonly ILo...
using System.Net.Sockets; namespace MyNatsClient.Internals { internal class SocketFactory : ISocketFactory { public Socket Create(SocketOptions options) { var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); if (options.UseNagleAlgo...
using System; namespace ZaraEngine.StateManaging { [Serializable] public class HealthStateStateContract { public float BloodPressureTop; public float BloodPressureBottom; public float HeartRate; public float BloodPercentage; public float FoodPercentage; pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace P9YS.Web.Controllers { public class AccountController : Controller { public IActionResult Index() { return Redirect("http://ht.p9ys.com"); ...
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// ZhimaCreditEpDossierQrcodeApplyResponse. /// </summary> public class ZhimaCreditEpDossierQrcodeApplyResponse : AlipayResponse { /// <summary> /// 档案直跳地址,默认不返回 /// </summary...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using LeakBlocker.Libraries.Common; using LeakBlocker.Libraries.Common.Cryptography; using LeakBlocker.Libraries.Common.Entities.Security; namespace LeakBlocker.Server.Service.InternalTools.AdminUsersStorage { [...
using System; public static class Heap<T> where T : IComparable<T> { public static void Sort(T[] arr) { int length = arr.Length; for (int i = length / 2; i >= 0; i--) { HeapifyDown(arr, i, length); } for (int i = length - 1; i > 0; i--) { ...
using NUnit.Framework; namespace Wikiled.Text.Analysis.Tests.NLP { [TestFixture] public class RawWordExtractorTests { [TestCase("program's", "program")] [TestCase("ringtones", "ringtone")] [TestCase("smallest", "small")] [TestCase("best", "best")] [TestCase("pretti...
using System; using System.Collections.Generic; using System.Text; namespace WYZTracker { public class ScaleManager { private static Dictionary<Scales, int[]> offsetsByScale; public static Dictionary<Scales, int[]> OffsetsByScale { get { return ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Tests.Helpers; using System.Text; using System.Threading.Tasks; using Xunit; namespace System.Linq.Tests { public class ToDictionaryTests { private class CustomComparer<T> : IEqualityComparer<T> { ...
using System; using System.ComponentModel; using System.Diagnostics; using Roslyn.Scripting; namespace Microsoft.CSharp.RuntimeHelpers { [DebuggerStepThrough] [EditorBrowsable(EditorBrowsableState.Never)] public static class SessionHelpers { // this method is only run in Submission constructor...
using System.Collections.Generic; using ShaderTools.CodeAnalysis.Hlsl.Symbols; namespace ShaderTools.CodeAnalysis.Hlsl.Binding.Signatures { internal abstract class Signature { public abstract TypeSymbol ReturnType { get; } public abstract ParameterDirection GetParameterDirection(int in...
using JobSchedule.Entities.Models; using JobSchedule.Service.BaseService; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace JobSchedule.Service.MemberGoalService { public interface IMemberGoalService : IService<MemberGoal> { Task<IEnumerable<Mem...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.Comol.Modules.Standard.ProjectManagement.Domain { [Serializable] public class dtoReorderAction { public ReorderAction Action{get;set;} public Boolean Selected { get; set; } public dt...
@using System.Web.Optimization @using MyWalletz.Helpers @model MyWalletz.Models.Home @section Navigation { @Html.Partial("Navigation") } <div class="container-fluid"> <div class="row-fluid"> <div id="container" class="span12" role="main"> <div class="page" ng-view></div> @{ Html.IncludeClientViews()...
// This source file is covered by the LICENSE.TXT file in the root folder of the SDK. namespace Ptv.XServer.Controls.Map.Gadgets { /// <summary> Control showing a watermark text over the map. </summary> public partial class WatermarkControl { #region constructor /// <summary> Initi...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using EasyLife.Domain.Models; using EasyLife.Domain.ViewModels; namespace EasyLife.Application.Services.Interfaces { public interface IOfficeManager { Task<List<Office>> GetOfficesAsync(); Task AddOfficeAsync(Offic...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace projetoTriangulo { class Triangulo { public double lado1; public double lado2; public double lado3; public string classificacao; public double pe...
using Scrabble_Score_Tool_Library; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Wind...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Commons; using Charlotte.GameCommons; namespace Charlotte.Games.Enemies { /// <summary> /// 敵 /// </summary> public abstract class Enemy { // Game.I.ReloadEnemies() からロードされた場合、初期位置として「配置されたマップセルの中心座標」が与えられる。 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WellControl { /// <summary> /// 用来传递已知数据 /// </summary> public class WellDataInput { public double YLSD = 3200;//溢流深度(m) public double YLCS = 3200;//溢流测深(m) public double JYZJ = ...
using Fan.Blog.Models.View; using Fan.Plugins; using Fan.Web.Events; using MediatR; using Shortcodes.Services; using System.Threading; using System.Threading.Tasks; namespace Shortcodes { /// <summary> /// Handler for parsing shortcodes in Page or Post body content. /// </summary> public class Shortco...
using Clarity.Common.CodingUtilities.Tuples; namespace Clarity.Common.Infra.TreeReadWrite.Serialization.Handlers { public class PairTrwHandler<T> : TrwSerializationHandlerBase<Pair<T>> { public override bool ContentIsProperties => false; public override void SaveContent(ITrwSerializationWrite...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TagsAttribute.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // ------------------------------------------------------------------------------...
namespace ConformityCheck.Services { using System.Linq; using ConformityCheck.Data.Common.Repositories; using ConformityCheck.Data.Models; public class ContentCheckService : IContentCheckService { private readonly IDeletableEntityRepository<Article> articlesRepository; private rea...
using IdentityModel; using System; using System.Collections.Generic; namespace Plus.IdentityModel { public class IdentityClientConfiguration : Dictionary<string, string> { /// <summary> /// Possible values: "client_credentials" or "password". /// Default value: "client_credentials". ...
using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; namespace ReaperCore.Nodes { public class ReaperNode { /// <summary> /// The parent ReaperNode. If null, this node is the main ReaperSession Node. ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #if BINARY_REWRITE using System.Threading.Tasks; #else using Microsoft.Coyote.Tasks; #endif using Microsoft.Coyote.Tests.Common; using Xunit.Abstractions; #if BINARY_REWRITE namespace Microsoft.Coyote.BinaryRewriting.Tests #else namespace Mic...
// ----------------------------------------------------------------------- // <copyright file="ConsoleLogger.cs" company="bartosz.jarmuz@gmail.com"> // Copyright (c) Bartosz Jarmuż. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using System; using ...
using System; namespace Heirloom { /// <summary> /// Contains information about a glyph (ie, the horizontal metrics). /// </summary> /// <category>Text</category> public readonly struct GlyphMetrics { private readonly IntRectangle _box; /// <summary> /// The advance wid...
using System; using System.Net; namespace ExtraLife { public class ApiResponseException : Exception { public ApiResponseException() { } public ApiResponseException(string message) : base(message) { } public ApiResponseException(string message, Exceptio...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RunComponentOutputNode : RunComponent, INeuralNetworkOutputNode{ public void Activation(float activationValue) { m_MoveSpeed += activationValue * m_AccelerationMultiplier; if (m_MoveSpeed < minimumSpeed...
using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using UnicornClicker.UWP.Models; namespace UnicornClicker.UWP.Migrations { [DbContext(typeof(UnicornClickerContext))] partial class UnicornClicker...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Wsu.DairyCafo.DataAccess.Tests.Helpers; namespace Wsu.DairyCafo.DataAccess.Tests { [TestClass] public class ScenarioTest { [TestMethod] public void GetCountManureSeparator_ComplexScenario_ReturnsCorrectNum() { ...
using System.Transactions; using FlexibleSqlConnectionResolver.ConnectionResolution; using FlexibleSqlConnectionResolver.UseCases.SampleApplication; namespace FlexibleSqlConnectionResolver.UseCases { public class Transaction : UseCase { public Transaction(string connectionString) ...
using System.ComponentModel; // ReSharper disable CSharpWarnings::CS1591 namespace Nutritionix { /// <summary> /// Types of food allergens /// </summary> public enum Allergen { /// <summary> /// Contains milk /// </summary> [Description("allergen_contain...
using Busybody.Events; namespace Busybody { public interface IHandle<T> where T : BusybodyEvent { void Handle(T @event); } }