internal RunControlAttemptSuccess(IRunControlAttemptProperties props, TimeSpan duration, bool isMaster) : base(props: props) { if (duration < TimeSpan.Zero) { throw new ArgumentOutOfRangeException(paramName: nameof(duration)); } // Duration = duration; IsMaster = isMaster; }
protected RunControlAttemptPropertiesBase(IRunControlAttemptProperties props) : this(runControl: props.EnsureNotNull(nameof(props)).Value.RunControl, isStart: props.IsStart, attemptNumber: props.AttemptNumber, succeededAttemptCountBefore: props.SucceededAttemptCountBefore, correlationId: props.CorrelationId, tag: props.Tag) { }