C# Class NArrange.Core.ElementFilter

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

Public Methods

Method 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

Method Description
GetRequiredScope ( IConditionExpression expression ) : ElementAttributeScope

Gets the scope required to evaluate the condition.

Method Details

ElementFilter() public method

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

IsMatch() public method

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