/// <summary cref="IEncodeable.IsEqual(IEncodeable)" /> public virtual bool IsEqual(IEncodeable encodeable) { if (Object.ReferenceEquals(this, encodeable)) { return(true); } DataType3 value = encodeable as DataType3; if (value == null) { return(false); } if (!Utils.IsEqual(m_int32Field, value.m_int32Field)) { return(false); } if (!Utils.IsEqual(m_byteField, value.m_byteField)) { return(false); } if (!Utils.IsEqual(m_floatField, value.m_floatField)) { return(false); } return(true); }
/// <summary cref="ICloneable.Clone" /> public virtual object Clone() { DataType3 clone = (DataType3)this.MemberwiseClone(); clone.m_int32Field = (int)Utils.Clone(this.m_int32Field); clone.m_byteField = (byte)Utils.Clone(this.m_byteField); clone.m_floatField = (float)Utils.Clone(this.m_floatField); return(clone); }