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

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

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

            hierarchyTypeParameter.Init(typeParameter);
            AddTypeParameterGenericConstraints(hierarchyTypeParameter, typeParameter);
            parent.AddMember(hierarchyTypeParameter);
        }
Example #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);
        }
Example #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);
        }