SmartAssembly 8

Adding other optimizations

Sealing classes which are not inherited

SmartAssembly can seal classes that are not inherited.

To seal classes that are not inherited, in the Project Settings window, go to Other Optimizations or click the icon in the toolbar.

Select I want to automatically seal classes whenever possible.

To exclude a particular class from automatic sealing, use the [DoNotSealType] attribute. For more information, see Using custom attributes.

When either of the 'Other Optimizations' options are enabled, the coloured bars under the toolbar icon and to the left of the feature options are green. If both of them are disabled, the bars are orange.


Didn't find what you were looking for?