Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get PersonAttributeType of specific name.
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static PersonAttributeType GetAttributeType(PersonAttributeTypes type)
 {
     return GetAttributeType(type.ToString());
 }