/// <summary> /// Removes a specific element /// </summary> /// <param name="id">The element to remove</param> public void RemoveElement(WellKnownElement id) { RemoveElement((int)id); }
/// <summary> /// Gets a specific element in this object. /// </summary> /// <param name="id">The identity of the element to look for.</param> /// <returns>The element object</returns> public Element GetElement(WellKnownElement id) { return GetElement((int)id); }
/// <summary> /// Indicates if this object has a specific element. /// </summary> /// <param name="id">The identity of the element to look for.</param> /// <returns><c>true</c> if present, else <c>false</c></returns> public bool HasElement(WellKnownElement id) { return HasElement((int)id); }
/// <summary> /// Adds an element in this object. /// </summary> /// <param name="id">The identity of the element to add.</param> /// <param name="initialValue">The initial value of the element</param> /// <returns>The element object</returns> public Element AddElement(WellKnownElement id, ElementValue initialValue) { return AddElement((int)id, initialValue); }
/// <summary> /// Adds an element in this object. /// </summary> /// <param name="id">The identity of the element to add.</param> /// <param name="initialValue">The initial value of the element</param> /// <returns>The element object</returns> public Element AddElement(WellKnownElement id, ElementValue initialValue) { return(AddElement((int)id, initialValue)); }
/// <summary> /// Gets a specific element in this object. /// </summary> /// <param name="id">The identity of the element to look for.</param> /// <returns>The element object</returns> public Element GetElement(WellKnownElement id) { return(GetElement((int)id)); }
/// <summary> /// Indicates if this object has a specific element. /// </summary> /// <param name="id">The identity of the element to look for.</param> /// <returns><c>true</c> if present, else <c>false</c></returns> public bool HasElement(WellKnownElement id) { return(HasElement((int)id)); }