Beispiel #1
0
 internal Item_Category(XsdNs.CategoryType el) : base(XNeut.Helper.TypeUri_Category)
 {
     Value = el.value;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor. Use this to instantiate an item from XML (data record field).
 /// </summary>
 /// <param name="el">XML data.</param>
 /// <exception cref="ArgumentException">Thrown if the category value contains a space. Only use spaces in human-readable text, not anything that indicates a reference to a category.</exception>
 internal Item_Category(XsdNs.CategoryType el) : this(el.value)
 {
     // Empty ctor body (another local ctor called)
 }