Beispiel #1
0
 public RestSnapshot(ActionResultContextSurface actionResultContext, HttpRequestMessage req, RestControlFlags flags)
     : this(actionResultContext, req, true)
 {
     populator = () => {
         representation = ActionResultRepresentation.Create(req, actionResultContext, flags);
         SetHeaders();
     };
 }
Beispiel #2
0
 public RestSnapshot(IOidStrategy oidStrategy, ActionResultContextFacade actionResultContext, HttpRequestMessage req, RestControlFlags flags)
     : this(oidStrategy, actionResultContext, req, true)
 {
     populator = () => {
         representation = ActionResultRepresentation.Create(oidStrategy, req, actionResultContext, flags);
         SetHeaders();
     };
 }