C# Class newtelligence.DasBlog.Web.Core.MatchedTag

Represents a matched tag.
Exibir arquivo Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
FilterAttributes ( ValidTag validTag ) : void

Filters the attributes in the current tag.

MatchedTag ( Match m, bool isValid ) : System

Initializes a new instance of the MatchedTag class.

MatchedTag ( Match m, bool isValid, bool needsClosing ) : System

Initializes a new instance of the MatchedTag class.

ToString ( ) : string

Returns a T:System.String that represents the current captured tag.

Method Details

FilterAttributes() public method

Filters the attributes in the current tag.
public FilterAttributes ( ValidTag validTag ) : void
validTag ValidTag The valid tag, which specifies which attributes are valid.
return void

MatchedTag() public method

Initializes a new instance of the MatchedTag class.
public MatchedTag ( Match m, bool isValid ) : System
m System.Text.RegularExpressions.Match The match.
isValid bool A valid tag if set to .
return System

MatchedTag() public method

Initializes a new instance of the MatchedTag class.
public MatchedTag ( Match m, bool isValid, bool needsClosing ) : System
m System.Text.RegularExpressions.Match The match.
isValid bool A valid tag if set to .
needsClosing bool The tag needs to be self-closed before rendering.
return System

ToString() public method

Returns a T:System.String that represents the current captured tag.
public ToString ( ) : string
return string