Пример #1
0
        public TlbImpCategoryManager()
        {
            ICategory typeCategory = TypeCategory.GetInstance();

            RegisterCategory(typeCategory.GetCategoryName(), typeCategory);
            ICategory functionCategory = FunctionCategory.GetInstance();

            RegisterCategory(functionCategory.GetCategoryName(), functionCategory);
            ICategory signatureCategory = SignatureCategory.GetInstance();

            RegisterCategory(signatureCategory.GetCategoryName(), signatureCategory);
            ICategory fieldCategory = FieldCategory.GetInstance();

            RegisterCategory(fieldCategory.GetCategoryName(), fieldCategory);
        }
Пример #2
0
 public ICategory GetCategory()
 {
     return(FieldCategory.GetInstance());
 }