Пример #1
0
 public static ProgressData FinishedWithError(ProgressDataPosition position)
 {
     return(new ProgressData(position, ProgressState.FinishedWithError));
 }
Пример #2
0
 private ProgressData(ProgressDataPosition position, ProgressState state)
 {
     Position = position;
     State    = state;
 }
Пример #3
0
 public static ProgressData InProgress(ProgressDataPosition position)
 {
     return(new ProgressData(position, ProgressState.Busy));
 }