Пример #1
0
 private ListRepresentation(INakedObjectSpecificationSurface[] specs, HttpRequestMessage req, RestControlFlags flags)
     : base(flags) {
     Value = specs.Select(s => CreateDomainLink(req, s)).ToArray();
     SelfRelType = new TypesRelType(RelValues.Self, new UriMtHelper(req));
     SetLinks(req);
     SetExtensions();
     SetHeader(true);
 }