Example #1
0
 /// <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));
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + AppDomainId.GetHashCode();
         hash = hash * 23 + ProcessId.GetHashCode();
         return(hash);
     }
 }
Example #3
0
 string DebugDisplay()
 {
     return($"{ID.ToString()} - {AppDomainId.ToString()} | {m_generatedName}");
 }