|Dotfuscator > References > Configuration File Reference > Custom Rules Reference > Inclusion Rules > Including Events|
Event inclusion is valid for Pruning only. Event rules are qualified by type rules, so they appear in the rules view as children of type nodes. An event rule will select all events (in all types matched by the parent type rule) that match your criteria. Supported matching criteria include event name and event attributes. Allowed attribute specifiers are:
|Allowed attribute specifiers are:||
public private static assembly family familyandassembly familyorassembly
If the attribute specifier is not set explicitly, then the event attribute will not be used as a matching criterion.
The following example selects all events starting with "
|Events Starting with "On":||
<event regex="true" name="On.*"/>
Global events may be specified by using a special type selector with the name
mod_name is the name of the module containing the global event.