private ListRepresentation(IOidStrategy oidStrategy, ITypeFacade[] specs, HttpRequestMessage req, RestControlFlags flags) : base(oidStrategy, flags) { Value = specs.Select(s => CreateDomainLink(oidStrategy, req, s)).ToArray(); SelfRelType = new TypesRelType(RelValues.Self, new UriMtHelper(oidStrategy, req)); SetLinks(req); SetExtensions(); SetHeader(true); }
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); }