public RestSnapshot(INakedObjectSpecificationSurface spec, HttpRequestMessage req, RestControlFlags flags) : this(req, true) { logger.DebugFormat("RestSnapshot:DomainType"); populator = () => { representation = DomainTypeRepresentation.Create(req, spec, flags); SetHeaders(); }; }
public RestSnapshot(IOidStrategy oidStrategy, ITypeFacade spec, HttpRequestMessage req, RestControlFlags flags) : this(oidStrategy, req, true) { logger.DebugFormat("RestSnapshot:DomainType"); populator = () => { representation = DomainTypeRepresentation.Create(oidStrategy, req, spec, flags); SetHeaders(); }; }