예제 #1
0
 public static bool CanReset(this ActivityStatus status)
 {
     return(status.IsFinished());
 }
예제 #2
0
 public static bool CanStop(this ActivityStatus status)
 {
     return(!status.IsFinished());
 }