internal FeatureCategoryList(ShapefileCategories categories)
 {
     if (categories == null)
     {
         throw new NullReferenceException("Internal categories reference is null.");
     }
     _categories = categories;
 }