Example #1
0
		/// <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;
			}
		}
Example #2
0
		/// <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);
		}