/// <summary> /// Indicates whether the the inherited parent object is also equal to another object. /// </summary> /// <param name="other">An object to compare with this object.</param> /// <returns><c>true</c> if the current object is equal to the <paramref name="other">other</paramref>; otherwise,, <c>false</c> otherwise.</returns> protected override bool ParentEquals(UANode other) { UAInstance _other = other as UAInstance; if (Object.ReferenceEquals(_other, null)) { return(false); } return(true); }
/// <summary> /// Clones current object to a new one./>. /// </summary> /// <param name="ret">The ret.</param> protected void CloneUAInstance(UAInstance ret) { ret.ParentNodeId = this.ParentNodeId; base.CloneUANode(this); }