Constructor
Generates the constructor for a class, structure or record with parameters that initialize the selected members.
Selectable items: type’s members that you want to initialize.
Options:
Constructor Accessibility
Values:
- public (selected by default)
- internal
- protected internal
- protected
- private
Generate properties
Values:
- yes
- no (selected by default)
Example
The screencast below shows how to use the Constructor declare action in Declare Menu.