text
stringlengths
13
6.01M
using EntityLayer.Dto; using System; using System.Collections.Generic; using System.Text; namespace EntityLayer { public class AccountNumberGenerator { public static string NewSavingAccountNumbers() { var start = "01"; var end = ""; var random = new Random(...
using System; using System.Collections.Generic; using System.Text; namespace Cosmos.Core { public static unsafe class Scheduler { private static int LTID; public static int currentThread = 0; public static List<ThreadData> allThreads; public static bool usingMultitasking = fal...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class TileSetRegistry : MonoBehaviour { private void Awake() { i = this; } private static TileSetRegistry i; public static TileSetRegistry I { get { return i;...
using UnityEngine; public static class Line{ public static float distanceToSegment(Vector3 lineStart, Vector3 lineEnd, Vector3 pos) { var startToEnd = lineEnd - lineStart; var startToPos = pos - lineStart; if (Vector3.Dot(startToPos, startToEnd) <= 0f) return startToPos.magnitude; var endToPos = pos -...
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.Data.SqlClient; namespace can_yin_guan_li { public partial class Form2 : Form ...
using ClaimDi.DataAccess; using ClaimDi.DataAccess.Entity; using ClaimDi.DataAccess.Object; using ClaimDi.DataAccess.Object.API; using log4net; using System; using System.Collections.Generic; using System.Data.Entity.Validation; using System.Linq; namespace ClaimDi.Business { public class TaskProcessLogic { ...
// // DrawingContext.cs // // Author: // Eric Maupin <ermau@xamarin.com> // Lytico (http://limada.sourceforge.net) // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Soft...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using PriceCompareLib.Modules; namespace PriceCompareLib.Accessors { public interface IItemsAccess { /* * An interface should only expose members that wil...
using System; using Autofac; namespace AutofacIssue1150 { public static class Program { private const string InnerScope = "InnerScope"; public static void Main(string[] args) { var builder = new ContainerBuilder(); builder ...
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Newtonsoft.Json; using School.Business; using School.Website.Models; u...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RouteScheduler.Models { public class Date { public int value { get; set; } public DateTime Time { get; set; } } }
namespace Nodinite.Plugins.AutoFields { public interface ISchema { } }
using System; using System.Globalization; using System.Windows.Data; namespace Crystal.Plot2D { public class GenericValueConverter<T> : IValueConverter { public GenericValueConverter() { } public Func<T, object> Conversion { get; set; } public GenericValueConverter(Func<T, object> conversion) { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Inventor; using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Interfaces; using Autodesk.DesignScript.Runtime; using Dynamo.Models; using Dynamo.Utilities; using InventorLibrary.Geomet...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Structures { struct StrExc03 { private char[] ArrSb; public StrExc03(string txt) { ArrSb = txt.ToCharArray(); } public StrExc03(int ...
using System; using System.Collections.Generic; using System.Text; using DBDiff.Schema.Model; namespace DBDiff.Schema.MySQL.Model { public class Table : MySQLSchemaBase, IComparable<Table> { private string engine; private string createOptions; private int autoIncrement; private ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using DSSLib; namespace DSSCriterias.Logic { //Версии для сохранения public class StatMtxXml { public Alternative[] Alternatives { g...
using UnityEngine; using System.Collections; public class EnemySpawnScript : MonoBehaviour { public GameObject nearBG; public GameObject spawnObj; public float[] posArray = new float[2] {0.0f, 100.0f}; public GameObject parentObj; public bool spawnCheck = true; // Use this for initialization v...
using MicroServicos.Autentica.API.Models; using System.Collections.Generic; using System.Security.Claims; namespace MicroServicos.Autentica.API.Interfaces { public interface ITokenService { TokenViewModel GenerateAccessToken(IEnumerable<Claim> claims); string GenerateRefreshToken(); Cla...
namespace Template { public class PatientProfile { public string Name { get; set; } public int Age { get; set; } } }
namespace E_ticaret.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Sepet")] public partial class Sepet { public int ID { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio19 { class FormatosNumericos { static void Main(string[] args) { { string numeros = String.Format( ...
using System; using System.Text; using System.Security.Cryptography; using System.IO; using System.Linq; namespace University.UI.Utilities { public static class UrlSecurityManager { // This constant is used to determine the keysize of the encryption algorithm in bits. // We divide this by 8 wi...
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Net.Http; using System.Net.Http.Headers; using Newtonsoft.Json; using System.Threading.Tasks; using Kulula.com.Helpers; using Kulula.com.Models; namespace Kulula.com.Services { class PaymentService { ...
using System; using System.Collections.Generic; using System.Text; namespace thedailypost.Service.Models { public class UserSubredditModel { public int UserId { get; set; } public string Subreddit { get; set; } public int? SubredditId { get; set; } = null; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SomeTask.Adapters; namespace SomeTask { public interface ITaskManager { /// <summary> /// List of tasks /// </summary> List<ITask> Tasks { get; } /// <summary> /// Gets ...
using System; namespace Task10 { class Program { static void Main(string[] args) { Program prgrm = new Program(); Console.WriteLine(2 % 10); prgrm.sumDigits(); } public void sumDigits() { int n, sum=0, m; Con...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ETAT_PERSONNE { class Program { static void Main(string[] args) { char sexe; do { Console.WriteLine("Donnez le sexe ...
 using System; namespace Mars.Helpers { public class RuntimeData { // initiate a type of random num public static readonly Random rd = new Random(); // initiate a type of date public static readonly string randdate = DateTime.Now.ToString("yyyy-MM-dd"); // to store the current datet for all the actions w...
using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: Guid("09fb4c79-446c-4395-8584-ecc2a13a5a31")]
using UnityEngine; using System.Collections; public class HumanShow : MonoBehaviour { private Animator _animator; // Use this for initialization void Start () { _animator = GetComponent<Animator>(); InvokeRepeating("Show", 2,8); } void Show() { int temp = Random.Range(1, 4); ...
using Proyecto.Database.Maps; using Proyecto.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace Proyecto.Database { public class DBEntities : DbContext { public IDbSet<Administrador> Administradores { get; set; } pub...
 namespace MayaBot.Response { public interface IResponder { bool CanRespondTo(string message); string RespondTo(string message); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CountryProject.MODEL; using CountryProject.BLL; namespace CountryProject.UI { public partial class Country_Entry : System.Web.UI.Page { CountryM...
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Descripción breve de ContenidoMenu /// </summary> public class ContenidoMenu { /// <summary> /// Variable para contenido /// </summary> #region contenido List<string> contenido=new List<string>()...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PauseIcon : MonoBehaviour { public YoutubePlayer p; public Image playImage; public Image pauseImage; private void FixedUpdate() { if (p.pauseCalled) { pl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerFunc : MonoBehaviour { public Rigidbody2D rigidBody2D; public float speed, jump, distance; public Transform groundChecker; public Animator animator; public LayerMask GroundLayer; bool i...
using Features.Clientes; using System; using Xunit; namespace AplicacaoDemo.Tests.TestesFeatures { [CollectionDefinition(nameof(ClienteCollection))] public class ClienteCollection : ICollectionFixture<ClienteTestsFixture> { } public class ClienteTestsFixture : IDisposable { public Cliente Ger...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MenuButtonOnGame : MonoBehaviour { public void MenuButtonOnGamee() { SceneManager.LoadScene(sceneName: "Menu"); } }
using System; using System.Collections.Generic; // you can also use other imports, for example: // using System.Collections.Generic; // you can write to stdout for debugging purposes, e.g. // Console.WriteLine("this is a debug message"); class Solution { public int solution(int[] H) { // write your code i...
using System; using System.Runtime.Serialization; using System.Collections.Generic; namespace com.Sconit.PrintModel.ORD { [Serializable] [DataContract] public partial class PrintPickListMaster : PrintBase { #region O/R Mapping Properties [DataMember] public string OrderNo { get;...
using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace GenRepo.Tests { [TestFixture] public class JsonFilterSerializationTest { private IQueryable<TestItem> _testItems; [SetUp] public void Setup() { _testItems = new List<TestItem>...
using System; using Singleton.Classes; namespace Singleton { static class Program { static void Main(string[] args) { var test = Classes.Singleton.GetInstance(); test.Number = 5; Console.WriteLine("Number is {0}", test.Number); var t...
using System; using System.Collections.Generic; using System.Text; namespace FirstFollowParser { public class Follow { public string variable; public HashSet<string> setOfFollow = new HashSet<string>(); public Follow(string variable, HashSet<string> setOfFollow) { this.variable = variable; this.setOf...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace EntityLayer { public class DisburseLoan { public int AccountId { get; set; } public DateTime DisbursementDate { get; set...
using System; using System.Linq; using System.Threading.Tasks; using Serilog; using Witsml; using Witsml.Extensions; using Witsml.ServiceReference; using WitsmlExplorer.Api.Jobs; using WitsmlExplorer.Api.Models; using WitsmlExplorer.Api.Query; using WitsmlExplorer.Api.Services; namespace WitsmlExplorer.Api.Workers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; namespace KartSystem { public interface IDCTDocumentView : IView { /// <summary> /// Текущий документ ТСД /// </summary> DCTDocument currDocument { get; ...
using System; using UnityEngine; using Unity.Mathematics; using static Unity.Mathematics.math; using Unity.Collections; namespace IzBone.IzBCollider.RawCollider { /** コライダのinterface */ public unsafe interface ICollider { /** 指定の球がぶつかっていた場合、引き離しベクトルを得る */ public bool solve(Sphere* s, float3* oColN, float* oCol...
using DataStructure.Abstractions; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace DataStructure.Models { public class Style : BaseModel { [Required] public string StyleName { get; set; } public List<Performer> Pe...
using System; using System.Collections.Generic; using System.Net; using FluentAssertions; using Microsoft.Azure.Batch.SoftwareEntitlement.Common; using Xunit; namespace Microsoft.Azure.Batch.SoftwareEntitlement.Tests { public class NodeEntitlementsBuilderTests { // A valid set of command line arguments...
using Newtonsoft.Json; using System.Collections.Generic; namespace eMAM.Service.DTO { public class GmailMessagesListDTO { [JsonProperty("messages")] public List<MessageJson> Messages { get; set; } [JsonProperty("resultSizeEstimate")] public int Count { get; set; } } ...
using Sfa.Poc.ResultsAndCertification.CsvHelper.Common.CsvHelper.Model; using System; using System.Collections.Generic; namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Common.CsvHelper { public interface IDataParser<out T> where T : class { T Parse(BaseModel model, int rownum); T GetErrorO...
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 Автошкола { public partial class AuditoriumsForm : Form { public AuditoriumsFo...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Text; using System.Windows.Forms; using CIS016_2.Week3.Enums; namespace CIS016_2.Week3.Controls { public class AnalogClock { private Point _startPoint; ...
using System; //TODO: Add other using statements here namespace com.Sconit.Entity.ORD { public partial class OrderBindingDetail { #region Non O/R Mapping Properties //TODO: Add Non O/R Mapping Properties here. #endregion } public class BindDemand { public string...
using System; using System.Collections.Generic; using Aria.Core.Interfaces; namespace Aria.Core.Utilities { public class ServiceContainer : IServiceContainer { // Dictionary of services held by this container. private readonly IDictionary<Type, IDisposableServiceProvider> _services; /...
using Alabo.Cloud.School.SmallTargets.Domain.Entities; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.Cloud.School.SmallTargets.Domain.Repositories { public class SmallTargetRepository : RepositoryMongo<SmallTarget, ObjectId>, ISmallTargetRepository { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace CoinSet { class MainProgram { /* 1 You are given a set of infinite number of coins (1, 2 and 5) and end value - N. Write an algorithm that gives the number of coins needed so that t...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Visionscape.Extension; using HookKeyboard; using HVCheck.Models; using ActUtlTypeL...
using MyCollection.Context; using MyCollection.Models; namespace MyCollection.Repository { public class RepositoryVinculo : Repository<Vinculo> { public RepositoryVinculo(ContextCT context) : base(context) {} } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using service.Models; namespace service.Controllers.Wealthline { public class PostqueryController : Contr...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GossipBoard.Models; using GossipBoard.Dto; using Microsoft.AspNetCore.Mvc; namespace GossipBoard.Services { public interface IPostService { Task<ICollection<PostDto>> GetAllPosts(int offset, int lim...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace RiskUI { public partial class DiceSelectionUI : Form { public int numWhiteDice; public int numRedDice; public D...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using service.Extension; using service.Models; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace service.Controllers.Thirdparty { ...
using UnityEngine; /// <summary> /// ステージ生成 /// </summary> public class StageCreation : MonoBehaviour { int stagenumber; public FieldBlockMeshCombine blockMap = new FieldBlockMeshCombine(); void Start() { //どのマップを使うか設定 stagenumber = Select.Stagenum(); //当たり判定のみのオブジェクト ...
using Accounting.Model; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace Accounting.Converter { public class GenderConverter : IValueConverter { object IValueConverter....
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerData : MonoBehaviour { public static PlayerData Instance; [Range(0, 10)] public float moveSpeed = 1.2f; private void Awake() { if (!Instance) Instance = this; else Dest...
using System; using System.Collections.Generic; using System.Text; namespace InterpreterSample { public class CommandListNode : Node { private List<Node> _list = new List<Node>(); public override void Parse(Context context) { while (true) { if (...
using System.Collections; using System.Collections.Generic; namespace DelftTools.Utils.Collections.Generic { public interface IEnumerableList<T> : IList<T>, IList { IEnumerable<T> Enumerable { get; set; } IEnumerableListEditor Editor { get; set; } } }
using System; namespace Constructors { class Program { static void Main(string[] args) { Person krystian = new Person(1, 26, "Krystian", "Cegiełka", "Toruń", "mężczyzna"); krystian.PrintParams(); Console.ReadKey(); } } }
namespace CarsIsland.MailSender.Infrastructure.Services.Mail.Templates { public class CarReservationConfirmationMailTemplate { public string CustomerName { get; set; } public string CustomerEmail { get; set; } public string CarBrand { get; set; } public string CarModel { get; se...
using Vintagestory.API.Common; namespace OreCrystals { class OreCrystalsRegisterBlocks : ModSystem { public override void Start(ICoreAPI api) { base.Start(api); api.RegisterBlockClass("OreCrystalsCrystal", typeof(OreCrystalsCrystal)); api.RegisterBlockClass...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : Entity { private byte life = 3; public byte Life { get { return life; } set { life = value; } } [SerializeField] private uint points; public uint Points { get ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraFunc : MonoBehaviour { public Transform Target; private void Update() { transform.position = new Vector3(Target.position.x, Target.position.y + 1, -10); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using DSSCriterias.Logic.States; namespace DSSCriterias.Logic { public enum Goals { MinRisc, MaxProfit, RiscAllowed } public abstract class State...
// 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.Text; namespace StarEnigma { class Planet { public Planet(string name, int population, int soldiers) { Name = name; Population = population; Soldiers = soldiers; } public string Nam...
using System; using System.IO; using System.Windows; using System.Windows.Input; using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.AvalonEdit.Highlighting.Xshd; using System.Xml; using System.Diagnostics; using System.Windows.Forms; using ICSharpCode.AvalonEdit.Search; namespace Akangatu_IDE { /// <sum...
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace Entoarox.Framework.Interface { public class GenericComponentCollection : BaseComponentCollection { /********* ** Public methods *********/ public GenericComponentCollection(string name, Rectangle bounds, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AxisPosCore; using AxisPosCore.Common; using AxisPosCore.EnvironmentObjects; using KartObjects; using System.IO; using System.Xml.Serialization; using System.Threading; using System.Diagnostics; using KartObjects.Entities.Docum...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TestNinja.UnitTests { [TestClass] public class UnitTest1 { [TestMethod] public void CanBeCancelledBy_UserIsAdmin_Scenario_ReturnTrue() { // arrange // act ...
using System; using System.Web.UI; namespace irrsa { public partial class Login : Page { protected override void OnLoad(EventArgs e) { /*if(Context.Request.QueryString["logout"] != null) { var ssid = AuthModule.GetSsid(); DbStorage.RemoveSessionId(ssid); AuthModule.UpdateAgentNameCache(null); ...
namespace MinecraftCommandsGenerator.Json { public class JsonText { public static string transfer(string untransferStr) { if (untransferStr == "") return ""; else { string Step1 = untransferStr.Replace("\\","\\\\");//转换‘\’为“\\” ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.Drawing; using System.Diagnostics; namespace Editor { internal struct AssetItem { public string filename; public DateTim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _1.FighterAttack { class CalculateAttack { static void Main() { int Px1 = int.Parse(Console.ReadLine()); int Py1 = int.Pa...
using System; using System.Collections.Generic; using System.Text; namespace CursoCsharp.ClassesEMetodos { public struct SPonto { public int X; public int Y; } public class CPonto { public int X; public int Y; } class ClassvsStruct { public stat...
using DevExpress.Web.Demos; using System.Web.Mvc; using System.Threading; namespace DevExpress.Web.Demos { public partial class PopupControlController : DemoController { public ActionResult LoadOnDemand() { return DemoView("LoadOnDemand"); } public ActionResult LoadOnDemandPart...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Epic.Training.Project.SuppliedCode.Exceptions; using Epic.Training.Project.SuppliedCode.Instrumentation; using Epic.Training.Project.SuppliedCode.Interfaces; using Microsoft.VisualStudio.TestTools.UnitTesting; using etpi = ...
using System.Collections.Generic; using UnityEngine; using Verse; using RimWorld; namespace D9Framework { /// <summary> /// <c>PlaceWorker</c> requiring that the parent <c>Thing</c> be placed on a cell adjacent to but facing away from a wall. <seealso cref="D9Framework.CompValidator"/> /// <remar...
using System; using System.Collections.Generic; using System.Text; namespace Strategy2 { public interface Sorter { void Sort(IComparable[] datas); } }
using System; using System.IO; using System.IO.Compression; namespace HiLoSocket.Compressor.Implements { internal sealed class GZipCompressor : ICompressor { private const int BufferSize = 4096; /// <inheritdoc /> /// <summary> /// Compresses the specified bytes. /// <...
using UnityEngine; using System.Collections; using UnityEngine.Networking; using System.Text; [System.Serializable] public class User { public int id; public string name; public string password; } [System.Serializable] public class Monster { public int id; public int rank; public string name;...
using API; using AutoMapper; using Models.FicheModel; using NUnit.Framework; using ProjetctTiGr13.Domain.FicheComponent; using Competence = ProjetctTiGr13.Domain.FicheComponent.Competence; namespace UnitTest.TestMappeur { [TestFixture] public class testMapCompetence { private IMapper _mapper; ...
using System; using System.Runtime.InteropServices; namespace NetVlc { [StructLayout(LayoutKind.Sequential, Pack = 1)] struct libvlc_exception_t { public int b_raised; public int i_code; [MarshalAs(UnmanagedType.LPStr)] public string psz_message; } cl...
using Matrix = System.Numerics.Matrix4x4; namespace Jypeli { public partial class Widget { /// <summary> /// Reunojen väri. /// </summary> public Color BorderColor { get; set; } private void InitAppearance() { this.BorderColor = Color.Transparent; ...
using Cradiator.Services; using NUnit.Framework; namespace Cradiator.Tests.Services { [TestFixture] public class WebClientFactory_Tests { [Test] public void CanGet_SandboxWebClient() { var webClient = new WebClientFactory().GetWebClient("debughttp://cruise/ccnet"); Assert.That(webClient, Is.TypeOf<Sandb...
using Loja.Daos; using Loja.Models; using Loja.Services; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; namespace Loja.Controllers { public class PedidosController : Controller { public async Task<ActionResult> Index() { var pedidos = await new PedidosDao()....
using NUnit.Framework; using PrimeNumber; using PrimeNumberTest.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PrimeNumberTest { [TestFixture] public class AdaptivePrimeCheckerTest { [Tes...
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Set logo option as integer. /// </summary> [LibVlcFunction("libvlc_video_set_logo_int")] [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void SetVideoLogo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { } } } /** * Input :arr[] = {3, 5, 1, 8, 9, 4}, m = 4 {3, 5, 1, 8} {...