Пример #1
0
 public AsyncOperationInfo(RichProgress progress, int timeout)
     : this(progress, ThreadingUtils.CreateCToken(timeout))
 {
 }
Пример #2
0
 public AsyncOperationInfo(RichProgress progress, CancellationToken?cancellationToken)
 {
     Progress   = progress ?? throw new ArgumentNullException(nameof(progress));
     _userToken = cancellationToken;
 }
Пример #3
0
 public AsyncOperationInfo(RichProgress progress)
     : this(progress, null)
 {
 }