content
stringlengths
23
1.05M
using System.ComponentModel; using System.Xml.Serialization; namespace PhotoStoryToBloomConverter.BloomModel.BloomHtmlModel { public class Img { [XmlAttribute("data-creator")] public string DataCreator; [XmlAttribute("data-license")] public string DataLicense; [XmlAttribute("data-copyright")] public str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using binance_dotnet.enums; namespace binance_dotnet.objects { public class BinanceWebSocketEndpoint { public BinanceWebSocketEndpoint(WebSocketEndpoints name, string url) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TowerDefense.MenuEntries; using ScreenSystemLibrary; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; namespace TowerDefense { ...
// 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.Linq.Expressions; namespace Reaqtor.Reliable.Expressions { public interface IReliab...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace CsvSerializer { internal static class ReflectionExtensions { internal static IEnumerable<PropertyInfo> Properties(this object target) { // Public, NonStatic properties return target.Get...
using DafnyLanguageServer.Core; using DafnyLanguageServer.CustomDTOs; using DafnyLanguageServer.WorkspaceManager; using Microsoft.Extensions.Logging; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Server; using System; using System.Threading; using System.Threading.Tasks; names...
using UnityEngine; public class PenetrableSurface : MonoBehaviour { public int penetrationReduction; [Range(0, 100)] public float damageReduction; void Start () { gameObject.tag = "PenetrableSurface"; gameObject.layer = 14; } }
using System; namespace TutsUniversity.Models { public class Update { public int Id { get; set; } public string MadeBy { get; set; } public DateTime MadeOnUtc { get; set; } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using System.IO; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure.Core; #pragma warning disable SA1402 // File may only contain a single typ...
using System; using System.Collections.Generic; using System.Diagnostics; namespace NetQD.Test { partial class GenericTests<T> where T : IComparable, IComparable<T>, IEquatable<T> { // internal wrapper to be used in generic tests in place of DdReal and QdReal internal class Real : IComparable,...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AppTour { public class TutorialPageChanger : MonoBehaviour { //Add pages from editor public GameObject[] pages; int pageNumber; void Awake () { ChangePage(); } public void NextPage() { ...
using AccountsApi.V1.Domain; using System; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using AccountsApi.V1.Infrastructure; using Newtonsoft.Json; namespace AccountsApi.V1.Boundary.BaseModel { public abstract class AccountBaseModel { /// <summary> /// ...
// 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.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices;...
using Bootstrap.StructureMap; using Manufacturing.DataCollector; using Manufacturing.DataCollector.Datasources.Simulation; using StructureMap; using StructureMap.Configuration.DSL; using StructureMap.Graph; using StructureMap.Pipeline; namespace Manufacturing.DataPusher { public class DataPusherContainer : IStruc...
using Blogifier.Core; using Blogifier.Core.Extensions; using Blogifier.Widgets; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; usi...
using Backend_ApiNetCore3_1.Domain.Core.Models; namespace Backend_ApiNetCore3_1.Domain.Models { public class AppUser : BaseEntity<int> { public AppUser(int id, int businessUnitId, string name) { Id = id; UserName = name; BusinessUnitId = businessUnitId; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using WeaverCore.Utilities; namespace WeaverCore.Assets.Components { public class UninfectedHitParticles : MonoBehaviour { [SerializeField] bool hasPool = false; static PoolableObject poolComponent; vo...
using Filmster.Common.Helpers; using Filmster.Common.Models.Enums; using System; using Windows.UI.Xaml.Data; namespace Filmster.Converters { public class PersonCastCrewSortTypeToLocalizedStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string l...
using Newtonsoft.Json; using System.Collections.Generic; namespace Neo4jRestClient { /// <summary> /// Result collection : contains the execution result of each statement. /// </summary> public class ResultCollection { /// <summary> /// List of each correct statement. /// </summary> [JsonPropert...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace MCS.FOI.ExcelToPDF { public static class FileNameUtil { public static string GetFormattedFileName(string filename) { string invalidcharacters = new string(Path.GetInvalidFileNameChars());...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ItspServices.pServer.Models { public class KeyPairModel { public byte[] PublicKey { get; set; } public byte[] SymmetricKey { get; set; } } }
/******************************************************************************* * Author : Angus Johnson * * Date : 6 April 2022 * * Website : http://www.angusj.com ...
using ReactiveUI; using ReactiveUI.Fody.Helpers; namespace Asv.Avalonia.GMap { }
using CitizenFX.Core; using CitizenFX.Core.Native; using FamilyRP.Roleplay.Enums.Police.Helicopter; using FamilyRP.Roleplay.SharedClasses; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FamilyRP.Roleplay.Client.Cl...
using UnityEngine; namespace UE.Common { /// <summary> /// This clears all file streams opened by the FileLogger class when the application quits. /// </summary> public class FileStreamCloser : MonoBehaviour { [SerializeField] private bool debugLog; private void On...
using System.Collections; using UnityEngine; using UnityEngine.Networking; public abstract class BaseMediaLoader : MonoBehaviour { public string MediaUrl; private string _currentMediaUrl; protected virtual void Update() { if (_currentMediaUrl != MediaUrl) { _currentMediaU...
using System.ComponentModel; using System.Xml.Serialization; namespace RadarSoft.RadarCube.Serialization { /// <exclude /> public class SerializedGradient { [DefaultValue(null)] [XmlElement(ElementName = "Stop")] public SerializedGradientStop[] GradientStops { get; set; } [...
using Portal.CMS.Entities.Entities.Authentication; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Entities.Seed { public static class RoleSeed { public static void Seed(PortalEntityModel context) { var roleList = context.Roles.ToList(); var n...
@using Abp.Localization @inherits Testing.Web.Views.TestingRazorPage<TModel> @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Testing.Web.Mvc
using System; namespace appez.appstartup { /// <summary> /// Model for holding all the required information fields, /// corresponding to a single application menu /// </summary> public class MenuInfoBean { /// <summary> /// Indicates the label of the menu item. This label is th...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Biobanks.Entities.Api { /// <summary> /// So we can stage record ids to be deleted /// </summary> public class StagedDelete { /// <summary> /// Internal id of the relevant ent...
// 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.Text; using Xunit; namespace NuGet.Services.AzureSearch.AuxiliaryFiles { public class StringCacheFacts { public class Ded...
using Builder.Services; namespace Builder.Models { public class DeferredMarkdownUpdateResult : Renderer { public string Html { get; } public DeferredMarkdownUpdateResult(string html) { Html = html; } } }
using DG.Tweening; using LuaInterface; using System; public class DG_Tweening_UpdateTypeWrap { public static void Register(LuaState L) { L.BeginEnum(typeof(UpdateType)); L.RegVar("Normal", new LuaCSFunction(DG_Tweening_UpdateTypeWrap.get_Normal), null); L.RegVar("Late", new LuaCSFunction(DG_Tweening_UpdateType...
using AutoMapper; using Dufry.Comissoes.Domain.Entities; using Dufry.Comissoes.ViewModels; namespace Dufry.Comissoes.AutoMapper { public class DomainToViewModelMappingProfile : Profile { public override string ProfileName { get { return "DomainToViewModelMappings"; } } ...
namespace FluiTec.DatevSharp.Rows.Enums { /// <summary> /// Values that represent debit advices. /// </summary> public enum DebitAdvice { Empty = 0, SepaPerInvoice = 7, CollectiveSepa = 8, None = 9 } }
using Mosaic.GUI.ViewModels; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Mosaic.GUI.Views { public partial class PicturesView : UserControl { public PicturesView() { InitializeComponent(); } private void Image_Loaded(object sender, Routed...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Issuer.Models; using Issuer.Models.Api; namespace Issuer.Services { public class LookupService : BaseService, ILookupService { public LookupService( ApiDbContext context, IHttpContextAccessor httpContext) ...
@{ ViewBag.Title = "Stoły"; } <div class="jumbotron"> <h1>Is table busy?</h1> </div> <div class="row" data-bind="foreach: places"> <div class="col-md-4"> <a data-bind="attr: { 'href': '@Url.Action(MVC.Places.Tables("/"))' + name }" class="btn btn-default"> <h2 data-bind="text: name"><...
using System; using UnityObject = UnityEngine.Object; namespace Unity.VisualScripting { [FuzzyOption(typeof(Literal))] public class LiteralOption : UnitOption<Literal> { public LiteralOption() : base() { } public LiteralOption(Literal unit) : base(unit) { sourceScriptGu...
using UnityEngine; using UnityEngine.PostProcessing; namespace Planets { public class VignetteIncrease : MonoBehaviour { [SerializeField] private PostProcessingProfile _postProcessingProfile; [SerializeField] private Transform _boat; [SerializeField] private float _vignetteIntensity; ...
/* * Work in this file is derived from code originally written by Hans-Peter Moser: * http://www.mosismath.com/NaturalSplines/NaturalSplines.html * It is included in ScottPlot under a MIT license with permission from the original author. */ namespace BarChartRaceNet.Tools { using System; public abstra...
// Copyright 2021 Valters Melnalksnis // 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 in the project root or at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
namespace MagicOfSewing.Web.Common { using MagicOfSewing.Common.Constants; using MagicOfSewing.Data; using MagicOfSewing.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; ...
namespace AltV.Net.Shared.Events { internal class HashSetEventHandler<TEvent> : IEventHandler<TEvent> { private ISharedCore core => AltShared.Core; // todo pass core to constructor private readonly EventType? type; private readonly HashSet<TEvent> events = new(); public HashSetE...
using System; using System.Linq; using AlgorithmsPractise; using NUnit.Framework; using NUnit.Framework.Internal; namespace Tests { public class SearchingTests { private int[] Array { get; set; } private Random Random { get; set; } [SetUp] public void SetUp() { ...
using System.Threading; using Themis.Geometry.Server.Commands; using Themis.Geometry.Server.Handlers; using Themis.Geometry.Server.Services; using Bogus; using Xunit; using Assert = Xunit.Assert; namespace Themis.Geometry.Server.Tests.Handlers { public class SetProjectionEpsgCodeHandlerTests { priva...
using System; using Windows.Devices.Gpio; using Windows.Foundation; using IsTableBusy.Device.Core.Logic; namespace IsTableBusy.App.RaspberryPi.Plugins { public sealed class ButtonImp : Button { private readonly GpioPin pin; public ButtonImp(int pinNumber) { var controller =...
using System; namespace TaskBasedUpdater.Restart { [Flags] public enum ApplicationStatus { Unknown = 0, Running = 1, Stopped = 2, StoppedOther = 4, Restarted = 8, ErrorOnStop = 16, ErrorOnRestart = 32, ShutdownMasked = 64, RestartMask...
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace System.Activities; using Hosting; using Runtime; public partial class WorkflowApplication { private class InstanceOperation { private AsyncWaitHandl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Omegasis.StardewSymphony.Framework.SongsProcessor { public class MusicPackMetaData { public string name; public string fileLocation; public bool xwbWavePack; ...
namespace Database { using System; using System.Collections.Generic; using System.Text; public class Database : IDatabase { private const int MaxCapacity = 16; private readonly int[] data; private int currentIndex; public Database() { this.data...
using System; using System.Collections.Generic; using System.Text; namespace SuchByte.MacroDeck.Backup { public class RestoreBackupInfo { public bool RestoreConfig { get; set; } = false; public bool RestoreProfiles { get; set; } = false; public bool RestoreDevices { get; set; } = false...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy2Score : MonoBehaviour { public int Puntaje = 1; private void OnDestroy() { Enemy2Controller.Score -= Puntaje++; } }
// Copyright 2020 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
using System; using System.Collections.Generic; using Adventure.GameEngine.Blueprints; using Adventure.GameEngine.Persistence; using Adventure.TextProcessing; using EcsRx.Blueprints; using JetBrains.Annotations; namespace Adventure.GameEngine.Builder { [PublicAPI] public sealed class RoomBuilder { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using StackExchange.DataExplorer.Models; using StackExchange.DataExplorer.Helpers; using StackExchange.DataExplorer.ViewModel; namespace StackExchange.DataExplorer.Controllers { [HandleError] ...
using System; using System.Collections.Concurrent; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Next.Abstractions.Domain.ValueObjects; namespace Next.Web.Application.Binders { internal class SingleValue...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CamelScore : MonoBehaviour { void OnTriggerEnter2D(Collider2D c) { PlayerMovements.instance.AirJump(); } void OnTriggerExit2D(Collider2D c) { Camel camel = GetComponentInParent<Camel>(); ...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace toDoList.Models { public interface IDiarLancRepository { public List<SelectListItem> Diarios(); } }
namespace Shared.Utility { public class Numbers { public static float MpsToKts(float mps) { return mps * 1.944f; } public static float MpsToFpm(float mps) { return mps * 197; } } }
using FluentAssertions; using IsabelDb.Test.Entities; using IsabelDb.TypeModels; using NUnit.Framework; namespace IsabelDb.Test.TypeModels { [TestFixture] public sealed class TypeResolverTest { [Test] public void TestRegisterPolymorphicType() { var resolver = new TypeResolver(new []{typeof(KeyA), typeof(I...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerScore : MonoBehaviour { public float score = 0; public Dictionary<string, int> Enemykills; public Dictionary<string, int> WeaponKills; public Dictionary<string, int> ScoreKills; public float getScore...
namespace Majiro.Script.Analysis.Source.Nodes.Statements { public class IfStatement : Statement { public Expression Condition; public BlockStatement ThenBranch; public BlockStatement ElseBranch; public IfStatement(Expression condition, BlockStatement thenBranch, BlockStatement elseBranch = null) { Conditi...
namespace Cofoundry.Domain { /// <summary> /// Simple access to Cofoundry domain queries and commands from /// a single repository. A more extensive range of queries and /// commands are available in IAdvancedContentRepository. /// </summary> public interface IContentRepository : IDomainReposi...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Hunter.Characters { public class PlayerInputModule : MonoBehaviour { #region Variables private DeviceManager deviceManager; private Player player; private IAttack attackCharact...
using Moq; using System; using System.Linq; using System.Net; using System.Net.Http; using System.Numerics; using System.Threading.Tasks; using CSharpOddOrEvenHttpTrigger; using Xunit; using Xunit.Abstractions; namespace CSharpOddOrEven.Tests { public class OddOrEvenQueueTest { private readonly ITestOu...
using System; using System.Threading.Tasks; namespace Trill.Saga.Clients { public interface IAdApiClient { Task<bool> PayAsync(Guid adId); Task<bool> PublishAsync(Guid adId); } }
using FolkerKinzel.Tsltn.Models; using System; using System.Collections.Generic; namespace Tsltn { public class TranslationErrorsEventArgs : EventArgs { public TranslationErrorsEventArgs(IEnumerable<DataError> errors) { this.Errors = errors; } public IEnumerable<Da...
using System.Collections.Generic; using UnityEngine; namespace HollowForest.Shop { [CreateAssetMenu(menuName = "Hollow Forest/Shop Item List", fileName = "ShopItemList")] public class ShopItemList : ScriptableObject { public List<ShopItem> items; } }
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Chronozoom.Test.Auxiliary; using Chronozoom.Test.Components; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using System.Threading; using System.IO; using Sy...
using AnimalsShelter.Common.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnimalsShelter.Data.Model.Contracts { public interface IAnimal { string Name { get; set; } AnimalType Type { get; set; } st...
using System; using System.Collections.Generic; namespace Couchbase.LoadTests.Helpers { public class JsonDocumentGenerator : DocumentGenerator { private const int JsonWrapperSize = 1; // 2 - 1 because there is no trailing comma on the last field private const int FieldWrapperSize = 10; ...
using System; using System.Linq; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Controls.GalleryPages.PerformanceGallery.Scenarios { [Preserve(AllMembers = true)] internal class ImageScenario1 : PerformanceScenario { public ImageScenario1() : base("[Image] Empty") { View = new Image(); } } [P...
using System; using System.Linq; using System.Numerics; using System.Text; namespace AntShares { internal static class BigIntegerExtensions { public static BigInteger SetBit(this BigInteger n, int bit) { return n |= BigInteger.One << bit; } public sta...
using Content.Server.Nutrition.Components; using Content.Shared.Chemistry.Components; using Content.Shared.Chemistry.Reagent; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Server.Chemistry.ReagentEffects { /// <summary> /// Default metabolism for drin...
using System; using System.Runtime.InteropServices; namespace BLD.Components.Video.Plugin { public static class WebGLVideoPlugin { #if UNITY_WEBGL && !UNITY_EDITOR [DllImport("__Internal")] public static extern void WebVideoPlayerCreate(string id, string url, bool useHls); [DllImport("_...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Verse; using static HarmonyLib.Harmony; namespace EnhancedDevelopment.Prometheus.Patch { [StaticConstructorOnStartup] internal class Patcher { static Patcher() { string _LogLocation = "...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Drawing; using iTextSharp.text; using iTextSharp.text.pdf; namespace ICSharpCode.Reports.Core.Expo...
using System; using System.Drawing; using System.Windows.Forms; using Treefrog.Presentation; using Treefrog.Presentation.Controllers; using Treefrog.Render.Layers; using Treefrog.Windows.Controllers; using Treefrog.Windows.Controls; namespace Treefrog.Windows { public partial class LevelPanel : UserCon...
namespace NClient { /// <summary> /// An builder abstraction used to create the client. /// </summary> public interface INClientBuilder { /// <summary> /// Sets the main client settings. /// </summary> /// <param name="host">The base address of URI used when sending ...
using System; using System.Collections.Generic; using System.Text; using ProtoBuf; using GF.Unity.Common; namespace Fishing { //------------------------------------------------------------------------- public enum PlayerMailBoxRequestId : byte { None = 0,// 无效 MailBoxInitInfo = 10,// c->s,...
using Bumblebee; using FluentAssertions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using Xunit; using Xunit.Abstractions; namespace BumblebeeTests { public class TreeMatcherTests { private readonly ITestOutputHelper outp...
using UnityEngine; namespace Components.Common.MonoLinks { public struct GameObjectLink { public GameObject Value; } }
namespace DataWings.DataAdversary { /// <summary> /// Wraps a named table and is able to receive further information /// about the concrete database row which is to be "tampered with" /// by the adversary /// </summary> public interface IAccumulativeAdversary { /// <summary> ...
// 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 System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading....
namespace LTPTranslations.Data.Models.WebApi { using System.Collections.Generic; using LTPTranslations.Data.Common.Models; public class WordOfTheDay : BaseDeletableModel<int> { public WordOfTheDay() { this.OtherSynonyms = new HashSet<Synonyms>(); } public ...
using Arquitetura.Application.Modules.ProductManagement.Interfaces; using Arquitetura.Application.Modules.ProductManagement.ViewModels; using Arquitetura.Infra.Crosscuting.MvcFilters; using Microsoft.Ajax.Utilities; using System; using System.Web.Mvc; namespace Arquitetura.UI.Web.Controllers { public class Produc...
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Projac.Sql; namespace Projac.SQLite.Tests { public partial class SQLiteSyntaxTests { [TestCaseSource(typeof(SQLiteSyntaxTestCases), "NonQueryStatementCases")] public void NonQueryStatementReturnsExpectedInstance(...
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; namespace CommonBlocks { /// <summary> /// Generic lock-free queue implementation. Michael and Scott algorithm. /// </summary> /// <typeparam name="...
namespace Hangman.Models { public class HangmanGame { public char[] AnswerWord { get; set; } public int RemainingGuesses { get; set; } public int LettersCorrect { get; set; } public char[] CorrectLetters { get; set; } public int CurrentIndexCorrect { get; set; } public char[] IncorrectLette...
using System.Threading.Tasks; namespace Gambot.Data { public interface IDataDumper { Task<string> Dump(string dataStore, string key); } }
@model ResumeModel @section navbar { @await Html.PartialAsync("_Navbar", Model) } <h1> <i class="fas fa-briefcase"></i> @Model.Experience.Title </h1> <div id="experience-carousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> @for (var i = 0; i < Model.Experience.Histor...
namespace ContactWeb.Migrations.ContactWebDb { using System; using System.Data.Entity.Migrations; public partial class CreateSprocElmahGetErrorsXml : DbMigration { public override void Up() { Sql(@" CREATE PROCEDURE dbo.ELMAH_GetErrorsXml @Application NVARCHAR(60), ...
using System; using System.Collections.Generic; namespace HalSample.Models { public class Book { public Book() { } public Book( int id, string title, DateTime publishedDate, Author author, Category cat...
using System; namespace DependencyInjectionAutofacDemo.Services { public interface IMyService { void ShowCode(); } public class MyService : IMyService { public void ShowCode() { Console.WriteLine($"MyService.ShowCode:{GetHashCode()}"); } } publi...
using car_themed_app.Commands.Dealers; using car_themed_app.Queries; using car_themed_app.Queries.Dealers; using car_themed_app_Repository.Dtos; using car_themed_app_Repository.Dtos.DealerDtos; using MediatR; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace car_themed_app.Controllers { [Rou...
// *********************************************************************** // Copyright (c) Charlie Poole and TestCentric GUI contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using NUnit.ProjectEditor.ViewElem...
namespace ZiggyCreatures.Caching.Fusion.Plugins { /// <summary> /// The core plugin interface to implement to create a FusionCache plugin. /// </summary> public interface IFusionCachePlugin { /// <summary> /// This method is called right after adding the plugin to a FusionCache instance. If it throws, the plu...
using System.Linq; using NSubstitute; using NSubstitute.Core; namespace tusdotnet.test.Extensions { internal static class SubstituteExtensions { internal static ICall GetSingleMethodCall<T>(this T substitute, string methodName) where T : class { return substitute.ReceivedCalls().Si...