public override int GetHashCode() { unchecked { var hashCode = BridgeUid != null?BridgeUid.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Flag != null ? Flag.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Label != null ? Label.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Properties != null ? Properties.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RepresentationProperty != null ? RepresentationProperty.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThingUid != null ? ThingUid.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThingTypeUid != null ? ThingTypeUid.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Label != null?Label.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (BridgeUid != null ? BridgeUid.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Configuration != null ? Configuration.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Properties != null ? Properties.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Uid != null ? Uid.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThingTypeUid != null ? ThingTypeUid.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Channels != null ? Channels.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Location != null ? Location.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StatusInfo != null ? StatusInfo.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FirmwareStatus != null ? FirmwareStatus.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Editable.GetHashCode(); return(hashCode); } }