text stringlengths 13 6.01M |
|---|
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Microsoft.WindowsAzure.Storage.Blob;
using MeeToo.Services.MessageSending.Email.Options;
namespace MeeToo.Services.MessageSending.Email
{
public class BlobStorageEmailTemplateSource : IEmailTemplateSource
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using System;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Bson.Serialization;
using desafio.Models;
namespace desafio.tdlDAO {
public class TdlDAO{
MongoClient _client;
MongoServer _server;
MongoDatabase _db;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fbtc.Domain.Entities
{
public class Log
{
public int LogId { get; set; }
public string MetodoOrigem { get; set; }
public string TipoInstrucao { get; set; }
... |
using System;
using System.Collections;
namespace IteratorReview
{
class Program
{
static void Main(string[] args)
{
IPersons team = new Employees();
team[0] = "Taras";
team[1] = "Nazar";
team[2] = "Andrii";
team[3] = "Igor";
... |
using HowLeaky.CustomAttributes;
using HowLeaky.Models;
using System;
namespace HowLeaky.ModelControllers
{
public class SoilController : HLObject
{
public SoilController() { }
public SoilController(Simulation sim):base(sim) { }
public override void Initialise()
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Traditional
{
public static class PageUrl
{
public static string Version1 = "https://demo.applitools.com/hackathon.html";
public static string Version2 = "https://demo.applitools.com/hackathonV2.html";
public ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RuntimeFunctionParser;
namespace RuntimeParserTest
{
[TestClass]
public class DerivativeTests
{
[TestMethod]
public void Derivative_Test()
{
string function = "x^2";
Function func = new ... |
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 FXB.Data;
using FXB.DataManager;
using FXB.Common;
namespace FXB.Dialog
{
public partial clas... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class StopSound : MonoBehaviour {
public float maxVolume;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) {
Ray... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class enemyScript : MonoBehaviour
{
public Sprite cross;
public GameObject retry;
// Start is called before the first frame update
void Start()
{
retry = GameObject.Find... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
namespace jsserver3
{
class Program
{
static Websocket websocket;
static List<ClientInstance> clientlist = new List<ClientInstance>();
static void Main(str... |
using EntMob.DAL;
using EntMob.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntMob_Xamarin.Services
{
public interface IUserService
{
Task<User> CheckCredentials(User user);
Task<User> AddUser(User user... |
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using UnityEditorInternal;
using Debug = UnityEngine.Debug;
using Ink.Runtime;
namespace Ink.UnityIntegration {
public static class InkEditorUtils {
public cons... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
//Created by Austin Garcia
public class TimeManager : MonoBehaviour {
private float timer;
public TMPro.TextMeshProUGUI timerText;
public TMPro.TextMeshProUGUI multText;
public GameObject T... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VeganStore.Models;
using VeganStore.ViewModels;
namespace VeganStore.Controllers
{
public class ProductController : Controller
{
private readonly IProductRepository _p... |
using System;
using System.Collections;
namespace Modul15.IteratorMethodYield
{
public class Person
{
public string firstName { get; set; }
public string lastName { get; set; }
public Person(string fName, string lName)
{
firstName = fName;
l... |
using UnityEngine;
public class EnemyPatrol : MonoBehaviour {
public bool startFacingRight = true; // Which way the enemy should face to begin with
public int unitsToMove = 5; // How far the enemy can move, in whatever direction it faces at the start
private float rightWall; // Enemy walks to and from h... |
using UnityEngine;
public class MoonWakeUp : MonoBehaviour
{
public GameObject eyesClosedObject;
public GameObject eyesOpenObject;
int wakeUpWait, wakeUpCounter;
bool wokeUp;
public bool instantWakeUp;
public bool onlyWakeWhenInteractionPressed;
void Start ()
{
wakeUpWait = 2... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VirginMediaScenario.Controllers;
using System;
using System.Collections.Generic;
using System.Text;
namespace VirginMediaScenario.Controllers.Tests
{
[TestClass()]
public class ScenariosControllerTests
{
[TestMethod()]
public void S... |
using Puppeteer.Core.WorldState;
namespace Puppeteer.Core.Action
{
public enum ActionState
{
Inactive,
Running,
Completed,
Failed
}
public interface IAction<TKey, TValue>
{
void Cancel();
void Enter(Agent<TKey, TValue> _executingAgent);
void Execute();
void Exit();
ActionState GetActionSta... |
namespace FarmHelper.Framework
{
internal class ModConfig
{
public bool ModEnabled { get; set; } = true;
public string ActivationKey { get; set; } = "NumPad7";
public bool AutomaticMode { get; set; } = true;
public bool EnablePetting { get; set; } = true;
public bool Ena... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DialogActivator : Interactables {
public string[] lines;
private bool hasRead;
[SerializeField]
private GameObject exit;
// Use this for initialization
void Start () {
canActivate = false;
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Kattis.IO;
public class PebbleSolitaire
{
const int nPebbles = 23;
static int[] masks;
static Dictionary<BitVector32, int> boards = new Dictionary<BitVector32, int>();
static void generateMasks(){
masks = new int[nPebble... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace RNNSharp
{
public class SimpleLayer
{
public double[] cellOutput;
public double[] previousCellOutput;
public double[] er... |
using Owin.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace EmptyAspnetApp
{
public class SimpleModule
{
public static Task ShowMainPage(OwinRequest request, OwinResponse response, Func<Task> next)
{
... |
using System;
using Microsoft.CQRS;
using System.Collections.Generic;
using Microsoft.UnifiedPlatform.Service.Common.Models;
namespace Microsoft.UnifiedPlatform.Service.Application.Queries
{
public class GetUncommitedLogsQuery : Query<List<Log>>
{
public override string DisplayName => "Get Uncommited ... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using Lab.MIS.Model;
namespace Lab.MIS.EFDAL
{
public class DbContextFactory
{
/// <summary>
/// 获取线程内唯一dbconte... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
namespace FastFood.Models
{
public partial class FastFooddb : DbContext
{
public FastFooddb()
: base("name=FastFood")
{
}
public virtual DbSet<ANH> ANHs { ... |
using AutoMapper;
using ServiceQuotes.Application.DTOs.Account;
using ServiceQuotes.Application.DTOs.Customer;
using ServiceQuotes.Application.DTOs.CustomerAddress;
using ServiceQuotes.Application.DTOs.Employee;
using ServiceQuotes.Application.DTOs.JobValuation;
using ServiceQuotes.Application.DTOs.Material;
using Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PAL_properties_
{
public class PAL
{
public string StaffNumber { get; set; }
public string Password { get; set; }
public string EmployeeNumberorName { get; set... |
using HowToWikiAPI.Models;
using Microsoft.EntityFrameworkCore;
namespace HowToWikiAPI.Data
{
public class HowToContext: DbContext
{
public DbSet<HowToItem> HowToItems { get; set; }
public HowToContext(DbContextOptions<HowToContext> opt): base(opt)
{
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FadeToBlack : MonoBehaviour
{
private static FadeToBlack instance;
public static FadeToBlack Instance => instance ?? (instance = Instantiate(Resources.Load<FadeToBlack>("FadeToBlack")));
//A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class FundingBandExcessModel
{
private readonly int[] _fundingBandCapsExceeded;
public FundingBandExcessModel(int numberOfApprentic... |
namespace DesignPatterns.ChainOfResponsability.Example1
{
public enum CalcOperator
{
Add,
Sub,
Mult,
Div
}
}
|
/*
* Factory that builds rooms based on raw manual string.
* Brrr!
* Copyright (c) Yulo Leake 2016
*/
using Deadwood.Model.Rooms;
using System;
using System.Collections.Generic;
namespace Deadwood.Model.Factories
{
class RawRoomFactory : IRoomFactory
{
// Fields
// TODO: make this re... |
namespace Phenix.Security.Business
{
/// <summary>
/// 用户查询
/// </summary>
[System.SerializableAttribute(), System.ComponentModel.DisplayNameAttribute("用户查询")]
public class UserCriteria : Phenix.Business.CriteriaBase
{
[Phenix.Core.Mapping.CriteriaField(FriendlyName = "工号", Logical = Phenix.Core.Mappi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using IRAP.Global;
namespace BatchSystemMNGNT_Asimco.Editors
{
public partial class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Infrastructure.Storage
{
public class BlobSearchResult
{
public BlobSearchResult()
{
Folders = new List<BlobFolder>();
Items = new List<BlobI... |
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 Page.Note.FullCenterNoteCenter.Comment
{
public partial class MeetingNoteMessa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NfePlusAlpha.UI.Wpf.Classes
{
/// <summary>
/// LINHA E001: ABERTURA DO BLOCO E
/// </summary>
public class RegistroE001
{
/// <summary>
/// Texto fixo cont... |
using Core;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace DBCore
{
public class AppearanceDB
{
/// <summary>
/// получение экземпляра Appearance по ID
/// </summary>
/// <param name="id_appearance">ID Appear... |
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;
using System.Windo... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
namespace Quickflow.Core.Tokens
{
public class Tokener
{
public static string Replace(Object obj, string text)
{
if (!text.Contains("@Input.")) re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nop.Web.Models.Catalog;
namespace Nop.Plugin.Widgets.TypeProducts.Models
{
public class HomePageProductInitModel
{
public HomePageProductInitModel()
{
HomePageP... |
namespace Phenix.Test.使用指南._17._1._8._2
{
/// <summary>
/// 类信息查询
/// </summary>
[System.SerializableAttribute(), System.ComponentModel.DisplayNameAttribute("类信息查询")]
public class AssemblyClassCriteria : Phenix.Business.CriteriaBase
{
[Phenix.Core.Mapping.CriteriaField(FriendlyName = "类名", Logical = Ph... |
namespace BSMU_Schedule.Enums
{
public enum StorageType
{
XmlFileStorageType = 1
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
public float maxHp;
public float curHp;
public float speed;
public bool spriteOriginalRight;
public Rigidbody2D rb;
public enum deathDirection { toCamera, back, UpBack}
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CheckPlayerPrefs : MonoBehaviour {
public GameObject btnMulai, btnLanjutkan;
// Use this for initialization
void Start ()
{
//-- TUTORIAL --//
if (!PlayerPrefs.HasKey("isTutori... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace GistackWAPService.models
{
[DataContract]
public class Result
{
[DataMember]
public string result { get; set; }
[DataMember]
publ... |
using FubuMVC.Core.Assets;
using FubuMVC.Core.Resources.PathBased;
using FubuMVC.Core.UI;
using HtmlTags;
namespace FubuMVC.CodeSnippets
{
public class CodeFileEndpoint
{
private readonly FubuHtmlDocument<CodeFileResponse> _document;
public CodeFileEndpoint(FubuHtmlDocument<CodeFil... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using System;
using Nomad.Core;
using Vortex.Metrics.Utility;
using Vortex.Cost.Kernels.Regression;
namespace Vortex.Metric.Kernels.Regression
{
public sealed class RMSLE : BaseMetric
{
public RMSLE() : base(0.0)
{
}
... |
using DomainModels;
using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessLayer.Interfaces
{
public interface ICategoryBL
{
List<Categories> GetCategories();
}
}
|
using System;
using System.Collections.Generic;
using System.Reflection;
using Dapper;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Embraer_Backend.Models;
namespace Embraer_Backend.Models
{
public class Secagens
{
public long IdSecagem { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.Xml;
using System.IO;
namespace MediaInfo
{
//The class is for to create XML document from an object (collection of UISettings objects)
//and then bu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Kendo_UI_Bootstrap_Integration.Models
{
public class SalesPerDayViewModel
{
public SalesPerDayViewModel(string date, double value, double target)
{
Date = date;
Value = value... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BO;
namespace Tools
{
public static class ListeExtensions
{
public static T GetById<T>(this List<T> liste, int id) where T : IIdentifiable
{
return liste.Single... |
namespace CyberSoldierServer.Models.PlayerModels {
public class PlayerWorld {
// public int Id { get; set; }
// public Player Player { get; set; }
// public int PlayerId { get; set; }
// // public ICollection<PlayerWorldPath> Paths { get; set; }
//
// public class PlayerWorldEntityConfiguration : IEntityT... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Infrastructure;
using Models.DTO;
using ServerApi.Services.SkautIS;
[assembly: OwinStartup(typeof(ServerApi.Startup))]
// http... |
namespace Alunos
{
public class Fisica
{
public string RG { get; set; }
public string CPF { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System.Diagnostics;//Assert用
namespace _2019Gamejam
{
class Render
{
... |
namespace PayRentAndUse_V3.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class addatatonewcolumn : DbMigration
{
public override void Up()
{
Sql("Update VendorClasses set AvailableVehicle = VehicleCount");
}
publi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace AudioText.Models
{
public class Announcement
{
public int ID { get; set; }
[DisplayName("title")]
public string title... |
using Model.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.Factories.Interfaces
{
public interface IInstructionFactory
{
IInstruction CreateInstruction(char instructionIdentificator);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuanLyDanhBa
{
class KhachHang
{
public string sDT { get; set; }
public string hoTen;
public string Ten
{
get
{
... |
using System;
using Assets.Scripts.Models;
using Assets.Scripts.Models.Events;
using Assets.Scripts.Ui;
using Assets.Scripts.UI.Craft;
using UnityEngine;
using System.Collections;
using Assets.Scripts.UI.ShopNew;
namespace Assets.Scripts.UI
{
public enum FlashType
{
GetDamage,
Intoxication
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using Meldii.Properties;
namespace Mel... |
using System;
using NUnit.Framework;
namespace Seterlund.CodeGuard.UnitTests
{
[TestFixture]
public class GuardTests
{
#region ----- Fixture setup -----
/// <summary>
/// Called once before first test is executed
/// </summary>
[TestFixtureSetUp]
public void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dominio
{
public class RestriccionObjetivo : RestriccionGeneral
{
new public virtual TipoRestriccion Tipo
{
get { return (TipoRestriccion)NumTipoRestriccion; }
pr... |
using DryIoc;
using ShapesGraphics.Graphics;
using ShapesGraphics.Models.Shapes;
using System;
using System.Linq;
using System.Reflection;
namespace ShapesGraphics.Extensions
{
public static class ShapeExtensions
{
public static void Draw(this Shape shape)
{
if (shape == null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Time_Table_Generator.RandomizerNamespace;
namespace Time_Table_Generator.model
{
public class Population
{
public Individual[] population;
public double populationFitness... |
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace CustomServiceRegistration.Tests.IntegrationTests
{
public class UserControllerTest
{
private readonly Te... |
using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CalculatorService.WebAPI.DTOs
{
public class ErrorResponse
{
public ErrorResponse(string code, string message, string status)
{
Code = code;
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Models
{
public class SchluesselKontakt
{
public virtual int SchluesselKontaktID { get; set; }
public virtual Schluessel SchluesselID { ge... |
using Common.Entities;
using Common.Enums;
using DAL.Interfaces;
using System.Collections.Generic;
using System.Linq;
namespace DAL.EFRepositories
{
public class EFCategoryRepository : ICategoryRepository
{
private readonly BudgetContext _dbContext;
public EFCategoryRepository(BudgetContext d... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
namespace FiiiCoin.Wallet.Win.Common.interfaces
{
public interface IInvoke
{
string GetInvokeName();
void ... |
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour
{
[SerializeField] private Text scoreText;
private int score = 0;
public int GetScore()
{
return score;
}
public void AddScore(int add)
{
score += add;
scoreText.text = "Score : \n"... |
using BelindaWrightCPA.Content.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BelindaWrightCPA.Models
{
public class PageModel
{
public string PageTitle { get; private set; }
public string PageClass { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio8
{
class NotaFinal2
{
static void Main(string[] args)
{
{
const int Limaprov = 10;
const double Peso1 = 0.2;
... |
namespace Orc.FileSystem;
using System;
using System.Runtime.InteropServices;
using Catel.Logging;
public static class FileLockInfo
{
private static readonly ILog Log = LogManager.GetCurrentClassLogger();
// maximum character count of application friendly name.
private const int CCH_RM_MAX_APP_NAME = 2... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using static RankingSystem.Common.Domain.Enums;
namespace RankingSystem.Data.Models
{
public class Member
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using V50_IDOMBackOffice.AspxArea.Booking.Controllers;
namespace V50_IDOMBackOffice.AspxArea.Booking.Forms
{
public partial class EmailDetailsView : System.Web.UI.Page
{
... |
using System;
namespace LatihanProsedur
{
class Program
{
static void Main(string[] args)
{
TulisHello();
Tulis("Hello World");
}
static void TulisHello()
{
Console.WriteLine("Hello World!");
}
stati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Docller.Core.Models
{
public class PageableData<T> : List<T>, IPageable
{
private int? _totalPages;
public PageableData()
{
}
pub... |
using IDI.Digiccy.Common.Enums;
using IDI.Digiccy.Domain.Transaction;
using IDI.Digiccy.Models.Transaction;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IDI.Digiccy.Domain.Tests.Transaction
{
[TestClass]
public class MatchMakerUnitTest
{
private Matchmaker maker;
[TestInit... |
using Northwind.Traders.Employees.DataAccess.Wrapper;
using Northwind.Traders.Employees.Infrastructure.IServices;
using Northwind.Traders.Employees.Logging;
using Northwind.Traders.Employees.Model.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tas... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Lecture03.BlogPosts.AspNetMvc.Controllers.ViewModels;
using Lecture03.BlogPosts.EntityFramework.Domain;
namespace Lecture03.BlogPosts.AspNetMvc.Controllers
{
public class Home... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.IO;
namespace PhotographyEvent.Models
{
// Class for Event table
public class Event
{
private int eventId;
public int EventID { get { retu... |
using System;
using DataAccess;
using DataAccess.Repositories;
namespace BusinessLogic
{
public class BusinessLogicOrder
{
private readonly ICartRepository m_cartRepository;
private readonly IOrderRepository m_orderRepository;
public BusinessLogicOrder(ICartRepository iCartRepository,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using WingtipToys.Models;
namespace WingtipToys.ProductService.Data
{
public class WingtipToysProductServiceContext : DbContext
{
public WingtipToysProductServiceContex... |
using System;
namespace Compiler.Exceptions
{
public class OverflowException: Exception
{
public OverflowException(string message) : base(message)
{
Message = message;
}
public OverflowException(int line, int position)
: base($"Constant at line... |
using System;
namespace Sejalan.Framework.Security.Authentication
{
public enum CreateUserResult
{
UserSuccessfullyCreated
//TODO: tobe defined later
}
}
|
using System;
using NLog;
using NLog.Config;
namespace Hz.Infrastructure.Logger
{
public class Nlogger : ILogger
{
private readonly NLog.Logger logger = null;
public Nlogger(string projectName)
{
var layout = "${longdate}|${logger}${newline}${message}${newline}";
... |
// This file is part of LAdotNET.
//
// LAdotNET 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 License, or
// (at your option) any later version.
//
// LAdotNET is distributed in t... |
// RayUtils
// https://github.com/Bugfire
using UnityEditor;
namespace RayStorm
{
static class ScriptExporter
{
#region menu item
[MenuItem ("Plugins/Management/ExportRayProfiler")]
static void ExportRayProfiler ()
{
string _AssetBase = "Assets/Plugins/RayStorm... |
namespace Mall.Infrastructure.DomainCore
{
/// <summary>
/// 标识继承该类的是值对象
/// </summary>
public abstract class ValueObject
{
}
}
|
using DataAccess;
using System;
using System.Collections.Generic;
using System.Text;
namespace Repository
{
public interface IUnitofWork :IDisposable
{
IPurchaseOrderRepository PurchaseOrders { get; }
IOrganisationRepository Organisations { get; }
ILookupRepository Lookups { get; }
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using CronScheduler.Extensions.BackgroundTask;
using CronScheduler.Extensions.Scheduler;
using CronSchedulerApp.Jobs;
using CronSchedulerApp.Models;
using CronSchedulerApp.Services;
using Micro... |
using PrimeNumber.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PrimeNumber.Interface
{
/// <summary>
/// Базовый абстрактный класс. Инкапсулирующий ряд общийх ф-й для проверки на простоту.
/// ... |
namespace ForumSystem.Web.Tests.Controllers.Admin
{
using System.Linq;
using ForumSystem.Web.Areas.Administration.Controllers;
using ForumSystem.Web.ViewModels.Administration.Categories;
using MyTested.AspNetCore.Mvc;
using Shouldly;
using Xunit;
using static ForumSystem.Common.GlobalCon... |
using System;
using System.Xml.Serialization;
namespace Models.DTO
{
[Serializable]
public class ChallengeTask
{
public int Id;
public string Name, Description;
[XmlElement("Category")]
public TaskCategory Category;
[XmlArrayItem(ElementName = "Competence", Type =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.