/// <summary> /// Adds standard string attribute. /// </summary> /// <param name="type">Type of attribute.</param> /// <param name="value">Value of attribute</param> /// <returns>Created attribute.</returns> public PersonAttribute AddStandardStringAttribute(PersonAttributeTypes type, string value) { return AddStandardStringAttribute(type.ToString(), value); }
/// <summary> /// Get PersonAttributeType of specific name. /// </summary> /// <param name="type"></param> /// <returns></returns> public static PersonAttributeType GetAttributeType(PersonAttributeTypes type) { return GetAttributeType(type.ToString()); }