private void ParseSummary(XmlNode node, IDocumentationElement doc) { if (node != null) { doc.Summary = new Summary(commentParser.ParseNode(node)); } }
protected void ParseParamSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; var node = member.Xml.SelectSingleNode("param[@name='" + doc.Name + "']"); ParseSummary(node, doc); }
protected void ParseRemarks(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; XmlNode node = member.Xml.SelectSingleNode("remarks"); if (node == null) return; doc.Remarks = new Remarks(_commentParser.ParseNode(node)); }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; XmlNode node = member.Xml.SelectSingleNode("summary"); if (node == null) return; doc.Summary = new Summary(_commentParser.ParseNode(node)); }
protected void ParseExample(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; XmlNode node = member.Xml.SelectSingleNode("example"); if (node == null) return; doc.Example = new MultilineCode(_commentParser.ParseNode(node, new ParseOptions {PreserveWhitespace = true})); }
protected void ParseParamSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; XmlNode node = member.Xml.SelectSingleNode("param[@name='" + doc.Name + "']"); if (node == null) return; doc.Summary = new Summary(_commentParser.ParseNode(node)); }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; var node = member.Xml.SelectSingleNode("summary"); ParseSummary(node, doc); }
protected void ParseValue(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; var node = member.Xml.SelectSingleNode("value"); if (node != null) doc.Value = new Value(commentParser.Parse(node)); }
protected void ParseParamSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("param[@name='" + doc.Name + "']"); ParseSummary(node, doc); }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("summary"); ParseSummary(node, doc); }
protected void ParseExample( IDocumentationMember member, IDocumentationElement doc ) { try { if( member.Xml == null ) return; var node = member.Xml.SelectSingleNode( "example" ); if( node != null ) doc.Example = new MultilineCode( commentParser.ParseNode( node, new ParseOptions { PreserveWhitespace = true } ) ); } catch( Exception ) { } }
protected void ParseRemarks( IDocumentationMember member, IDocumentationElement doc ) { try { if( member.Xml == null ) return; var node = member.Xml.SelectSingleNode( "remarks" ); if( node != null ) doc.Remarks = new Remarks( commentParser.ParseNode( node ) ); } catch( Exception ) { } }
protected void ParseRemarks(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("remarks"); if (node != null) { doc.Remarks = new Remarks(commentParser.ParseNode(node)); } }
protected void ParseValue(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("value"); if (node != null) { doc.Value = new Value(commentParser.ParseNode(node)); } }
protected void ParseParamSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } XmlNode node = member.Xml.SelectSingleNode("param[@name='" + doc.Name + "']"); if (node == null) { return; } doc.Summary = new Summary(_commentParser.ParseNode(node)); }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } XmlNode node = member.Xml.SelectSingleNode("summary"); if (node == null) { return; } doc.Summary = new Summary(_commentParser.ParseNode(node)); }
protected void ParseExample(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("example"); if (node != null) { doc.Example = new MultilineCode(commentParser.ParseNode(node, new ParseOptions { PreserveWhitespace = true })); } }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) return; var node = member.Xml.SelectSingleNode("summary"); //add internal remarks by wsky 20111207 if (node != null) { var remark = node.SelectSingleNode("remarks"); if (remark != null) doc.Remarks = new Remarks(commentParser.ParseNode(remark)); } ParseSummary(node, doc); }
protected void ParseSummary(IDocumentationMember member, IDocumentationElement doc) { if (member.Xml == null) { return; } var node = member.Xml.SelectSingleNode("summary"); //add internal remarks by wsky 20111207 if (node != null) { var remark = node.SelectSingleNode("remarks"); if (remark != null) { doc.Remarks = new Remarks(commentParser.ParseNode(remark)); } } ParseSummary(node, doc); }
public static bool IsDocumented(this IDocumentationElement documentationElement) { return(documentationElement.Summary.Children.Count() > 0); }
private void ParseSummary(XmlNode node, IDocumentationElement doc) { if (node != null) { doc.Summary = new Summary(this.commentParser.ParseNode(node)); } }
private void ParseSummary( XmlNode node, IDocumentationElement doc ) { try { if( node != null ) doc.Summary = new Summary( commentParser.ParseNode( node ) ); } catch( Exception ) { } }