text
stringlengths
13
6.01M
using iTextSharp.text; using iTextSharp.text.pdf; using SVN.Pdf.Enums; namespace SVN.Pdf.Components { public class SvnText : SvnCell { private string Text { get; } private float Size { get; } private VAlign VerticalAlignment { get; } private HAlign HorizontalAlignmen...
using System; using System.Collections.Generic; using System.Windows.Input; using MusicPlayer.Core.Models; using MusicPlayer.Core.Players.Interfaces; using MusicPlayer.Core.SongFilesManager.Interfaces; using MusicPlayer.Microsoft; using MusicPlayer.ViewModels.Interfaces; namespace MusicPlayer.ViewModels { public pa...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using SearchFood.Navigation; using SearchFood.SearchFoodServiceReference; using SearchFood.Model; using Windows.UI.Xaml; namespace SearchFood.ViewModel { ...
using System; using Mono.VisualC.Interop; using Mono.VisualC.Interop.ABI; namespace Qt.Gui { public class QPaintDevice : ICppObject { #region Sync with qpaintdevice.h // C++ interface public interface IQPaintDevice : ICppClassOverridable<QPaintDevice> { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShootingController : MonoBehaviour { public List<Transform> cannonTips; public Transform cannon; public Animator cannonAnimator; public Transform cannonMount; public float cannonMovementSpeed = 0.1f; public GameObject t...
using Hosting = Microsoft.Extensions.Hosting; namespace PasswordCheck.Tests { public class TestFixture { public readonly Hosting.IHost Host; public TestFixture() { Host = Hosting.Host.CreateDefaultBuilder() .ConfigureServices((hostContext, services) => ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Biblioteca.Model { public abstract class Pessoa { public string Nome { set; get; } public DateTime DataNascimento { set; get; } public string Telefone { set; ge...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QuickCollab.Session { public interface ISessionInstanceRepository { IEnumerable<SessionInstance> ListAllSessions(); SessionInstance GetSession(string sessionName); void AddSession(SessionIns...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicNoteController : MonoBehaviour { private float startPosY; private float endPosY; private float removePosY; private float noteBeat; //private bool paused; // Start is called before the first frame ...
using System; using System.Collections.Generic; using SubSonic.BaseClasses; using SubSonic.Extensions; using SubSonic.SqlGeneration.Schema; namespace Pes.Core { [SubSonicTableNameOverride("StatusUpdates")] public partial class StatusUpdate : EntityBase<StatusUpdate> { #region Properties ...
namespace Delegates { using System; internal class Program { private static void Main(string[] args) { var grades = new Grade[5]; grades[0] = new Grade { Name = "Joe", Score = 12.45f }; grades[0].NameChanged += OnNameChanged; grade...
using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Cauldron.TheWanderingIsle { public class IslandquakeCardController : CardController { public IslandquakeCardController(Card ...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using SinavSistemi.BusinessLogicLayer; using SinavSistemi.Entity; namespace SinavSistemi.Test { public class Test { [Test] public void GirisTesti() { OgrenciBLL ogrenci...
using System; using System.Collections.Generic; using System.Net; using System.Text; namespace EFC.Framework.Common.Dtos { [Serializable] public class ErrorDto { public string Message { get; set; } public HttpStatusCode StatusCode { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2_Strategy { class Program { static void Main(string[] args) { StrategyA sa=new StrategyA(); ; Context context=new Context(); ...
using System; using System.Collections.Generic; namespace _7._Traffic_Jam { class TrafficJam { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); Queue<string> cars = new Queue<string>(); int passedCars = 0; wh...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Data; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; namespace SO.Urba.Models.ValueOb...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PretrageOsnovno { class BreadthFirstSearch { public State Search(string startNodeName, string endNodeName) { // TODO 4: implementi...
namespace HCL.Academy.Model { public class OnboardingReportRequest:RequestBase { public string Status { get; set; } public bool IsExcelDownload { get; set; } public int RoleId { get; set; } public int GEOId { get; set; } public int ProjectId { get; set; } public ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using Dnn.PersonaBar.Library.Prompt.Common; using DotNetNuke.Services.Scheduling; namespace Dnn.PersonaBar.TaskScheduler.Components.Prompt.Models { p...
using Contoso.Contexts; using Contoso.Data.Entities; using Microsoft.EntityFrameworkCore; namespace MigrationTool { public class MigrationContext : DbContext { public MigrationContext() { this.EntityConfigurationHandler = new EntityConfigurationHandler(this); } pro...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Threading; using Microsoft.Practices.Prism.Logging; usin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity.Infrastructure; namespace Sunny.DB { public class SqlServerEFDataProvider:BaseEFDataProvider { /// <summary> /// Get connection factory /// </summary> /// <returns>Con...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Model.DataEntity; using Model.Locale; using Utility; using eIVOGo.Module.UI; using eIVOGo.Module.Base; namespace eIVOGo.Module.Inquiry { ...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Alpaca.Markets { public sealed partial class AlpacaTradingClient { /// <summary> /// Gets list of available orders from Alpaca REST API endpoint. /// </summary> /// <...
using System.Drawing; namespace MH_Database.Ressources.Pictures.Rarities.Gen3_4 { internal class WeaponsIcons { readonly internal Bitmap[] Bow = new Bitmap[11] { null, //We keep 'null' so that [1] return the rarity 1 icon Weapons.Bow_Rarity_1, ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YGTool.Arquivo { public class Cip { public async Task<int> ProcurarGim(string dirSndDat) { int header = 0x2E47494D; List<string...
namespace Bodoconsult.Core.Web.Mail.Model { /// <summary> /// Contains config data for Excel import /// </summary> public class ExcelFileConfig { public ExcelFileConfig() { EmailAddressColumn = 0; SalutationAddressColumn = 1; } /// <summar...
using CakeShop.ViewModels; using System; using System.Collections.Generic; using System.Data; using System.Linq; namespace CakeShop.Data { public class CakeShopDAO { private OurCakeShopEntities Database; /// <summary> /// Hàm khởi tạo kết nối cơ sở dữ liệu /// </summary> ...
using REQFINFO.Repository.DataEntity; using REQFINFO.Repository.Infrastructure; using REQFINFO.Repository.Infrastructure.Contract; using REQFINFO.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace REQFINFO.Repository { public class...
using System.Collections; using System.Collections.Generic; namespace OCP.AppFramework.Http { /** * Class ContentSecurityPolicy is a simple helper which allows applications to * modify the Content-Security-Policy sent by Nextcloud. Per default only JavaScript, * stylesheets, images, fonts, media and...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace JJApi.Controllers { public class RegisterController : Con...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SKT.MES.Web.AjaxServices.Report; namespace SKT.MES.Web.Report { public partial class ReportTemplateEdit : BasePage { protected void Page_Load(object sender, ...
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class Species : MonoBehaviour { public enum Type { Flower, Bush, Grass, Sheep, } public static T GetClassByName<T>(Species.Type type) { switch (type) ...
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 System.Diagnostics; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using InventoryTrackingSystem.Models; usi...
using System; using System.Collections.Generic; using System.Text; namespace Turnamentor.Core.RoundSelecting { class RoundSelectorConfig { public int NumberOfContestantsInRound { get; set; } public List<Type> Contestants { get; set; } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ApiCatalogoCarro.InputModel { public class CarroInputModel { [Required] [StringLength(100, MinimumLength = 3, ErrorMessage = "O nom...
using System; namespace Promelectro.Api.Models { public class File { public int Id { get; set; } public string Description { get; set; } public int UserId { get; set; } public int? PostId { get; set; } public DateTime DateLoad { get; set; } } }
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; namespace Shooter { class Program { public static void Main(string[] args) { IScreen scre...
using System; using System.Collections.Generic; using System.Text; namespace GamingLogic { public class StaffCoding { public IEnumerable<string> RepeatString5Times(string repeat) { if (repeat == null) { throw new ArgumentNullException(nameof(...
using Cloudies.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Cloudies.Web.Controllers.Labs { public class NewLabsController : Controller { // // GET: /NewLabs/ [HttpGet] public ActionResult Index...
using System; namespace Revature_Project1.Models { public class BusinessCheckingAccount : Checking { LoanAccount businessLoan; } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace Mentors.Models { public class Mentor : Person, IComparable<Mentor> { [Required] public int...
using System.Threading.Tasks; namespace t4ccer.Noisy { public static class NoiseExtensions { public static Plane AtPlane(this INoise noise, double startX, double startY, int width, int height, double increment) => noise.AtPlane(startX, startY, 0, width, height, increment); public s...
using System; using Ganaderia.App.Dominio; using Ganaderia.App.Persistencia; namespace Ganaderia.App.Consola { class Program { private static IRepositorioGanadero _repoGanadero = new RepositorioGanadero(new Persistencia.AppContext()); static void Main(string[] args) { Con...
namespace Logs.Models { public class Subscription { public Subscription() { } public Subscription(int logId, string userId) { this.UserId = userId; this.TrainingLogId = logId; } public int SubscriptionId { get; set; } p...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace app { public interface IGetDataService { // Task<IDictionary<int, Book>> GetBooksAsync(IEnumerable<int> authorIds, CancellationToken c...
using DutchTreat.Data.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebApplication4.Data { public class DutchRepository : IDutchRepository { private readonly ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Aspit.StudentReg.DataAccess; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Aspit.StudentReg.Entities; namespace Aspit.StudentReg.Tests { [TestClass] public class StudentsTests ...
namespace Standard { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; internal delegate IntPtr MessageHandler(Standard.WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled); }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Newtonsoft.Json.Linq; namespace protótipos { ...
/** 版本信息模板在安装目录下,可自行修改。 * PaperCardexercise.cs * * 功 能: N/A * 类 名: PaperCardexercise * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2014/11/28 16:20:51 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公...
using Microsoft.AspNetCore.Mvc; using System.Linq; using Perpustakaan.Data; using Microsoft.AspNetCore.Http; namespace Perpustakaan.Controllers { public class LoginController : Controller { public IActionResult Index() { return View(); } [HttpPost] p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VVVV.PluginInterfaces.V2; using VVVV.PluginInterfaces.V1; using VVVV.Utils.VMath; using System.Runtime.InteropServices; using VVVV.MSKinect.Lib; using System.ComponentModel.Composition; using SlimDX.Direct3D9; using SlimDX; usin...
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.DataPipeline.Deployment.WorkflowRunnerLib.Services")] [assembly: AssemblyDescription("Workflow library for Services ADF deployments")] [assemb...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MyCore { public abstract class UIView : UIBase { public abstract void Show(); public abstract void Hide(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExitScreen : MonoBehaviour { [SerializeField] private MenuInputController m_input; [SerializeField] private MenuCity MenuAnimator; [Header("Screen references")] [SerializeField] private GameObject MainMenuScreen; vo...
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; using Microsoft.Xna.Framework.Audio; using System.Win...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataAccess; using System.Data.SqlClient; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; namespace ControlD { /// <summary> /// Esta clase contien un...
using Entities.Abstract; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorApp.Services { public class Bina:IEntity { public int BinaId { get; set; } public string BinaAdi { get; set; } public string Adres { get; set; } ...
using PNPUCore.Controle; using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Globalization; using PNPUTools; using PNPUTools.DataManager; using System.Xml; using PNPUCore.Rapport; using System.Linq; namespace PNPUCore.Process { /// <summary> /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Globalization; using System.Data; using System.Data.OleDb; using HSoft.SQL; using HSoft.ClientManager.Web; using SisoDb.Sql2012; using Si...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using PrimeNumberPrinter.Program; namespace UnitTests.Tests { [TestFixture] public class OutputPrinterTests { private OutputPrinter outputPrinter; [On...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Acid : MonoBehaviour { [SerializeField] AudioManager SFX = null; [SerializeField] ParticleSystem Bubbles = null; private void Start() { Bubbles.Play(); SFX.Play("AP_Bubbles"); } privat...
#if TEST using UnityEngine; namespace Action { public class TestLow : State { public TestLow(Animator animator, UInput.InputComponet input, Rigidbody2D rigid) : base(animator, input, rigid) { } public override void Start() { Debug.Log("Start TestLow"); } public override v...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KPI.Model.EF { public class CategoryKPILevel { public int ID { get; set; } public int KPILevelID { get; set; } public int CategoryID { get; set; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simon.Pattern.MethodTemplate { /// <summary> /// Method Template Pattern /// 在抽象类中定义算法的骨架,将具体的步骤实现延迟要子类中 /// 优点:在不改变算法结构的情况下,重新定义算法的具体步骤 /// 也可以理解为在父类中通过非抽象方法调用抽象方法 /// </summary> p...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; using System.IO; namespace SendMail { public class Settings { private static Settings instance = null...
// // 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.Web.UI; using DotNetNuke.Web.UI; using Telerik.Web.UI; #endregion namespace DotNetNuke.Web.UI.WebControls { ...
using System; using System.Linq; using AdonisUI.Controls; using MessageBox = AdonisUI.Controls.MessageBox; using MessageBoxImage = AdonisUI.Controls.MessageBoxImage; using MessageBoxResult = AdonisUI.Controls.MessageBoxResult; namespace Athena.MessageBoxes { public class RemoveDatabaseWithBooksMessageBox { ...
using LocalResourceDataContracts; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace LocalResourceManager { /// <summary> /// /// </summary> [ServiceBehavio...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Application.Data; using System.Data; namespace Application.Service.Services { public class MessageService : IMessageService { private MessageEntity db = new MessageEntity(); public List<Message> GetMessa...
using AutoMapper; using CandidateTesting.RicardoCastroMartin.Domain.Interfaces; using System; using System.Text; namespace CandidateTesting.RicardoCastroMartin.Domain { public class AgoraLog { private string _separator = "\t"; private static ILog _log; public AgoraLog(ILog log) ...
using UnityEngine; public class Health : MonoBehaviour { public int NumberOfLives { get { return numberOfLives; } } public int MaxNumberOfLives { get { return maxNumberOfLives; } } [SerializeField] private int maxNumberOfLives = 10; [SerializeField] private int numberOfLives = 3; private vo...
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Kers.Models.Repositories; using Kers.Models.Entities.KERScore; using Kers.Models.Abstract; using Microsoft.AspNetCore.Authorization; using...
using System; using System.Collections.Generic; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MMSdb.dbo.Tables { [Table("tbl_WorkHistory")] public class tbl_WorkHistory { [Key] public long wh_ID { get; set; } ...
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
using System; using System.Globalization; using System.IO; namespace FileCabinetApp { /// <summary> /// Main class of FileCabinetApp. /// </summary> public static class Program { private const string DeveloperName = "Dmitry Bolbat"; private const string HintMessage = "Enter your co...
using System; using System.Collections.Generic; namespace Webshop.Data { public class Order { /// <summary> /// A rendelést létrehozó felhasználó azonosítója /// </summary> public string UserId { get; set; } /// <summary> /// A rendeléshez tartozó fizetési mód...
// ---------------------------------------------------------------------------------------------------------------------------------------- // <copyright file="TcpConnectionListenerSettings.cs" company="David Eiwen"> // Copyright © 2016 by David Eiwen // </copyright> // <author>David Eiwen</author> // <summary> // Thi...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace RichJoslin { namespace BubbleShooterVR { public class GridBallSensorNode : MonoBehaviour { public Vector3 gridPosition { get; set; } public const float POP_DELAY = 0.01f; // for debugging void OnDrawGizm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entidades { public class Numero { private double numero; /// <summary> /// Cambia el valor del Numero luego de validar el valor recibido por parametro. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class Worker : MonoBehaviour { public TaskList task; public ResourceManager RM; private ActionList AL; private InputManager IM; public GameObject targetNode; public...
namespace AdventCalendar.Day7 { public abstract class BinaryGate : ICircuitElement { protected ICircuitElement Input1 { get; private set; } protected ICircuitElement Input2 { get; private set; } protected BinaryGate(ICircuitElement input1, ICircuitElement input2) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FeelingGoodApp.Services.Models { public class Location { public int Id { get; set; } [JsonProperty(PropertyName = "lat")] public float Latitude { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UDPDepthTest { class Program { static DepthClient dc; static void Main(string[] args) { getdepth gd = new getdepth(); gd.DataReceived +...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Manager { /// <summary> /// 사운드 관련 스크립트입니다. /// /// 0 : 문 여는 소리 /// 1 : 문 닫는 소리 /// 2 : 귀신 소리 /// 3 : 캐비넷 소리 /// 4 : keypad누르는 소리 /// </summary> public class soundManager : MonoBehaviour ...
using PhotoShare.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PhotoShare.Client.Core.Commands { public class LogoutCommand { public string Execute(string[] data) { if(!AuthenticationManager.IsA...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SecondWebAppHomework.Models; namespace SecondWebAppHomework.Controllers { public class CatsController : Controller { public IActionResult Index(Color? color, Gender? g...
using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace BlobHostedInWeb.BlobHandler { public class BlobProcesser { CloudStorageAccount myStor...
using System.Collections.Generic; namespace DisposableFixer.Configuration { internal class DefaultConfiguration : IConfiguration { public DefaultConfiguration() { TrackingTypes = new HashSet<string> { "System.IO.StreamReader", "System.IO.StreamWriter", "System.IO.BinaryReader", "System....
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace TxHumor.Common { public class com_UrlHelper { private com_UrlHelper() { ;} public static string GetRelUrl(object o, string separator) { string[] array ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication4 { class Problem1 { static void Answer1() { int summ = 0; for (int i = 0; i < 1000; i++) { if (i ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Palindrome { class Program { static void Main(string[] args) { for (int i = 10000; i > 0; i--) { string iString = i.ToString(); ...
using Cinema.Data.Models; using Cinema.Data.Repositories; using Cinema.Data.Services.Contracts; using Moq; using NUnit.Framework; using System; namespace Cinema.Tests.Data.Services.Tests.SeatService { [TestFixture] public class ConstructorShould { [Test] public void InitiateNewSeatServiceI...
using System; using System.Collections.Generic; using System.Text; namespace Content_Manegement.Entities { public class Menu { public virtual int MenuId { get; set; } public virtual string Title { get; set; } public virtual string MenuType { get; set; } public virtual string Des...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; namespace ProductsSrvc { public class ProductsRepository : IProductsRepository { public async Task<IEnumerable<Product>> GetProducts() { using (var context = n...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Resources; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Mic...