content
stringlengths
23
1.05M
using System.Linq; using ByrneLabs.TestoRoboto.Desktop.ViewModels; using Xunit; namespace ByrneLabs.TestoRoboto.Desktop.Tests { public class RequestMessageViewModelTest { [Fact] public void TestAddQueryStringParameter() { var viewModel = new RequestMessageViewModel(); ...
using System.Collections.Generic; using Binance.Client; namespace Binance.Stream { /// <summary> /// A JSON publisher. /// </summary> public interface IJsonPublisher : IJsonProducer { /// <summary> /// Get the subscribed stream names. /// </summary> IEnumerable<stri...
using System.Collections.Generic; namespace Kelson.Common.CodeGen.CSharp { public class Body : ISourceNode { public Statement[] Statements { get; set; } public IEnumerable<ISourceNode> Children() { foreach (var statement in Statements.AsAll()) yield return...
using IntranetAPI.Contracts.V1.Requests.Auth; using IntranetAPI.Services.AuthorizationServices; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using static IntranetAPI.Contracts.V1.ApiRoutes; namespace IntranetAPI.Controllers.V1 { p...
using pjsip4net.Core; using pjsip4net.Core.Data; using pjsip4net.Core.Interfaces.ApiProviders; namespace pjsip4net.Testing { public class TransportApiTestProvider : ITransportApiProvider { public TransportConfig GetDefaultConfig() { return new TransportConfig(); } ...
using System; class B { static long[] Read() => Array.ConvertAll(Console.ReadLine().Split(), long.Parse); static void Main() { var av = Read(); long a = av[0], v = av[1]; var bw = Read(); long b = bw[0], w = bw[1]; var t = long.Parse(Console.ReadLine()); Console.WriteLine(Math.Abs(a - b) ...
namespace SpaceX { using System; using System.Collections.Generic; public partial class Mission { public string Description { get; set; } public string Id { get; set; } public List<string> Manufacturers { get; set; } public string Name { get; set; } public string...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Mes...
using System.Net.Sockets; using System.Threading.Tasks; namespace System.Net.Http { class TcpListenerAdapter { private TcpListener _tcpListener; public TcpListenerAdapter(IPEndPoint localEndpoint) { LocalEndpoint = localEndpoint; Initialize(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AspNetCorehandson.ViewModels { public class AuthorOverview { public string AuthorId { get; set; } public string AuthorName { get; set; } public string Phone { get; set; } p...
using System.Collections; using Managers; using UnityEngine; namespace Animations { public class Collectable : MonoBehaviour { [SerializeField] private float collectTime = 3f; private Transform _player; private const float CollectingDistance = 0.1f; private voi...
using System; using CQRSlite.Commands; namespace CQRSlite.Tests.Substitutes { public class TestAggregateDoSomething : ICommand { public Guid Id { get; set; } public int ExpectedVersion { get; set; } } public class TestAggregateDoSomethingHandler : ICommandHandler<TestAggrega...
using System; using System.Collections.Generic; using System.Linq; using Spectre.Console.Rendering; namespace Spectre.Console { internal sealed class FallbackStatusRenderer : ProgressRenderer { private readonly object _lock; private IRenderable? _renderable; private string? _lastStatus;...
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using SF.Entitys.Abstraction; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; namespace SF.Entitys { public class UserEntity : IdentityUser<long, IdentityUserClaim<long>, Us...
using Northwind.WebApi.ValidationAttributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Northwind.WebApi.Models { [CustomerContactNameMustBeDifferentFromContactName( ErrorMessage = "The provided co...
 // ReSharper disable InconsistentNaming namespace OpenCvSharp.CPlusPlus { #if LANG_JP /// <summary> /// 混合分布共変動行列のタイプ /// </summary> #else /// <summary> /// The type of the mixture covariation matrices /// </summary> #endif public enum EMCovMatType : int { #if LANG_JP /// <summary> /// それぞれの混合分布の共変動行列...
namespace DigitalLearningSolutions.Data.Mappers { using Dapper.FluentMap; public static class MapperHelper { public static void SetUpFluentMapper() { FluentMapper.Initialize(fluentMapperConfig => { fluentMapperConfig.AddMap(new CurrentCours...
using System.Collections.Generic; using System.Linq; using ESFA.DC.ILR.ValidationService.Rules.Constants; using ESFA.DC.ILR.ValidationService.Rules.Derived.Interface; namespace ESFA.DC.ILR.ValidationService.Rules.Derived { /// <summary> /// derived data 07 - viable apprenticeship codes /// </summary> ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using SistemaVentas.Datos; using SistemaVentas.Logica; namespace SistemaVentas.Presentacion.VENTAS_MENU_PR...
// 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.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.CodeAnalysis; u...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using DistanceRando.Randomizer.Logic; namespace DistanceRando.Randomizer { class RandoGame { internal Dictionary<string, RandoMap> maps = new Dictionary<string, RandoMap>(); ...
namespace _0G.Legacy { public interface IUpdate { float priority { get; } void Update(); } }
// // Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.Regular...
using System.Collections; using System; using System.Collections.Generic; using UnityEngine; namespace SimpleSave { public interface ISaveable { object Save(); void Load(object data); } }
using AbhsChinese.Domain.Enum; namespace AbhsChinese.Domain.JsonEntity.Subject { public class SubjectMarkContentObj { public SubjectColorEnum Color { get; set; } public string Content { get; set; } public string Stem { get; set; } public int StemType { get; set; } /// <...
using ModBotBackend.Users; namespace ModBotBackend.Operations { [Operation("console")] public class OpenConsoleOperation : PlainTextOperationBase { public override bool ParseAsJson => false; public override string[] Arguments => new string[] { }; public override AuthenticationLevel...
using System; using System.Collections.Generic; using System.Text; namespace DesignPatterns.Structural.Decorator { public class Underwear : Decorator { public Underwear(Person person) : base(person) { } public override void DressUp() { base.DressUp(); ...
using System.Collections.Generic; using Tutorial.Core.ViewModels.Lessons; namespace Tutorial.UI.Touch.Views { public partial class TipView : MvxViewController { public TipView() : base("TipView", null) { } public new TipViewModel ViewModel { get { return (Ti...
using System; namespace VidyoIntegration.CommonLib.VidyoTypes.TransportClasses { [Serializable] public class Room { private readonly DateTime _createdDateTime = DateTime.Now; private string _roomKey = ""; public int RoomId { get; set; } public string RoomKey { ...
//<Snippet1> using System; using System.Reflection; public class Example { public static void Main() { foreach (Type t in typeof(Example).Assembly.GetExportedTypes()) { Console.WriteLine(t); } } } public class PublicClass { public class PublicNeste...
namespace SqlQueryBuilder.Builder { public interface IOrderQueryBuilder : IQueryBuilderResult { IQueryBuilder OrderByAsc(params string[] columns); IQueryBuilder OrderByDesc(params string[] columns); IUpdateQueryBuilder RawOrderBy(string queryPart, params object?[] parameters); } }
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #if NET6_0_OR_GREATER using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Depend...
using System; using System.Collections.Generic; namespace Serenity.Web { public class FilesToDelete : List<string>, IDisposable, IFilesToDelete { private readonly IUploadStorage storage; private readonly List<string> OldFiles; public FilesToDelete(IUploadStorage storage) ...
namespace Odysseus.Framework.Randomizer { public static class Randomizer { private static IRandomNumberEngine randomNumberEngine; static Randomizer() => randomNumberEngine = new RandomAdapter(); public static int RandomInteger(int minimum, int maximum) => ...
// Copyright (c) 2021 Koji Hasegawa. // This software is released under the MIT License. using System.Collections; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace APIExamples.NUnit { /// <summary> /// <see cref="TimeoutAttribute"/>およびデフォルトタイムアウト時間の確認 /// </summary> [T...
using IotHub.Core.Cqrs; using System; namespace IotHub.CommandsEvents.SampleDomainWithEventSourcing { public class SampleDomainWithEventSourcingCreated : IEvent { public readonly Guid Id; public readonly string SampleVersion; public SampleDomainWithEventSourcingCreated(Guid id, string...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Challenges { // IEnumerable<Node> GetNeighbors(Node node) => node.Neighbors; public class Graph<T> { readonly List<Node> nodes = new List<Node>(); public Node AddNo...
using MeControla.Core.Extensions; using Microsoft.Extensions.Configuration; using System.Collections.Generic; using Xunit; namespace MeControla.Core.Tests.Extensions { public class ConfigurationExtensionTests { private const string CONFIG_VALUE_1 = "value1"; private const string CONFIG_VALUE_2...
using DoofesZeug.Attributes.Documentation; namespace DoofesZeug.Entities.Specieses.Animals { [Description("A small enumeration of some animals, mixed with subtypes for faster development.")] public enum WellKnownAnimal : byte { Cat, Dog, Horse, Cow, Pig, D...
@page @model IndexModel @{ ViewData["Title"] = "Home page"; } <script> function continueToChat() { $('#spn-nick').text($('#nick').val()); $('#entrance').hide(); $('#chat').show(); } </script> <div class="form-group"> &nbsp; </div> <div id="entrance"> <label for="nick">Ente...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RopeBehaviour : MonoBehaviour { [SerializeField] RopePart _ropePartPrefab; [SerializeField] GameObject _ropeHanger; [SerializeField] float _segments; [SerializeField] float _distanceBetweenSegments; ...
namespace Frameworks.CQRS.Queries { /// <summary> /// The IQuery interface defines a type of query to be passed into an IQueryHandler. /// </summary> /// <typeparam name="TQuery"> /// </typeparam> /// <typeparam name="TResult"> /// </typeparam> public interface IQuery<TResult> { ...
using System; using InterSystems.Data.IRISClient.ADO; using InterSystems.Data.IRISClient.Gateway; using InterSystems.EnsLib.PEX; using Confluent.Kafka; namespace dc { public class KafkaConsumer : BusinessService { /// <summary> /// Comma-separated list of Kafka partitions to connect to. ...
using Newtonsoft.Json; namespace EasyRpc.DynamicClient.Messages { public class ErrorClass { [JsonProperty("code")] public int Code { get; set; } [JsonProperty("message")] public string Message { get; set; } } public class RpcResponseMessage<T> { [JsonP...
// ========================================================================== // NamedStringIdConverter.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ================================================...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LayoutTool.Interfaces.Entities; namespace LayoutTool.Interfaces { public interface ISkinDefinitionConverter { SkinConversionResult Convert(SkinDefinition skinDefinition); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace NS.MBX_amarin.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class GenericTextScrollView : ContentPage { ...
namespace SearchApp.Domain { public class TermQueryEntity { public string Field { get; set; } public object Value { get; set; } public double? Boost { get; set; } public bool IsStrict { get; set; } public bool IsVerbatim { get; set; } public bool IsWritable { get...
// ----------------------------------------------------------------------------- // <copyright file="CommandExecuteEventArgs.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- namesp...
using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Couchbase.Extensions.Tracing.Otel.Tracing; using Couchbase.IntegrationTests.Fixtures; using Couchbase.KeyValue; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extens...
using System.Collections.Generic; namespace SFA.DAS.LevyTransferMatching.Application.Queries.Opportunity.GetSelectAccount { public class GetSelectAccountQueryResult { public IEnumerable<Account> Accounts { get; set; } public class Account { public string EncodedAccountId {...
using System.Collections.Generic; using System.Linq; namespace Roton.Emulation.Core.Impl { public sealed class FixedFileSystem : IFileSystem { private readonly IDictionary<string, byte[]> _files; public FixedFileSystem(bool writeable, IDictionary<string, byte[]> files = null) ...
using UnityEngine; using System; // Setup mesh geometry, tesselate, bisect vectors, extend midpoints etc.. public class PlanetGeometry : MonoBehaviour { // is this a full mesh, or a more detailed partial mesh? private bool aFullSetup = true; // keep track of how many new vertices we've adde...
using DevExpress.XtraBars; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TestDevx { public partial class frm : DevExpress.XtraBars.FluentDesignSystem.FluentDesignForm...
using IngestCSVDataIntoTimeSeries; using log4net; using log4net.Config; using PredixCommon; using PredixCommon.Entities; using PredixCommon.Entities.TimeSeries; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Reflection; using CsvHelper; namespace GenerateTime...
namespace Gateway.Tests.Load { using System.Threading; class IdProvider { readonly string idPattern; int lastId; public IdProvider(int from, string idPattern) { this.idPattern = idPattern; this.lastId = from - 1; } public string Get(...
/* (c) Copyright ESRI. This source is subject to the Microsoft Public License (Ms-PL). Please see https://opensource.org/licenses/ms-pl for details. All other rights reserved. */ using System; using System.Globalization; using System.Windows.Data; using ESRI.ArcGIS.Client; namespace ESRI.ArcGIS.Mapping.Controls.Conve...
#region license // Copyright (c) 2021, andreakarasho // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright // notice, this ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Drawing; using SonicRetro.SonLVL.API; namespace S3KObjectDefinitions.AIZ { class BreakableWall : Common.BreakableWall { public override void Init(ObjectData data) { var indexer = new MultiFileIndexer<byte>(); ...
using System; using System.Collections.Generic; #nullable disable namespace PizzaBox.Data.Entity { public partial class Topping { public Topping() { PizzaToppings = new HashSet<PizzaTopping>(); } public byte ToppingId { get; set; } public string ToppingNam...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Mogster.Core.Models { [StructLayout(LayoutKind.Explicit, Pack = 1)] public struct CombatantExStruct { [FieldOffset(6389)] publ...
using System.Collections.Generic; using System.IO; using Microsoft.Extensions.CommandLineUtils; using NuGet.Frameworks; namespace Typescript.Definitions.Tools { public class DotnetBaseParams { private readonly CommandLineApplication _app; private CommandOption _outputOption; private C...
using BS.Plugin.V3.Output; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; namespace BS.Output.VSO.Models { public class VSOOutput : IOutput { private static readonly ICollection<PropertyInfo> AllProperties; static VSOOut...
using UnityEngine; using UnityEngine.UI; public class Example : MonoBehaviour { [SerializeField] private InputField _vibrateMillisecondsInputField; [SerializeField] private Button _vibrateButton; void Awake() { _vibrateButton.onClick.AddListener(Vibrate); } void Vibrate(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using System.Configuration; using StackExchange.DataExplorer.Helpers; namespace StackExchange.DataExplorer.Models { public partial class SavedQuery { } }
@model Shop.Web.Models.Order.OrderIndexModel <div class="container"> <div id="login-row" class="row justify-content-center align-items-center"> <div id="login-column" class="col-md-6"> <div class="box"> <div class="float"> <h3 class="text-center" style="margi...
using Cofoundry.Core.Configuration; using Cofoundry.Core.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace...
using System; using System.Collections.ObjectModel; using Newtonsoft.Json; namespace VndbSharp.Models.Dumps { /// <summary> /// Represents a Trait Object from the Traits Dump /// </summary> public class Trait { /// <summary> /// The Id of the trait /// </summary> public UInt32 Id { get; private set; } ...
using LivrariaVirtualApp.Domain.Models; using LivrariaVirtualApp.UWP.ViewModels; using LivrariaVirtualApp.UWP.Views.Orders; using Microsoft.Toolkit.Uwp.UI.Controls; using System; using System.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml.Navig...
using System.Diagnostics; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using Light.GuardClauses; using MahApps.Metro.Controls; using MahApps.Metro.Controls.Dialogs; namespace ListManager.WpfClient { public sealed partial class NewItemDialog : INewItemDialog { priv...
using Archive.Mq; using Archive.Test.Common; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Moq; using System; using System.Threading; using Xunit; namespace Archive.IntegrationTests { public class MqConsumerTest { // This ...
namespace DependinatorApi { /// <summary> /// Api published by the Dependinator Visual Studio extension. /// Called by the Dependinator.exe, when triggering actions like Activate and ShowFile /// </summary> public interface IVsExtensionApi { /// <summary> /// Activat...
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using EdFi.Ods.AdminApp.Management.D...
// Copyright (C) 2019 Singapore ETH Centre, Future Cities Laboratory // All rights reserved. // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // // Author: Michael Joos (joos@arch.ethz.ch) // // References: // Key Code Summary: http://geoti...
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nave2d { public class VerticalEnemy : BaseEnemy { public new void DrawEnemy(VerticalEnemy enemy) { spriteBatch.D...
namespace Rafty.Concensus.Messages { using System; using System.Collections.Generic; using Infrastructure; using Log; public sealed class AppendEntries : Message { public AppendEntries(long term, string leaderId, int previousLogIndex, long previousLogTerm, List<LogEntry> ent...
// Copyright 2021 Niantic, Inc. All Rights Reserved. using System; using Niantic.ARDK.AR; using Niantic.ARDK.AR.ARSessionEventArgs; using Niantic.ARDK.VirtualStudio; using Niantic.ARDK.VirtualStudio.AR; using Niantic.ARDK.VirtualStudio.Remote; using UnityEngine; namespace Niantic.ARDK.VirtualStudio.AR.Mock { publ...
using System; using System.Collections.Generic; using System.Drawing; using System.IO; namespace OpenQA.Selenium.Appium.ImageComparison { public abstract class ComparisonResult { /// <summary> /// The visualization of the matching result represented as base64-encoded PNG image. /// </s...
using Server.Infrastructure.Network.Packets; namespace Server.Game.Network.Packets { public enum FloatingNumberType { Damage, Healing, Gold, Exp, Miss, Dodge, Parry, } public struct ServerFloatingNumberPacket : IPacket { public ulong...
using System; namespace PM.BO.Exceptions { public class TKRACE_SET_EVENT_ERR : Exception { private const string _message = "Error signaling race event object."; private const short Code = -10906; public TKRACE_SET_EVENT_ERR() : base(_message) { } public TKRACE_SET_EVENT_ERR(string message) : base (_messag...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; using Project.Api; using Project.Api.Persistence; using Project.Domain.Hand...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; using UnityEngine.UI; using TMPro; public class GobeController : LivingEntity { public enum GobeState {None, Idle, Patrol, Chase, Wait, Attack, GetBack, Stun, Die}; [Header("기본속성")] public GobeState gsta...
// Copyright (c) 2021, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System.Collections.Generic; using Moryx.ControlSystem.Jobs; namespace Moryx.Orders { /// <summary> /// Defines the replace scrap strategy /// </summary> public interface ICountStrategy { ...
namespace SoupDiscover.ICore { /// <summary> /// Used to resolve the Job manager for <see cref="Project"/> /// </summary> public interface IProjectJobManager : IJobManager { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class Zombie : MonoBehaviour { // Start is called before the first frame update public NavMeshAgent navMeshAgent; public Animator animator; public GameObject player; public float agroRange = ...
using System; class ExPreparation { static void Main() { int badGrades = int.Parse(Console.ReadLine()); int countBadGrades = 0; int totalCountGrades = 0; int sumGrades = 0; string lastTask = string.Empty; //or =""; while (countBadGrades < badGrades) ...
using System; using System.Collections.Generic; using System.Text; namespace SpotifyPlaylistToDiscord.Resources { public class YoutubeResult { public string Kind { get; set; } public string Etag { get; set; } public PageInfo PageInfo { get; set; } public List<YoutubeItem> Items...
using AutoMapper; using Prometheus.DB.Entities.DataContext; using Prometheus.Model; using Prometheus.Model.Apartment; using System.Collections.Generic; using System.Linq; namespace Prometheus.Service.Apartment { public class ApartmentService : IApartmentService { private readonly IMapper mapper; ...
using System; using System.Diagnostics; using System.Windows.Forms; using Common.Logging; using DevExpress.XtraEditors; namespace JenkinsTray.Utils { public static class UIUtils { public static void OpenWebPage(string url, ILog logger) { try { ...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; using System...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayEcoActivityRecycleSendModel Data Structure. /// </summary> public class AlipayEcoActivityRecycleSendModel : AlipayObject { /// <summary> ...
namespace FloraInvaders { internal class Pew { public int x; public int y; public bool isPlayerPew; public Pew(int x, int y, bool isPlayerPew) { this.x = x; this.y = y; this.isPlayerPew = isPlayerPew; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PokemonGoStat { internal class Config { internal static readonly double AdditionalLevel = 1.5; internal static readonly int MinCP = 10; internal static readonly int MaxPokemonLevel = 40; ...
@model List<okta_aspnetcore_mvc_example.Controllers.ApiDataModel> @{ ViewBag.Title = "title"; Layout = "_Layout"; } <section> <h1>Messages from Api</h1> @{ foreach (var apiDataModel in Model) { <div> <label>@apiDataModel.Date</label> <span>:...
namespace Test.UC { partial class UCTestScrollbar { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 tru...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Caching; using System.Web; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using System.Web.Hosting; using System.Web.Compilation; using System.Text.RegularExpressions; namespace Ivony.Web { ...
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Exceptions; using Microsoft.Azure.IoTSolutions.DeviceSimulation.Services.Storage.DocumentDb; using Xunit; namespace Services.Test.Storage.DocumentDb { public class D...
namespace MusicPlayer.Infrastructure { public enum PlayPauseState { Play, Pause, Stop } }
using ProtoBuf; using System; using System.Collections.Generic; namespace Resgrid.Model.Events { [ProtoContract] public class TroubleAlertEvent { [ProtoMember(1)] public int UnitId { get; set; } [ProtoMember(2)] public int? CallId { get; set; } [ProtoMember(3)] public string UserId { get; set; } [...
using System.Net; namespace Net51Zhang.Common.TaskWrapper { public class KeepAliveTask : ITask { public void Execute() { string url = "http://51zhang.net/Movie"; using (var client = new WebClient()) { var ss = client.DownloadString(url); ...