/// <summary> /// Fetch the value of an element that was returned by <see cref="CreateElement"/>. /// </summary> /// <returns> /// The value that is held by given element. /// </returns> /// <param name='element'> /// Element to fetch the value for. This element was previously created with <see cref="CreateElement"/>. /// </param> /// <param name='resultType'> /// Type of the object to return. Even tough the return type of this method is <see cref="object"/>, /// it is the responsibility of this method to make sure the return value can be /// directly cast to the specified resultType (i.e., it should not need extra conversion through, /// for example, the <see cref="Convert"/> class). /// </param> public abstract object GetValue(Element element, Type resultType);