BaseFilteredAspect Class

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


BaseFilteredAspect = public class(Attribute, IAspectFilter, IBaseAspect)

Base class for filtered aspects; Uses regular expressions to Include or Exclude; When both are set, this excludes the members selected by the Includes. The string that the compiler uses for comparison depends on the element type:

Note: When using filters, make sure the filter validates on the Type too, when using the AutoInjectAspectAttribute, else the attribute will be skipped.

Namespace: Cirrus


Members

Method
Description
constructorconstructor
LoadRegex(re)Load the internal regular expression objects
ShouldProcessMember(aMember: IElementDefinition): BooleanRegular expression filter method


Properties

Property
Description
Exclude: array of StringArray of members to exclude; This list is checked after the Include list (if any), all members are checked if they match all conditions in this list.
Include: array of StringArray of members to include; This list is checked first; if it has more than 0 members it will only process items that match any of the regex strings in the array.


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox