text
stringlengths
1
932k
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
/* * Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices) * Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors * Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology * * Licensed under the Apache...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BE.Permisos { public abstract class Componente { public string Nombre { get; set; } public int Id { get; set; } public abstract IList<Componente> Hijos { get; ...
using System; namespace JSC_LMS.Domain.Common { public class AuditableEntity { public int? CreatedBy { get; set; } public DateTime? CreatedDate { get; set; } public int? LastModifiedBy { get; set; } public DateTime? LastModifiedDate { get; set; } public int? DeletedBy { ...
using System.Linq; using Breeze.ContextProvider; using Breeze.ContextProvider.EF6; using Newtonsoft.Json.Linq; using CC.Model; namespace CC.DataAccess { /// <summary> /// Repository (a "Unit of Work" really) of CodeCamper models. /// </summary> public class CodeCamperRepository { private r...
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Mongo.Data.Entity { public interface IEntity<TKey> { [BsonId] TKey Id { get; set; } } public abstract class EntityBase : IEntity<ObjectId> { public ObjectId Id { get; set; } } }
namespace MassTransit.Tests.MessageData { using System; using System.IO; using System.Threading.Tasks; using MassTransit.MessageData; using NUnit.Framework; using TestFramework; public class Sending_message_data_with_an_object_type : InMemoryTestFixture { readonly IMess...
using Lib.Level.Base; using Lib.Tools; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GridCollisionTest { public static class Parameters { public static int ItemCount { get; set; } = 200000; ...
/* Copyright 2010 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
namespace SampleProject.Domain.Payments { using System; using Customers.Orders; using SeedWork; public class Payment : Entity, IAggregateRoot { private readonly OrderId _orderId; private DateTime _createDate; private bool _emailNotificationIsSent; private PaymentS...
using System; namespace iSukces.UnitedValues { public interface IUnitedValue<TUnit> : IEquatable<IUnitedValue<TUnit>> where TUnit : IUnit, IEquatable<TUnit> { decimal GetBaseUnitValue(); decimal Value { get; } TUnit Unit { get; } } public interface IUnitName...
using System; using System.Collections.Generic; using Xunit; namespace NStuff.Text.Tests { public class GapBufferTest { [Fact] public void InsertTest() { var gb = new GapBuffer<int>(4); gb.Insert(0, 1); Assert.Equal(1, gb.Count); Assert...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
using Shouldly.Tests.TestHelpers; namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive.LongStrings.MultipleDiffs { public class DiffsCloseToEachOtherAreConsolidated: ShouldlyShouldTestScenario { protected override void ShouldPass() { "1A,1b,1c,1d,1e,1f,1g,1h,1i,1j,1k...
// Copyright (c) 2017 Ubisoft Entertainment // // 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 la...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using CodeControl; using Sirenix.OdinInspector; using System; using System.Linq; using UnityEngine.EventSystems; public class UIButtonPressMsgHelper : SerializedMonoBehaviour, IPointerDownHandler { [TypeFilter("Get...
// 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.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft....
using PrettyScreen.Configuration; using System; using System.Collections.Generic; namespace PrettyScreen.Core { public interface IDataPointService { void CreateOrUpdateDataPoint(DataPointConfiguration pointConfig, bool recreate); IDataPoint GetDataPoint(Guid id); void UpdateDataPoint...
using System.Linq; using Xunit; using Xunit.Extensions; namespace SemVer.Tests { public class AdvancedRanges { [Theory] [InlineData("~1.2.3", ">=1.2.3", "<1.3.0")] [InlineData("~1.2", ">=1.2.0", "<1.3.0")] [InlineData("~1", ">=1.0.0", "<2.0.0")] [InlineData("~0.2.3", ">=...
using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using ApiProxy.Areas.Identity.Data; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace ApiProxy.Areas.Identity.Pages.Account.Manage { public class SetPasswordModel : Pa...
//------------------------------------------------------------------------------ // <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 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("Re...
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
/*============================================================================ * Copyright (C) Microsoft Corporation, All rights reserved. *============================================================================ */ #region Using directives using System; using System.Collections.Generic; using System.Diagnosti...
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Harmony; using Microsoft.Xna.Framework; using Spacechase.Shared.Patching; using SpaceShared; using StardewModdingAPI; using StardewValley; using StardewValley.TerrainFeatures; namespace JsonAssets.Patches { /// <summary>Applies Harmony ...
using Furion.DatabaseAccessor; namespace Furion.Core; /// <summary> /// 用户和角色关系表 /// </summary> public class UserRole : IEntity { /// <summary> /// 用户Id /// </summary> public int UserId { get; set; } public User User { get; set; } /// <summary> /// 角色Id /// </summary> public int...
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("Wi...
using System; namespace DI.Implementations { public class YoungestSon : Interfaces.ISon { public void Help(string message) { message += $"Property Injection {GetType()}"; Console.WriteLine(message); } } }
using System; using System.Collections.Generic; using System.Text; namespace Plexform.Logic.Models { public class PermissionSetModel { public int ModuleID { get; set; } public string ModuleName { get; set; } public bool Expanded { get; set; } public IList<eSWIS.Logic.UserSecuri...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using System; namespace ...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace com.rfilkov.kinect { public interface DepthSensorInterface { // returns the depth sensor platform KinectInterop.DepthSensorPlatform GetSensorPlatform(); // returns the list of available sensors, co...
@using Store.YandexKassa.Areas.YandexKassa.Controllers @using Store.YandexKassa.Areas.YandexKassa.Models @model ExampleModel @{ ViewData["Title"] = "Яндекс.Касса"; } <h1>Яндекс.Касса</h1> <p> Здесь мы эмулируем редирект на внешнюю службу оплаты Яндекс.Касса. В исходном коде проекта можно посмотреть, как...
using Newtonsoft.Json; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; namespace OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities { public class SignatureInformationCapability { /// <summary> /// Client...
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Numerics; using SixLabors.Fonts; namespace SixLabors.ImageSharp.Drawing.Text { /// <summary> /// rendering surface that Fonts can use to generate Shapes by following a path /// </sum...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.CommonDataModel.ObjectModel.Storage { using System; using System.Collections.Generic; using System.IO; using System.Reflection...
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using Xunit; using System; using System....
using airubt.Application.Interfaces; using airubt.Domain.Interfaces; using airubt.Domain.Models; using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace airubt.Application.Services { public class UserService : IUserService { ...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace Ivony.Data.SqlQueries.SqlDom.Expressions { #pragma warning disable CS0660 // 类型定义运算符 == 或运算符 !=,但不重写 Object.Equals(object o) #pragma warning disable CS0661 // 类型定义运算符 == 或运算符 !=,但不重写 Object.GetHashCode() publ...
namespace IRSEDiscordChatBot { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.17929 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Be...
using System; using Anotar.Catel; using Catel.Logging; using Xunit; namespace AnotarCatelSample { public class CatelSample { [ThreadStatic] public static string LastMessage; static CatelSample() { LogManager.AddListener(new LogListener { ...
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! namespace Oculus.Platform { using Description = System.ComponentModel.DescriptionAttribute; public enum SendPolicy : int { /// Sends a message using an unreliable data channel (UDP-based). No delivery /// or ordering guaran...
// © Anamnesis. // Licensed under the MIT license. namespace Anamnesis.Posing.Extensions { using Anamnesis.Memory; using Anamnesis.PoseModule; using Anamnesis.Posing.Templates; public static class SkeletonViewModelExtensions { public static SkeletonTemplateFile? GetSkeletonTemplate(this SkeletonMemory self, A...
using System;using ZKCloud.Domains.Repositories.EFCore;using ZKCloud.Domains.Repositories.Model; using System.Linq.Expressions; using System.Text; using Xunit; using ZKCloud.Datas.Queries; using ZKCloud.Datas.Queries.Criterias; using ZKCloud.Domains.Query; using ZKCloud.Properties; using ZKCloud.Test.Samples; using ZK...
// // TreeViewRowEventArgs.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // 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 rest...
using Common.Models; namespace _6_DataModificationControl.Abstractions { public interface ILoggedUserProvider { Task<SystemUser> GetLoggedUser(); Task<bool> IsLoggedAdmin(); } }
using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Auxano.Osm.Api { /// <summary> /// A report on the progress of a section toward a badge. /// </summary> public class BadgeProgressReport : IEnumerable<BadgeProgress> ...
using System; using System.Runtime.InteropServices; using System.Text; namespace DbgEng.NoExceptions { [ComImport, Guid("5BD9D474-5975-423A-B88B-65A8E7110E65"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IDebugBreakpoint { [PreserveSig] int GetId( [Out...
namespace Azure.ResourceManager.DeviceUpdate { public static partial class ArmClientExtensions { public static Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccount GetDeviceUpdateAccount(this Azure.ResourceManager.ArmClient armClient, Azure.Core.ResourceIdentifier id) { throw null; } public st...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans; using Orleans.Runtime; using UnitTests.GrainInterfaces; namespace UnitTests.Grains { [Serializable] [GenerateSerializer] public class SimplePersistentGrain_State { [Id(0)] ...
@using BasicMvc @using BasicMvc.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using Terraria.GameContent.UI; using Terraria.GameInput; using Terraria.Localization; using Terraria.ModLoader.Audio; using Terraria.M...
namespace BTTrackerDemo.Controllers.Dtos { public class GetPeersInfoInput { /// <summary> /// 种子的唯一 Hash 标识。 /// </summary> public string Info_Hash { get; set; } /// <summary> /// 客户端的随机 Id,由 BT 客户端生成。 /// </summary> public string Peer_Id { get; s...
using System.Web.Mvc; namespace Texxtoor.EasyAuthor.Controllers { public class DialogsController : Controller { public ActionResult CreateNewText() { return this.PartialView(); } public ActionResult EditMetadata() { return this.PartialView(); } ...
#region CopyrightHeader // // Copyright by Contributors // // 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.txt // // Unless requ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Adminlogin : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } }
using System; using System.Net; using System.Threading; using System.Threading.Tasks; using Moq; using NuGet.Configuration; using Xunit; namespace NuGet.Credentials.Test { public class PluginCredentialProviderTests { private readonly Mock<PluginCredentialProvider> _mockProvider; private Plugin...
#nullable enable using System; using System.Numerics; namespace Windows.UI.Composition { public partial class CompositionShape : CompositionObject { private Matrix3x2 _transformMatrix = Matrix3x2.Identity; private Vector2 _scale = new Vector2(1, 1); private float _rotationAngleInDegrees; private float _rota...
//------------------------------------------------------------------------------ // <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.Windows.Controls; namespace SavescumBuddy.Modules.Overlay.Views { /// <summary> /// Interaction logic for Dialog.xaml /// </summary> public partial class Dialog : UserControl { public Dialog() { InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Mi...
using System.Web; using System.Web.Optimization; namespace BundlingDemo { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery").Incl...
using System; namespace StructureMap.Pipeline.Lazy { public class LazyInstance<T> : LambdaInstance<Lazy<T>> { public LazyInstance() : base(s => new Lazy<T>(() => s.GetInstance<IContainer>().GetInstance<T>())) { } public override string Description { ...
using System; using System.Activities; using System.Activities.XamlIntegration; using System.Collections.Generic; using System.IO; using Statistical.R.Converter; using Microsoft.VisualStudio.TestTools.UnitTesting; using RDotNet; namespace Statistical.R.Test.Activities.Converter { [TestClass] public class GetL...
//****************************************************************************************************** // PacketType101.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // t...
//------------------------------------------------------------------------------ // <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> //--...
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
using CustomIdentityStores.Persistence; namespace CustomIdentityStores.Model { public class User { public string Id { get; set; } = IdFactory.NewId(); public string UserName { get; set; } public string NormalizedUserName { get; set; } public string PasswordHash { get; set; } ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("WinBleHandler")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: ...
using UncommonSense.CBreeze.Core.Code.Function; namespace UncommonSense.CBreeze.Core.Property.Implementation { #if NAV2016 public class EventSubscriberInstanceProperty : NullableValueProperty<EventSubscriberInstance> { internal EventSubscriberInstanceProperty(string name) : base(name) ...
#region usings using osu.Core.Containers.Text; using osu.Framework.Graphics; using osu.Game.Graphics; #endregion namespace osu.Core.Wiki.Sections.Subsection { public class WikiSubSectionHeader : ClickableOsuSpriteText { public WikiSubSectionHeader(string text = "") { OsuColour os...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FinishLineController : MonoBehaviour { [SerializeField] private Animator cinemachineAnimator; [SerializeField] private GameObject paintWall; [SerializeField] private Vector3 characterPaintPoint; private UIManag...
namespace Utils.Logging { public interface ISimpleLogger { void LogFormat(string format, params object[] args); void Log(string message); } }
using NUnit.Framework; using System; using uw_edit.Views; namespace uw_edit_tests { [TestFixture()] public class MainViewModelTests { [Test()] public void CreateInstance() { var mainViewModel = new MainViewModel(); Assert.IsInstanceOf<MainViewModel>(mainViewModel); } } }
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. using System; using SharpGen.Runtime; using Vortice.Direct2D1; namespace Vortice.DirectWrite { partial class IDWriteTextRendererNative: IDWriteTextRenderer { ...
using SplunkTracing.CSharpAspectTestApp.Aspects; using OpenTracing.Util; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace SplunkTracing.CSharpAspectTestApp { class HttpWorker { private HttpClient httpCl...
/* * Copyright 2008-2013 Mohawk College of Applied Arts and Technology * * 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 * * Unl...
/* MIT License Copyright (c) 2016 JetBrains http://www.jetbrains.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 the Software without restriction, including without limitation the rights to use, copy, mo...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Defines the coordinates of an edge on a brush /// </summary> [System.Serializable] public struct Line { public Line(float ax, float ay, float bx, float by) { A = new Vector2(ax, ay); B = new Vector...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace chama.domain.Interfaces { public interface IServiceBaseAsync<TEntity> where TEntity : class { void Add(TEntity obj); TEntity GetByID(int id); IEnumerable<TEntity> GetAll(); ...
using System.Collections; using UnityEngine; public class POIHighlight : MonoBehaviour { [SerializeField] private float _totalDuration = 1f; [SerializeField] private float _delay = 0f; private float _startOffset = -1f; private float _endOffset = 1f; private float _textureOffsetY = 0f; ...
#if USE_HOT #define READ_ONLY // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // namespace ILRuntime.Mono.Cecil { public enum MetadataScopeType { AssemblyNameReference, ModuleReference, ...
/* * 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 System; namespace Piranha.Data { [Serializable] public sealed class C...
// *** 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 IdentityServer.Models { public class ConfigurationConsts { public const string AdminConnectionStringKey = "AdminConnection"; public const string ResourcesPath = "Resources"; } }
using BotLib.Engine; using BotLib.Engine.Commands; using System.Net.Http; namespace TestConsoleApp { internal class TestBot : TelegramFSMBot { public const long TEST_CHAT = 123; public TestBot(string token, HttpClient httpClient = null, bool DebugMode = false) : base(token, httpClient, DebugM...
using QTLProject.Enums; using QTLProject.Utils; using System; using System.Drawing; using System.Windows.Forms; namespace QTLProject { public partial class InputData : UserControl { #region Fields public event EventHandler nextButtonClicked; public event EventHandler backButtonClicked;...
namespace Novinichka.Web.ViewModels { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId); } }
// 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.Globalization; using System.Reactive.PlatformServices; namespace System.Reactive.Concurrency { /...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using Warehouse.Data; namespace Warehouse.Api.Controllers { [Route("api/shopping-cart")] [ApiController] public class ShoppingCartController : ControllerBase { [HttpGet] [Route("products/...
namespace AngleSharp.Css.Values { using AngleSharp.Css.Dom; /// <summary> /// Represents a composition of CSS values. /// </summary> public interface ICssCompositeValue : ICssValue { } }
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FStvol.Services { public interface IAlertService { void ShowAlert(string message); } }
using Microsoft.EntityFrameworkCore; using MoneyFox.DataLayer.Configurations; using MoneyFox.DataLayer.Entities; namespace MoneyFox.DataLayer { /// <summary> /// Represents the datacontext of the application /// </summary> public class EfCoreContext : DbContext { public EfCoreContext()...
// <auto-generated /> using IRunesWebApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace IRunesWebApp.Migrations { [DbContext(typeof(IRunesContext))] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Terrains : MonoBehaviour { public Transform[] neighbours; public Transform[] insidePositions; [SerializeField] bool[] areOccupiedPositions = {false, false, false}; [HideInInspector] public int defense ...
/* Copyright (C) 2017. Aardvark Platform Team. http://github.com/aardvark-platform. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ...
#region BSD License /* * Use of this source code is governed by a BSD-style * license or other governing licenses that can be found in the LICENSE.md file or at * https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE */ #endregion using System; using System.Runtime.InteropServices; name...
using System; using System.Collections.Generic; using System.Linq; using Grace.DependencyInjection; namespace Grace.Diagnostics { /// <summary> /// Metadata debugger view /// </summary> public class ActivationStrategyMetadataDebuggerView { private readonly IActivationStrategyMetadata _meta...