Smart Constructor generates constructors that initialize properties contained in the current class. An XML documentation stub is generated as well.
To execute the Smart Constructor, simply type "cc" and press Space. After this, CodeRush Classic will suggest the list of members to be initialized in the constructor. Check the desired members and press ENTER. The checkbox at the top of the member list enables you to select/deselect all list members in a single click.
Smart Constructor provides some additional functions, disabled by default. They are:
Generate public fields initializers of the base class.
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.