コード例 #1
0
 public ChaoticDelegatingHandler(IChance chance, IHandlerSettings handlerSettings, IChaoticResponseFactory responseFactory, IRandomDelay randomDelay, IChaosIntervalTimer chaosTimer)
 {
     this.chance = chance;
     this.handlerSettings = handlerSettings;
     this.randomDelay = randomDelay;
     this.chaosTimer = chaosTimer;
     chaoticResponseFactory = responseFactory;
 }
コード例 #2
0
 public ChaoticDelegatingHandler(IChance chance, IHandlerSettings handlerSettings,
                                 IChaoticResponseFactory responseFactory, IRandomDelay randomDelay, IChaosIntervalTimer chaosTimer,
                                 IResponseFiddler responseFiddler)
 {
     _chance                 = chance;
     _handlerSettings        = handlerSettings;
     _randomDelay            = randomDelay;
     _chaosTimer             = chaosTimer;
     _responseFiddler        = responseFiddler;
     _chaoticResponseFactory = responseFactory;
 }