text
stringlengths
13
6.01M
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Audio; public class SoundManager : MonoBehaviour { public static SoundManager instance = null; //Allows other scripts to call functions from SoundManager. public AudioObject[] listAudioTypes; //Drag t...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BodyPart : MonoBehaviour { [System.NonSerialized] public Rigidbody rb; [System.NonSerialized] public Collider col; float breakThrowForce = 1; // Use this for initialization void Awake () { Initialize(); } void Disa...
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; namespace PROYECTOFINAL.Models { public class tarjeta { public static int InsertarDatosTarjeta(int tipo, int cuotas, int marca, int cupon, double monto, int IdV...
// Copyright 2013-2017 Serilog 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 // // Unless required by applicable law or...
using Common; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using System; namespace SikOmsTest { public static class MailProcessor { [FunctionName("MailProcessor")] public static void Run([QueueTrigger("savetomydatas")]MyData myData, string country, string userI...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using JDWinService.Utils; using JDWinService.Model; using System.Data.SqlClient; namespace JDWinService.Dal { public class JD_IcItemBGApply_LogDal ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Resources; using System.Linq; using System.Text; namespace System.ComponentModel.DataAnnotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | ...
namespace JhinBot.DiscordObjects { public class CommandCooldown : DiscordObject { public int Seconds { get; set; } = 0; public string CommandName { get; set; } = ""; } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using CommandLine; using RestSharp; using static System.Console; #pragma warning disable 1998 namespace TrafficReplayer { public static class Program { static async Task Main(string[] arg...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using DrugManufacturing.Entities; namespace DrugManufacturing.Data { public class DrugManufacturingContext : DbContext { public DrugManufacturingContext(DbContextOptions<DrugManufacturingContext> options) ...
using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace TicTacToe { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { private static readonly Player player =...
using ServiceQuotes.Domain.Entities.Enums; namespace ServiceQuotes.Application.Filters { public class GetEmployeesFilter : SearchStringFilter { public string FirstName { get; set; } public string LastName { get; set; } public string SpecializationId { get; set; } public Role? R...
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; // Represents the layout of the formular with different objects // such as labels, textboxes... namespace Layout { public class Layout : ActiveElement { /******** Variables ********/ // Standard values for layou...
using System; namespace MyGame { public enum PageType { Open, Selection } }
using UnityEngine; using System.Collections; public enum eItemType { None, Potion, Weapon, Soul, Max, } [RequireComponent(typeof(BoxCollider))] public class ItemBase : MonoBehaviour { /// <summary> /// 아이템의 타입값. /// </summary> protected eItemType m_eItemType; ...
using System; using System.Threading; using Pizzeria.Models; using System.Collections.Generic; namespace Pizzeria.Models { public class Pizza { public int Id { get; set; } public string PizzaName { get; set; } public string Ingredients { get; set; } public int PizzaCost { get;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Gurux.Device.Editor; using Gurux.DLMS.AddIn.ManufacturerSettings; using System.Runtime.Serialization; using GXDLMS.ManufacturerSettings; using Gurux.DLMS.ManufacturerSettings; namespace Gurux.DLMS....
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Constant of type `float`. Inherits from `AtomBaseVariable&lt;float&gt;`. /// </summary> [EditorIcon("atom-icon-teal")] [CreateAssetMenu(menuName = "Unity Atoms/Constants/Float", fileName = "FloatConstant")] public sealed clas...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Ajax; using WebApplication3.Bll; using WebApplication3.DataAccessLayer; using WebApplication3.Models; using WebApplication3.ViewModels; namespace WebApplication3.Controllers { public cla...
using System; using System.Collections.Generic; using System.Data.Common; using Phenix.Core; using Phenix.Core.Mapping; namespace Phenix.Test.使用指南._25._4 { class Program { private static long?[] TestInsert(DbTransaction transaction, int count) { List<long?> result = new List<long?>(count); for...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Mvc.NewtonsoftJson; using System; using System.Collecti...
using System; namespace Project.Errors { class PermissionException : Exception { public PermissionException(string message) : base(message) { } } }
using System; //TODO: Add other using statements here namespace com.Sconit.Entity.CUST { public partial class DefectCode { #region Non O/R Mapping Properties //TODO: Add Non O/R Mapping Properties here. public string CodeDescription { get { ...
using System; class PrintTable { // according to http://www.ascii-code.com/ all ASCII symbols are 255. So they can be stored in a byte. static void Main() { Console.WriteLine(" The complete ASCII table characters are: "); Console.WriteLine(); string[] symbolsArray ...
namespace CarDealerApp.Controllers { using System.Web.Mvc; using CarDealer.Services; public class SalesController : Controller { private readonly SalesService salesService; public SalesController() { this.salesService = new SalesService(); } [HttpG...
using Microsoft.EntityFrameworkCore.Migrations; namespace Inventory.Data.Migrations { public partial class DelayCheck : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.UpdateData( table: "OrderStatus", key...
using Microsoft.EntityFrameworkCore; using ServiceQuotes.Domain.Entities; using ServiceQuotes.Domain.Repositories; using ServiceQuotes.Infrastructure.Context; using System.Linq; using System.Threading.Tasks; namespace ServiceQuotes.Infrastructure.Repositories { public class RefreshTokenRepository : Repository<Ref...
using System.Diagnostics; using Microsoft.Xna.Framework; using StardewValley.Objects; using Object = StardewValley.Object; namespace FarmAutomation.Common { [DebuggerDisplay("{Location} : {Object.Name} => {Chest.Name}")] public class ConnectedTile { public Object Object { get; set; } publi...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.Entity.Core.EntityClient; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; usi...
using OrdiniCatCe.Gui.Model; namespace OrdiniCatCe.Gui.Messages { public class UpdateRigaOrdineMessage { public RichiesteOrdine RigaOrdine { get; private set; } public UpdateRigaOrdineMessage(RichiesteOrdine richiestaOrdine) { this.RigaOrdine = richiestaOrdine; }...
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace Bi401f20.WebSite.Modles { public class Anmeldelse { public string Beskrivelse { get; set; } public string Billede { get; set...
using System;//Biblioteca por defeito using System.Windows.Forms;//Biblioteca por defeito using System.IO;//Biblioteca para a recepção/envio de dados pelo/para o servidor using System.Media;//Biblioteca para a reprodução de sons using System.Runtime.InteropServices;//Biblioteca para a flash do form using System.Net.N...
using Cs_Notas.Dominio.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; us...
using UnityEngine; using System.Collections; public class ShowDialogueTrigger : MonoBehaviour { public string text; public void OnTriggerEnter( Collider other ) { if ( other.CompareTag( "Player" ) ) { UIManager.singleton.ShowDialogue( text ); } } }
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Mvc; using PoS.Models; using System.Web.Helpers; namespace PoS.Controllers { public class MenuItemController : Controller { private PoSContext db = new Po...
using System; using System.Linq; namespace LearningExercise_PDF_file { class Program { static void Main(string[] args) { var keepAlive = true; while (keepAlive) { try { Console.Clear(); ...
using DAL.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DAL.Interfaces { public interface IExpenseRepository : IRepository<Expense> { /// <summary> /// Gets recorded user expenses of last 30 days. /// </summary> /// <p...
using UnityEngine; using UnityEngine.SceneManagement; public class LevelFader : MonoBehaviour { public Animator animator; private int levelToLoad; void Update() { if(Input.GetKey(KeyCode.G)) { FadeToLevel(1); } } public void FadeToLevel(int levelIndex) { levelToLoad = levelIndex; animator.SetT...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovingCamera : MonoBehaviour { [SerializeField] GameObject obj; [SerializeField] float speed = 2f; void Update () { transform.position = Vector3.MoveTowards(transform.position, Vector3.right*obj.transf...
using System; using UnityEngine; public class Towers : MonoBehaviour { [Header("Laser")] public bool useLaser = false; public ParticleSystem impactEffect; public LineRenderer lineRenderer; public Light impactLight; public float slowPercent = 0.5f; [Header("Attributes")] [SerializeFiel...
namespace PatientService.Model.Specification { public abstract class CompositeSpecification<T> : ISpecification<T> { public ISpecification<T> BinaryOperation(LogicalOperator op, ISpecification<T> specification) { switch (op) { case LogicalOperator.And: ...
/* * Created by SharpDevelop. * User: stanguay * Date: 7/18/2016 * Time: 8:42 PM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Drawing; using System.Windows.Forms; namespace Robot { /// <summary> /// Description of frmManualMode. /// </summa...
using System.Collections.Generic; using WebApiLab.Entities; namespace WebApiLab.BLL { public interface IProductService { Product GetProduct(int productId); IEnumerable<Product> GetProducts(); Product InsertProduct(Product newProduct); void UpdateProduct(int productId, Product u...
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System; using Gap.NetFest.DataAccess.DTO; namespace Gap.NetFest.DataAccess { public class ChocolateCompanyContext : DbContext { public virtual DbSet<Chocolates_Brands> Chocolates_Brands { get; set; } public virtual Db...
using Microsoft.VisualStudio.TestTools.UnitTesting; using EC2Remocon.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EC2Remocon.Models.Tests { [TestClass()] public class CLICommandTests { [TestMethod()] ...
using System; using System.Collections.Generic; using System.Linq; using Autofac; namespace CYJ.Base.Infrastructure.Ioc { public static class AquainumContainer { public static IContainer Container = null; public static ContainerBuilder Builder = null; /// <summary> /// 注册普通类型(...
using System; using System.Collections.Generic; using System.Linq; namespace Refactoring.UntanglingStructureFromOperations { static class CompositePainterFactories { public static IPainter CreateCheapestSelector(IEnumerable<IPainter> painters) => new CompositePainter<IPainter>(painters, ...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using DelftTools.Utils; namespace DelftTools.Functions.Generic { [Serializable] public class MultiDimensionalArray<T> : MultiDimensionalArray, IMultiDimensionalArray<T>, IMultiDimensionalAr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02.BankAccounts { class Loan : Account, IInterestable { private string customer; private decimal balance; private decimal interest; private int months;...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using Capstone.Web.Models; namespace Capstone.Web.DAL { public class SurveyDAL : ISurveyDAL { private readonly string connectionString; public SurveyDAL(string connectionString) { t...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Task.Entities; using Task.Model; namespace Task { public class BaseDbContext : DbContext { public BaseDbContext() { Database.Ens...
using UnityEngine; using System.Collections; public class UI : MonoBehaviour { bool showText = true; float time = 0.0f; Rect textArea = new Rect( 10 , 10 , Screen.width-50 , Screen.height-50 ); private GameObject enemy; string string_random; private GameObject player; // Use this for ini...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CSConsoleRL.Enums; using CSConsoleRL.Entities; namespace CSConsoleRL.Events { public class RequestTargetingPathEvent : IGameEvent { public string EventName { get { return "RequestTargeting...
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; namespace Anywhere2Go.Library { public class ApiHttpProcessor { private string token = string.Empty; private string apiTransactionId = string.Empty; ...
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; using System.Collections; using Zaculator.Engine; namespace Calculator { public partial class Zacula...
using Framework.Core.Common; using System; using OpenQA.Selenium; namespace Tests.Pages.Oberon.Import { public class PreImportReview : ImportBasePage { public PreImportReview(Driver driver) : base(driver) { } public bool IsPreImportComplete(int timeoutInSeconds) { ...
using DataLayer; using DataLayer.Models; using System.Web.Mvc; using WeatherForecast.Models; using WeatherForecast.Services; namespace WeatherForecast.Controllers { public class ProfileController : Controller { private ILogger _logger; private IUnitOfWork ctx; private IUserAccount user...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParallelSerializer { public class SerializationContext : IDisposable { private readonly object syncRoot = new object(); priva...
namespace Sentry.Tests; public class GlobalSessionManagerTests : IDisposable { private class Fixture : IDisposable { private readonly TempDirectory _cacheDirectory; public InMemoryDiagnosticLogger Logger { get; } public SentryOptions Options { get; } public ISystemClock Clock...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using xKnight.Models; namespace xKnight.WebCrawler { public class CrawlingSharedResource { internal Queue<Webpage> SharedQueue {get; private set;} internal object SharedLock { get; private set; } in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using GameData; using System.Xml.Linq; using Microsoft.Xna.Framework; namespace ShootingGame.Data { class DataLoader { private string path { get; set; } public DataLoader() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; namespace NPCAI.Actions { public class PatrolAction : Action { private List<Transform> points; private int destPoint = 0; //different constructors depending on how many points already existing at //time of ...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class ARModel { public string Model; public int Marker; } [System.Serializable] public class Save { public List<ARModel> Model; }
using Autofac; using Tests.Pages.ActionID; using Framework.Core.Common; using Framework.Core.Config; using NUnit.Framework; using Tests.Data.Oberon; using Tests.Pages.Oberon; using Tests.Pages.Oberon.Contact; namespace Tests.Projects.Oberon.Search { public class FindAContactQuickSearch : BaseTest ...
using System; using System.Net; using System.Text; using ALAZ.SystemEx.NetEx.SocketsEx; using Phenix.Core; namespace Phenix.StandardPush.Business { /// <summary> /// 与数据库时钟保持同步 /// </summary> public sealed class SynchronizeClocker : Phenix.Core.BaseDisposable, ISocketService { /// <summary> /// 初始化 ...
using Alabo.Domains.Services; using Alabo.Industry.Shop.Orders.Domain.Entities; namespace Alabo.Industry.Shop.Orders.Domain.Services { public interface IOrderProductService : IService<OrderProduct, long> { OrderProduct GetSingle(long id); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class pages_product : System.Web.UI.Page { private DataLayer sqlOperation = new DataLayer("sqljiuye"); protected void Page_Load(object sender, EventArgs e) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; public static class StaticExtensions { public static float ToFloat(this Queue queue) { float number = 0; foreach (float f in queue) number += f; return number; } } ...
using Fingo.Auth.DbAccess.Models.CustomData.Enums; using Fingo.Auth.Domain.CustomData.ConfigurationClasses; namespace Fingo.Auth.Domain.CustomData.Factories.Actions.Interfaces { public interface IEditProjectCustomDataToProject { void Invoke(int projectId , string name , ConfigurationType type , Projec...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class makeTower : MonoBehaviour { public GameObject tower; void Start() { maketower(); } void Update() { } void maketower() { GameObject newtower = (GameObject)...
using System; using System.Collections.Generic; using UnityEngine; public class PopupWindow : MonoBehaviour { /// <summary> The currently open popup window. May be null. </summary> //public static PopupWindow openPopup; public static List<PopupWindow> openPopups = new List<PopupWindow>(); [Seriali...
using Kingdee.BOS.Orm; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BAH.BOS.Core.Const.FormOperation { /// <summary> /// 上传操作相关选项。 /// </summary> public static class UploadOptionExtension { /// <summary> /// 获取截止的操作编码。 /// ...
using System; using System.Collections; using System.Collections.Generic; namespace ClusterFig.RandomGenerators { public class LehmerRandomNumberGenerator: IRandomGenerator<double> { private const int a = 16807; private const int m = 2147483647; private const int q = 127773; pr...
using GardenControlCore.Models; using GardenControlRepositories.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper; namespace GardenControlServices.MapProfiles { public class AppSettingProfile : Profile { ...
using NorthwindDAL.Entities; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Web; namespace WebHandlers { public class ResponseGenerator { private string connectionString = @"data source=EPBYGROW0110;init...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace GameWebApi { public interface IRepository { //Task<Player> Get(Guid id); Task<Player[]> GetAll(); Task<Player> Create(Player player); ...
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 BankingAPP { public partial class BankAppUI : Form { public BankAppUI() ...
using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; using OpenQA.Selenium.Support.UI; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace KeepTeamAutotests.Pages { public class Del...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ControllerInputs : MonoBehaviour { public static bool allowInputs = true; // Use this for initialization void Start () { } // Update is called once per frame void Update () { controllerMo...
using AutoMapper; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using TestShop.Application.AutoMapperProfiles;...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Collections.Generic; using System.Text; using ZoomitTest.Dto; using ZoomitTest.Model; namespace ZoomitTest.Infrastructure.Extensions { publ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DetectaChaoCarie : MonoBehaviour { public GameObject carie; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
using GitTFS_Migration.Domain.Enums; namespace GitTFS_Migration.Service.Interfaces { public interface IRepositoryValidator { bool ValidateRepository(RepositoryTypeEnum repositoryType, string repositoryLocation); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using KartObjects.Entities.Documents; namespace KartSystem { public interface IDocumentEditView : IView { /// <summary> /// Документ /// </summary> BaseDocument Document ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowPlayerPos : MonoBehaviour { Transform _player; void Start () { _player = GameObject.FindGameObjectWithTag("Player").transform; } // Update is called once per frame void Update () { ...
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 EmrEditor { public partial class FilePreview : Form { public static string uriString = ""; public F...
using BarGraphClientServerApp.Models; using System; using System.Collections.Generic; using System.IO; using System.Web.Mvc; namespace BarGraphClientServerApp.Services { public class TxtToObjectConverterService { public List<Bar> GetDataList() { string path = "C:/Users/Admin/source/re...
using System; using System.Collections.Generic; using Xamarin.Forms; namespace LoginNavigation { public partial class EnterInterestsPage : ContentPage { List<String> interests = new List<String>(); public EnterInterestsPage() { InitializeComponent(); } pub...
namespace RosPurcell.Web.Infrastructure.Mapping { using RosPurcell.Web.ViewModels.Media; using Umbraco.Core.Models; using Umbraco.Web; using Zone.UmbracoMapper; public class DocumentMapping : BaseMapping, ICustomMapping<Document> { public Document Map(IUmbracoMapper mapper, IPublishe...
using System; namespace EPI.Searching { /// <summary> /// Given two sorted arrays and a positive integer k, find the /// k-th smallest element in the array consisting of the union /// of the two arrays. /// Assume duplicate elements can exist in the two arrays /// </summary> public static class BinarySearchI...
using System; using ReactMusicStore.Core.Domain.Interfaces.Specification; namespace ReactMusicStore.Core.Domain.Entities.Specifications.OrderSpecs { public class OrderCityIsRequiredSpec : ISpecification<Order> { public bool IsSatisfiedBy(Order order) { return !String.IsNullOrEmpty(...
using MvvmCross.Platform.Platform; using System; namespace Barebone.Droid { public class DebugTrace : IMvxTrace { public void Trace(MvxTraceLevel level, string tag, Func<string> message) { System.Diagnostics.Debug.WriteLine($"{tag}:{level}:{message()}"); } public v...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Order.Infrastructure.Data; using System; namespace Order.Api.Extensions { public static class HostExtensions { public static IHost MigrateD...
using System.Threading.Tasks; using Netatmo.Models.Client.Weather.StationsData; namespace HomeAutomation.Netatmo.Query.Services { public interface IWeatherService { Task SendWeatherInformations(Device station); } }
using UnityEngine; using System.Collections; public class parachuteGameManager : MonoBehaviour { public static parachuteGameManager instance = null; public int time; public int score1; public int score2; public bool hitSea1; public bool hitSea2; private GameController gc; private bool onlyOnce; private Gam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CardgameCollection { public class Rang { public Rang(string rang) { throw new System.NotImplementedException(); } private string rang { get => defaul...
using System; using Android.Views; using Android.Widget; using Android.App; using System.Runtime.Remoting.Contexts; using CC.Utilities; namespace CC.Mobile.Services { public static class UIExtensions { public static void SetText (this View view, int resourceId, string text) { SetTextToControl (view, resou...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using SFA.DAS.CommitmentsV2.Api.Types.Validation; using SFA.DAS.ProviderCommitments.Interfaces; using SFA.DAS.ProviderCommitments.Web.Extensions; using SFA.DAS.Validation.Mvc.Exten...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Sorvil.Repository.Data { public interface ISorvilRepository<TEntity> where TEntity : class { IQueryable<TEntity> All { get; } Task<TEntity> FindAsync(int id)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GangOfFourDesignPatterns.Behavioral.Observer { /// <summary> /// GoogleStock is a concrete subject that causes /// change to its state and notify all observers /// </summary> ...