Home

Generate constructor with readonly or get/set properties

Hi!

Should be useful to allow to create from the constructor the properties readonly or get/set, selecting it from the menu, other than fields.

Thank you Joe.

Comments

  • Thanks - that's probably worth adding. For now, you can accomplish something similar by instantiating a type without a matching constructor existing. You'll then see options to generate a constructor backed by fields or properties:

    Here's the result when you choose Properties:

Sign In or Register to comment.