text
stringlengths
13
6.01M
// <copyright file="WeatherForecastControllerTest.cs" company="PlaceholderCompany"> // Copyright (c) PlaceholderCompany. All rights reserved. // </copyright> namespace AspNetSandbox.Tests { using System; using System.IO; using ApiSandbox; using ApiSandbox.Controllers; using Xunit; /// <summary...
using Quinelita.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace Quinelita.EndPoints.DataAccess.Interfaces { public interface ITournamentRepository { Task<Tournament> AddEntity(Tournament Entity); Task DeleteEntity(int Id); Task<IEnumerable<Tourname...
using Restaurant365.Core; namespace Restaurant365.UI { public interface ICalculatorService { CalculationResult Add(string input); } }
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AppointmentReportsController.cs" company="Eyefinity, Inc."> // Eyefinity, Inc. - 2013 // </copyright> // <summary> // Defines the AppointmentReportsController type. // ...
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 ozn_prackt { public partial class trap_storon : Form { public tr...
using System; using UnityEngine; using UnityEngine.UI; namespace ButtonDropdown { /// <summary> /// Orientation of the dropdown. /// </summary> public enum Orientation { Vertical, Horizontal } [ExecuteInEditMode] public class DropdownManager : MonoBehaviour ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class PlayerName : MonoBehaviour { HoldingObjects dontDestroyOnLoad; public TextMeshProUGUI playerOneName; public TextMeshProUGUI playerTwoName; void Awake() { dontDestroyOnLoad = FindObjectOf...
namespace MediaSystem.Api.Controllers { using System.Linq; using System.Web.Http; using MediaSystem.Api.Models; using MediaSystem.Data; using MediaSystem.Models; using MediaSystem.Services.Data; using MediaSystem.Services.Data.Interfaces; using StudentSystem.Data; public class So...
namespace Decorator { public abstract class PancakeDecorator : Pancake { public PancakeDecorator(Pancake pancake) { this.Pancake = pancake; } protected Pancake Pancake { get; set; } } }
using System; using Sunrise; using Sunrise.CelestialObjects; namespace Sunrise.Astronomy { public static class Settings { public static void SetEarthBased() { Sunrise.Settings.ReferenceOrigin = Body.Earth; } } }
using AutoMapper; using CryptoInvestor.Core.Domain; using CryptoInvestor.Core.Repositories; using CryptoInvestor.Infrastructure.Auth; using CryptoInvestor.Infrastructure.DTO; using CryptoInvestor.Infrastructure.Exceptions; using CryptoInvestor.Infrastructure.Services.Interfaces; using System; using System.Collections....
using UnityEngine; using YoukiaUnity.Graphics; public class DistortionSupport : GraphicsLauncher { private DemoDrawCard card; private bool hasRt; protected override void Launcher() { base.Launcher(); card = GraphicsManager.GetInstance().DrawCard as DemoDrawCard; card.AddNeedB...
using Library.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Library.Web.Admin { public partial class EditBooks : System.Web.UI.Page { private LibraryDbContext context = new LibraryDbConte...
using System; namespace StacksAndQueue.Classes { public class Queue { /// <summary> /// Sets the front node /// </summary> public Node Front { get; set; } /// <summary> /// Sets the rear node. Can be the same as the rear node when 1st node. /// </summa...
using UnityEngine; using System.Collections; public class SOPixelPerfectTextSettings{ public static float DEFAULT_FONT_HEIGHT = 1f; public static float UNITS_TO_CHARACTER_SIZE = 10f; public static int MAX_FONT_SIZE = 512;//max font size in pixels }
using System; using System.ComponentModel; using System.Windows; using System.Windows.Input; using Autodesk.Revit.DB; using Autodesk.Revit.UI; namespace BrickDims { /// <summary> /// Interaction logic for UI.xaml /// </summary> public partial class BrickDimSelector : Window, INotifyPropert...
using System.Collections.Generic; using System.Linq; using MvvmCross.Core.ViewModels; using Newtonsoft.Json; using Tekstomania.Mobile.Core.Models; using Tekstomania.Mobile.Core.Services; using Tekstomania.Mobile.Core.Services.Interfaces; namespace Tekstomania.Mobile.Core.ViewModels { [Android.Runtime.Preserve(AllMe...
using Caliburn.Light; using System.Windows.Input; namespace Demo.HelloEventAggregator { public class PublisherViewModel : BindableObject { private readonly IEventAggregator _eventAggregator; private string _message; public PublisherViewModel(IEventAggregator eventAggregator) {...
/********************************************************************************** Examples / Green Programming ---------------------------- Example of three types of string parsing Parse_Classic - produces garbage; Parse_Substring - produces smaller ammount of garbage; Parse_SmartDouble - cleanest and quickest, pro...
namespace RepoSearch.Models { public class OwnerModel { public string avatar_url { get; set; } } }
using System; namespace App1 { public interface ICloseApplication { void CloseApp(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Cors; using WebService.GenericRepositories; using WebService.model; using WebService.Utils; using WebService.ViewModel; namespace WebService.Controllers { public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyBlog.Entities.Models { public class Poll { public int PollId { get; set; } public string Question { get; set; } public bool Active { get; set; } publ...
using System; using System.Collections.Generic; using System.Text; namespace LostAndFound.Models { class FoundModel : IFoundModel { public string TypeID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string PersCode { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Timers; namespace CSharpLab { public class DateTimes { static DateTime Time1 = new DateTime(2015, 12, 1, 23, 1, 59, 100); static DateTime Now = DateTime.Now; ...
using System.Collections.Generic; using System.Threading.Tasks; using InvestmentForecaster.Domain; using InvestmentForecaster.Service.DTO; namespace InvestmentForecaster.Service { public interface IForecastCalculator { Task<IEnumerable<ForecastResponseDTO>> Calculate(IBounds bounds, RequestDTO request...
using McMaster.Extensions.CommandLineUtils; using NameSearch.App.CommandConfigurations; using NameSearch.App.Commands.Interfaces; namespace NameSearch.App { /// <summary> /// Command Line Options /// </summary> public class CommandLineOptions { /// <summary> /// Gets or sets the co...
using System; using System.Net.Http.Headers; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.Owin; namespace ODataPOC.Security { public class AuthenticationMiddleware : OwinMiddleware { public AuthenticationMiddleware(OwinMiddleware next) : ba...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.Serialization; using System.Text; using System.Text.Json; using System.Drawing; using System.Diagnostics; using System.Threading.Tasks; namespace TouchpadGestures_Advanced { public enum Conditions { ...
using System; using System.Collections.Generic; namespace dojoTest.Models { public class User : BaseEntity { public int UserId{get;set;} public string FirstName{get;set;} public string LastName{get;set;} public string Email{get;set;} public string Password{get;se...
using Futulabs.HoloFramework.LeapMotion; using UniRx; using UnityEngine; using Zenject; public class LeapFrameTransformer : ILeapFrameTransformer { private Matrix4x4 _leapToLocatableCamera; private Subject<LeapFrameData> _transformedFrameStream; LeapFrameTransformer( [Inject(Id ="...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Android.Util; namespace EsMo.Android.Support.Views { public class WrappedLayout : ViewGroup ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WarMegaChallenge { static class Play { public static void createShuffledDeck(List<Card> cards) { createDeck(cards); cards.Shuffle(); creat...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; namespace Script{ public class EnemyDie : MonoBehaviour { public bool PauseGame; [SerializeField] private GameObject gameOwerLost; [SerializeField] private GameObject gameO...
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. using System; using System.Linq; using Newtonsoft.Json.Linq; namespace CustomerFinderCognitiveServices.Models { public partial class ErrorRecordV2 { ...
using System.Collections; using System.Collections.Specialized; using Bindable.Linq.Helpers; using Bindable.Linq.Threading; namespace Bindable.Linq.Adapters.Incoming { internal class ObservableCollectionToBindableCollectionAdapter<TElement> : BindableCollectionAdapterBase<TElement> { public O...
using Crt.Model.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace Crt.Model.Dtos.CodeLookup { public class CodeLookupBaseDto { public string CodeSet { get; set; } public str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsyncAwait.Examples { public static class ReturnValueExample { public static async void ShowAsyncAwait() { await RunOperationAsync(); } pri...
using System; using System.Collections.Generic; using System.Text; namespace AmorePostaggioMatchBrain { public static class Factory { public static readonly int PunteggioSìNo = 5; public static readonly int PunteggioSabatoLinea = 2; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using HPMSdk; using Hansoft.SimpleLogging; namespace Hansoft.Jean.Behavior { /// <summary> /// The base class for behaviors that should be automated by Jean for Hansoft. A beh...
using System.Collections.Generic; using CloneDeploy_Entities; using CloneDeploy_Entities.DTOs; using RestSharp; namespace CloneDeploy_ApiCalls { public class OnlineKernelAPI : BaseAPI { private readonly ApiRequest _apiRequest; public OnlineKernelAPI(string resource) : base(resource) {...
using UnityEngine; using System.Collections; public class BinBehavior : MonoBehaviour { public GameObject gameWorld; //public ObjectType type; public ThrowableType type; void OnTriggerEnter(Collider other){ if (other.gameObject.GetComponent<ThrowableBehavior>() != null) { ThrowableType[] types = {...
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 RentCar { public partial class FrmHome : Form { private Form activeForm = null...
using System.Data.Entity; using System.Linq; using System.Web.Mvc; using AutoMapper; using AutoMapper.QueryableExtensions; using Dentist.Controllers.Base; using Dentist.Enums; using Dentist.Models; using Dentist.ViewModels; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; namespace Dentist.Controllers { [Authorize...
using AuditAppPcl.Entities; using AuditAppPcl.Resources; using AuditAppPcl.Views; using System.Collections.Generic; using System.Collections.ObjectModel; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace AuditAppPcl { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MasterPage : C...
using UnityEngine; namespace Assets.Scripts.Common { public class DestroyObjectsThatLeaveBounds : MonoBehaviour { void OnTriggerExit2D(Collider2D collision) { Destroy(collision.gameObject); } } }
/* * OpenAPI definition * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; usin...
using BLL; using Entidades; using ProyectoFinal.UI.Consultas; 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 ProyectoFinal.UI { public pa...
using Contoso.Data.Entities; using Microsoft.EntityFrameworkCore; namespace Contoso.Contexts.Configuations { class DepartmentConfiguration : ITableConfiguration { public void Configure(ModelBuilder modelBuilder) { var entity = modelBuilder.Entity<Department>(); entity.T...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace twitter_lookup { public class RSSFeed ...
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 BUS; using DAL; using DevExpress.XtraGrid.Views.Grid; using ControlLocalizer; using DevExpress.Xtra...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PokerProbability { public class Hand { private List<Card> _myHand = new(); public List<Card> MyHand { get => _myHand; set => _myHand = value; } public void Shuffle()...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SnakeMouth : MonoBehaviour { private float _ScaleY = 1f; private Vector3 _baseScale; private void Awake() { _baseScale = transform.localScale; } public void SetFewerMouth() { transform.l...
using LuaInterface; using SLua; using System; public class Lua_UnityEngine_VR_VRNode : LuaObject { public static void reg(IntPtr l) { LuaObject.getEnumTable(l, "UnityEngine.VR.VRNode"); LuaObject.addMember(l, 0, "LeftEye"); LuaObject.addMember(l, 1, "RightEye"); LuaObject.addMember(l, 2, "CenterEye"); LuaO...
using Engine; using UnityEngine; namespace Game { //public class MgrBase<T> :SingletonMono<T> // where T : MonoBehaviour //{ // private bool _inited = false; // public virtual void Init(GameObject root) // { // transform.SetParent(root.transform, false); // i...
using Espades.Api.Models.Base; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Espades.Api.Models { public class EstoqueModel : BaseModel { public int Id_Produto { get; set; } public string Localizacao { get; set; } public string Descricao { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class NextSceneScript : MonoBehaviour { public void NextEpisode(string scene) { SceneManager.LoadScene(scene); } }
using MadScientistLab.Laboratory.Cli; using MadScientistLab.Laboratory.Configuration; using MadScientistLab.Laboratory.LabInventory.Animals; using MadScientistLab.Laboratory.Validators; namespace MadScientistLab.Laboratory.Commands { public class GoEatCommand : ILaboratoryCommand { private readonly IA...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class checar_cae_micro : MonoBehaviour { private void OnTriggerEnter2D(Collider2D col) { if (col.gameObject.tag.Equals("checar_de_caida")) { GameControlScript.instance.aumentar_score(); ...
using System; using UnityEngine; public struct PointsData : IEquatable<PointsData> { public readonly int Points; public readonly GameObject Source; public PointsData(int points, GameObject source) { Points = points; Source = source; } public bool Equals(PointsData other) { return (Points, Source) != (o...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class TutePuzzleHandler : MonoBehaviour { //handles the tutorial for puzle worlds //triggered when puzzle tutorial is loaded //array of popups adapted from: https:...
using System; using System.Linq; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.Extensions.Logging; namespace webapp.Data { public class PodcastService { private readonly HttpClient client = new HttpClient(); privat...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ProjectIris.Models { public class MerchantViewModel { public decimal total { get; set; } public int discount { get; set; } public decimal subtotal { get; set; } ...
using CriticalPath.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CriticalPath.Web.Models { public class PurchaseOrderEditVM : PurchaseOrderVM { public PurchaseOrderEditVM() { } public PurchaseOrderEditVM(PurchaseOrder entity) : base(entity...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveBlock : MonoBehaviour { bool isRight; // 어떤 방향으로 가는지 private Transform tr; // transform 변수 float moveSpeed; float orginX; // Start is called before the first frame update void Start() { //만든 변수 초기화 is...
using Microsoft.EntityFrameworkCore; using Netfilmes.Business.Entidades; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Netfilmes.Repository { public class ApplicationContext : DbContext { public DbSet<Filme> Filme { get; set; } publi...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Rema1000.Models; using Rema1000.Services.ProductService; namespace Rema1000.Controllers { ///<summary>Controller responsible for handling products </summary> [Rou...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace console { public class _036_Combinations { /// <summary> /// Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. /// For example, /// If n = 4 ...
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.Configuration; using System.Data.SqlClient; using System.IO; namespace Faculty { public ...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("AspectRatioDependentPosition")] public class AspectRatioDependentPosition : MonoBehaviour { public AspectRatioDependentPosition(IntPtr address) : this(address, "AspectRatioDependentPosition") { } ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace tayana_draft_2.frontend { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(o...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Classes { public class D { public virtual Guid Id { get; set; } public virtual int Code { get; set; } public virtual string Date { get; set; } //public ...
using System; namespace CryptobotUi.Client.Model.Extensions { public static class DateConverter { public static DateTime? ToLocalTime(this DateTime? possiblyUtc) { if (possiblyUtc == null) return null; if (possiblyUtc.Value.Kind == DateTimeKind.Local) return possiblyUtc;...
using System; using System.Collections.Generic; using System.Text; namespace CoreFrameWork.RabbitMQ { public class RabbitMqOptions { public RabbitMqConnectionConfigure Connection { get; set; } public RabbitMqOptions() { Connection = new RabbitMqConnectionConfigure(); ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; namespace WebRobot { public class WebRobot { //кэш посещенных страниц private readonly PageCache visitedPages = new PageCache(); //отображение страницы - на ее глубину. Благодаря данному полю, мы отсле...
using System; using System.ComponentModel; using System.Windows.Controls; using BusyBox.Helpers; using BusyBox.ViewModels; namespace BusyBox { public class MessageBusyBox : BaseBusyBox, INotifyPropertyChanged { private string _message; public string Message { get { return...
/* 12. We are given integer number n, value v (v=0 or 1) and a position p. Write a sequence of operators that modifies n to hold the value v at the position p from the binary representation of n. Example: n = 5 (00000101), p=3, v=1 -> 13 (00001101) n = 5 (00000101), p=2, v=0 -> 1 (00000001) */ using System; class ...
namespace Raw_Data { public class Car { private string model; public Engine Engine { get; set; } public Cargo Cargo { get; set; } public Car(string model) { this.model = model; } public Tire Tire { get; set; } public string Model ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Node { public float threshold = 0f; public Dictionary<Node, float> inputs; public float value = -1f; public bool isTerminal = false; public Node(float t) { threshold = t; inputs = new Dictionary<Node, float> (); } ...
namespace Example.Models { public class MixedUseResponse : CommercialResponse { public int? NumberOfApartments { get; set; } } }
namespace MonoGame.Extended.Gui { public enum Orientation { Horizontal, Vertical } }
using ProConstructionsManagment.Desktop.Views.Base; using System.Windows.Controls; namespace ProConstructionsManagment.Desktop.Views.RecruitedEmployeesWithPosition { /// <summary> /// Interaction logic for RecruitedEmployeesWithPosition.xaml /// </summary> public partial class RecruitedEmployeesWithPo...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MissileLauncher : MonoBehaviour { public int ship_class; // 0, 1, 2 (type de vaisseau / fréquence de tir) public int max_buffer; // buffer de tir max (1-5) public float cadence_tir_init; public ...
using System.Windows.Input; using Workout.Services; using Xamarin.Forms; namespace Workout.ViewModels { /// <summary> /// Welcome view model. /// </summary> public class WelcomePageViewModel { #region properties /// <summary> /// Navigates to home pages. /// </summ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Linq; using System.Runtime.Serialization; using Dnn.PersonaBar.Library.Common; using DotNetNuke.Entities.Portals; using DotNetN...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml.Linq; using ClassLibrary1; namespace WebApplication5.welcome { public partial class GoodsForm : System.Web.UI.Page { static Stri...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlogProject.Models { public class Tag { public int Id { get; set; } public string Name { get; set; } public virtual List<PostTag> PostTags { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Audio_Boar : MonoBehaviour { //==================| Variables |========================================= public enum ClipSteps { walk, run, none } public enum ClipVocal { growl, pain, die } [SerializeField]...
using System.Security.AccessControl; namespace SystemSplit.Models { public class HeavyHardwareComponent : HardwareComponents { public HeavyHardwareComponent(string name, int maximumCapacity, int maximumMemory) : base(name, maximumCapacity, maximumMemory) { this.MaximumC...
using System.Diagnostics; using System.Linq; using Chushka.Data; using Microsoft.AspNetCore.Mvc; using Chushka.ViewModels; namespace Chushka.Controllers { public abstract class BaseController : Controller { protected BaseController() { this.Db = new ChushkaDbContext(); } ...
using System.Collections.Generic; using System.Windows; using System.Windows.Media; using System.Windows.Shapes; namespace ArcheryTool { /// <summary> /// Custom shape for fletched arrow graphic /// </summary> class FletchedGraphic : Shape { public FletchedGraphic(Point mouse) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ApiMongoDb.Models; using MongoDB.Bson; using MongoDB.Driver; using Newtonsoft.Json.Linq; namespace ApiMongoDb.Services { public class AccountService { private readonly IMongoCollection<Account> _mong...
using System; using NUnit.Framework; using Utilities.NET.Extensions; namespace Utilities.NET.Tests.Extensions { public class StringExtensionsTests : UnitTestBase { [Test] [TestCase("trim this string", "string", ExpectedResult = "trim this ")] [TestCase("trim this string", " this string...
 using System; using System.Linq; using System.Linq.Dynamic.Core; using Abp.Linq.Extensions; using System.Collections.Generic; using System.Threading.Tasks; using Abp.Domain.Repositories; using eForm.EFlight.Exporting; using eForm.EFlight.Dtos; using eForm.Dto; using Abp.Application.Services.Dto; using eForm.Authoriz...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab6 { class Point { public int X; public int Y; public Point(int x, int y) { X = x; Y = y; } public static im...
using System; using UnityExtensions.Localization; namespace UnityExtensions.Localization { public enum Locale { ar_DZ, en_US, fr_FR, es_ES } } public static class LocaleExtensions { public static string Name(this Locale locale) { return Enum.GetName(locale....
// // 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.Data; using System.Xml.Serialization; using DotNetNuke.Common.Utilities; using DotNetNuke.Entities.Modules; #...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Tutorial : MonoBehaviour { private Text texto; bool w = false; bool d = false; bool mov = false; bool disp = false; bool tuto = false; public GameObject inst; public Game...