Book a Demo

Author Topic: C# property code generation  (Read 7170 times)

swells

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Really Penfold!
    • View Profile
C# property code generation
« on: February 02, 2002, 12:38:28 pm »
The code generation for C# properties is not using the standard property code, but instead creating methods.

For a property called MyProperty it should read:

int miMyProp;
Public int MyProperty
{
  get
  {
     return miMyProp;
  }
  set
  {
     miMyProp = value;
  }
}

It would also be 'nice' for the code to be generated as well (after all the modeller does know which attribute is used for the property).
« Last Edit: February 02, 2002, 12:39:05 pm by swells »

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: C# property code generation
« Reply #1 on: February 03, 2002, 03:33:19 am »
Hi,

We are currently updating the code generation in EA and this item is one that has been fixed. A minor update will be released in a week or so with this change plus a lot of others in the code forward and reverse engineering area.

Hope this helps,
Geoff Sparks