text stringlengths 13 6.01M |
|---|
namespace ChuanGoing.Domain.Modles.Customers.Dtos
{
public class CustomerDto
{
public string Name { get; set; }
}
}
|
using UnityEngine;
public class GameController2 : MonoBehaviour
{
[SerializeField]
private int targetFrameRate = 60;
[SerializeField]
private float slowMotion = 0.2f;
protected virtual void Awake()
{
Application.targetFrameRate = targetFrameRate;
}
protected virtual void Upd... |
using System;
using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Document;
namespace lianda.REP
{
public class LDRPG2RP : ActiveReport
{
public LDRPG2RP(string rqfw)
{
InitializeReport();
this.TextBox_RQFW.Text = rqfw;
}
#region ActiveReports Designer generated code
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pausa : MonoBehaviour {
public GameObject pause;
void Update () {
if (Input.GetButtonDown ("Cancel")) {
Pause ();
}
}
public void Pause(){
if (pause.activeSelf) {
pause.SetActive (false);
Time.timeScale =... |
using Moq;
using System;
using Xunit;
namespace TreeStore.Messaging.Test
{
public class EntityMessagesTest : IDisposable
{
private readonly TreeStoreMessageBus messageBus = new TreeStoreMessageBus();
private readonly MockRepository mocks = new MockRepository(MockBehavior.Strict);
publi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PnrAnalysis.Model
{
[Serializable]
public class FDModel
{
public string fromCode = string.Empty;
public string toCode = string.Empty;
public string strDate = string.Empty;
public string fdDate = s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Threads.Examples
{
public static class SecondThreadExample
{
public static void ShowSecondThread()
{
//Create new thread
... |
using AnnealingWPF.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace AnnealingWPF.Solver.ScoreStrategies
{
public interface IScoreStrategy
{
public float CalculateScore(SatConfiguration configuration, SimulatedAnnealingSolver solver);
}
}
|
namespace Triton.Game.Mapping
{
using System;
public enum FriendChallengeEvent
{
I_SENT_CHALLENGE,
I_RESCINDED_CHALLENGE,
OPPONENT_ACCEPTED_CHALLENGE,
OPPONENT_DECLINED_CHALLENGE,
I_RECEIVED_CHALLENGE,
I_ACCEPTED_CHALLENGE,
I_DECLINED_CHALLENGE,
... |
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 irc_client.connection;
using irc_client.connection.requests;
namespace irc_client {
public parti... |
using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using OpenTK.Input;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK.Graphics;
using System.Drawing;
namespace SnakeGame
{
public class Game : GameWindow
{
private GameField _ga... |
using System;
namespace FinanceBot.Views.Update
{
public static class SimpleTxtResponse
{
//help
private static string CommandHelp =
"Добавить расходы (например): 150 обед\n" +
"Статистика за сегодня: /today\n" +
"Статистика за месяц: /month\n" +
... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.Extensions.Logging;
using OmniSharp.Extensions.LanguageServer.Protocol.Server;
using System;
using System.Threading;
using System.Threading.Tasks... |
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
namespace CoinBot.Clients.Binance
{
[SuppressMessage(category: "Microsoft.Performance", checkId: "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Used as data packet")]
internal sealed class BinanceProduct
{
[... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour {
public float moveSpeed = 12.0f;
public Vector2 ballDirection = Vector2.left;
public float topBounds = 9.4f;
public float bottomBounds = -9.4f;
public float rigthBounds = 15f;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
using System.Diagnostics;
using RemoteServices;
using System.Timers;
using System.Threa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace CareerCup150.Chapter4_TreeGraph
{
public class _04_06_LCA
{
/*
* Design an algorithm and write code to find the first common ancestor of two nodes in a binary tree.
* Avoid s... |
using Microsoft.EntityFrameworkCore;
namespace WebApplication2.Models
{
public class PostContext : DbContext
{
public DbSet<Post> Posts { get; set; }
public DbSet<User> Users { get; set; }
public PostContext(DbContextOptions<PostContext> options) : base(options)
=> Databas... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.Data.Xml.Dom;
using Wi... |
using System;
namespace XamFormLogin.Data
{
public interface ISQLite
{
}
}
|
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Caching.Memory;
using PointOfSalesV2.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PointOfSalesV2.Api.Security
{
... |
namespace RestaurantManager.Interfaces
{
using RestaurantManager.Models;
public interface IMainCourse : IMeal
{
MainCourseType Type { get; }
}
} |
using System;
namespace CallCenter.Common.DataContracts
{
public class OperatorChatMessage : IOperatorChatMessage
{
public int Id { get; set; }
public DateTime Date { get; set; }
public string Message { get; set; }
public ChatMessageType MessageType { get; set; }
... |
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 BLL_DAL;
namespace QLNHAHANG
{
public partial class frmLogin : Form
{
Login_BLL_DAL... |
namespace Common.Function
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
public class Md5
{
private const string salt = "81fbaa81762885ac3481fd4b416485e6";
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Ornithology.Entity;
using Ornithology.Data;
using Ornithology.Domain;
namespace Ornithology.Services
{
public class AveServices : IAveServices
{
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Webcorp.unite
{
public partial class ElectricConductance
{
/// <summary>
/// Implements the operator /.
/// </summary>
/// <param name="c"> The cond... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using RecipeWebRole.Models;
namespace RecipeWebRole.DataAccess
{
public class BlobStorageImageRepository : IImageRepository
{
private... |
using UnityEngine;
using System.Collections;
public class Edge
{
public Hex destination;
public Hex source;
private int[] cost = new int[3]; // The cost of traversing this edge. Some hexes are slower to move through (Swamps).
// Units don't allow enemy units to... |
using System;
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 dailyBurnWP7
{
public partial class dailyBur... |
using System;
namespace NetBattle.Field.Events {
public class CounterAcknowledgeEvent : FieldEvent {
// TODO add event data
public CounterAcknowledgeEvent(string targetOwner) : base(targetOwner) {
}
public CounterAcknowledgeEvent(Guid target) : base(target) {
}
... |
using Cotizaciones_Edwin_Marte.Registros;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace Cotizaciones_Edwin_Marte.Entidades
{
public class Cotizaciones
{
[Key]
public int CotizacionesId { get; set; }... |
namespace ns9
{
using System;
internal class Exception1 : ApplicationException
{
public Exception1() : base("Invalid Parameter")
{
}
}
}
|
using System;
using System.Reflection;
using Nabbix.Items;
namespace Nabbix
{
public class Item
{
public const string NotSupported = "ZBX_NOTSUPPORTED";
private readonly PropertyInfo _property;
private readonly NabbixItemAttribute _attribute;
private readonly object _instance;... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RastreioFacil.Web.Models
{
public class VeiculoModels
{
public string IMEI { get; set; }
public int? id_cliente { get; set; }
public int? id_marca { get; set; }
... |
using System;
using System.Collections.Generic;
namespace Domain.Entities
{
public class Home : EntityBase
{
public string Name { get; set; }
public string Address { get; set; }
public string City { get; set; }
public string Country { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace transGraph
{
public partial class addWay : Form
{
dbFacade db = new dbFacade();
public addWay()
{
... |
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace AspNetCore.Api.TenantResolver
{
public class RequestPathBasedTenantResolutionStrategy : ITenantResolutionStrategy
{
private readonly IHttpContextAccessor _httpContextAccessor;
public RequestPathBasedTenantResolutionStrat... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IFileImporter.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Services.Interface
{
public interface IClientNewshoreService
{
/// <summary>
/// Metodo encargado de grabar los archivos
/... |
using System;
using UnityEngine;
namespace LeoESCTest.UnityComponents
{
public class GameStateComponent : MonoBehaviour
{
private GameState _currentState;
public event Action<GameState> StateChangedEvent;
public GameState CurrentState
{
get => _cur... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
public interface ITextDocumentIdentifierParams
{
TextDocumentIdentifier TextDocument { get; }
}
}
|
using Microsoft.EntityFrameworkCore;
using Publicon.Core.DAL;
using Publicon.Core.Entities.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Publicon.Core.Repositories.Concrete
{
internal class GenericDeleteAbleRepository<T> : GenericRepository<T>... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace dotNetRogueLootAPI.Persistence.Migrations
{
public partial class newMigrations : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Effects",
... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades;
using PDV.DAO.Enum;
using System;
using System.Collections.Generic;
using System.Data;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesUF
{
public static bool Existe(decimal IDUnidadeFederativa)
{
usi... |
namespace Goop.Xml.Serialization
{
using System.IO;
using System.Xml.Serialization;
public static class XmlSerializerEx
{
public static T Deserialize<T>(this XmlSerializer x, string path)
{
using var stream = File.OpenRead(path);
return (T)x.Deserialize(stream)!;
}
}
}
|
using Alarmy.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Alarmy.Tests.Utils
{
internal abstract class FakeMainView : IMainView
{
public event EventHandler OnNewRequest;
public event EventHandler OnImportRequest;
public event E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using ERP_Palmeiras_LA.Models.Facade;
using ERP_Palmeiras_LA.Models;
namespace ERP_Palmeiras_LA.WebServices
{
/// <summary>
/// Summary description for EquipamentosWS
/// </summary>
[WebServ... |
using OpenQA.Selenium;
namespace PokuponTestAutomation.Driver
{
public static class ExtensionMethods
{
public static IWebElement FindElementSafe(this IWebDriver driver, By by)
{
try
{
return driver.FindElement(by);
}
catch (NoSuch... |
using Iri.IoC;
using Iri.Plugin.Tests.Types.MapGen;
namespace Iri.Plugin.Tests.Types
{
internal class StupidMapGenPlugin : IMapGenPlugin
{
public string Name => "Stupid Mapgen";
public void BeforeActivation(CookieJar container)
{
container.Register<IMapModifier>(new Altern... |
using System.Web.Optimization;
namespace ModuleZeroSampleProject.Web
{
public static class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.IgnoreList.Clear();
#region Bundles for Angular application (private pages, entered after lo... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace GeoNavigator
{
/// <summary>
/// Okno nastaveni
/// </summary>
public partial clas... |
using System;
using UrTLibrary.Server.Queries.Game;
namespace UrTLibrary.Server.Logging.Events.ChatCommands
{
[ChatCommandKey("reload")]
public class ReloadCommand : ChatCommand
{
public override void Execute(GameServer server)
{
log.DebugFormat("--> Executing ReloadCommand");... |
using UnityEngine;
using System.Collections;
public class TestSphere : MonoBehaviour
{
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
Vector3 newScale = new Vector3( AudioInput.smoothedVolume, AudioInput.smoothedVolume, AudioInput.smoothedVolume )... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Football.DAL.Context;
using Football.DAL.Entities;
using Microsoft.EntityFrameworkCore;
namespace Football.DAL.Repository
{
public class Repository<TEntity> : IR... |
namespace ns9
{
using ns10;
using ns11;
using System;
using System.IO;
using System.Runtime.InteropServices;
internal class Class54 : Interface2, Interface3, Interface4
{
private bool bool_0;
private bool bool_1;
private bool bool_2;
private bool bool_3;
... |
using System.Collections.Generic;
using MySql.Data.MySqlClient;
namespace at02.Models
{
public class UsuarioRepository : Repository
{
public void Cadastra (Usuario u)
{
conexao.Open();
string sql = "INSERT INTO usuarios (nome, nascimento, login, senha, tipo) VALUES (@no... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcademyPopcorn
{
//Task 12
class GiftBlock : Block
{
public GiftBlock(MatrixCoords topLeft)
: base(topLeft)
{
this.body = new ... |
// Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class BossDoor : MonoBehaviour
{
#region OldCode
//[SerializeField] public RoomHandle MyRoom;
//[SerializeField] public Transform MyExit;
//[SerializeField] BossDoor Target;
//R... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Industrial.Services;
using Industrial.Views;
using Industrial.Services.SupplyService;
namespace Industrial
{
public partial class App : Application
{
public static SupplyManager supplyManager { get; private set; }
public App()
... |
using NUnit.Framework;
using System;
namespace TestsPayroll.Taxing.HappyTests
{
[TestFixture()]
public class TaxAdvancePaymentHappyTest
{
[Test()]
public void AdvanceTax_Payment_For_2_000_CZK_Base_Is_X_CZK()
{
}
[Test()]
public void AdvanceTax_Payment_For_10_000_CZK_Base_Is_X_CZK()
{
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LocationUpdateManager : MonoBehaviour {
public Camera mainCamera;
public Text xLocation;
public Text yLocation;
public Text zLocation;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 13
namespace Binary_to_Decimal_Number_System
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter number: ");
int n = int.Pars... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Gensokyo.Xaml.Converters
{
static class ColorConverters
{
internal static readonly ConcurrentDictionary<Color ,... |
using PyFarmaceutica.acceso_a_datos.implementaciones;
using PyFarmaceutica.acceso_a_datos.interfaces;
using PyFarmaceutica.Reportes;
using PyFarmaceutica.Reportes.entidades;
using PyFarmaceutica.servicios.interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Te... |
using System.Collections.Generic;
namespace FileUploadNetCore.Models
{
public class FileUploadViewModel
{
public List<FileOnFileSystemModel> FilesOnFileSystem { get; set; }
public List<FileOnDatabaseModel> FilesOnDatabase { get; set; }
}
}
|
using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.CompilerServices;
using AnyfinCalculator.Annotations;
using Hearthstone_Deck_Tracker;
namespace AnyfinCalculator
{
[Serializable]
public class AnyfinConfig : INotifyPropertyChanged
{
[NonSerialized] public static readonly string Con... |
using FluentValidation;
namespace Application.Product.Commands.CreateProductCommands {
public class CreateProductCommandValidator : AbstractValidator<CreateProductCommand> {
public CreateProductCommandValidator () {
RuleFor (v => v.Product.CategoryName)
.NotEmpty ().WithMessage ... |
namespace PrimeNumbersSieveOfEratosthenes
{
using System;
using System.Collections;
using System.Collections.Generic;
public class PrimeNumbersSieveOfEratosthenes
{
/// <summary>
/// Write a program that finds all prime numbers in the range [1...10 000 000]. Use the sieve ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Framework.Remote.Mobile
{
[DataContract(Name = "CxClientImageMetadata", Namespace = "http://schemas.datacontract.org/2004/07/FulcrumWeb")]
public partial class CxClientImageMetad... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FinishScript : MonoBehaviour
{
public CrosserSpawn crosserSpawn;
void OnTriggerEnter(Collider col)
{
if (col.tag == "Crosser")
{
crosserSpawn.ReturnedCrosser();
}
}
}
|
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 BLL_DAL;
using System.IO;
namespace QLNHAHANG
{
public partial class frmSanPham : Form
{
... |
// Copyright (c) 2007 - Dave Kerr
// http://www.dopecode.co.uk
//
//
// This file is part of SharpGL.
//
// SharpGL is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the L... |
using System.Collections;
using System.Collections.Generic;
using static AudioManager;
using UnityEngine;
public class PlayerMove : MonoBehaviour {
public int playerNum;
private GameObject crosshairHolder; // The object on the center of the player that controls crosshair placement
[SerializeField]
... |
using System.Windows.Forms;
namespace Grimoire.Tools
{
public class Hotkey
{
public string Text { get; set; }
public Keys Key { get; set; }
public int ActionIndex { get; set; }
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using OpenGovAlerts.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenGovAlertsTests
{
public class Environment
{
private IServiceProvider provider = null;
private DbCon... |
using System;
namespace RO
{
[CustomLuaClass]
public class CompatibilityVersion
{
public static int version = 11;
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
public class CamelCase
{
public void NoofWords()
{
string s = Console.ReadLine();
int wordCount = 0;
if (s.Length > 0)
{
wordCount ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("BRM01_GrimGuzzler")]
public class BRM01_GrimGuzzler : BRM_MissionEntity
{
public BRM01_GrimGuzzler(IntPtr address) : this(address, "BRM01_GrimGuzzler")
{
}
public BRM01_GrimGuzzler(IntPtr addre... |
namespace BigONotationPartial
{
enum DataStructureType
{
List,
HashSet
}
}
|
using System;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations;
namespace eForm.EFlight.Dtos
{
public class CreateOrEditFlightDto : EntityDto<int?>
{
public string Detail { get; set; }
public string Name { get; set; }
public string NRIC { get; set; }
... |
using Course.Commands;
using Course.Context;
using Course.Model;
using Course.View;
using NLog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threadi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour {
// Update is called once per frame
void Update () {
/*
// 1
private SteamVR_TrackedObject trackedObj;
//2
private SteamVR_Controller.Device Controller
*/... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
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... |
using async_inn.Models.DTOs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace async_inn.Models.Interfaces
{
public interface IRoom
{
/// <summary>
/// Creates a room
/// </summary>
/// <param name="room"> room object</pa... |
using NUnit.Framework;
using TestNinja.Fundamentals;
namespace TestNinja.UnitTests
{
[TestFixture]
public class HtmlFormatterTests
{
[Test]
public void FormatAsBold_WhenCalled_ShouldEncloseTheStringWithStrongElement()
{
var formatter = new HtmlFormatter();
... |
namespace System.Linq
{
using System.Collections.Generic;
public static partial class FastLinq
{
/// <remarks>
/// BCL does not set initial size
/// </remarks>
/// TODO: Should have array pooling but probably doesn't belong in this library
/// TODO: Could have a... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
namespace PhonesStore.ViewModels
{
public static class DataPersister
{
public static IEnumerable<PhonesStoreViewModel> GetAllStores(string documentPath)
... |
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 System.Data.SqlClient;
namespace Idenz.Core.Windows
{
public partial class frmListBaseForm : frmSimpleBaseForm
{
... |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
// **********************... |
using FluentValidation;
namespace Application.Users.Commands.CreateUserCommands {
public class CreateUserCommandValidator : AbstractValidator<CreateUserCommand> {
public CreateUserCommandValidator () {
RuleFor (e => e.User.Address)
.NotEmpty ().WithMessage ("User Address is Req... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
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 ... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using VoterSystem.Models;
namespace VoterSystem.Data
{
public class ApplicantDbContext : DbContext
{
public ApplicantDbContext(DbContextOptio... |
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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using WebApiPais.Models;
namespace WebApiPais.Controllers
{
[Produces("application/json")]
//se agrega a la reg... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace CoreComponents.Threading
{
public sealed class AcquisitionThread : IReset, IDisposable
{
public const int NoThread = -1;
int myId = NoThread;
readonly SpinLock my... |
using UnityEngine;
using System.Collections;
public class Timer {
private float time;
private float elapsedTime = 0;
public Timer() {
Set(0);
}
public Timer(float time) {
Set(time);
}
public void Reset() {
elapsedTime = 0;
}
public void Run() {
e... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Android;
using OpenQA.Selenium.Appium.iOS;
using OpenQA.Selenium.Support.UI;
namespace Ios_Android_Project.PageObjectModel
{
public class Bas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.