Example #1
0
        public String GetSectionType(DoxSectionType type)
        {
            switch (type)
            {
                case DoxSectionType.Class:
                    return "document";
                case DoxSectionType.Field:
                    return "field";
                case DoxSectionType.Property:
                    return "property";
                case DoxSectionType.Method:
                    return "method";
                case DoxSectionType.Database:
                    return "database";
                case DoxSectionType.Table:
                    return "table";
                case DoxSectionType.View:
                    return "view";
                case DoxSectionType.StoredProcedure:
                    return "stored-procedure";
                case DoxSectionType.Column:
                    return "column";

                default:
                    return "text";
            }
        }
Example #2
0
 private void AddSearchItem(DoxSectionType type, string name, string desc)
 {
     SearchItems.Add(new DoxSearchItem { SectionType = type, SectionName = name, SectionDescription = desc });
 }