/// <summary> /// Gets an element set for specified element type. /// </summary> /// <param name="type"></param> /// <returns></returns> public DocElementSet GetElementSet(DocElementType type) { if (elements.ContainsKey(type)) { return elements[type]; } else { return DocElementSet.Empty; } }
/// <summary> /// Determines whether an element is contained within the documentation block. /// </summary> /// <param name="type"></param> /// <returns></returns> public bool ContainsElement(DocElementType type) { return elements.ContainsKey(type); }