Esempio n. 1
0
        protected virtual void Process(HierarchyObject parent, ApiImplements implements)
        {
            var hierarchyImplements = CreateHierarchyElementInternal <HierarchyImplements> (parent);

            hierarchyImplements.Init(implements);
            parent.AddMember(hierarchyImplements);
        }
Esempio n. 2
0
        protected virtual void Process(HierarchyObject parent, ApiField field)
        {
            var hierarchyField = CreateHierarchyElementInternal <HierarchyField> (parent);

            hierarchyField.Init(field);
            AddLocationComment(field, hierarchyField);
            parent.AddMember(hierarchyField);
        }
Esempio n. 3
0
        protected virtual void Process(HierarchyObject parent, ApiTypeParameter typeParameter)
        {
            var hierarchyTypeParameter = CreateHierarchyElementInternal <HierarchyTypeParameter> (parent);

            hierarchyTypeParameter.Init(typeParameter);
            AddTypeParameterGenericConstraints(hierarchyTypeParameter, typeParameter);
            parent.AddMember(hierarchyTypeParameter);
        }
Esempio n. 4
0
        protected virtual void Process(HierarchyObject parent, ApiConstructor constructor)
        {
            var hierarchyConstructor = CreateHierarchyElementInternal <HierarchyConstructor> (parent);

            hierarchyConstructor.Init(constructor);
            AddLocationComment(constructor, hierarchyConstructor);
            AddMethodMembers(hierarchyConstructor, constructor);
            parent.AddMember(hierarchyConstructor);
        }
Esempio n. 5
0
        protected virtual void Process(HierarchyObject parent, ApiMethod method)
        {
            var hierarchyMethod = CreateHierarchyElementInternal <HierarchyMethod> (parent);

            hierarchyMethod.Init(method);
            AddLocationComment(method, hierarchyMethod);
            AddMethodMembers(hierarchyMethod, method);
            parent.AddMember(hierarchyMethod);
        }