Generate properties in C#?

Hi,

I am trying to use the instant generator with a bunch of classes. I would expect the UML attributes to generate C# properties, especially when the attribute is marked with the “<>” stereotype. But the generator generate only fields…
Does anyone know how do we generate C# properties? Is there some documentation explaining the generation in details?
Thank you in advance,

Julien

Hello jletroui,

I guess you haven’t specified the getter/setter in the bottom of the attribute’s specification dialog. Instant Generator will generate the property after specifying getter / setter. If you need any help, please let me know!

Best regards,
Rain

getter_setter.png

Yes, this is it! Thank you.

Julien

It’s really our pleasure Julien :smiley: :smiley: :smiley: