Beispiel #1
0
        private static void applyTypeComment(ASDocItem doc, MemberModel model)
        {
            if (doc == null || model == null)
            {
                return;
            }

            ASFileParserUtils.ParseTypeDefinitionInto(doc.ApiType, model, true, true);
        }
Beispiel #2
0
        private static void applyTypeCommentToParams(ASDocItem doc, MemberModel model)
        {
            if (doc == null || model == null || model.Parameters == null)
            {
                return;
            }

            foreach (MemberModel param in model.Parameters)
            {
                if (doc.ParamTypes != null && doc.ParamTypes.ContainsKey(param.Name))
                {
                    ASFileParserUtils.ParseTypeDefinitionInto(doc.ParamTypes[param.Name], param, true, true);
                }
            }
        }