private void DoCaptureMode() { if (!CurrentExecutable.Equals(ServiceExecutable) && !keys_AltTab) { //mark captured executable for adding ... LastCapturedExecutable = CurrentExecutable; LastCapturedWindowHandle = CurrentWindowHandle; } }
/// <summary> /// Returns true if HudsonMasterComputerexecutors instances are equal /// </summary> /// <param name="other">Instance of HudsonMasterComputerexecutors to be compared</param> /// <returns>Boolean</returns> public bool Equals(HudsonMasterComputerexecutors other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( CurrentExecutable == other.CurrentExecutable || CurrentExecutable != null && CurrentExecutable.Equals(other.CurrentExecutable) ) && ( Idle == other.Idle || Idle != null && Idle.Equals(other.Idle) ) && ( LikelyStuck == other.LikelyStuck || LikelyStuck != null && LikelyStuck.Equals(other.LikelyStuck) ) && ( Number == other.Number || Number != null && Number.Equals(other.Number) ) && ( Progress == other.Progress || Progress != null && Progress.Equals(other.Progress) ) && ( Class == other.Class || Class != null && Class.Equals(other.Class) )); }