Author Topic: C# Code Gen of Class Inherited from List<T>  (Read 2862 times)

dgs

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
C# Code Gen of Class Inherited from List<T>
« on: January 03, 2012, 01:44:11 am »
Can't seem to figure out how to generate a source file that correctly inherits from generic list ie: Public class MyClassCollection : List<MyClass> {}. I've imported an example source file, identified where the collection class is bound to the List<> class (Properties->Templates->Bindings) and applied the same approach to a new class in EA, then generated the source - the generated source doesn't have the inheritance qualifier ( : List<MyClass>). I've searched forum topics without finding any posts on this topic. It may be worth noting however that when generating source from the imported example then regenerating source from it results in the desired outcome. Any Ideas? I assume I'm missing something simple yes?

tomsrapper

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: C# Code Gen of Class Inherited from List<T>
« Reply #1 on: October 24, 2018, 09:03:55 pm »
More on...C# List

lauryfriese

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • Candy Crush
Re: C# Code Gen of Class Inherited from List<T>
« Reply #2 on: September 21, 2023, 07:35:14 pm »
Anyone have an idea?