예제 #1
0
 public bool Equals(RunningProcess other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.Id == Id);
 }
예제 #2
0
 public bool Equals(RunningProcess other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Id == Id;
 }
예제 #3
0
 public bool IsAlive(RunningProcess aProcess, int timeOutInMilliseconds)
 {
     var nktProcess = NktProcessFrom(aProcess);
     if (nktProcess == null) return false;
     return nktProcess.get_IsActive(timeOutInMilliseconds);
 }