C# Класс NArrange.Core.ElementFilter

Class for determining whether or not an element matches filter criteria.
Наследование: IElementFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetRequiredScope ( IConditionExpression expression ) : ElementAttributeScope

Gets the scope required to evaluate the condition.

Описание методов

ElementFilter() публичный Метод

Creates a new ElementFilter.
public ElementFilter ( string conditionExpression ) : NArrange.Core.CodeElements
conditionExpression string The condition expression.
Результат NArrange.Core.CodeElements

IsMatch() публичный Метод

Determines whether or not the specified code element matches the filter criteria.
public IsMatch ( ICodeElement codeElement ) : bool
codeElement ICodeElement Code element to analyze.
Результат bool