text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Planning.AdvandcedProjectionActionSelection.PrivacyLeakageCalculation { class TraceState { public int agentID { get; set; } public int senderID { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PROJECT.SERV.Model.Adm { public class TCP_Adm_UsuPerfil { public int usuclave { set; get; } public int prlclave { set; get; } public TCP_Adm_UsuPerfil () {} public TCP_Adm_UsuPerfil ( int ...
using System; using UniRx; using UnityEngine; using UnityEngine.UI; namespace Games{ public class CorrectButton : MonoBehaviour{ private readonly Subject<Unit> onClick = new Subject<Unit>(); public IObservable<Unit> OnClick => onClick; private void Start(){ GetComponent<Button>...
using ArtesanappInterfaces.BLLInterfaces; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Artesanapp.Controllers { public class ValuesController : ApiController { readonly IBeerService service; public ...
using System; using System.Windows.Forms; using TutteeFrame2.Controller; using TutteeFrame2.Model; using TutteeFrame2.Utils; using MaterialSurface; namespace TutteeFrame2.View { public partial class StudentView : UserControl { public HomeView homeView; readonly StudentController studentControl...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using EHR_v1.Models; namespace EHR_v1.Controllers { public class PatientsController : Controller { private EHR_dbEntities db = new E...
using System; using System.Globalization; namespace Units_of_Measure { class Program { static void Main(string[] args) { CultureInfo culture = CultureInfo.CreateSpecificCulture("sv-SE"); RegionInfo region = new RegionInfo(culture.LCID); dec...
using REQFINFO.Domain; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace REQFINFO.Website.Models { public class GIGVM { public string IDUPW { get; set; } public string IDContractor { get; set; } public System.Guid IDGig { get; set; } ...
using System.Data; using System.Data.SqlClient; using System.Collections.Generic; using System.Linq; using System.Web; using InstagramMVC.Globals; using InstagramMVC.Models; using InstagramMVC.Models.AccountModels; using InstagramMVC.Models.UserModel; using System; using System.Text; namespace InstagramMVC.DataManage...
using System; using UnityEngine; namespace RO { internal class MaterialHandler_DestroyOrigin : MaterialHandler { public RolePartMaterialManager matManager; public void Handle(Material m, int i, int j) { if (null != m) { this.matManager.UnregisterMaterial(m); } } } }
using System.ComponentModel; using NUnit.Framework; using RockPaperScissors; namespace RockPaperScissorsTest { [TestFixture] public class ProgramTest { [Test] public void WinTest() { // Arrange var rock = MoveSelection.Rock; var paper = Move...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class CIPCReceiverLaserScaner : MonoBehaviour { public int serverPort; public string remoteIP; public int myPort; public string clinteName; public int fps; CIPC_CS_Unity.CLIENT.CLIENT client; byte[] da...
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; namespace Meziantou.Analyzer.Rules; [DiagnosticAnalyzer(LanguageName...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _4.FixEmails { class FixEmails { static void Main(string[] args) { var emailRegister = new Dictionary<string, string>(); string personName = Con...
// 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. namespace Microsoft.EntityFrameworkCore { public class SerializationSqliteTest : SerializationTestBase<F1SqliteFixture> { public Seriali...
namespace App.Models { public class CreditStatus { public bool Failed { get; set; } = false; public bool HasCreditLimit { get; set; } public int CreditLimit { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using YoukiaCore; namespace YoukiaCore { /// <summary> /// 类说明: /// 作者:刘耀鑫 /// </summary> public class SystemGetTime : IGetTime { /// <summary> /// 开始时间:毫秒 /// </summary> priv...
using System; using System.Collections.Generic; using System.Linq; using DAL; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace gym.Controllers { [Route("api/[controller]")] public class RecommendClassController: Controller { [HttpGet("[action]")] public JsonRes...
using UnityEngine; using System.Collections; public class IntroListener : MonoBehaviour { public bool playedNarration = false; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTriggerEnter(Collider other) { playSound(); playedNarrati...
using BotServer.Dal.Models.ViewModels; using BotServer.Dal.Models.ViewModels.MessageContent; using System.Linq; using BotServer.Dal.Models; using TdLib; namespace BotServer.Bll.UpdateResolver { public class NewMessageResolver : IUpdateResolver<NewMessage, TdApi.Update.UpdateNewMessage>, IUpdateResolver<BaseUpdate...
using Microsoft.AspNetCore.Builder; namespace Eventures.Middleware { public static class SeedRolesMiddlewareExtensions { public static IApplicationBuilder UseSeedRoles(this IApplicationBuilder builder) { return builder.UseMiddleware<SeedRolesMiddleware>(); } } }
using Microsoft.Practices.Unity; using Owin; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Dispatcher; namespace WebApp { public class Startup { public void Configuration(IAppB...
using System; using System.Threading; using System.Threading.Tasks; using FluentValidation; using MediatR; namespace DDDSouthWest.Domain.Features.Account.Admin.ManageProfile.UpdateExistingProfile { public class UpsertSpeakerProfile { public class Command : IRequest { public int Id ...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using StudentNetwork.Models; namespace StudentNetwork.Controllers { public class ChatController : ContextController { public ChatContr...
using System; using System.Collections.Generic; using System.Linq; namespace _08._Balanced_Parenthesis { class BalancedParenthesis { static void Main(string[] args) { Stack<char> parentheses = new Stack<char>(); char[] openParenthese = new[] { '{', '[', '(' }...
using System; using System.Linq; //description //Convert number to reversed array of digits //Given a random number: //C#: long; //C++: unsigned long; //You have to return the digits of this number within an array in reverse order. //Example: //348597 => [7,9,5,8,4,3] namespace Solution { cla...
using MvvmCross.Core.ViewModels; namespace MvxForms.Starter.ViewModels { /// <summary> /// Base view model class /// </summary> /// <typeparam name="P"></typeparam> /// <typeparam name="R"></typeparam> public abstract class BaseViewModel<P, R> : MvxViewModel<P, R> { /// <summary> ...
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.Data.SQLite; using System.Windows.Forms; using System.IO; using System.Threading; namespace Ovan_P1 { public partia...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Collections.Generic; #endregion namespace DotNetNuke.Services.Mobile { public interface IRedirection { //...
namespace Blazor.Counter.State { public delegate void CounterStateChanged(); public interface CounterActions { event CounterStateChanged OnChanged; void Trigger(); void SetIncrementAmount( long amount ); } }
using System; using Xunit; using FirstProject.TiposDeConta; using FirstProject.Excecoes; namespace FirstProject.Test { public class ContaPoupancaTests { [Fact] public void DeveDecrementarOSaldoDaConta() { var saldoEsperado = 950; var conta = new ContaPoupanca(10...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPickup : MonoBehaviour, IInteractable { public LayerMask layerMask; // declare in inspector to "Object" public Sprite[] reusableSprites; public Sprite[] recyclableSprites; [SerializeField] privat...
using System; using System.Linq; using UnityEngine; public class BulletController : MonoBehaviour { public float bulletSpeed; public BulletType bulletType; private float _playerBulletLifeTime = 1.5f; private float _enemyBulletLifeTime = 3.0f; private float _lifeTimeCounter = 0.0f; private voi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; namespace _2do_Proyecto_Analisis { static class PMX { static int mutaciones,fallos = 0; static int generaciones; static List<Horario> camada;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Queue; namespace StorageTestClient { class Program { static CloudSto...
using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; using QnAMakerDialog; using QnAMakerDialog.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Threading.Tasks; using System.Web; namespace BotInADay.Lab3_LLUIS { /// <summary> ...
using Newtonsoft.Json; /// <summary> /// Scribble.rs ♯ data namespace /// </summary> namespace ScribblersSharp.Data { /// <summary> /// A class that describes response data for creating a lobby /// </summary> [JsonObject(MemberSerialization.OptIn)] internal class CreateLobbyResponseData : EnterLob...
using System; namespace OCP.Files { /** * Exception for not found entity * @since 6.0.0 */ class NotFoundException : Exception {} }
using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.ModLoader.IO; using static Terraria.ModLoader.ModContent; namespace TrueEndless { class EndlessPlayer : ModPlayer { public bool infinity = false; public bool usedInfinity = false; private readonly E...
using System.Collections.Generic; using System.Threading.Tasks; using Core.Enums; using Data.Persistence; using Data.Views; using Entities; namespace Data.Repositories { public interface IProductRepository : IRepository<Product> { Task<List<ProductCatalogView>> GetProductCatalogViewsAsync(); Ta...
using System; using System.IO; using System.Text; using FluentScheduler; using Payment.Core.Configuration; using Payment.Core.FileSystem; using Payment.Core.Services; using ServiceStack; namespace Payment.Core.Jobs { public class PaymentFileExportJob : IJob { private readonly IEmployeeSalaryService _e...
using LogicBuilder.Attributes; using System; using System.Collections.Generic; using System.Text; namespace Contoso.Forms.Parameters.Common { public class DetailFieldSettingParameters : DetailItemParameters { public DetailFieldSettingParameters() { } public DetailFieldSettingP...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityStandardAssets.ImageEffects; public class StartCRT : MonoBehaviour { [SerializeField] private Camera mainCamera; private float cnt = 0; private bool isCnt = false; public float effectSeconds = 1; // Use t...
using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using Newtonsoft.Json; using System.Xml.Serialization; namespace SampleForSerialization { public class DataSerializer { public string SerializeToJson<T>(T obj) ...
namespace Utils { public class Enumerators { public enum UserType { User, Admin } public enum RequirementType { Sugerencia, Problema, Otro } } }
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { public class ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BLL_DAL { public class LoaiNguyenLieu_BLL_DAL { DataClasses1DataContext ff = new DataClasses1DataContext(); public LoaiNguyenLieu_BLL_DAL() { } ...
using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using StructureMap; using Pes...
namespace Enrollment.Parameters.Expressions { public class DistinctOperatorParameters : IExpressionParameter { public DistinctOperatorParameters() { } public DistinctOperatorParameters(IExpressionParameter sourceOperand) { SourceOperand = sourceOperand; ...
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace MonoGame.Extended.Gui.Controls { public abstract class CompositeControl : Control { protected CompositeControl() { } protected bool IsDirty { get; set; } = true; public abstract object Content ...
using LuaInterface; using RO; using SLua; using System; using UnityEngine; public class Lua_RO_Map2D : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int Contains(IntPtr l) { int result; try { Map2D map2D = (Map2D)LuaObject.checkSelf(l); Vector2 p; LuaObject.checkType(l, 2, ou...
using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using dotnetCHARTING; namespace ChartingDemo { public partial class Default : System.Web.UI.Page { protected void Page_Loa...
using BPiaoBao.AppServices.Contracts.SystemSetting; using BPiaoBao.AppServices.DataContracts; using BPiaoBao.AppServices.DataContracts.SystemSetting; using BPiaoBao.Common; using BPiaoBao.Common.Enums; using BPiaoBao.SystemSetting.Domain.Models.Businessmen; using BPiaoBao.SystemSetting.Domain.Models.Notice; using BPia...
using Microsoft.Azure.WebJobs.Host.Bindings; using Microsoft.Azure.WebJobs.Host.Config; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Concurrent; using System.Linq; using System.Reflection; using System.Threading.Tasks; using WebJobs.Extensio...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DartsTracker.Interfaces; using DartsTracker.Models; namespace DartsTracker.Presenters { public class GamePresenter : IGamePresenter { private IGameView view; private string gameName; ...
namespace MovieBase.Migrations { using System; using System.Data.Entity.Migrations; public partial class xzz : DbMigration { public override void Up() { AddColumn("dbo.MovieDbs", "Added", c => c.String()); } public override void Down() { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MoneyBack.StockPrices { public class AllStockPriceService : IAllStockPriceService { private Dictionary<StockPriceType, IStockPriceService> stockPriceS...
using Secretarium.Helpers; namespace Secretarium { public class ClientHello { public byte[] ephDHKey { get; set; } public static bool Parse(byte[] data, out ClientHello p) { if (data.Length != 64) { p = null; return false; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ProjeCv.Models.Entity { public class Education { public int Id { get; set; } public string Title { get; set; } public string SubTitle { get; set; } public string Department { get; set...
using System.Linq; using Omu.ValueInjecter; using SoSmartTv.TheMovieDatabaseApi.Dtos; using SoSmartTv.VideoService.Dto; namespace SoSmartTv.VideoService.Mappings { public class MapperConfiguration { public MapperConfiguration() { Mapper.AddMap<VideoInfo, VideoItem>(src => { var dst = new VideoItem()...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Data.Entity; namespace VideoFeedServices.Controllers { public class VideoController : ApiController { [HttpGet] public List<string> Test() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using LiongStudio.ComputerVision.Tdd; using LiongStudio.ComputerVision.Utils; namespace Validator { class Program { static MatlabDelegate _Matlab; static string[] _SuffixWithNorm ...
namespace PongGame { public class CollisionDetector { /// <summary> /// Calculates if rectangles describing two sprites /// are overlapping on screen. /// </summary> /// <param name="s1">First sprite</param> /// <param name="s2">Second sprite</param> /// ...
using OcTreeLibrary; using OpenTK; namespace SimpleShooter.Core { public interface IMovableObject : IOctreeItem { float Mass { get; } Vector3 Acceleration { get; set; } Vector3 Speed { get; set; } float Rigidness { get; } Vector3 Tick(long delta); void MoveAft...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class CaptureUI_CaptureBarsManager : MonoBehaviour { [SerializeField] int teamsInGame; Image[] captureBar; void Awake() { GameObject captureUI = GameObject.Find("Canvas/GameUI/CaptureUI"); captureBar = new...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Extensions.SignalRService; using Microsoft.Azure.WebJobs.Host; namespace AzureMessagingExplorer { public static class NegotiateClient { ...
using UnityEngine; using SOPRO; [CreateAssetMenu(fileName = "BulletTime", menuName = "Level/Platform/Special/BulletTime")] public class BulletTime : SpecialPlatform { public float TimeScale = 0.5f; public LayerHolder MonsterLayer; public bool Activated { get { return activated; } } public float Initia...
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; namespace NetFabric.Hyperlinq { public static partial class ReadOnlyListExtensions { public static bool Contains<TList, TSource>(this TList s...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class CambiarEscenaLogo : MonoBehaviour { public float TiempoParaProxEscena; void Update() { TiempoParaProxEscena -= Time.deltaTime * 1; if (TiempoParaProxEscena <...
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the source repository root for license information. using System; using System.Collections.Generic; using System.Linq; using Vipr.T4TemplateWriter.Settings; using Vipr.Core.CodeModel; namespace V...
using DryIoc; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol.Progress; namespace OmniSharp.Extensions.LanguageServer.Protocol.Server { internal class GeneralLanguageServer : LanguageProtocolProxy, IGeneralLanguageServer { public GeneralLanguageServer( ...
using System.Collections.Generic; using System.Threading.Tasks; using System; public class Category { protected List<string> formationsList; protected string name, shortName; protected string[] randoms = {"A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "O", "P", "Q"}; protected string[...
using UnityEngine; public class Lyra : MonoBehaviour { private float x; private float y; private Animator anim; private SpriteRenderer spriteRend; private void Awake() { anim = GetComponent<Animator>(); spriteRend = GetComponent<SpriteRenderer>(); if (GameManager.ins...
using System; using System.Collections.Generic; using System.Reflection; using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; namespace HT.Framework { /// <summary> /// 内置模块的检视器 /// </summary> public abstract class InternalModuleInspector<M> : HTFEditor<M> where M : Object { ...
using System.Collections.Generic; using System.Data.Entity; using Asset.Core.Repository.Library.Repositorys.AssetsModels.AssetEntrys; using Asset.Models.Library.EntityModels.AssetsModels.AssetEntrys; using AssetSqlDatabase.Library.DatabaseContext; using Core.Repository.Library.Infrastucture; namespace Asset.Infrastuc...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ERPMVC.Models; using Newtonsoft.Json; namespace ERPMVC.Controllers { public class DepBossController : Controller { // GET: DepBoss public ActionResult Index(int pageindex=1) ...
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 market_takip { public partial class Form2 : Form { public Form1 frm1; public Form2() { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PrefabSpawnerBaixo : MonoBehaviour { private float proximoSpawn; [SerializeField] private GameObject patoPrefab; [SerializeField] private float spawnDelay = 10; void Update() { if (ShouldSp...
using System; using System.Collections.Generic; namespace RestApiEcom.Models { public partial class TCZoneInfos { public TCZoneInfos() { TCBatiment = new HashSet<TCBatiment>(); TEspacemarche = new HashSet<TEspacemarche>(); TRCZoneInfoProprietaireEntreprise =...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; namespace BuildXL.Cache.Monitor.App { internal static class Constants { public enum ResultCode { Success, Cancelled, ...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Uplift.DataAccess.Data.Repository.IRepository; using Uplift.DataAccess.Data.Repository; using Uplift.Models; using Microsoft.AspNetCore.Authorization; using Syst...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignent1_PrivateSchoolStructure { public static class SyntheticData { public static List<string> FirstNames = new List<string>() { "Stergios","Giw...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace ArrayListApp { class Program { static void Main(string[] args) { System.Collections.ArrayList array = new ArrayList(); ...
using UnityEngine; using System.Collections; public class DemoSingletons : MonoBehaviour { // Use this for initialization void Start () { DemoSceneSingleton.Foo(); DemoSceneSingleton.Foo(); DemoRAIISingleton.Foo(); DemoRAIISingleton.Foo(); } }
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace DotNetDocs.Repository { public interface IRepository<T> where T : Document { ValueTask<T?> GetAsync(string id); ValueTask<IEnumerable<T>> GetAsync(Expression<Func<T, bool>> p...
using System; using System.Globalization; namespace Comparing_Strings { class Program { static void Main(string[] args) { string first = "\u00e5"; // å string second = "\u0061\u030a"; // a ̊ bool result = string.Equals(first, second, ...
#region 版本说明 /***************************************************************************** * * 项 目 : * 作 者 : 张李波 * 创建时间 : 2009-12-1 9:03:26 * * Copyright (C) 2008 - 鹏业软件公司 * *****************************************************************************/ #endregion using System; using System.Collect...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Rhea.Business; using Rhea.UI.Areas.Estate.Models; namespace Rhea.UI.Areas.Estate.Controllers { /// <summary> /// 用房统计 /// </summary> public class StatisticController : Controll...
namespace SGDE.DataEFCoreSQL.Configurations { #region Using using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; #endregion public class InvoiceConfiguration { public InvoiceConfiguration(EntityTypeBuilder<Invoice> ent...
// Copyright 2021 Google Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Board { private Square[,] boardMatrix = new Square[9, 9]; //private List<Move> previousMoves = new List<Move>(); public Board(Transform tile, Material lightColour, Material darkColour, GameObject gameObject, Mate...
using System.Runtime.CompilerServices; using Newtonsoft.Json.Linq; using Scriban; using System.Collections.Generic; using System.IO; using System.Linq; [assembly: InternalsVisibleTo("AppSettingsGenerator.Tests")] namespace AppSettingsGenerator { internal class ConfigGenerator { public (IEnumerable<(s...
// Papercut // // Copyright © 2008 - 2012 Ken Robertson // Copyright © 2013 - 2015 Jaben Cargman // // 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/...
using System.Collections.Generic; using BLL.Entities; namespace BLL.Interface { public interface IRewardService { IEnumerable<BllReward> GetAllRewards(); IEnumerable<BllReward> GetAllPossibleRewards(int userId); BllReward GetRewardById(int id); void CreateReward(BllReward rewar...
namespace model { public class AppConfigTable { public string appId; public string configKey; public string configValue; } }
namespace AnimeViewer.Services { /// <summary> /// Used to play videos on the specific platform /// </summary> public interface IVideoPlayer { /// <summary> /// Plays a video by a video source /// </summary> /// <param name="source">The source</param> ...
using System; using System.Reactive.Concurrency; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using OmniSharp.Extensions.DebugAdapter.Protocol.Server; using OmniSharp.Extensions.JsonRpc; namespace OmniSharp.Extensions.DebugAdapter.Server...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using DairyFarmWebApp.BusinessLayer; using DairyFarmWebApp.Data; namespace DairyFarmWebApp.Companies { pu...
using System.Collections.Generic; using System; namespace Bindable.Linq.Helpers { /// <summary> /// Provides a way for object instances to be "coupled" to the hosting class's object lifetime. Essentially, it's just an object store that is used to store things that the /// garbage collector would o...
using Speckle.Core.Kits; using Speckle.Core.Models; using System; using System.Collections.Generic; using System.Text; namespace Objects.BuiltElements.Revit { public class ParameterUpdater : Base { public string revitId { get; set; } public List<Parameter> parameters { get; set; } [SchemaInfo("Param...