public void Serialize(Stream stream)
 {
     ProcessId.Serialize(stream, this);
 }
 public void Deserialize(Stream stream)
 {
     ProcessId.Deserialize(stream, this);
 }
 public static ProcessId Deserialize(Stream stream, ProcessId instance)
 {
     return(ProcessId.Deserialize(stream, instance, -1L));
 }
        public override bool Equals(object obj)
        {
            ProcessId processId = obj as ProcessId;

            return(processId != null && this.Label.Equals(processId.Label) && this.Epoch.Equals(processId.Epoch));
        }