Пример #1
0
 public void Setup()
 {
     this.currency = new Currency {
         Name = "ValidCurrency", Abbreviation = "VC"
     };
     this.currencyRepository = A.Fake <IRepositoryCurrency>();
     this.currencyService    = new CurrencyServices(this.currencyRepository);
 }
Пример #2
0
 public AccountController(
     IUserManager <User> userManager,
     ISignInManager <User> signInManager,
     IMemoryCache memoryCache,
     IUserServices userServices,
     ICurrencyServices currencyServices)
 {
     this.userManager      = userManager;
     this.signinManager    = signInManager;
     this.memoryCache      = memoryCache;
     this.currencyServices = currencyServices;
     this.userServices     = userServices;
 }
Пример #3
0
 public CurrenciesController(ICurrencyServices entityServices, IRepository <Currency> entityRepository)
 {
     _entityServices   = entityServices;
     _entityRepository = entityRepository;
 }
Пример #4
0
 public CurrencyController(ICurrencyServices currencyServices)
 {
     this._currencyServices = currencyServices;
 }
Пример #5
0
 public UnitTest1(ICurrencyServices service)
 {
     _service = service;
 }
Пример #6
0
 public CurrencyController(ICurrencyServices currencyServices, IErrorServices errorServices)
 {
     this.currencyServices = currencyServices;
     this.errorServices    = errorServices;
 }
 public QueueTests()
 {
     this._contextFactory   = new InMemoryQueueContextFactory();
     this._currencyServices = new CurrencyServices(this._contextFactory);
 }
Пример #8
0
 public TransactionApiController(ITransactionServices transactionServices, IPairServices pairServices, ICurrencyServices currencyServices)
 {
     _transactionServices = transactionServices;
     _currencyServices    = currencyServices;
     _pairServices        = pairServices;
 }
Пример #9
0
 public CurrencyController(ICurrencyServices services)
 {
     _services = services;
 }