.net - returning Abstract Types through REST -
I am trying to create a rest of the service which will return some data which is a collection of abstract classes in which Various implementation classes include
For example.
& lt; RootType & gt; & Lt; DataAttribute & gt; & Lt; / DataAttribute & gt; & Lt; Array & gt; & Lt; ItemofClassA & gt; & Lt; / ItemOfClassA & gt; & Lt; ItemofClassB & gt; & Lt; / ItemOfClassB & gt; & Lt; ItemofClassC> & Lt; / ItemOfClassC> & Lt; / Array & gt; & Lt; / RootType & gt;
I belive I'll need something like this in my definition.
Probably test an indication.
Comments
Post a Comment