C# Class TemplNET.TemplMatchText

Represents a paragraph, located by matching a placeholder string in the scope of this Paragraph
Inheritance: TemplMatchPara
显示文件 Open project: CPonty/templ-dot-net

Public Methods

Method Description
Find ( TemplRegex rxp, IEnumerable paragraphs, uint maxPerParagraph = TemplConst.MaxMatchesPerScope ) : IEnumerable
Find ( TemplRegex rxp, Paragraph p ) : IEnumerable
ToPicture ( TemplGraphic g, int w ) : TemplMatchText
ToPictures ( ICollection g, int w ) : TemplMatchText
ToPictures ( TemplGraphic g, int w ) : TemplMatchText
ToText ( string text ) : TemplMatchText

Method Details

Find() public static method

public static Find ( TemplRegex rxp, IEnumerable paragraphs, uint maxPerParagraph = TemplConst.MaxMatchesPerScope ) : IEnumerable
rxp TemplRegex
paragraphs IEnumerable
maxPerParagraph uint
return IEnumerable

Find() public static method

public static Find ( TemplRegex rxp, Paragraph p ) : IEnumerable
rxp TemplRegex
p Novacode.Paragraph
return IEnumerable

ToPicture() public method

public ToPicture ( TemplGraphic g, int w ) : TemplMatchText
g TemplGraphic
w int
return TemplMatchText

ToPictures() public method

public ToPictures ( ICollection g, int w ) : TemplMatchText
g ICollection
w int
return TemplMatchText

ToPictures() public method

public ToPictures ( TemplGraphic g, int w ) : TemplMatchText
g TemplGraphic
w int
return TemplMatchText

ToText() public method

public ToText ( string text ) : TemplMatchText
text string
return TemplMatchText