Пример #1
0
 public DefaultWalletService(
     IAddChecksumStrategy addChecksumStrategy,
     IWalletGenerator walletGenerator)
 {
     _addChecksumStrategy = addChecksumStrategy;
     _walletGenerator     = walletGenerator;
 }
 public DefaultAddressService(
     IAddChecksumStrategy addChecksumStrategy,
     IBlacklistedAddressRepository blacklistedAddressRepository,
     IBlockchainService blockchainService,
     ILogFactory logFactory,
     IValidateChecksumStrategy validateChecksumStrategy,
     IWhitelistedAddressRepository whitelistedAddressRepository)
 {
     _addChecksumStrategy          = addChecksumStrategy;
     _blacklistedAddressRepository = blacklistedAddressRepository;
     _blockchainService            = blockchainService;
     _log = logFactory.CreateLog(this);
     _validateChecksumStrategy     = validateChecksumStrategy;
     _whitelistedAddressRepository = whitelistedAddressRepository;
 }
 public DefaultValidateChecksumStrategy(
     IAddChecksumStrategy addChecksumStrategy)
 {
     _addChecksumStrategy = addChecksumStrategy;
 }