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; }
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; }
/// <summary> /// 获取记录日期年度列表 /// </summary> /// <returns></returns> public List <string> GetYearList() { IChance dal = baseDal as IChance; return(dal.GetYearList()); }