AjaxControlToolkit.Reference.Core.Parsing.DocParser.FillInfo C# (CSharp) Method

FillInfo() public method

public FillInfo ( MethodDoc info, IEnumerable values, ContentType contentType ) : void
info MethodDoc
values IEnumerable
contentType ContentType
return void
        public void FillInfo(MethodDoc info, IEnumerable<XElement> values, ContentType contentType)
        {
            GetSummaryAndRemarks(info, values, contentType);
            var parameters = values.Where(el => el.Name == ParamTagName);

            foreach(var param in parameters) {
                var name = param.Attribute("name").Value;
                var typeName = param.Attribute("type") != null ? param.Attribute("type").Value : null;
                var description = CleanSpaces(param.Value, true);
                info.AddParam(name, typeName, description);
            }
        }

Same methods

DocParser::FillInfo ( ClientEventDoc info, IEnumerable values, ContentType contentType ) : void
DocParser::FillInfo ( ClientPropertyDoc info, IEnumerable values, ContentType contentType ) : void
DocParser::FillInfo ( EventDoc info, IEnumerable values, ContentType contentType ) : void
DocParser::FillInfo ( PropertyDoc info, IEnumerable values, ContentType contentType ) : void
DocParser::FillInfo ( TypeDoc info, IEnumerable values, ContentType contentType ) : void