text
stringlengths
1
932k
using JetBrains.Annotations; using MarginTrading.Backend.Contracts.Routes; using Refit; using System.Collections.Generic; using System.Threading.Tasks; namespace MarginTrading.Backend.Contracts { [PublicAPI] public interface IRoutesReadingApi { /// <summary> /// Returns all routes ...
//------------------------------------------------------------------------------ // <copyright file="SqlConnectionTimeoutErrorInternal.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="false">Microsoft</owner> //----------------...
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; namespace WindowsFormsApp1 { public partial class AddLectureForm : Form { public AddLect...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections; using System.Collections.Generic; using System.CommandLine.Parsing; using static System.CommandLine.Binding.ArgumentCon...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using Microsoft.SqlServer.Management.Smo; using Microsoft.SqlTools.ServiceLayer.Connection.Contracts; namespace Microsoft.SqlTools.ServiceLayer.Ob...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Azure.Messaging.EventHubs.Consumer; using Azure.Messaging.EventHubs.Producer; namespace Azure.Messaging.EventHubs.Core { /// <summary> /// ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
public class WaterMonument : Monument { private int waterAffinity; public WaterMonument(string name, int affinity) : base(name) { this.WaterAffinity = affinity; } public int WaterAffinity { get => this.waterAffinity; private set { this.wat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using UniLife.Shared.Dto.Definitions; using UniLife.Shared.DataModels; using Syncfusion.Blazor.Data; using Syncfusion.Blazor.Grids; namespace UniLife.CommonUI.Page...
using UnityEngine; using System.Collections; public class CombatPlayer : MonoBehaviour { public int playerNumber = 1; public string InputPlayerString; public int commandIndex = 0; public bool releasedButton = true; private Animator anim; public bool dead = false; // Use this for initial...
 @{ ViewBag.Title = "Documentation"; } <h1>@ViewBag.Title.</h1> <h2>Assignment</h2> <p>Naprogramovať doprednú neurónovú sieť Kohonenovho typu. Kohonenova vrstva je dvojrozmerná. Zrealizovať expertimenty na zadaných dátach a urobiť program na vizualizáciu Kohonenovej mapy počas učenia siete. Súčasťou zadania je a...
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using ...
using System; namespace picovm.Assembler { public interface IBytecodeTextSymbol : IComparable<IBytecodeTextSymbol>, IEquatable<IBytecodeTextSymbol> { string Name { get; } // The offset for the beginning of the instruction. Useful if we need to change the opcode, like MOV_REG_MEM to MOV_REG_CON...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Test.Cryptography; using Xunit; namespace System.Formats.Asn1.Tests.Reader { public static cla...
/******************************************************************************/ /* Project - Unity CJ Lib https://github.com/TheAllenChou/unity-cj-lib Author - Ming-Lun "Allen" Chou Web - http://AllenChou.net Twitter - @TheAllenChou */ /*****************************************************...
#region license /* * [Scientific Committee on Advanced Navigation] * S.C.A.N. Satellite * * SCANtype - Enum for SCANsat scanner types * * Copyright (c)2013 damny; * Copyright (c)2014 technogeeky <technogeeky@gmail.com>; * Copyright (c)2014 (Your Name Here) <your email here>; see LICENSE.txt for licensing d...
/* Copyright 2019-present MongoDB 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 wr...
/* * 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 ...
namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipaySecurityTesttestQueryResponse. /// </summary> public class AlipaySecurityTesttestQueryResponse : AlipayResponse { } }
using System; using System.Collections.Generic; using System.ComponentModel; namespace FG5eParserModels.DM_Modules { public class Encounter : INotifyPropertyChanged { private string Category { get; set; } private string Name { get; set; } private string CR { get; set; } private...
using Dotnet.Func.Ext.Algebraic; using Dotnet.Func.Ext.Data; using System.Collections; using System.Collections.Generic; using System; namespace Dotnet.Func.Ext.Collections.Lazy { public class ReadOnlyListSlice<valueˈ> : IReadOnlyList<valueˈ> { public IReadOnlyList<valueˈ> InnerList { get; } p...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, cop...
using System; using System.Threading.Tasks; using HttpReports.Storage.FilterOptions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace HttpReports.Test { [TestClass] public abstract class StorageTest<T> where T : IHttpReportsStorage { public abstract T Storage { get; } protec...
namespace Lykke.Job.CandleHistoryWriter.Repositories { internal static class Constants { public const string SnapshotsContainer = "candleshistorysnapshots"; } }
// <copyright file="SearchTopics.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace SocialPlus.UnitTests { using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using SocialPlus.Logging; using SocialPlus...
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
using HarmonyLib; using System.Reflection; using Verse; namespace VFEMedieval { [StaticConstructorOnStartup] public static class NonPublicFields { public static FieldInfo DamageInfo_armorPenetrationInt = AccessTools.Field(typeof(DamageInfo), "armorPenetrationInt"); } }
// <copyright file="DoubleSumData.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry 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.o...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class ServiceTierAdvisorListResult { ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class InteractableObject : MonoBehaviour { public string ObjectTitle; public TMPro.TextMeshProUGUI ObjectLabel; public List<GameObject> DisableWhenInactive; public Material HighlightMat, InactiveMat; ...
using RPGCore.Items; namespace RPGCore.Inventory.Slots { public interface IItemSlot : IInventory { IItem CurrentItem { get; } InventoryTransaction DestroyItem (); InventoryTransaction DragInto (IInventory other); InventoryTransaction MoveInto (IInventory other); InventoryTransaction SetItem (IItem item);...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Duh { //This class is to represent a single node in the trie. class Node { public string Value { get; set; } public Dictionary<char, Node> LinkedNodes { get; set; } public bool IsTer...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelEnd : MonoBehaviour { private int nextLevel; private void Start() { nextLevel = SceneManager.GetActiveScene().buildIndex+1; Debug.Log(nextLevel); } priv...
// // Unit tests for ARAnchor // // Authors: // Vincent Dondain <vidondai@microsoft.com> // // Copyright 2018 Microsoft. All rights reserved. // #if HAS_ARKIT using System; using ARKit; using Foundation; using ObjCRuntime; using NUnit.Framework; using MatrixFloat4x4 = global::OpenTK.NMatrix4; namespace MonoTouchFix...
namespace DemoQA_Automation.SectionTests { using NUnit.Framework; using DemoQA_Automation.Pages; using DemoQA_Automation.Pages.Sections.Draggable; using System.Drawing; [TestFixture] public class DraggableTests : TestsBase { private Draggable Draggable; [SetUp] ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="OcrApiBase.cs"> // Copyright (c) 2019 Aspose.Ocr for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obtaini...
using System; using System.Collections.Generic; using GetIntoTeachingApi.Jobs; using GetIntoTeachingApi.Models.Crm; using GetIntoTeachingApi.Utils; using Hangfire; namespace GetIntoTeachingApi.Services { public class CandidateUpserter : ICandidateUpserter { private readonly ICrmService _crm; p...
using System; using System.Collections.Generic; using System.Text; using WorkflowCore.Interface; using WorkflowCore.Models; using Xunit; using FluentAssertions; using System.Threading; using WorkflowCore.Testing; namespace WorkflowCore.IntegrationTests.Scenarios { public class IfScenario : WorkflowTest<IfScenario...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; public class UnderwaterPPController : MonoBehaviour { [SerializeField] private float m_waterLevelPos = 3.0f; [SerializeField] private float m_startLerpThresh = 1.0f; [Serial...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from Net.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 0108, 0219, 0414, 1591...
namespace SqlKata { public abstract class AbstractCombine : AbstractClause { } public class Combine : AbstractCombine { /// <summary> /// Gets or sets the query to be combined with. /// </summary> /// <value> /// The query that will be combined. /// ...
using System; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using BasicWebApp.Models; namespace BasicWebApp.Account { public partial class Login : Page { protected void Page_Load(object sender, EventArgs e) { ...
namespace OpenDotaDotNet.Endpoints { using System.Collections.Generic; using System.Threading.Tasks; using OpenDotaDotNet.Models.Scenarios; public interface IScenariosEndpoint { /// <summary> /// Gets win rates for certain item timings on a hero for items that cost at least 1400 g...
//------------------------------------------------------------------------------ // <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; using System.Collections.Generic; using System.Linq; using System.Web; namespace AppDCASeparacao { public class Credito { public int Filial { get; set; } public long Carga { get; set; } public long Pedido { get; set; } public string Posicao { get; set; } p...
@using System.Web.Http @using System.Web.Http.Controllers @using System.Web.Http.Description @using ForumSystem.Services.Areas.HelpPage @using ForumSystem.Services.Areas.HelpPage.Models @model IGrouping<HttpControllerDescriptor, ApiDescription> @{ var controllerDocumentation = ViewBag.DocumentationProvider != null...
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
@model ProjectTags.Models.Teams @{ ViewBag.Title = "Create"; } <h2>Create</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Teams</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) <div class="for...
using MVVMToolkit.Commands; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Windows.Input; names...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; namespace AutomatedLab { public class PathValidator : XmlValidator, IValidate { public PathValidator() { messageContainer = RunValidation(); } public override IEnumerable<Valid...
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
// WARNING // // This file has been generated automatically by Visual Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace KimonoMac { [Register ("...
// *** 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.Goog...
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("OL...
// // Copyright (c) 2004-2019 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Linq.Expressions; namespace MagicEastern.ADOExt { public static class DbConnectionExt { public static IDbCommand CreateCommand(this DBConnectionWrapper conn, Sql sql, DBTransact...
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Options; using TrackSeries.TheTVDB.Client.Models; namespace TrackSeries.TheTVDB.Client.Updates { internal class UpdatesClient : BaseClient, IUpdatesClient { ...
@using Microsoft.AspNetCore.Mvc.Localization @using Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Dtos.Identity @model UserDto<string> @inject IViewLocalizer Localizer @{ ViewBag.Title = Localizer["PageTitle"]; Layout = "_Layout"; } <div class="row"> <div class="col-12"> <nav aria-label="breadcrumb"> ...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
// <auto-generated /> using TimeHelper.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace GSK_TimeAssistant_D...
using System; using System.Collections.Generic; class TaskManager { public DateTime Today {get; private set;} public MyHeapPriorityQueue<Task> Tasks {get; private set;} public TaskManager() { Tasks = new MyHeapPriorityQueue<Task>(); Today = DateTime.Today; } public void AddTask(Task t) { if (t == null) ...
#pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it using Celeste.Mod; using Celeste.Mod.Meta; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Monocle; using MonoMod; using System; using System.Collections.Generic; using System.Linq;...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UIHotel2.Data.Tables { public class Booking { [Key] [StringLength(16)] ...
using System; namespace net47whoami.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { get; ...
using System; using System.Collections.Generic; using System.Fabric; using System.Threading; using CoherentSolutions.Extensions.Hosting.ServiceFabric.Fabric; using CoherentSolutions.Extensions.Hosting.ServiceFabric.Tests.Theories; using CoherentSolutions.Extensions.Hosting.ServiceFabric.Tests.Theories.Extensions; usi...
using System.Reflection; 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("AWSSDK.AWSHealth")] [assembly: AssemblyDes...
// CS0120: An object reference is required to access non-static member `MainClass.Callback()' // Line: 9 using System; class MainClass : BaseClass { public MainClass (string a, Action callback) : base (a, () => Callback ()) { } private void Callback () { } } public class BaseClass { public BaseClass (strin...
using System; namespace ShoppingBasket.Loggers { public class ConsoleLogger : ILogger { public void Error(string text) { Console.WriteLine(text); } } }
using PF; using UnityEngine; namespace Pathfinding.Voxels { using Pathfinding.Util; public partial class Voxelize { /** Returns T iff (v_i, v_j) is a proper internal * diagonal of P. */ public static bool Diagonal (int i, int j, int n, int[] verts, int[] indices) { return InCone(i, j, n, verts, indices...
using CSharpAPISync.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Analyzer.Mocking.Api.Models { [Serializable] public class BacktestAccount : IAccount { public decimal EquityWithLoanValue { get; set; } ...
/* This file is part of VoltDB. * Copyright (C) 2008-2018 VoltDB 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 restriction, including * without limitation the rights to...
using System.Collections.Concurrent; using Grpc.Net.Client; using ProtoBuf.Grpc.Client; namespace Laobian.Share.Grpc; public static class GrpcClientHelper { private static readonly ConcurrentDictionary<string, GrpcChannel> Channels; static GrpcClientHelper() { Channels = new ConcurrentDictionary...
using System; using Xunit; namespace Naticon.Tests { public class NumerizerTests { private static int ConvertToNumber(int r, string numerizedString, string s) { var value = 0; if (!int.TryParse(numerizedString, out value)) { throw new Exception( string.Format( "Numerized input '{0}' is e...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
using System.IO; using TetraPak.Auth.Xamarin.oidc; using Xamarin.Essentials; namespace TetraPak.Auth.Xamarin.common { public class DiscoveryDocumentCache : FileCache<DiscoveryDocument> { public DiscoveryDocumentCache() : base(new DirectoryInfo(FileSystem.CacheDirectory), ".taxDiscoDocument", false) ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Portal.Data; using Portal.Data.Dtos; namespace Portal.Api.Controllers { [ApiController] [Route("[controller]")] public class AccountsCon...
using System; using System.Globalization; using System.IO; using System.IO.Compression; using System.Security.Cryptography; using System.Text; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using B320.Transformers; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; n...
@{ ViewData["Title"] = Texts.Forms.Membership.Login.FormTitle; ViewData["PageId"] = "Login"; ViewData["BodyClass"] = "login-page"; Layout = MVC.Views.Shared._LayoutNoNavigation; } @section Head { <link rel="stylesheet" href="~/Content/iCheck/square/blue.css" /> <script src="~/Scripts/jquery.ic...
using System.Linq; using AutoMapper; using Domain; namespace Application.Comments { public class MappingProfile : Profile { public MappingProfile() { CreateMap<Comment, CommentDto>() .ForMember(d => d.UserName, o => o.MapFrom(s => s.Author.UserName)) ...
// Copyright (c) Traeger Industry Components GmbH. All Rights Reserved. namespace NodeSet { using Opc.UaFx; internal static class PackML { #region ---------- Public static readonly fields ---------- public static readonly OpcNamespace Namespace = OpcNamespace.Create("http://opcfoundation...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace TimeTracker.Domain.Auth { public class AuthenticationResponse { public string Id { get; set; } public string UserName { get; set; } public string Email { get; set; } public List<string> Roles { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SampleProject.Basic { public partial class MyPartialClass { public MyPartialClass() { } public void Method1(int val) { Console.Writ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
using System; using System.Collections.Generic; using System.Text; namespace Contact.Contracts { public class BaseRequest { } public class BaseResponse { public bool Success { get; set; } = false; public string FailureInformation { get; set; } = string.Empty; } }
using System.Threading.Tasks; using Foundatio.Repositories.Models; namespace Foundatio.Repositories { public interface ISearchableReadOnlyRepository<T> : IReadOnlyRepository<T> where T : class, new() { /// <summary> /// Gets a document count and optional aggregation data using search criteria ...
namespace DotNetRu.Clients.Portable.ViewModel { using System.Collections.Generic; using System.Linq; using DotNetRu.Clients.Portable.Helpers; using DotNetRu.Clients.Portable.Interfaces; using DotNetRu.Clients.Portable.Services; using DotNetRu.Clients.UI.Localization; using DotNetRu.Utils.He...
using System.Threading.Tasks; using StackExchange.Redis; namespace App.Services { public class RedisService : IRedisService { private readonly IDatabase _database; public RedisService(IDatabase database) { _database = database; } public async Task<string> G...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
// 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. #nullable enable using System.Linq; using Microsoft.Cci; using Microsoft.CodeAnalysis.CSharp.Symbols; using Micros...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace model { public abstract class AuditableEntity<T> : Entity<T>, IAuditableEntity { [ScaffoldColumn(false)] public DateTime C...
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License...
using System.Collections.Generic; using System.Threading.Tasks; using StockExchangeYahooFinance.Data; namespace StockExchangeYahooFinance.Repository { public interface IStockExchangeRepository { IEnumerable<FinanceModel> GetAllFinances(); Task<FinanceModel> AddFinanceModel(FinanceModel financ...
// 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.Collections.Generic; namespace Microsoft.EntityFrameworkCore.Metadata { /// <summary> /// Represents entity type mapping to a ...
// <auto-generated> - Template:MvvmLightModelObject, Version:1.1, Id:c644a31c-7ebc-4383-bc7f-0ea7c5bf6ed4 using GalaSoft.MvvmLight; using CodeGenHero.Xam.MvvmLight; namespace CodeGenHero.BingoBuzz.Xam.ModelObj.BB { public partial class BingoContent : BaseAuditEdit { public BingoContent() { BingoInstanceConten...
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. [UnityEngine.AddComponentMenu("Wwise/AkRoomPortal")] [UnityEngine.RequireComponent(typeof(UnityEngine.BoxCollider))] [UnityEngine.DisallowMultipleComponen...
using System.Diagnostics; namespace MinecraftBdsManager.Logging { internal class RichTextboxTraceListener : TraceListener { /// <summary> /// Built in formatting for messages based on their lead in. List is processed in declared order so ensure to have them in priority order as the first one ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
using Xunit; namespace NetScriptTest.language.expressions { public sealed class Test_void : BaseTest { [Fact(DisplayName = "/language/expressions/void/S11.4.2_A1.js")] public void Test_S11_4_2_A1_js() { RunTest("language/expressions/void/S11.4.2_A1.js"); } [...
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("Ma...