Exemple #1
0
 /**
  * Convenience method to remove the first occurence of the MapAttributeType from the attributeTypes list. Null parameters are not allowed.
  * If the list is null, just return false.
  *
  *
  * @return True if removed. False otherwise
  * @param attributeType The MapAttributeType to remove from the attributeTypes list
  * @throws ArgumentNullException If attributeType is null
  */
 public bool RemoveAttributeType(MapAttributeType attributeType)
 {
     return(attributeTypes.Remove(attributeType));
 }
Exemple #2
0
 /**
  * Convenience method to add a MapAttributeType to the attributeTypes list. Null parameters are not allowed.
  * If the list is null, just create a new instance and add to it.
  *
  *
  * @param attributeType The MapAttributeType to add to the attributeTypes list
  * @throws ArgumentNullException If attributeType is null
  */
 public void AddAttributeType(MapAttributeType attributeType)
 {
     attributeTypes.Add(attributeType);
 }