public RestSnapshot(ActionContextSurface actionContext, HttpRequestMessage req, RestControlFlags flags) : this(actionContext, req, true) { populator = () => { representation = ActionRepresentation.Create(req, actionContext, flags); SetHeaders(); }; }
public RestSnapshot(IOidStrategy oidStrategy, ActionContextFacade actionContext, HttpRequestMessage req, RestControlFlags flags) : this(oidStrategy, actionContext, req, true) { populator = () => { representation = ActionRepresentation.Create(oidStrategy, req, actionContext, flags); SetHeaders(); }; }