Question

est-ROWLEX prend en charge IEnumerable? Parce que quand j'utilise RdfProperty (true) avec string [] il fonctionne correctement, mais quand j'écris IEnumerable type de propriété et retour string [] (qui est coulée implicitement IEnumerable) et il ne fonctionne pas.

Il est bon si enumerables génériques sont pris en charge, non seulement la classe Array.

Exemple:

[RdfProperty(true)]
public IEnumerable< string > TestList
{
   get
   {
      return new string[] { "First", "Second" };
   }
}
Était-ce utile?

La solution

Non. ROWLEX a été écrit pour soutenir .NET1.1. Cependant, ROWLEX est open source, les contributions sont les bienvenues.

EDIT: ROWLEX 2.1 est libéré et Finalité

.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top