private bool Equals(ElementBase other)
 {
     return(this.EqualTo(other));
 }
 /// <summary>
 /// Appends an element to the end of this component.
 /// To be able to retrieve by type, consider using a <see cref="Container"/>.
 /// For registering an element with a component, you wil need to remember the index.
 /// </summary>
 /// <returns>Index of element</returns>
 protected virtual int Append(ElementBase element)
 {
     VerifyFieldsRegistered();
     m_Elements.Add(element);
     return(m_Elements.Count - 1);
 }