Exposing Constants for All Classes
To expose all constants in all classes included in the C# exposure
-
Right-click on any row in the Classes table and then select the Expose Constants for All Classes command from the popup menu that is displayed.
This command does not automatically add methods to the C# exposure, even if the Show Methods option is checked. (For details, see "Toggling the Display of Methods", later in this chapter.)
All constants in the classes selected on the Select Classes sheet of the wizard are then exposed for inclusion in the C# exposure; that is, each constant check box in the Features pane is checked, indicating that the constants will be generated in the C# class library. Exposed class constants are displayed with a green font.
You can tailor the constant selection by unchecking the check box of any constant that you want to exclude from the exposure.