C# Class NArrange.Core.ElementFilter

Class for determining whether or not an element matches filter criteria.
Inheritance: IElementFilter
Afficher le fichier Open project: MarcStan/NArrange Class Usage Examples

Méthodes publiques

Méthode Description
ElementFilter ( string conditionExpression ) : NArrange.Core.CodeElements

Creates a new ElementFilter.

IsMatch ( ICodeElement codeElement ) : bool

Determines whether or not the specified code element matches the filter criteria.

Private Methods

Méthode Description
GetRequiredScope ( IConditionExpression expression ) : ElementAttributeScope

Gets the scope required to evaluate the condition.

Method Details

ElementFilter() public méthode

Creates a new ElementFilter.
public ElementFilter ( string conditionExpression ) : NArrange.Core.CodeElements
conditionExpression string The condition expression.
Résultat NArrange.Core.CodeElements

IsMatch() public méthode

Determines whether or not the specified code element matches the filter criteria.
public IsMatch ( ICodeElement codeElement ) : bool
codeElement ICodeElement Code element to analyze.
Résultat bool