content
stringlengths
23
1.05M
@{ Layout = "~/Views/Shared/_LayoutBlank.cshtml"; } <style> body { /*margin-top: 1.5rem;*/ margin-top: 1.2rem; margin-bottom: 0.55rem; } #divTopTitleBar { position: fixed; left: 0rem; right: 0rem; /*top: 1rem;*/ top:0.7rem; hei...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Traverse { class Tree { private class TreeNode { public TreeNode parent; public TreeNode left; public TreeNode right; public Int64 value; public TreeNode(Int64 value_, Tree...
namespace TestStack.BDDfy.Configuration { public static class Configurator { static Configurator() { AsyncVoidSupportEnabled = true; } public static bool AsyncVoidSupportEnabled { get; set; } private static readonly Processors ProcessorsFactory = new Process...
namespace Netfox.Detective.Models.Base { public class EntityRecord { public object Data; public string Plugin; public EntityRecord() { } public EntityRecord(string plugin, object data) { this.Plugin = plugin; this.Data = data; ...
using System; using System.Threading.Tasks; namespace XamarinNativeExamples.Core.Services.WebSocketServices.Base { internal interface IBaseWebSocketService { event Action<string> ErrorReceived; event Action PingReceived; Task EnsureConnectionOpen(string apiToken); Task Disconne...
using System; using System.Collections.Generic; using System.Text.Json; using System.Threading.Tasks; using GUI.Model; using GUI.Models; using GUI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace GUI.Controllers { public class SeriesController : Controller { priva...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using Colaborador.Business.Contracts; using Colaborador.Business.Models; using Colaborador.Infra.EF; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; namespace Colaborador.Infra.Repositorios { public class ColaboradorRepository : IColaboradorRepository { privat...
@model int <form method="post"> <input type="hidden" name="id" value="@Model" /> <div class="form-group"> <input type="submit" value="Up" class="btn btn-primary" asp-page-handler="Up" /> <input type="submit" value="Down" class="btn btn-primary" asp-page-handler="Down" /> </div> </form>
// 32feet.NET - Personal Area Networking for .NET // // Copyright (c) 2013 Alan J McFarlane, All rights reserved. // Copyright (c) 2013 In The Hand Ltd, All rights reserved. // This source code is licensed under the MIT License using System.Diagnostics; #if ANDROID_BTH using System; using System.Collections.Generic; ...
using System; using System.Linq; using Bonobo.Git.Server.Data; using Bonobo.Git.Server.Data.Update; using Bonobo.Git.Server.Security; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Bonobo.Git.Server.Test.MembershipTests.EFTests { [TestClass] public class EFSqliteRoleProviderTest : EFRoleProvide...
// // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // using System; using System.Collections.Generic; using System.Threading; using Amazon.Kinesis.ClientLibrary; namespace Amazon.Kinesis.ClientLibrary.SampleConsumer { /// <summary> ...
using EventDriven.Sagas.Abstractions; namespace OrderService.Helpers; public static class SagaLockedExceptionExtensions { public static Dictionary<string, string[]> ToErrors(this SagaLockedException error) { var errors = new Dictionary<string, string[]> { { nameof(SagaLockedExcept...
using Abp.Data.Migrations.FluentMigrator; using FluentMigrator; namespace Abp.Modules.Core.Data.Migrations.V20140323 { [Migration(2014032304)] public class _20140323_04_CreateAbpUserRolesTable : AutoReversingMigration { public override void Up() { Create.Table("AbpUserRoles") ...
using System; using System.Collections.Generic; #nullable disable namespace MyLaboratory.Common.DataAccess.Models { public partial class Expenditure { public int Id { get; set; } public string AccountEmail { get; set; } public string MainClass { get; set; } public string SubCl...
using System; using NDC.Build.Core.Model; namespace NDC.Build.Core.ViewModels { public class ProjectViewModel { public ProjectViewModel(Project project) { Project = project; } public Project Project { get; } } }
using System; using Renci.SshNet; namespace R5T.NetStandard.SSH { public static class ConnectionInfoExtensions { public static SftpClient GetUnconnectedSftpClient(this ConnectionInfo connectionInfo) { var sftpClient = new SftpClient(connectionInfo); return...
using System; using System.Collections.Generic; using System.Text; namespace CloudAwesome.MarkdownMaker { public class MdComment: IDocumentPart { public List<MdPlainText> Lines { get; } public string Markdown { get { var conditionalNewLine = Lin...
using System; using System.Collections.Generic; using System.Text; namespace Content.API { public class Cultures { private Dictionary<string, Culture> allCultures = null; private Dictionary<string, Culture> applicationCultures = null; private List<string> allowedCultures = null; ...
using System; using System.Diagnostics; using LiveCharts.Dtos; using LiveCharts.Wpf; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTests.Other { [TestClass] public class SharedSeries { [TestMethod] public void SharingSeries() { //var aGuy = new Carte...
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Kugar.Core.Compare { //public class StringEqualityComparer : IEqualityComparer<string> //{ // public StringEqualityComparer():this(false) // { // } // CaseInsensitiveComparer myC...
using System; using System.Linq.Expressions; using Microsoft.AspNetCore.Components; namespace Herc.Pwa.Client.Components { public class FormBlockModel<T> : BaseComponent { [Parameter] protected string Model { get; set; } [Parameter] protected Action<string> ModelChanged { get; set; } public string Lab...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace DataLayer { public interface IEntityRepository<T> : IDisposable { T Find(int id); int Add(T newRecord); int InsertOrUpdate(T newRecord); void Remove(T ...
@model PeriodConcept.Web.Models.PeriodViewModel @if (Model.Period.DateFrom.DayOfWeek == DayOfWeek.Saturday || Model.Period.DateFrom.DayOfWeek == DayOfWeek.Sunday) { <div class="bs-callout bs-callout-info"> <h4>@Model.Period.DateFrom.ToLongDateString()</h4> <div> @Model.Period.PeriodID ...
using NinjaTrader_Client.Trader.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NinjaTrader_Client.Trader.TradingAPIs { public abstract class ITradingAPI { public abstract bool openLong(string instrument); pub...
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.Media; namespace Horker.Notebook.Models { public class Configuration { public FontFamily FontFamily { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.ServiceModel.Syndication; using System.Text; using System.Xml; using Autofac; using Moq; using NUnit.Framework; using TellagoStudios.Hermes.Business.Data.Queries; using TellagoStudios.Hermes.Business.Model; using Tel...
using System; using System.Collections.Generic; using System.Text; namespace MHWMasterDataUtils.Weapons { public enum KinsectElement { None = 0, Fire, Water, Ice, Thunder, Dragon } }
using System; using System.Data.SqlClient; using System.Threading.Tasks; namespace BetterEntityFramework.Helpers { internal class BulkHelper { public static event EventHandler<SqlRowsCopiedEventArgs> InsertProgressReport; private static void OnInsertProgressReport(object sender, SqlRowsCopied...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Runtime.Serialization; namespace InteropTypes.Graphics.Bitmaps { using PCID = PixelComponentID; partial struct PixelFormat { } }
// ------------------------------------------ // <copyright file="PopulationSelectors.cs" company="Pedro Sequeira"> // // Copyright (c) 2018 Pedro Sequeira // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hotel_Rental_System { internal class Single_Room : Hotel_Room { public int bed = 1; public bool gamingSetup = false; public int calculateCost() { ...
using ComputerShop.Context; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Threading.Tasks; namespace ComputerShop.ViewComponents { public class NavbarDropdownViewComponent : ViewComponent { private readonly ComputerShopContext _context; public NavbarDropdow...
using System; using System.Collections.Generic; using System.Reflection; namespace ServiceStack { public interface IReflectAttributeConverter { ReflectAttribute ToReflectAttribute(); } public class ReflectAttribute { public string Name { get; set; } public Lis...
using System; using System.Drawing; using System.Windows.Forms; namespace KeeTheme.Decorators { static class ControlSnapshot { public static void Make(Control control) { var disabledControlName = control.Name + "Snapshot"; var parent = control.Parent; if (!parent.Enabled) { if (parent.Controls....
using System; namespace SunCalcNet.Model { [Serializable] public struct MoonPhase : IEquatable<MoonPhase> { /// <summary> /// Moonrise time as Date /// </summary> public DateTime? Rise { get; } /// <summary> /// Moonset time as Date /// </summary> ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; // Pedidos using PalmeralGenNHibernate.CEN.Default_; using PalmeralGenNHibernate.EN.Default_; using Limpi...
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using Scriban.Runtime; ...
#region License /* * Copyright © 2002-2011 the original author or 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 * * Un...
#if !WP7 && !WP8 using System; using System.Collections.Generic; using DigitalRune.Geometry; using DigitalRune.Graphics; using DigitalRune.Graphics.Rendering; using DigitalRune.Graphics.SceneGraph; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Sceelix.Designer.Renderer3D.GameObjects...
using System; using System.Diagnostics; using System.Net; using System.Net.Sockets; using System.Threading; using System.Windows.Forms; using System.IO; using UDPCOMMON; using ThreadState = System.Threading.ThreadState; namespace UDPNATCLIENT { /// <summary> /// 客户端业务类 /// </summary> public class C...
using System; namespace agrix.Configuration { /// <summary> /// Represents a type of Script. /// </summary> internal enum ScriptType { Boot, PXE } /// <summary> /// Represents a stored script. /// </summary> internal readonly struct Script ...
// <Snippet2> using System; public class Example { public static void Main() { int[] baseValues = { 2, 8, 10, 16 }; short value = Int16.MaxValue; foreach (var baseValue in baseValues) { String s = Convert.ToString(value, baseValue); short value2 = Convert.ToInt16(s...
using UnityEngine; namespace E7.NotchSolution { /// <summary> /// A base class which use the first frame of 2 <see cref="AnimationClip"/>, and a blend value, /// to control an <see cref="Animator"/> with Playables API once on `Start()`. /// Those information are all in <see cref="BlendedCli...
// // Copyright (c) 2005 Novell, Inc. // // Authors: // Ritvik Mayank (mritvik@novell.com) // using System; using NUnit.Framework; using System.Windows.Forms; using System.Drawing; namespace MonoTests.System.Windows.Forms { [TestFixture] public class CheckedListBoxItemCheckEvent : TestHelper { static bool ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace project_api.Models { public interface IProjectRepository { Project GetBy(int id); bool TryGetProject(int id, out Project project); IEnumerable<Project> GetAll(); void A...
// CompressionAlgorithmTag public enum CompressionAlgorithmTag { Uncompressed, Zip, ZLib, BZip2 }
using NHMCore; namespace NHM.Wpf.ViewModels.Plugins { public class PluginVM : BaseVM { private readonly PluginListVM _listVM; private IPluginPageVM _currentPage; public IPluginPageVM CurrentPage { get => _currentPage; set { _...
using JetBrains.Annotations; using Newtonsoft.Json.Linq; using SIM.IO.Real; using SIM.Tool.Base; using SIM.Tool.Base.Pipelines; using SIM.Tool.Base.Wizards; using Sitecore.Diagnostics.Base; using SIM.Sitecore9Installer; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System....
using System; using System.ComponentModel; using NuGet.Frameworks; using PS.Build.Extensions; using PS.Build.Nuget.Attributes.Base; using PS.Build.Nuget.Extensions; using PS.Build.Nuget.Types; using PS.Build.Services; namespace PS.Build.Nuget.Attributes { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = ...
using UnityEngine; using UnityEngine.UI; namespace alexnown { public class Bottle : MonoBehaviour { private readonly static int _hOffsetId = Shader.PropertyToID("_HueOffset"); private readonly static int _sOffsetId = Shader.PropertyToID("_SaturationOffset"); private readonly static int ...
namespace Scaffold.Entities { public interface IEntityManager { Entity ReadEntity(string name); } }
namespace Presentation_TDD_Overview_xUnit_Tests { using System; using Moq; using Presentation_TDD_Overview; using Xunit; public class xUnitExampleClass { private static IDoStuff doer; public static void IndividualSetup() { // I run once per run of any te...
// Copyright (c) Allan Nielsen. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using OurPresence.Modeller.Domain; using OurPresence.Modeller.Domain.Extensions; using Xunit; using FluentAssertions; using VerifyXunit; using System.Threading.Tasks; names...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SSISPhoneLibShape { public static class Constants { public static string PhoneNumberIsoCodeColumn = "PhoneNumberIsoCode"; public static string PhoneNumberLinageColumn ...
using System; using System.Collections.Generic; namespace LineDetector { class FallingEdgeCrossingDetector : ICrossingDetector { List<int> FrameNoList = new List<int>(); List<double> OccupancyValueList = new List<double>(); int UP_STATE_TRANSITION_LENGTH = 4; int DOWN_STATE_TRA...
using System; using System.Diagnostics; using System.Drawing; using System.IO; using BitMiracle.LibTiff.Classic; namespace BitMiracle.LibTiff.Samples { public static class ReadArbitraryScanlines { public static void Main() { int startScanline = 10; int stopScanline = 20...
using FlappyBlog.Domain.Models; using FlappyBlog.Infrastructure.Paged; namespace FlappyBlog.Application { public interface ITagService { void CreateTag(Tag tag); void CreateTags(string tags); void RemoveTag(string tagName); PagedList<Tag> Query(string keyword, PagedInfo pagedIn...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Alluvial { internal static class TaskExtensions { public static async Task<IEnumerable<T>> AwaitAll<T>(this IEnumerable<Task<T>> tasks) { var tasksArray = tasks.ToArray(); ...
using System.Collections.Generic; namespace Retia.Gui.Helpers { public static class GuiConvert { public static double? ToLastError(object errors) => (errors as List<double>)?[0]; } }
using System.Collections.Generic; namespace Framework { public interface IAPIResponse { int Code { get; set; } string Data { get; set; } IDictionary<string, object> Tags { get; set; } string Message { get; set; } } }
using System; using System.Linq; using System.Threading.Tasks; using IdentityServer4.NHibernate.Entities; using IdentityServer4.NHibernate.Stores; using Microsoft.Extensions.DependencyInjection; using NHibernate; using Xunit; namespace IdentityServer4.NHibernate.IntegrationTests { public class TokenCleanupTests ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.ResourceManager.Fluent.Core; using Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions; using System; using S...
[ExtensionAttribute] // RVA: 0x139200 Offset: 0x139301 VA: 0x139200 internal static class MessagePackCompressionExtensions // TypeDefIndex: 5134 { // Methods [ExtensionAttribute] // RVA: 0x139FD0 Offset: 0x13A0D1 VA: 0x139FD0 // RVA: 0x168D130 Offset: 0x168D231 VA: 0x168D130 public static bool IsCompression(Messag...
namespace Hmcr.Model.Dtos { public interface IRptInitCsvDto { public int RowNum { get; set; } } }
using Caliburn.Micro; using MView.Utilities; using Ookii.Dialogs.Wpf; using Serilog; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace MView.ViewModels.Dialogs { public class RestorerViewModel : Screen { ...
using System; using System.Collections.Generic; using System.Text; namespace Common.DTO { public class UserWithTasks { public UserDTO User { get; set; } public IEnumerable<TaskDTO> Tasks { get; set; } } }
using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using Newtonsoft.Json.Serialization; using SIL.Machine.WebApi.Configuration; using SIL.Machine.WebApi.Controllers; using SIL.Machine.WebApi.Services; namespace Microsoft.Extensions.DependencyInjection { public static class IServiceColl...
using System.Collections.Generic; using System.Text.Json; using FeatureFlagsCo.Messaging.Services; using FeatureFlagsCo.MQ; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System.Threading.Tasks; using FeatureFlagsCo.MQ.ElasticSearch; namespace FeatureFlagsCo...
using System; using System.Reactive.Disposables; using Foundation; using Toggl.Core.Sync; using Toggl.iOS.Extensions; using Toggl.iOS.ViewControllers.Settings.Models; using Toggl.iOS.ViewSources; using Toggl.Shared; using UIKit; using Colors = Toggl.Core.UI.Helper.Colors; using static Toggl.Core.Sync.PresentableSyncSt...
namespace CloudinaryDotNet.Actions { using System.Collections.Generic; /// <summary> /// Allows to filter resources by specific public identifiers. /// </summary> public class ListSpecificResourcesParams : ListResourcesParams { /// <summary> /// Initializes a new instance of th...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Disposables; using Sys...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGenerator.ComponentIndicesGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo /* ClientHandler.cs -- реализация обработчика клиента * Ars Magna project, http://arsma...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace Microsoft.Azure.WebJobs.Extensions.SignalRService { /// <summary> /// Mark the parameter as the SignalR parameter that need to bind arguments. /// It's mutually exclusive with <see cref...
using System.Linq; using System; using System.Threading.Tasks; using System.Collections.Generic; using Lantern.Face.Parts.Html; namespace Lantern.Face { public abstract class Part { public abstract Task<string> RenderHtml(); public virtual string[] GetClientRequires() => new string[] { }; public static implic...
using DotNetFlicks.Common.Models; using DotNetFlicks.Managers.Interfaces; using DotNetFlicks.ViewModels.Movie; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace DotNetFlicks.Web.Controllers { [Authorize] public class MovieController : Controller { private IAccount...
using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; namespace Kean.Infrastructure.Soap { /// <summary> /// 服务端集合 /// </summary> public sealed class ServerCollection { private readonly IServiceCollection _services; private readonly IList<SoapMapper> _li...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ButtonClick : MonoBehaviour { public Player player; public Button netflixButton, gameButton, musicButton, storyButton, teaButton, coffeeButton; public void ClickNetflix () { player.Ta...
using Microsoft.Extensions.Configuration; namespace BookOrganizer2.DA.SqlServer { public sealed class ConnectivityService { public static string GetConnectionString(string database = "DEV") { IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile("connectionStrings....
// // ConditionalWeakTable.cs // // Author: // Rodrigo Kumpera (rkumpera@novell.com) // // Copyright (C) 2010 Novell, Inc (http://www.novell.com) // // 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 th...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity { using System.Collections.Generic; using System.Data.Entity.Core.Mapping; using System.Data.Entity.Core.Metadata.Edm; using System.D...
namespace HotelManagement.Contracts { public interface IRoom : IAccomodationProperty { int OnFloor { get; } } }
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_FairyGUI_MobileInputAdapter : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { FairyGUI.MobileInputAdapter o; o=new FairyGUI.MobileInputAdapter(); ...
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 AE_RemapExceed { public partial class PrintSettingDlg : Form { public TSHistory tsh = new TSHistory(); private T...
namespace GraphQLTemplate.Types; using HotChocolate; using HotChocolate.Types; public class MainSchema : Schema { protected override void Configure(ISchemaTypeDescriptor descriptor) => descriptor.Description("This is my schema description that can be accessed by introspection"); }
namespace ConfiguringStructureMap { public class SudokuService : IGamingService { private readonly IValidator<AvatarModel> _validator; public SudokuService(IValidator<AvatarModel> validator) { _validator = validator; } } }
using System; namespace HanumanInstitute.MpvIpcController { /// <summary> /// RGB color levels used with YUV to RGB conversion. /// </summary> public enum VideoOutputLevels { /// <summary> /// Automatic selection (equals to full range) (default). /// </summary> Auto...
using Sogeti.Academy.Application.Topics.Factories; using Xunit; namespace Sogeti.Academy.Application.Test.Topics.Factories { public class VoteFactoryTest { private readonly VoteFactory _voteFactory; public VoteFactoryTest() { _voteFactory = new VoteFactory(); } ...
using System; namespace EFKit.Providers { /// <summary> /// The Default DateTimeProvider. /// </summary> /// <seealso cref="EFKit.Providers.IDateTimeProvider" /> public class DefaultDateTimeProvider : IDateTimeProvider { /// <summary> /// Always returns DateTime.UtcNow....
#if XAMARIN_ANDROID using System.Collections; using System.Collections.Generic; using System.Linq; using Uno.Extensions; using Android.Views; using System; using Uno.UI.Controls; using Uno.UI; namespace Windows.UI.Xaml.Controls { public class UIElementCollection : BatchCollection<View>, IList<View>, IEnumerable<View...
namespace CalcItCore.Operands { public abstract class Operand { public string[] characters { get; } public bool reversed { get; } public int priority { get; } public Operand(string[] characters, int priority, bool reversed = false) { this.characters = characters; this.reversed = reversed; this.prior...
/* ******************************************************************** * * 曹旭升(sheng.c) * E-mail: cao.silhouette@msn.com * QQ: 279060597 * https://github.com/iccb1013 * http://shengxunwei.com * * © Copyright 2016 * ********************************************************************/ using Linkup....
using System.Collections; using System.Collections.Generic; using UnityEngine; // type5: non-bullet explosion tower public class TowerType5 : Tower { private int explosionTowerDamage; public GameObject explosionEffect; public override void Start() { range = Cards.cardProperties["TowerType5"]...
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static string pathImages = @"D:\MEDIA\FOTOS"; static...
using System; using System.Windows; using System.Windows.Input; namespace WpfChat { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { MinWidth = 640; MinHeigh...
using News; using System; using System.Collections.Generic; namespace Database { public class Database { /// <summary> /// Return all of the news articles in the database /// </summary> public List<Article> GetNews() { return null; } /// <su...
using System.Text.Json.Serialization; using PlatformRacing3.Common.PrivateMessage; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json { internal sealed class JsonPmOutgoingMessage : JsonPacket { private pro...
using Domain.Customers.Contracts; using MediatR; namespace Domain.Orders.Contracts.Events { public class OrderCreated : INotification { public OrderCreated(OrderId orderId, CustomerId customerId) { CustomerId = customerId; OrderId = orderId; } public Cu...