コード例 #1
0
        protected virtual void Process(HierarchyMethod parent, ApiMethodParameter parameter)
        {
            var hierarchyMethodParameter = CreateHierarchyElementInternal <HierarchyMethodParameter> (parent);

            hierarchyMethodParameter.Init(parameter);
            parent.AddMember(hierarchyMethodParameter);
        }
コード例 #2
0
        protected virtual void Process(HierarchyMethod parent, ApiException exception)
        {
            var hierarchyException = CreateHierarchyElementInternal <HierarchyException> (parent);

            hierarchyException.Init(exception);
            parent.AddMember(hierarchyException);
        }
コード例 #3
0
        protected virtual void Process(HierarchyMethod parent, ApiTypeParameter typeParameter)
        {
            var hierarchyTypeParameter = CreateHierarchyElementInternal <HierarchyTypeParameter> (parent);

            hierarchyTypeParameter.Init(typeParameter);
            AddTypeParameterGenericConstraints(hierarchyTypeParameter, typeParameter);
            parent.AddMember(hierarchyTypeParameter);
        }