Simple Sequence Type could be a class inheriting List<x> ?

Feb 15, 2011 at 4:22 PM

Hi !

Maybe i Wrong, but when i have a such simple xsd type :

<xs:element name="Targets">
      <xs:element name="Target" minOccurs="1" maxOccurs="unbounded" type="Target"/>

The result with xsd2code is :

A class Targets with a unique parameter : public List<Target> Target.

Me, i am more used to this kind of class for my data :
a class Targets define like that : class Targets : List<Target> { }

Is this kind of resultat is possible or could be added in the future ?