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