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 MonetarySystemServiceTest(ILogger logger, IMonetarySystemService service) { _logger = logger; _service = service; }