Hi Dan,Maurizio
I'm referring to Dan's C# applib representation. I should say that it is
really easy to understand the structure of applib according to the way Dan
has organized the classes. I got one issue while writing HomepageRepr
class[1]. There is a Map for extensions. But in RO specification it is not
clearly defined what could be the content of extensions. "Restful Objects
defines no standard json-properties for "extensions" :- Page B-57. And in
c# applib the content of extensions is filled into the GenericRepr type.
And on the other hand I didn't get the idea of having a class like
GenericRepr [2]. Actually what is the task of this GenericRepr class?

[1]
https://github.com/danhaywood/restfulobjects-wsa/blob/master/RestfulObjects.Applib/RestfulObjects.ApplibPCL/Representations/HomePageRepr.cs
[2]
https://github.com/danhaywood/restfulobjects-wsa/blob/master/RestfulObjects.Applib/RestfulObjects.ApplibPCL/Representations/GenericRepr.cs

-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka

Reply via email to