content
stringlengths
23
1.05M
using System.Windows.Controls; using System.Windows.Input; using GalaSoft.MvvmLight.Messaging; using Dukebox.Desktop.Interfaces; using Dukebox.Desktop.Model; using Dukebox.Desktop.Services; using System.Linq; namespace Dukebox.Desktop.Views { /// <summary> /// Interaction logic for PlaylistListing.xaml //...
// Copyright (c) Lykke Corp. // Licensed under the MIT License. See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Lykke.RabbitMqBroker.Pu...
using OpenCV.Net; using System; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; namespace Bonsai.JonsUtils { [Combinator] [WorkflowElementCategory(ElementCategory.Transform)] [Description("Map channels or columns of matrix.")] public class MatrixMap { Mat MatMap...
using System.Net; namespace core.BusinessEntityCollection { public class IpInfo { private int _port = 15000; public IPHostEntry Host { get { return Dns.GetHostEntry(Dns.GetHostName()); } } public IPAddress Address { get { return IPAddr...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BLL.DTOs.People.Director; using BLL.DTOs.People.InsuranceAgent; using BLL.Facades.InsuranceAgent; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Sw...
using System; namespace WinBioNET.Unused { public class WinBioObject : IEquatable<WinBioObject> { private IntPtr _handle; protected void SetID(IntPtr handle) { _handle = handle; } public override bool Equals(object other) { if (!...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DiscordCI.Application { /// <summary> /// Parses the args to build a <see cref="IDiscordCIMessage"/>. /// </summary> public class ArgParser { /// <summary> /// <see cref="IDiscordCIMe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace KonkukCommunicationDesign { public partial class CeilingWindow { SettingWindow settingWindow; public vo...
namespace BusinessConversation { // C# using System.Collections.Generic; using System.Text.RegularExpressions; // Unity using UnityEngine; public class CSVReader : MonoBehaviour { private static readonly string SPLIT_RE = @",(?=(?:[^""]*""[^""]*"")*(?![^""]*""))"; private ...
namespace Lightfsm.Wpfexmpl.Classes { /// <summary> /// The Backup files states enum. /// </summary> public enum BackupFilesStateEnum { /// <summary> /// The check version state. /// </summary> SettingsState, /// <summary> /// Transfer to removeable ...
using MessagePack.Formatters; namespace MessagePack.Resolvers { public class DefaultResolver : IFormatterResolver { public static IFormatterResolver Instance = new DefaultResolver(); static readonly IFormatterResolver[] resolvers = new[] { BuiltinResolver.Instance, // Try ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PopUp : MonoBehaviour { public GameObject opacity; public Animation animation; /* start is a state variable: * 0 -> first popup * 1 -> bigger * 2 -> smaller * 3 -> right dimension and so END ...
using System; using System.Collections.Generic; using System.IO; using System.IO.MemoryMappedFiles; using System.Runtime.CompilerServices; using System.Threading; using BTDB.StreamLayer; namespace BTDB.KVDBLayer { public class OnDiskMemoryMappedFileCollection : IFileCollection { public IDeleteFileColle...
using PetClinic.Data.ViewModels; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace PetClinic.Web.InputModels { public class CreateOwnerForm { public int Id { get; set; } [Req...
using LiteNetwork.Protocol.Abstractions; namespace AdaptedGameCollection.Protocol.Client; /// <summary> /// The keep-alive packet which should be sent to the server. /// </summary> public class PacketHeartbeat : IPacket { public void Serialize(ILitePacketStream buffer) { } public void Deserialize(IL...
using System; public sealed class HiveState { private HiveState() { } public StatisticsSet GenerateHoney(StatisticsSet stats, AttributeSet attributes) { var lPollenRequirement = attributes.GetDouble(AttributeKeys.PollenRequirement); var lMaximumBatchCount = Math.Floor(attributes...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyManager : MonoBehaviour { [SerializeField] private Enemy _enemy; private float spawnTime = 3f; void Start () { InvokeRepeating ("Spawn", spawnTime, spawnTime); } void Spawn() { Instantiate (_enemy, this.tran...
using UnityEngine; using Sirenix.OdinInspector; using System.Collections.Generic; using System; /// <summary> /// PlayerController handle player movement /// <summary> public class BlockerBehaviour : MonoBehaviour, IKillable, IPooledObject { #region Attributes private bool enabledObject = true; ...
namespace TypedRest.CodeGeneration.CSharp.Endpoints.Generic { internal static class Namespace { public const string Name = "TypedRest.Endpoints.Generic"; } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using CppSharp.AST; using CppSharp.Parser; using CppSharp.Utils; namespace CppSharp.Passes { public class GenerateInlinesPass : TranslationUnitPass { public GenerateInlinesPass() { ...
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Converters; namespace Twilio.Rest.Conversations.V1.Service.Configuration { /// <summary> /// Update push notification...
using System; using System.Threading.Tasks; using Back.Zone.Monads.EitherMonad; using MySql.Data.MySqlClient; namespace Back.Zone.Storage.MySQL.Service.Interfaces { public interface IMysqlService { public Either<Exception, TA> GetConnection<TA>(Func<MySqlConnection, TA> f); public Task<Either<E...
using System; using Xunit; namespace NickBuhro.Translit.Tests { public sealed class GeneralTests { [Fact] public void C2LNullTest() { var result = Transliteration.CyrillicToLatin(null); Assert.Null(result); } [Fact] public void L2CNullTe...
using System; using System.Collections.Generic; using System.Text; using EventDataXML; using GF.Common; class CNodeStateRelease : EbState { //------------------------------------------------------------------------- CNode mNode; INodeServerScript mNodeServerScript; INodeClientScript mNodeClientScript;...
namespace RoRamu.Utils.CSharp { using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// Represents a C# constructor method. /// </summary> public class CSharpClassConstructor : CSharpMethod { /// <summary> /// The para...
namespace Sudoku.UI.Pages.MainWindow; /// <summary> /// Indicates the page that contains the author and program information. /// </summary> public sealed partial class AboutPage : Page { /// <summary> /// Initializes an <see cref="AboutPage"/> instance. /// </summary> public AboutPage() => InitializeComponent(); ...
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. namespace MonoGame.Framework.Graphics { public interface ISpriteBatch { /// <summary> /// Gets a value used to sort a s...
using FluentAssertions; using Microsoft.Extensions.Logging; using Moq; using MrMatrix.Net.ActorOnServiceBus.Actors.Actors; using MrMatrix.Net.ActorOnServiceBus.Actors.Sagas; using MrMatrix.Net.ActorOnServiceBus.ActorSystem.Interfaces; using MrMatrix.Net.ActorOnServiceBus.Messages.Dtos; using System.Threading; using Sy...
using DevExpress.Xpo; using DevExpress.Xpo.Metadata; using System; using System.Collections.Generic; using System.Linq; namespace Recipes.Xpo.Entities { public partial class ProductLine : IProductLine<Product> { public ProductLine() : base() { } ICollection<Product> IProductLi...
/* Write a method that reverses the digits of * given decimal number. Example: 256  652 */ using System; using System.Text; namespace _07.ReverseDigits { class Program { static string ReverseDigits(string inputNumber) { var sb = new StringBuilder(); for (int i = i...
using CommunityPlugin.Objects.Interface; using System; namespace CommunityPlugin.Objects.Args { public class TranslationFilterEventArgs { public IMapping Mapping { get; internal set; } public string Transalation { get; internal set; } [Obsolete] public string FiltedTranslatio...
using System.Windows; using System.Windows.Media.Effects; namespace IconMaker.wpf { public class HueRingEffect : ShaderEffect { private static readonly PixelShader _pixelShader = new PixelShader(); static HueRingEffect() { #if DEBUG _pixelShader.UriSource = Global.MakePack...
using NeuroSpeech.EntityAccessControl.Internal; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace NeuroSpeech.EntityAccessContro...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ManagedFusion.Web.Mvc { /// <summary> /// /// </summary> public class HttpPostOnlyAttribute : AllowedHttpMethodsAttribute { /// <summary> /// Initializes a new instance of the <see cref="HttpPostOnlyAttribute"/> ...
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 CANtact { public partial class FixedTrace : Form { #region class MatrixRow public class MatrixRow { public int Co...
using System.Collections; namespace Strands.Tests.Shared { public class StepCounterStrand : Strand { public int StepsTaken = 0; private readonly int _stepsToTake; public StepCounterStrand(int stepsToTake) { _stepsToTake = stepsToTake; } pro...
//-------------------------------------------------------------- // Vehicle Physics Pro: advanced vehicle physics kit // Copyright © 2011-2019 Angel Garcia "Edy" // http://vehiclephysics.com | @VehiclePhysics //-------------------------------------------------------------- // GearModeSelector: Sh...
using System; using System.Collections.Generic; namespace LibCommon { /// <summary> /// 错误代码 /// </summary> [Serializable] public enum ErrorNumber : int { None = 0, //成功 Sys_GetMacAddressExcept = -1000, //获取Mac地址异常 Sys_GetIpAddressExcept = -1001, //获取IP地址异常 Sys_J...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Solidry.Aspects.Contract; using Solidry.Aspects.Contract.Factory; using Solidry.Results; namespace Solidry.Aspects { /// <summary> /// Asynchronous aspect. /// </summary> /// <typeparam name="...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace KyivSmartCityApi.Models.AccountInfo { public class AccountInfoResponse { [JsonPropertyName("accountInfo")] public AccountInfo Accou...
using Api.Models.Config; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Api.DIServiceRegister { public class CloudServices { public static void Register(IServiceCollection services, IConfigurationRoot config) { services.Configure<Auth0Confi...
using BurningKnight.entity.component; using BurningKnight.entity.events; using BurningKnight.util; using Lens.entity; using Microsoft.Xna.Framework; namespace BurningKnight.entity.creature.mob.prefix { public class FragilePrefix : Prefix { private static Vector4 color = new Vector4(146 / 255f, 161 / 255f, 185 / 255...
// // Copyright 2021 Frederick William Haslam born 1962 in the USA // namespace Shared { using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using static NUnit.Framework.Assert; public class AttributionListTest ...
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.Remoting.Messaging; using UnityEngine; using UnityEngine.SceneManagement; [CreateAssetMenu(menuName = "Microgame/Random Scene")] public class MicrogameRandomScene : Microgame { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Practices.Unity; using NSubstitute; using NUnit.Framework; namespace IDT.TaskActions.Unity.Tests.TestCases { public class UnityContainerScopedActi...
using AutoMapper; using EmbyStat.Common.Enums; using EmbyStat.Common.Models; using EmbyStat.Common.Models.Entities; using EmbyStat.Controllers; using EmbyStat.Controllers.MediaServer; using EmbyStat.Services.Interfaces; using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Moq; using Xunit; namespace Tests.Un...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts.Unicode { /// <summary> /// Contains extensions methods for memory types. /// </summary> public static class MemoryExtensions { /// <summary> /// Returns an enume...
using System; using BlockchainExchangeAPI.Models; using Newtonsoft.Json; namespace BlockchainExchangeAPI.Responses { public class TradesResponse : BaseResponse { [JsonProperty(PropertyName = "symbol")] public string Symbol = ""; [JsonProperty(PropertyName = "timestamp")] ...
using System; using IClockTest; using IClockTest.Struct; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IClockUnitTest { [TestClass] public class UnitTest1 { [TestMethod] public void New_Clock_ReturnsObject() { Clock clk = new Clock(); Assert...
namespace Metabase.Enumerations { public enum MethodCategory { MEASUREMENT, CALCULATION } }
namespace Kentico.Kontent.Delivery.Abstractions { /// <summary> /// A class which contains extension methods on <see cref="DeliveryOptions"/>. /// </summary> public static class DeliveryOptionsExtensions { /// <summary> /// Maps one <see cref="DeliveryOptions"/> object to another. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName ="Scriptable Objects/Values/Float Value", fileName ="New Float Value")] public class FloatValue : ScriptableObject { public float value; [SerializeField] private float defaultValue; private void OnEna...
using System; namespace Parlot { public interface ITokenResult { /// <summary> /// Whether a token was successfully found. /// </summary> bool Success { get; } /// <summary> /// The start of the token. /// </summary> TextPosition Start { get; } ...
namespace OpenVIII { /// <summary> /// Contains only one IGMDataItem. /// </summary> public class IGMData_Container : IGMData { #region Constructors public IGMData_Container(IGMDataItem container) : base(0, 0, container) { } #endregion Constructors } }
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DiscordAssistant { public class StateStore { private readonly string StateStoreKey = "state"; private readonly DataStore dataStore; public StateStore(Data...
using UnityEngine; using UnityEngine.UI; using SuperSodaBomber.Events; /* StageCompleteScript simply posts the current score when stage is complete + save and move stage. */ public class StageCompleteScript : MonoBehaviour { public Text scoreText; [SerializeField] private SceneEvent onLevelContinue; ...
using System; using System.Diagnostics; using System.Threading.Tasks; namespace Proxy.Client.Utilities.Extensions { /// <summary> /// Helper class to measure the execution time of the functions passed. /// </summary> internal static class TimingHelper { /// <summary> /// Measures t...
using System.Collections; namespace QFramework.GraphDesigner { public interface ITaskHandler { void BeginTask(IEnumerator task); void BeginBackgroundTask(IEnumerator task); } }
using System; using System.Diagnostics; using OwnID.Extensibility.Flow; using OwnID.Extensibility.Flow.Contracts; using OwnID.Extensibility.Flow.Contracts.Cookies; using OwnID.Extensibility.Flow.Contracts.Start; namespace OwnID.Extensibility.Cache { /// <summary> /// OwnID flow detection fields store struc...
using Meadow; using Meadow.Devices; using Meadow.Foundation.Grove.Sensors.Buttons; using System; namespace Grove.LEDButton_Sample { // Change F7FeatherV2 to F7FeatherV1 for V1.x boards public class MeadowApp : App<F7FeatherV2, MeadowApp> { //<!-SNIP-> public MeadowApp() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Sound { public string name; public AudioClip clip; } public class SoundManager : MonoBehaviour { public static SoundManager instance; public AudioSource[] source; public Sound[] Sound...
namespace CryptStr { public enum SupportAlgorithms { TripleDES, DES } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NET.Tools.Engines.Organizer { /// <summary> /// A repeat appointment object for a condition /// </summary> public class RepeatConditionAppointment : ConditionAppointment, IRepeatAppointment {...
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; #if SYSTEM_XAML using System.Windows.Markup; #elif PORTABLE_XAML using Portable.Xaml.Markup; #endif [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: Guid("4ad934e0-78da-4356-917f-130742476086")] #if XAML...
namespace KifuwarabeUec11Gui.Controller.Parser { using System; using System.Text.RegularExpressions; using KifuwarabeUec11Gui.InputScript; public static class WordParser { /// <summary> /// /// </summary> /// <param name="matched"></param> /// <param name="...
namespace EcoPacking.Web.Controllers { using EcoPacking.Services.Data.Contracts; using EcoPacking.Web.ViewModels.Categories; using EcoPacking.Web.ViewModels.Products; using EcoPacking.Web.ViewModels.Shop; using Microsoft.AspNetCore.Mvc; public class ShopController : BaseController { ...
namespace ZipkinExtensions { public static class ServiceName { /// <summary> /// 产品服务 /// </summary> public static string ProductService = "productservice"; /// <summary> /// 订单服务 /// </summary> public static string OrderService = "orderservice";...
//------------------------------------------------------------------------------ // <auto-generated> // 此代码已从模板生成。 // // 手动更改此文件可能导致应用程序出现意外的行为。 // 如果重新生成代码,将覆盖对此文件的手动更改。 // </auto-generated> //------------------------------------------------------------------------------ namespace Model { using System...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using AoLibs.Adapters.Android.Interfaces; using AoLibs.Adapters.Core.Interfaces; namespace AoLibs.Adapter...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ESIConnectionLibrary.ESIModels { internal class EsiV3ClonesHomeLocation { [JsonProperty(PropertyName = "location_id")] public long? LocationId { get; set; } [JsonProperty(PropertyName = "location_type")] [JsonC...
using System; namespace Caomei.Core.Support.Json { public class SimpleLog { public ActionLog GetActionLog() { return new ActionLog { ActionName = this.ActionName, ActionTime = this.ActionTime, ActionUrl = this.ActionUrl, ...
/* compile by protobuf, please don't edit it manually. Any problem please contact tongxuehu@gmail.com, thx. */ using System; using System.Collections.Generic; using System.IO; using Assets.Scripts.Lib.Net; namespace Assets.Scripts.Define { public enum ClientPingInterval { PingIntervalTime = 2, } public enum K...
@model ShoppingCart.ViewModels.BookViewModel @{ ViewBag.Title = Model.Title; } <h1>@Model.Title</h1> <div id="bookDetails" class="row"> <div class="col-md-5"> <img src="@Model.ImageUrl" alt="@Model.Title" title="@Model.Title" class="img-rounded" /> </div> <div class="col-md-2 col-md-offset-1"...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace AntDesign { public class ModalService { internal event Func<ConfirmOptions, Task> OnOpenConfirm; internal event Func<ConfirmOptions, Task> OnUpdate; internal event Func<ConfirmOpt...
namespace VideoDedup.DnsTextBox { using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Net; using System.Net.Sockets; using System.Windows.Forms; using VideoDedupShared.ISynchronizeInvokeExtensions; pu...
using System.Windows; namespace OrienteeringToolWPF.Interfaces { interface IButtonsManageable { void SetButtonsVisibility(Visibility all); void SetButtonsVisibility(Visibility add, Visibility edit, Visibility delete); } }
using ESauce.Model; using System.Threading.Tasks; namespace ESauce.Core { public interface IEventHandler<TPayload, TAggregate> where TAggregate : AggregateBase { Task<TAggregate?> Handle(ESauceEvent evt, TPayload payload, TAggregate? prevState); } }
using System; using System.Collections.Generic; using System.Text; namespace Nibbler.Utils { public interface ILogger { bool DebugEnabled { get; } bool WarningEnabled { get; } bool TraceEnabled { get; } void SetDebugEnable(bool enabled); void SetWarningEnable(bool enabl...
using System; namespace LitecartWebTests { public class ZoneData : IEquatable<ZoneData>, IComparable<ZoneData> { public string ZoneName { get; set; } public ZoneData(string zoneName) { ZoneName = zoneName; } public bool Equals(ZoneData other) { ...
using DwxSpeaker.Interfaces; using DwxSpeaker.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; namespace DwxSpeaker.ViewModels { public class SpeakerLis...
using FluentAssertions.Primitives; namespace Test.OutlookMatters.Core.TestUtils { public class XmlAssertions { public string NamespaceKey { get; private set; } public string NamespaceUri { get; private set; } public string Subject { get; private set; } public XmlAssertions(Stri...
using System; using System.Windows.Forms; using System.Diagnostics; using Standardization; using Fairweather.Service; namespace Common.Controls { public class Amount_Label : Label, IAmountControl { public Amount_Label() { ctrler = new Amount_Control_Controller(this); ...
using SVGEssentials.Chapters; using SVGEssentials.Models.Chapters; using SVGEssentials.Models.Examples; using System.Collections.Generic; namespace SVGEssentials.Models { public class Book { public string Title { get; set; } public Dictionary<string, IChapter> Chapters { get; set; } #...
// Copyright (c) Rodrigo Speller. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using System.Globalization; using System.IO; namespace TSqlCoverage.XEvents.Internal { public sealed class XEventUInt64Value : XEventValue<ulong> ...
using System; using System.Net.Http; using Voltmeter.Ports.Providers; namespace Voltmeter.Adapter.SimpleServiceStatus.Ports.Providers { internal class ServiceStatusProvider : IServiceStatusProvider { private readonly HttpClient _httpClient; public ServiceStatusProvider(HttpClient httpClient) ...
using System.Collections.Generic; using MarioMendonca.SpeechPlanning.Application.DTO.DTO; using MarioMendonca.SpeechPlanning.Domain.Models; namespace MarioMendonca.SpeechPlanning.Infrastructure.CrossCutting.Adapter.Interfaces { public interface IMapperProgramacao { #region Mappers Programacao ...
using System.Text.Json.Serialization; using System; using System.Collections.Generic; using System.Text; namespace KyivSmartCityApi.Models { public class HourlyParkingFeed { [JsonPropertyName("feed")] public HourlyParkingFeedData Feed { get; set; } } }
using SMProject.Utils; namespace SMProject { public enum SignalType { [DataFrameRepresentation("t")] Triangle, [DataFrameRepresentation("z")] Trapezoidal, [DataFrameRepresentation("p")] SawSignal } }
using System.Collections.Generic; namespace Ujc.Ovj.ChangeEngine.Objects { interface ISpellchecking { /// <summary> /// Status of the spellchecked word. /// </summary> SpellcheckStatus Status { get; set; } /// <summary> /// Suggestions of the spellchecker in th...
using System; namespace Discord { public sealed class TimeoutException : OperationCanceledException { internal TimeoutException() : base("An operation has timed out.") { } } }
@model Piranha.Models.Post @{ Layout = ""; List<Piranha.Entities.Post> posts = null; var t = Model.TemplateId; using (var db = new Piranha.DataContext()) { posts = db.Posts.Where(x => x.TemplateId == t).OrderByDescending(p => p.Published).ToList(); } } <link href="~/Content/Css/out.css...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using TinyBrowser.Api; namespace TinyBrowser{ internal class Program{ //TODO: If I have time: refactor and code cleanup. const string Host = "acme.com"; const int Port = 80; static IWebs...
using System.Collections.Generic; namespace ChronoPlurk.ViewModels.Core { public interface IPlurkHolder { IEnumerable<long> PlurkIds { get; } void Favorite(long plurkId); void Unfavorite(long plurkId); void Mute(long plurkId); void Unmute(long plurkId); ...
/* This class turns a WallGrid, which is a grid of 0s and 1s, into vertices and triangles for a Mesh. * It does this using the Marching Squares algorithm. A square in this context refers to four points in the grid * in the arrangement (x,y),(x+1,y),(x,y+1),(x+1,y+1). The algorithm iterates over all such squares, an...
using System; using System.Collections.Generic; using System.Threading.Tasks; using LifeManager.Models; namespace LifeManager.ListsService.Services { public interface IListService { Task CreateList(ListModel model); Task UpdateList(ListModel model); Task DeleteList(Guid id, string user...
// 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using OpenQA.Selenium; using Xunit; using Xu...
#region using using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using NetAppCommon; using Newtonsoft.Json; #endregion namespace ApiWykazuPodatnikowVatData.Models { #region public class EntityAccountNumber /// <summary> /// Model danych num...
using BuildVision.UI.Models; using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media.Imaging; namespace BuildVision.UI.Helpers { public static class StyleConverting { [DllImport("gdi32.dll")] [return: MarshalAs(UnmanagedT...
using System; using System.Xml.Serialization; namespace dk.nita.saml20.Schema.Protocol { /// <summary> /// The &lt;RequestedAuthnContext&gt; element specifies the authentication context requirements of /// authentication statements returned in response to a request or query. /// </summary> [Seriali...
using System; public enum FXClassification { Normal, LowLod, NoPlay }