public SetStatus ( StepStatus status ) : void | ||
status | StepStatus | |
Результат | void |
/// <summary> /// /// </summary> /// <remarks></remarks> /// <seealso cref=""/> /// <param name="index"></param> public void SetCurrent(int index) { currentStepInfo = StepInfos.ElementAt(index); currentStepInfo.SetStatus(StepStatus.inProgress); for (int i = index + 1; i < StepInfos.Count(); i++) { StepInfos.ElementAt(i).SetStatus(StepStatus.none); } }
/// <summary> /// /// </summary> /// <remarks></remarks> /// <seealso cref=""/> /// <param name="index"></param> public void SetCurrent(int index) { currentStepInfo = StepInfos.ElementAt(index); currentStepInfo.SetStatus(StepStatus.inProgress); for (int i = index + 1; i < StepInfos.Count(); i++) { StepInfos.ElementAt(i).SetStatus(StepStatus.none); } }
/// <summary> /// /// </summary> /// <remarks></remarks> /// <seealso cref=""/> /// <param name="stepInfo"></param> public void SetCurrent(StepInfo stepInfo) { currentStepInfo = stepInfo; currentStepInfo.SetStatus(StepStatus.inProgress); }
/// <summary> /// /// </summary> /// <remarks></remarks> /// <seealso cref=""/> /// <param name="stepInfo"></param> public void SetCurrent(StepInfo stepInfo) { currentStepInfo = stepInfo; currentStepInfo.SetStatus(StepStatus.inProgress); }