public RunningTaskState( ITaskRunInvoker invoker, ITaskStateToggle stateToggle) { _TaskInvoker = invoker; _StateToggle = stateToggle; }
public RunningTaskOpenState( ITaskRunInvoker invoker, ITaskStateToggle stateToggle, TimeSpan resetTimeout) : base(invoker, stateToggle) { _ReTimeOut = resetTimeout; }
public RunningTaskHalfOpenState( ITaskRunInvoker invoker, ITaskStateToggle stateToggle, TimeSpan timeout) : base(invoker, stateToggle) { _TimeOut = timeout; }
public RunningTaskCloseState( ITaskRunInvoker invoker, ITaskStateToggle stateToggle, FailureRetrySeverity failureSeverity, TimeSpan timeout) : base(invoker, stateToggle) { _TimeOut = timeout; _FailureRetrySeverity = failureSeverity; }