public AssetExchangeController(INotificationHandler <DomainNotification> notifications, IUser user, IAssetExchangeService assetExchangeService) : base(notifications, user) { _assetExchangeService = assetExchangeService; }
public NxtConnector(IServiceFactory serviceFactory) { accountService = serviceFactory.CreateAccountService(); monetarySystemService = serviceFactory.CreateMonetarySystemService(); assetExchangeService = serviceFactory.CreateAssetExchangeService(); taggedDataService = serviceFactory.CreateTaggedDataService(); }
public GetPollResultTest(IServiceFactory serviceFactory, ILogger logger) { _votingSystemService = serviceFactory.CreateVotingSystemService(); _transactionService = serviceFactory.CreateTransactionService(); _assetExchangeService = serviceFactory.CreateAssetExchangeService(); _monetarySystemService = serviceFactory.CreateMonetarySystemService(); _logger = logger; _getPolls = _votingSystemService.GetPolls(includeFinished: true).Result; }
public AssetExchangeServiceTest(IAssetExchangeService service, ILogger logger) { _service = service; _logger = logger; }