Dotfuscator User's Guide
Including Properties

Property inclusion is valid for Pruning only. Property rules are qualified by type rules, so they appear in the rules view as children of type nodes. A property rule will select all properties (in all types matched by the parent type rule) that match your criteria. Supported matching criteria include property name and property attributes. Allowed attribute specifiers are:

Allowed attribute specifiers are:
Copy Code

If the attribute specifier is not set explicitly, then the property attribute will not be used as a matching criterion.

The following example selects all properties starting with "Sample ":

Properties Starting with "Sample":
Copy Code
<property regex="true" name="Sample.*"/>

Property signatures are specified using the signature attribute. A signature specifies the type of the property:

Signature Specifies the Type of Property:
Copy Code
signature=""  <!-- empty signature -->


If the signature is not set explicitly, then the property type will not be used as a matching criterion.

Global properties may be specified by using a special type selector with the name Module:mod_name where mod_name is the name of the module containing the global property.



© 2016 PreEmptive Solutions, LLC. All Rights Reserved.