/// <summary> /// Determines whether [is message originator]. /// </summary> /// <returns></returns> public bool IsMessageOriginator( ) { return (MachineName.Equals(Identity.MachineName, StringComparison.InvariantCultureIgnoreCase) && ProcessId.Equals(Identity.ProcessId) && AppDomainId.Equals(Identity.AppDomainId)); }
public override int GetHashCode() { unchecked { var hash = 17; hash = hash * 23 + AppDomainId.GetHashCode(); hash = hash * 23 + ProcessId.GetHashCode(); return(hash); } }
string DebugDisplay() { return($"{ID.ToString()} - {AppDomainId.ToString()} | {m_generatedName}"); }