/////////////////////////////////////////////////////////////////////// /// <summary>Adds a new attribute of type numberUnit.</summary> /// <param name="name">attribute name</param> /// <param name="value">attribute value</param> /// <returns>the newly-created GBaseAttribute object</returns> /////////////////////////////////////////////////////////////////////// public GBaseAttribute AddNumberUnitAttribute(string name, NumberUnit value) { return(Add(new GBaseAttribute(name, GBaseAttributeType.NumberUnit, value.ToString()))); }
/////////////////////////////////////////////////////////////////////// /// <summary>Adds a new attribute of type numberUnit.</summary> /// <param name="name">attribute name</param> /// <param name="value">attribute value</param> /// <returns>the newly-created GBaseAttribute object</returns> /////////////////////////////////////////////////////////////////////// public GBaseAttribute AddNumberUnitAttribute(string name, NumberUnit value) { return Add(new GBaseAttribute(name, GBaseAttributeType.NumberUnit, value.ToString())); }