Пример #1
0
 public EthplorerTokenInfoProvider(
     IRetrier retrier,
     EthplorerApi api)
 {
     _retrier = retrier;
     _api     = api;
 }
Пример #2
0
 public EthGateway(
     IRetrier retrier,
     Web3 web3)
 {
     _retrier = retrier;
     _web3    = web3;
 }
Пример #3
0
 public EventsFetcher(
     IRetrier retrier,
     Event <TEventDto> @event)
 {
     _retrier = retrier;
     _event   = @event;
 }
Пример #4
0
        public void Before()
        {
            Fake.InitializeFixture(this);
            A.CallTo(() => this.retryTimerFactory.Create(A<TimeSpan>._)).Returns(this.retryTimer);

            this.retrier = retrierSut;
        }
 public RetryBehaviour(IRetrier <TRequest> retrier = null)
 {
     if (retrier != null)
     {
         policy = retrier.GetRetryPolicy();
     }
 }
Пример #6
0
 public DSErc20Gateway(
     IRetrier retrier,
     string address,
     Func <string, DSErc20Service> dsErc20ServiceFactory)
 {
     _retrier        = retrier;
     _dsErc20Service = dsErc20ServiceFactory(address);
 }
Пример #7
0
 public ExchangeServiceEventsFetcherFactory(
     string address,
     Func <string, ExchangeService> exchangeServiceFactory,
     IRetrier retrier)
 {
     _exchangeService = exchangeServiceFactory(address);
     _retrier         = retrier;
 }
Пример #8
0
 public Erc20Gateway(
     IRetrier retrier,
     string address,
     Func <string, Erc20Service> erc20ServiceFactory)
 {
     _retrier      = retrier;
     _erc20Service = erc20ServiceFactory(address);
 }
 public ExchangeGateway(
     IRetrier retrier,
     string contractAddress,
     Func <string, ExchangeService> exchangeServiceFactory)
 {
     _retrier         = retrier;
     _exchangeService = exchangeServiceFactory(contractAddress);
 }
 internal WindowRelativeMouse(IntPtr parenthWnd, IntPtr hWnd, IMouse mouse, INativeMethodWrapper nativeMethodWrapper, IRetrier retry, Settings settings = null)
 {
     this.parenthWnd = parenthWnd;
     this.hWnd = hWnd;
     this.absoluteMouse = mouse;
     this.nativeMethodWrapper = nativeMethodWrapper;
     this.retry = retry;
     this.settings = settings ?? new Settings();
 }
Пример #11
0
 public TaskRunner(IAmazonECS ecs, IAmazonEC2 ec2, IRetrier retrier)
 {
     _ecs     = ecs;
     _ec2     = ec2;
     _retrier = retrier;
 }