text
stringlengths
1
932k
using ObjCRuntime; using UIKit; namespace TodoApp.MAUI { public class Program { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can speci...
using UnityEngine; using System.Collections; public class BallControl : MonoBehaviour { float randomNumber; float ballSpeed = 70.0f; // Use this for initialization void Start () { Wait(); GoBall(); } // Update is called once per frame void Update () { } IEnumerator Wait() { yield return new WaitF...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Caching; namespace IsThereAList.Extensions { public static class CacheExtensions { private static object sync = new object(); public const int DefaultCacheExpiration = 20; /// <summa...
// Copyright (c) 2012-2021 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace FellowOakDicom.IO.Buffer { public sealed class EmptyBuffer : IByteBuffer { public static readonly IB...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class sceneswitch2 : MonoBehaviour { void OnTriggerEnter(Collider other) { SceneManager.LoadScene(1); } // Start is called before the first frame update void Start() ...
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.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.IO; using System.Web.Mvc; using Moq; using Xunit; using Xunit.Extensions; namespace NuGetGallery { public class PackageFileServiceFacts { public class TheDeletePackageFileMethod { [Theory] [InlineData(null)] ...
using System; using System.Collections.Generic; public class Program { public static void Main() { var stack = new Stack<int>(); stack.Push(1);//push е същото като add, защото в stack няма add stack.Push(5); stack.Push(10); Console.WriteLine(stack.Count); foreac...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; namespace FlowDirection_layout { /// <summary> /// Interaction logic for Window1.xaml /// </summary> public partial class Window1 : Window { // <Snippet_FlowDirection> private void LR(object sender,...
using System; using System.Threading; using System.Threading.Tasks; using Akka.Actor; namespace Akka.TestKit.Tests.TestActorRefTests { public class ReceiveTimeoutActor : ActorBase { private readonly ActorRef _target; private CancellationTokenSource _cancellationTokenSource; public Rece...
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
using Element; using NUnit.Framework; namespace Laboratory.Tests { internal class Boolean : PreludeFixture { [ TestCase("Bool(0)", "false"), TestCase("Bool(1)", "true"), TestCase("Bool(1.2)", "true"), TestCase("Bool(9999)", "true"), TestCase("Bool(0.1)", "true"), TestCase("Bool(-0.1)", "false") ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace DynamicHandler { public partial class Contact : Page { protected void Page_Load(object sender, EventArgs e) { } } }
using System.Windows; using Pictomancer.Mvvm; namespace Pictomancer.ViewModels { public class PageViewModel : ViewModel { public string Title { get; set; } public string Header { get; set; } public FrameworkElement Content { get; set; } } }
using DSIS.Core.Util; namespace DSIS.Core.Processor { public class InThreadProcessExecutor : IProcess { private readonly IConcurentProcess myProcess; public InThreadProcessExecutor(IConcurentProcess process) { myProcess = process; } public void Execute(IProgressInfo info) { fo...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
// // Author: // Andreas Suter (andy@edelweissinteractive.com) // // Copyright (C) 2012 Edelweiss Interactive (http://www.edelweissinteractive.com) // using UnityEngine; using UnityEditor; using System.Collections; using Edelweiss.DecalSystem; using Edelweiss.DecalSystemEditor; public class DS_UVRectangleEditorWind...
// Copyright (c) .NET Foundation. 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.Reflection; using Microsoft.EntityFrameworkCore.TestUtilities; using Microsoft.Extensions.D...
using PluginBigQuery.Helper; namespace PluginBigQuery.API.Factory { public interface IClientFactory { void Initialize(Settings settings); IClient GetClient(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static PaperMarioBattleSystem.Enumerations; using static PaperMarioBattleSystem.StatusGlobals; using PaperMarioBattleSystem.Utilities; using PaperMarioBattleSystem.Extensions; namespace PaperMario...
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; // Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0...
using System; using System.Linq; using System.Threading.Tasks; using Frapper.Common; using Microsoft.EntityFrameworkCore; namespace Frapper.Repository.Movies.Queries { public class MoviesQueries : IMoviesQueries { private readonly FrapperDbContext _frapperDbContext; public MoviesQueries(Frappe...
/* * Copyright 2019 Carnegie Technologies * * 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 ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
using BusinessObjects; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ActionService { // single interface to all 'repositories' public interface IService { // Category Repository List<Category> GetCategories()...
using System; using System.Linq; using System.Reflection; using System.Collections.Generic; using Duality.IO; using Duality.Backend; namespace Duality { /// <summary> /// Manages loading, reloading, initialization and disposal of Duality core plugins. /// /// Since all assemblies are owned by the .Net runtime t...
using System; using System.Collections.Generic; using System.Linq; using Moq; namespace RaspberryIRDotNet.Tests.Unit.RX { class BaseRxTests { protected const string LircPath = "/dev/lirc8"; protected static Mock<FileSystem.IOpenFile> MakeMockFileHandle(params int[][] pulseSpaceDatas) ...
#region Copyright notice and license // Copyright 2015 gRPC authors. // // 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 requ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Advanced.Algorithms.BitAlgorithms { /// <summary> /// Add two numbers using bitwise operators /// </summary> public class AddTwoNumbers { public static int Add(int ...
using Microsoft.EntityFrameworkCore; namespace Courier.Data; public static class ServiceCollectionExtensions { public static IServiceCollection AddCourierDbContext(this IServiceCollection services, IConfiguration configuration) { services.AddDbContext<CourierDbContext>(options => { ...
// 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 namespace DotNetNuke.HttpModules.Analytics { using System; using System.Web; using System.Web.UI; usi...
using SafeObjectPool; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.Odbc; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace FreeSql.Odbc.Dameng { class OdbcDamengCo...
namespace TemplateV2.Models.ServiceModels.Account { public class UpdateProfileResponse : ServiceResponse { } }
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; namespace Obi { public interface IObiConstraintsBatch { int constraintCount { get; } int activeConstraintCount { get; set; } ...
using Chireiden.Silverfish; using HearthDb; /* _BEGIN_TEMPLATE_ { "id": "GVG_059", "name": [ "齿轮光锤", "Coghammer" ], "text": [ "<b>战吼:</b>随机使一个友方随从获得<b>圣盾</b>和<b>嘲讽</b>。", "<b>Battlecry:</b> Give a random friendly minion <b>Divine Shield</b> and <b>Taunt</b>." ], "cardClass": "PALADIN", "t...
namespace TgBotPillar.Core.Model { public interface ITextAnswer { long AuthorId { get; } string Text { get; } } }
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using WindowsTableControl; namespace LZLTetris.TetrisShape.BossShape { /// <summary>Boss的V形状。 /// /// </summary> public class TetrisItme_BossV : TetrisItmeBossBase { /// <summary>存储...
using System; using System.Collections; using System.Collections.Generic; namespace Cofi.Authentication.AccessValidation { public class AccessValidationRuleEnumerable : IAccessValidationRuleEnumerable { private readonly List<IAccessValidationRule> _rules = new(); public int Count => _rules.Cou...
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace SFA.DAS.Provider.Shared.UI.Attributes { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] public class SuppressNavigationSectionAttribute : ResultFilterAttribute { public NavigationSect...
using DIGNDB.App.SmitteStop.Core.Helpers; using Microsoft.Extensions.Logging; using System; namespace DIGNDB.App.SmitteStop.API.HealthChecks { /// <summary> /// Super class for health checks that to be configured to run after a specific hour /// </summary> public class TimedHealthCheck { /...
using System; using Xamarin.ProjectTools; using NUnit.Framework; using System.Linq; using System.IO; using System.Threading; using System.Text; using System.Collections.Generic; using Microsoft.Build.Framework; using System.Xml.Linq; using System.Security.Cryptography; using System.Text.RegularExpressions; namespac...
using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Banzai { /// <summary> /// Defines a base node in which the first matching ShouldExecute() node is executed. /// Inherit from this class for custom FirstMatchNodes. /// </summary> /// <typeparam name="T">Type on which the ...
using System; using FluentAssertions; using Metrics.Core; using Metrics.Utils; using Xunit; namespace Metrics.Tests.Metrics { public class TimerMetricTests { private readonly TestClock clock = new TestClock(); private readonly TestScheduler scheduler; private readonly TimerMetric timer...
// 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; using System.Dynamic.Utils; using System.Reflection; using System.Reflection.Emit; using S...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using MonoTouch.Foundation; using System.CodeDom.Compiler; namespace StoryboardTabl...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.AspNet.OData.Builder; using Microsoft.AspNet.OData.Formatter; using Microsoft.OData.Edm; namespace Microsoft.AspNet.OData.Test.Common { pu...
namespace uScoober.Hardware.Boards { internal interface IDuinoAnalogChannels { AnalogChannel PinA0 { get; } AnalogChannel PinA1 { get; } AnalogChannel PinA2 { get; } AnalogChannel PinA3 { get; } AnalogChannel PinA4 { get; } AnalogChannel PinA5 { get; } }...
@{Response.RedirectPermanent("~/ndocs/consume-packages/configuring-nuget-behavior#nuget-defaults-file");}
using System.Diagnostics; using ComputeSharp.Exceptions; namespace ComputeSharp { /// <summary> /// A <see langword="struct"/> that maps the <see langword="int4"/> HLSL type. /// </summary> [DebuggerDisplay("({X}, {Y}, {Z}, {W})")] public partial struct Int4 { /// <summary> ///...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
using System; using System.Collections.Generic; namespace nDumbsterCore.pop.Traverse { /// <summary> /// Finds all text/[something] versions in a Message hierarchy /// </summary> internal class TextVersionFinder : MultipleMessagePartFinder { protected override List<MessagePart> CaseLeaf(MessagePart messagePart...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/Cpl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System; u...
using System; using System.Security.Cryptography; using System.Threading.Tasks; using BE.FluentGuard; namespace BE.CQRS.Domain.Commands { public abstract class CommandBusBase : ICommandBus { private Predicate<ICommand> condition; public void WithCondition(Predicate<ICommand> condition) ...
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Globalization; using VkRadio.LowCode.Gui.Utils; using VkRadio.LowCode.Orm; using VkRadio.LowCode.TestBed.Generated.Model.Storage; namespace VkRadio.LowCode.TestBed.Generated.Model.DOT { /// <summary> /// ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // good article // http://www.codeproject.com/Articles/18714/Comparing-Values-for-Equality-in-NET-Identity-and /* == by default calls ReferenceEquals(), * Equals() by default calls RefrenceEquals() for...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading; using System.Threading.Tasks; using DotNetHelper_IO.Enum; using DotNetHelper_IO.Extension; using DotNetHelper_IO.Helpers; using SharpCompress.Archives; us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace maxNum { class maxNum { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var max = int.MinValue; for (int ...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _6.Number_in_Range__1._._._100_ { class Program { static void Main(string[] args) { Console.Write("Еnter a n...
using Mcma; using Mcma.Azure.BlobStorage; using Mcma.Azure.BlobStorage.Proxies; using Newtonsoft.Json.Linq; public static async Task<BlobStorageFileLocator> UploadFileAsync(string localFilePath) { if (!File.Exists(localFilePath)) throw new McmaException($"Local file not found at provided path '{localFilePa...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// AOP API: alipay.open.public.life.label.delete /// </summary> public class AlipayOpenPublicLifeLabelDeleteRequest : IAlipayRequest<AlipayOpenPub...
using System; using Duende.IdentityServer.Services; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace IdentityServerHost.Pages.ExternalLogin; [AllowAnonymous] [SecurityHeaders] public class Challe...
using System.Threading.Tasks; namespace Lykke.Job.FinancesAlerts.Domain.Repositories { public interface ISmsMockRepository { Task InsertAsync(string phoneNumber, string msg); } }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
namespace CyberCAT.Forms { partial class Form1 { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary> /// <...
using System; using UnityEngine; [ExecuteInEditMode, AddComponentMenu("NGUI/Internal/Draw Call")] public class UIDrawCall : MonoBehaviour { private Material mClippedMat; private Clipping mClipping; private Vector4 mClipRange; private Vector2 mClipSoft; private Material mDepthMat; private bool m...
using System; namespace FontAwesome { /// <summary> /// The unicode values for all FontAwesome icons. /// <para/> /// See https://fontawesome.com/cheatsheet /// <para/> /// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github...
namespace VirtualRadar.WinForms.SettingPage { partial class PageRawFeedDecoding { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
using System; using System.Collections.Generic; using System.Text; namespace MySoft.Data { /// <summary> /// 排序属性 /// </summary> public class SortProperty { private string propertyName; internal string PropertyName { get { return propertyName; } } ...
using MediatR; using Purkki.MediatorCacheExample.Database; using Purkki.MediatorCacheExample.Database.Entities; using System.Threading; using System.Threading.Tasks; namespace Purkki.MediatorCacheExample.Application.Cars.Commands.CreateCar { public class CreateCarCommandHandler : IRequestHandler<CreateCarCommand, Ca...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; usin...
@model EveneumSample.Events.BankAccountOpenedEvent <td> @Html.DisplayFor(model => model.Date) </td> <td> </td> <td> Bank account named '@Html.DisplayFor(model => model.AccountName)' is opened </td> <td> </td>
using System; using System.Collections.Generic; using System.Linq; namespace Seatbelt { class SeatbeltArgumentParser { private string[] Arguments { get; set; } public SeatbeltArgumentParser(string[] args) { Arguments = args; } public SeatbeltOptions Parse()...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NU...
namespace DotNet.HighStock.Options { public class PlotOptionsLineMarkerStates { public PlotOptionsLineMarkerStatesHover Hover { get; set; } /// <summary> /// The appearance of the point marker when selected. In order to allow a point to be selected, set the ...
/* * Copyright 2020 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licens...
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
namespace CrawlerService.Data.Models { public enum DataBlockType { Link, Video, Picture } }
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.R...
namespace NubankCli.Core.Configuration { public class AppSettings { public string NubankUrl { get; set; } public string MockUrl { get; set; } public bool EnableMockServer { get; set; } public string CurrentUser { get; set; } } }
using System.Collections.Generic; using System.IO; using CsvHelper; using SFA.DAS.ReferenceData.Domain.Interfaces.Services; using System.IO.Abstractions; using SFA.DAS.ReferenceData.Types.DTO; namespace SFA.DAS.ReferenceData.Infrastructure.Services { public class NhsCsvReaderHelper : INhsCsvReaderHelper { ...
using System; namespace BioWorld.Application.CustomPage { public class CustomPageDto { public Guid Id { get; set; } public string Title { get; set; } public string Slug { get; set; } public string MetaDescription { get; set; } public string RawHtmlContent { get; set; } ...
using Foundation; using UIKit; namespace Example { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register("AppDelegate")] public class...
using global::System; using Tizen.NUI.BaseComponents; using Tizen.NUI.Components; namespace Tizen.NUI.Samples { using tlog = Tizen.Log; public class CameraVideoViewTest : IExample { Window win; CameraView cameraView; VideoView videoView; Tizen.Multimedia.Camera camera; ...
using Advobot.Logging; using Advobot.Logging.Database; using Advobot.Logging.Preconditions; using Advobot.Tests.Fakes.Services.Logging; using Advobot.Tests.TestBases; using AdvorangesUtils; using Discord.Commands; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; n...
/* * Copyright (c) .NET Foundation and Contributors * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using Xunit; namespace Piranha.Tests { [Collection("Integration tests")] pub...
using FluentAssertions; using Xunit; namespace IntroductionToEventSourcing.BusinessLogic.Immutable; // EVENTS public record ShoppingCartOpened( Guid ShoppingCartId, Guid ClientId ); public record ProductItemAddedToShoppingCart( Guid ShoppingCartId, PricedProductItem ProductItem ); public record Prod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KerbalHealth { public class HealthEffect { public double MaxHP { get; set; } = 1; // Max HP multiplier, 1 means no change, 2 means 200% etc. public double MaxHPBonus { get; set; } = 0; // Max HP c...
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayFundTransOrderCloseResponse. /// </summary> public class AlipayFundTransOrderCloseResponse : AlipayResponse { /// <summary> /// 支付宝转账单据号,查询失败不返回。 /// </summary> ...
using RevisaoEstoque.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace RevisaoEstoque.Controllers { public class ContaController : Controller { [AllowAnonymous] public ActionResult Login(strin...
// Copyright (c) 2019 Alachisoft // // 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...
// Copyright (c) .NET Foundation. 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.IO; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System....
using FluentAssertions; using RabbitMQ.Client; // ReSharper disable InconsistentNaming using System; using System.Collections.Generic; using System.Text; using Xunit; namespace EasyNetQ.Tests { public class JsonSerializerTests { private readonly ISerializer serializer; public JsonSerializerTes...
using Pulse.Common.PluginSystem.Base; namespace Pulse.Plugin.SimpleInfection.Body { public class SimpleInfectionPluginMapData : PluginBaseMapData { public SimpleInfectionPluginMapData() { Name = GlobalStrings.PluginName; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Activities; namespace Orleans.Activities.Test.Activities { public sealed class WaitForBookmarkNoPersist : NativeActivity { [RequiredArgument] public InArgument<string> BookmarkName { get; set; } ...
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // ...