text
stringlengths
13
6.01M
// CrowdSimulator - Program.cs // // Copyright (c) 2012, Dominik Gander // Copyright (c) 2012, Pascal Minder // // Permission to use, copy, modify, and distribute this software for any // purpose without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in...
namespace Shipwreck.TypeScriptModels.Expressions { public sealed class UnaryExpression : Expression { public override ExpressionPrecedence Precedence { get { switch (Operator) { case UnaryOperator.PrefixIncrement: ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using TMPro; using Normal.Realtime; public class ChooseName : MonoBehaviour { private string _name; private NameSync _nameSync; private RealtimeView _realtimeView; ...
namespace SMARTplanner.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class ItemCreator_ProjectDescr : DbMigration { public override void Up() { AddColumn("dbo.Projects", "Description", c => c.String()); AddColumn("dbo.Wor...
using DTO; using Newtonsoft.Json; using RabbitMQ.Client; using RabbitMQ.Client.Events; using System; using System.Text; namespace DataRetriever { public class Consumer { private QueueConfiguration queueConfiguration; private ConsumerConfiguration consumerConfiguration; private MongoCRU...
using Alabo.App.Share.OpenTasks.Configs.UserRecommendedRelationship; using Alabo.App.Share.TaskExecutes.Domain.Services; using Alabo.Data.People.Users.Domain.Services; using Alabo.Extensions; using Xunit; namespace Alabo.Test.Open.Tasks.Configs.UserRecommendedRelationship { /// <summary> /// 请登录网站http://te...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using System.Net; namespace AxisEq { public class IPEquipment:SimpleDbEntity { [DBIgnoreAutoGenerateParam] [DBIgnoreReadParam] public override string FriendlyName { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio24 { class MaiorDeCadaLinha { static void Main(string[] args) { { Console.Write("Quantas linhas tem a matriz? "); ...
using System.Data.Entity; namespace DAL { public class SqlServerDbContext : DbContext { public DbSet<Event> Events { get; set; } public DbSet<UserProfile> UserProfiles { get; set; } public DbSet<MailRecipient> MailRecipients { get; set; } public SqlServerDbContext() ...
using System.Collections.Generic; namespace SortAlgorithm { /// <summary> /// 【选择排序--简单选择排序】 /// 在要排序的一组数中,选出最小(或者最大)的一个数与第1个位置的数交换;然后在剩下的数当中再找最小(或者最大)的与第2个位置的数交换, /// 依次类推,直到第n-1个元素(倒数第二个数)和第n个元素(最后一个数)比较为止。 /// 不稳定 时间复杂度 O (n^2) 空间复杂度 O(1) /// </summary> public class SimpleS...
using System; using System.Collections.Generic; using RockPaperScissors.Enums; namespace RockPaperScissors.Players { /// <summary> /// The player base implementation. /// </summary> public abstract class BasePlayer : IPlayer { /// <summary> /// The history of <see cref="Option"/> s...
using System.Drawing; using System.Windows.Forms; namespace JenkinsBuildNotifier { internal enum ToastIcons { OK, Warning, Error, Running, Unknown } internal sealed class NotificationInformation { public NotificationInformation( Icon icon, ToolTipIcon toolTipIcon, ToastIcons toastIcon, P...
using UnityEngine; using System.Collections; public class JobCard : MonoBehaviour { GameController gamecontroller; BoxCollider box; bool isTouch = false; public float raiseY = 0.5f; // Use this for initialization void Start () { gamecontroller = GameObject.Find ("GameController").GetComponent<GameControll...
 /************************************************** * * * ************************************************/ namespace com.Sconit.Web.Controllers.ACC { using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Web.Routing; using com.Sconit.Entity.ACC; using co...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using InputTracking = UnityEngine.XR.InputTracking; using Node = UnityEngine.XR.XRNode; public class LocalPlayer : NetworkBehaviour { public GameObject OvrCam; public Camera camL; public Camera ca...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyUnitySingleton : MonoBehaviour { }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Week35 { class GameManager { private object myLock = new object(); private Game currGame = new Game(); public Game GetGame() { ...
namespace Merchello.UkFest.Web.Models { using System.Collections.Generic; using Merchello.UkFest.Web.Ditto.ValueResolvers; using Our.Umbraco.Ditto; /// <summary> /// The breadcrumb. /// </summary> public class Breadcrumb { /// <summary> /// Gets or sets the links. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LevelUI : MonoBehaviour { private Text levelText; private Image expBarimg; [SerializeField] private GameObject confetti; private LevelSystem levelSystem; public void Awake() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CurrencyManager : MonoBehaviour { public Text money; [SerializeField] private float currentCurrency = 0; private float totalCurrency = 0; private string moneyString = "Current money:...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using Google.Protobuf; using Google.Protobuf.Reflection; using Linedata.Foundation.Domain.Messaging; namespace Accounts.Domain.Commands.Private { public class CreditAccount : Command { public stri...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web.Http.Routing; namespace Parliament.ProcedureEditor.Web.Api.Configuration { /// <summary> /// Logic for evaluating route constraint on Accept header of the request /// See <see cref="Parliament.Proced...
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7DRL_2021 { class Map { public SceneGame World; public int Width; public int Height; public MapTile[,] Tiles; pu...
using Anywhere2Go.Business.Master; using Anywhere2Go.DataAccess; using Anywhere2Go.DataAccess.Entity; using Anywhere2Go.DataAccess.Object; using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anywhere2Go.Business.Utility { pub...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cursor : MonoBehaviour { [SerializeField] private GameObject _greenState = null; [SerializeField] private GameObject _redState = null; private void Update() { Vector3 cursorPos = Input.mousePosition; ...
using System; namespace Apv.AV.Services.Data.Models.FC { public class CarPrice { public int id { get; set; } public string companyId { get; set; } public decimal price { get; set; } public string createdBy { get; set; } public DateTime createdDt { get; set; } pu...
using System; namespace Christmas_Decoration { class Program { static void Main(string[] args) { int budgetForDecorations = int.Parse(Console.ReadLine()); string command = Console.ReadLine(); while (command != "Stop") { ...
namespace SOLIDPrinciples.OCP.Example1.Good { public class TabelaDePreco3 : ITabelaDePreco { public double DescontoPara(double valor) { if (valor > 5000) return 0.04; if (valor > 1000) return 0.02; return 0; } } }
using System; using System.Collections.Generic; using System.Text; namespace ClassesIerarchy { public class Engineer:SpecializedSoldier { public Engineer(int id, string firstName, string lastName, decimal salary, CorpType corp):base( id, firstName, lastName, salary, corp) { ...
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Models; namespace L04.Controllers { [ApiController] [Route("[controller]")] public class StudentsController : ControllerBase { private IStudentRepository _studentsRepository; public St...
using System; using System.Collections.Generic; using System.Data; using System.Linq; // Language Integrated Query namespace LINQ { public class Book { public string Title { get; set; } public float Price { get; set; } } public class BookRepository { public IEnumerabl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CustomControlz.XtraEditors.LookUps; using DevExpress.XtraEditors.Repository; using Model; using Utilities; namespace DataAccess { public class ClsDataFn { public void SetDataSource...
namespace HotelBookingSystem.Interfaces { public interface IUserRepository : IRepository<IUser> { IUser GetByUsername(string username); } }
using gView.Framework.IO; using gView.Framework.UI; using System.Collections.Generic; namespace gView.Framework.Data.Relations { public class TableRelations : List<ITableRelation>, ITableRelations { private IMapDocument _mapDocument; public TableRelations(IMapDocument mapDocument) { ...
using System; using System.Collections.Generic; using System.Text; namespace DesignPatterns.Command.Example2 { public abstract class BaseCommand : IAppCommand { public StringBuilder Sb { get; set; } protected readonly List<string> Entries = new List<string>(); public abstract void Exe...
/* * @lc app=leetcode.cn id=15 lang=csharp * * [15] 三数之和 */ public class Solution { public IList<IList<int>> ThreeSum(int[] nums) { } }
using Microsoft.Win32; using NUnit.Framework.Constraints; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; using WebDr...
// Copyright 2013-2015 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 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 Domaci8_9_10 { public partial class frmProdavac : Form { List<Prodavac> prodavacList = new List<Pro...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace St.Eg.Day3.M4.Ex1.CreatingTests { public class ClassToTest { public ClassToTest() { } } }
using UnityEngine; using System.Collections; public class DialogsLevel : MonoBehaviour { public string[] dialogs; public Sprite[] bubbleSpeechForCharacters; public bool dialogEnabled=true; public void ShowDialogs(){ if(dialogEnabled) GameObject.Find ("DialogsManager").GetComponent<DialogsScript> ().Start...
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; namespace PROYECTOFINAL.Models { public class venta { public static int CrearVenta(DateTime fecha, double montot, string mediop, int idlocal) { ...
using GDS.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GDS.Dal { public interface IProjectDao<T> : IDaoBase<T> where T : class { View_ProjectPreview GetProjectPreviewByProjectId(int ProjectId); View_Inde...
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; using System.Windows.Media.Imaging;...
using EPI.Arrays; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EPI.UnitTests.Arrays { [TestClass] public class SudokuCheckerUnitTest { [TestMethod] public void IsValidSudoku() { int[,] sudoku = new int[9, 9] { {5,3,0, 0,7,0, 0,0,0 }, {6,0,0, 1,9,5, 0,0,0...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aeropuerto { interface ILista<E> { void add(E e); E get(int Index); int size(); void Clear(); Boolean isEmpty(); } }
// ----------------------------------------------------------------------- // <copyright file="EnumerableExtensionsUnitTests.cs" company="AnoriSoft"> // Copyright (c) AnoriSoft. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Anori.Extensions.Un...
using Fbtc.Domain.Entities; using Fbtc.Domain.Interfaces.Repositories; using Fbtc.Domain.Interfaces.Services; using System; using System.Collections.Generic; namespace Fbtc.Domain.Services { public class RelatoriosService : IRelatoriosService { private readonly IRelatoriosRepository _relatoriosReposi...
namespace EasyFFmpeg { public abstract class VideoFilter : Filter { public override FilterType Type => FilterType.Video; } }
using System; using System.Collections.Generic; using System.Linq; namespace Euler_Logic.Problems.AdventOfCode.Y2015 { public class Problem02 : AdventOfCodeBase { private List<Tuple<int, int, int>> _boxes; public override string ProblemName { get { return "Advent of Code 2015: 2"; } ...
namespace Sentry; /// <summary> /// Observer for the sync. of Scopes across SDKs. /// </summary> public interface IScopeObserver { /// <summary> /// Adds a breadcrumb. /// </summary> void AddBreadcrumb(Breadcrumb breadcrumb); /// <summary> /// Sets an extra. /// </summary> void SetExtr...
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Reflection; using System.Text; namespace Com.Colin.Lib { /// <summary> /// 处理数据类型转换、数制转换、编码转换、JSON转换相关的类 /// </summary> public sealed class ConvertHelper { ...
namespace Fuzzing.Tests.TestTypes { public enum TestEnum { Default, One, Two, Three } }
/** Copyright (c) 2020, Institut Curie, Institut Pasteur and CNRS Thomas BLanc, Mohamed El Beheiry, Jean Baptiste Masson, Bassam Hajj and Clement caporal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
using System.Collections.Generic; using Tomelt.ContentManagement; using Tomelt.Layouts.Framework.Elements; namespace Tomelt.Layouts.Framework.Display { public interface IElementDisplay : IDependency { dynamic DisplayElement(Element element, IContent content, string displayType = null, IUpdateModel updater...
using DevExpress.Xpf.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; us...
using UnityEngine; using System.Collections; public class FlameCheck : MonoBehaviour { //flame animation starts disabled, and is turned on by keypresses void Start() { this.GetComponent<Renderer>().enabled = false;//flame is always present, just not visible until player moves } void Update () { //any arrow k...
using Sirenix.OdinInspector; using UnityEngine; namespace DChild.Gameplay { public class SpawnBox : SpawnArea { [SerializeField] [MinValue(0f)] private float m_widthExtent; [SerializeField] [MinValue(0f)] private float m_lengthExtent; public override Ve...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using CAPCO.Infrastructure.Domain; using CAPCO.Infrastructure.Data; namespace CAPCO.Areas.Admin.Controllers { public class ProductTypesController : BaseAdminController { private readonly IRe...
using System; using System.Windows; using CaveDwellers.Core; using CaveDwellers.Core.Movement; using CaveDwellers.Core.Shooting; using CaveDwellers.Core.TimeManagement; using CaveDwellers.Positionables.Monsters; using CaveDwellers.Resources; namespace CaveDwellers.Positionables { public class GoodGuy : IUserMovea...
using Microsoft.EntityFrameworkCore; namespace UrlShort.Domain { public sealed class ApplicationDbContext : DbContext { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { Database.EnsureCreated(); } public DbSe...
using System; using System.Collections.Generic; namespace Observer { public class CartService : IObservable<Product> { private List<Product> products; private List<IObserver<Product>> observers; public event EventHandler<ProductAddedEventArgs> ProductAdded; public CartService()...
#region LICENSE // Funkshun.Core 1.0.0.0 // // Copyright 2011, see AUTHORS.txt // // 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/lice...
using System; using System.Data.OleDb; using System.Text; using TraceWizard.Entities; using TraceWizard.Entities.Adapters; using TraceWizard.Data.Jet; using TraceWizard.Environment; namespace TraceWizard.Entities.Adapters.Tw4Jet { public class Tw4JetAnalysisAdapter : AnalysisAdapter { public Tw4JetAnaly...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PickUpScript : MonoBehaviour { public GameObject root; public Material highlightmat, unhighlightmat; // Start is called before the first frame update void Start() { } // Update is called o...
namespace Contracts { public class Threat { public string Name { get; set; } public string FilePath { get; set; } public VulnerabilityType Type { get; set; } } }
 namespace TY.SPIMS.POCOs { public class SaleColumnNames { public static string Id = "Id"; public static string CustomerId = "CustomerId"; public static string InvoiceNumber = "InvoiceNumber"; public static string Date = "Date"; public static string Type = "Type"; ...
using FluentAssertions; using NUnit.Framework; namespace Beeffective.Tests.Models.CellModelTests { class Importance : TestFixture { public override void SetUp() { base.SetUp(); Sut.Importance = 100; } [Test] public void Importance_IsSet() => ...
using ParkingGarageManagement.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ParkingGarageManagement.Logic { /// <summary> /// Vehicle factory. Using factory design pattern. /// </summary> public class VehicleFactory { ///...
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; namespace Packaged_Database { [Activity(Label = "ChordListActivity0")] public class ChordListActi...
using ManageDomain; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ManageWeb.Controllers { public class WorkDailyController : ManageBaseController { // // GET: /WorkDaily/ ManageDomain.BLL.WorkDailyBll workdailybll =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CollaborativeFilteringUI.Core { public interface IWindowViewModel { IWindow Window { get; set; } bool IsResponsive { get; set; } } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace EPI.DynamicProgramming { /// <summary> /// Given two strings, A and B(represented as array of characters), compute the /// longest common subsequence (LCS) of characters. /// A subsequence unlike substring isn'...
namespace MySurveys.Services.Contracts { using System.Linq; using Models; public interface IPossibleAnswerService : IService { IQueryable<PossibleAnswer> GetAll(); PossibleAnswer GetById(object id); PossibleAnswer Add(PossibleAnswer answer); PossibleAnswer Up...
using System; using System.Collections; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; #endif using UnityEngine; public class SequencerWindow : EditorWindow { private static SequencerWindow thisWindowLive; private Vector2 scrollPosTargets; private Vector2 scrollPosSections; pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* Write a method GetMax() with two parameters * that returns the bigger of two integers. * Write a program that reads 3 integers from * the console and prints the biggest of them using the method G...
using System; using System.Linq; namespace shoopydoopy { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); solution(new int[] {3,1}); } public static int solution(int[] A) { //left sum and right su...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleLibrary.Interfaces { public interface IBankAccount { void Deposit(decimal amount); void Withdraw(decimal amount); void TransferFunds(IBankAccount destinat...
namespace SubC.Attachments.ClingyEditor { using UnityEngine; using UnityEditor; using UnityEditorInternal; using System.Reflection; using System.Collections; using System.Collections.Generic; public class AttachObjectListEditor { SerializedObject serializedObject; ReorderableList o...
using InvoiceApplication.Controllers; using Microsoft.AspNetCore.Mvc; using NUnit.Framework; using Service; using Service.Model; using System; namespace Tests { public class InvoiceApiTests { IMessageProcessor messageProcessor; [SetUp] public void Setup() { messageP...
using Microsoft.Practices.Unity; using OrgMan.Data.UnitOfWork; using OrgMan.Domain.Handler.HandlerBase; using OrgMan.DomainContracts.File; using OrgMan.DomainObjects.Common; using OrgMan.DomainObjects.File; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using Sys...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using KartLib; namespace KartSystem { public interface IMesuresView:IAxiTradeView { IList<Measure> Measuries { get; set; } } }
using System.Collections.Generic; using WebStore.Domain; using WebStore.Domain.DTO; namespace WebStore.Interfaces.Services { public interface IProductData { IEnumerable<SectionDTO> GetSections(); SectionDTO GetSectionById(int id); IEnumerable<BrandDTO> GetBrands(); BrandDTO ...
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; using KartObjects; using KartLib; using System.IO; using System.Xml.Serialization; using KartObjects.Entities; namespace KartSystem { ...
using System; using System.Data.Entity; using System.Linq; using System.Net; using System.Web.Mvc; using HeBoGuoShi.DBModels; using Microsoft.AspNet.Identity; using HeBoGuoShi.Models.ProductViewModels; using System.Collections.Generic; namespace HeBoGuoShi.Controllers { [Authorize(Roles = "Seller")] public cl...
namespace T4WebFormsInjection.Tests.Handlers { using T4WebFormsInjection.Tests.Helper; using T4WFI.App.Code; using T4WFI.App.Handlers; using Xunit; public class Handler1Tests { [Fact] public void DependencyCreated() { Target.CheckDependencies...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UNO.Model { enum KartenFarbe { Gelb, Rot, Blau, Gruen, Schwarz } }
using Backend.Model; using Backend.Model.Pharmacies; using IntegrationAdaptersActionBenefitService.Repository; using System; using System.Collections.Generic; using System.Linq; namespace IntegrationAdaptersActionBenefitService.Service { public class ActionBenefitService : IActionBenefitService { priva...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace App.Web.AsyncApi { public static class AsyncApiTypeExtensions { public static string FriendlyId(this Type type, bool fullyQualified = false) { string str = fully...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace IRAPGeneralGateway { /// <summary> /// IRAP WebAPI 通用网关公共参数类 /// </summary> public class TIRAPWebAPIGlobal { private static TIRAPWebAPIGlobal _instance = nu...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class Generator : MonoBehaviour { SpaceObject[] ObjectPrafabs = new SpaceObject[0]; System.Action<System.Type>Spawn; Vector3 centerPosition = new Vector3(); public bool isTest = false; // Use this for initializat...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; namespace GufENuffLogInApi.Extensions { public static class StringExtensions { /// <summary> /// Checks to see if a String contains digits /// </summary> /// <param name="v...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ConfigureSettings.API.Extensions { public static class ServiceCollectionExtensions { } }
using Sudoku.Models; using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace Sudoku.Services.Business { public class PuzzleLoader { public int RandomPuzzleNumber() { Random rnd = new Random(); var xml = XDocument.Load(@"C:\Us...
using Client.Bussness; using Client.Bussness.Biz; using Client.Helpers.System; using Meeting; using Meeting.Client; using Meeting.Command; using Meeting.SocketServer; using NAudio.Biz; using Page.Client.Projector.ViewModel; using Sardf.Logging; using System; using System.Collections.Generic; using System.D...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Services.Implementations; using Services.Interfaces; namespace DrivingSchool_Api.Controllers { [Route("a...
using System; using System.Collections.Generic; namespace Assets.Scripts.SaveModels { [System.Serializable] public class SaveModelConvertor { public static List<float> ListObjToListFloat(List<object> objItems) { var list = new List<float>(); if (objItems == null) ...
using System; using System.Collections.Generic; using System.Linq; using ReactiveUI; using System.Reactive.Linq; using System.Windows.Controls.Primitives; namespace OrangeApple.WPF.ViewModels { public class ComparisonViewModel : ReactiveObject, IRoutableViewModel { private ComparisonItemViewModel first...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; 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; using Syste...
using System; using System.Collections.Generic; using System.Linq; namespace Uintra.Features.Tagging.UserTags.Models { public class TagsPickerViewModel { public IEnumerable<Guid> TagIdsData { get; set; } = Enumerable.Empty<Guid>(); public IEnumerable<UserTag> UserTagCollection { get; set; } = ...