C# Class TemplateEngine.Docx.XElementExtensions

Mostrar archivo Open project: UNIT6-open/TemplateEngine.Docx

Public Methods

Method Description
FirstLevelDescendantsAndSelf ( this element, System.Xml.Linq.XName name ) : IEnumerable
FirstLevelDescendantsAndSelf ( this element, System.Xml.Linq.XName name ) : IEnumerable
RemoveContentControl ( this sdt ) : void
ReplaceContentControlWithNewValue ( this sdt, string newValue ) : void
ReplaceNewLinesWithBreaks ( System.Xml.Linq.XElement xElem ) : void
SdtTagName ( this sdt ) : string

Method Details

FirstLevelDescendantsAndSelf() public static method

public static FirstLevelDescendantsAndSelf ( this element, System.Xml.Linq.XName name ) : IEnumerable
element this
name System.Xml.Linq.XName
return IEnumerable

FirstLevelDescendantsAndSelf() public static method

public static FirstLevelDescendantsAndSelf ( this element, System.Xml.Linq.XName name ) : IEnumerable
element this
name System.Xml.Linq.XName
return IEnumerable

RemoveContentControl() public static method

public static RemoveContentControl ( this sdt ) : void
sdt this
return void

ReplaceContentControlWithNewValue() public static method

public static ReplaceContentControlWithNewValue ( this sdt, string newValue ) : void
sdt this
newValue string
return void

ReplaceNewLinesWithBreaks() public static method

public static ReplaceNewLinesWithBreaks ( System.Xml.Linq.XElement xElem ) : void
xElem System.Xml.Linq.XElement
return void

SdtTagName() public static method

public static SdtTagName ( this sdt ) : string
sdt this
return string