public override int GetHashCode() { int hash = 1; if (Topic.Length != 0) { hash ^= Topic.GetHashCode(); } if (MessageFormat.Length != 0) { hash ^= MessageFormat.GetHashCode(); } if (IoType != global::Ubii.Devices.Component.Types.IOType.Publisher) { hash ^= IoType.GetHashCode(); } if (DeviceId.Length != 0) { hash ^= DeviceId.GetHashCode(); } hash ^= tags_.GetHashCode(); if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Topic.Length != 0) { hash ^= Topic.GetHashCode(); } if (MessageFormat.Length != 0) { hash ^= MessageFormat.GetHashCode(); } if (IoType != 0) { hash ^= IoType.GetHashCode(); } if (DeviceId.Length != 0) { hash ^= DeviceId.GetHashCode(); } hash ^= tags_.GetHashCode(); if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }