public RestSnapshot(IOidStrategy oidStrategy, HttpRequestMessage req, RestControlFlags flags)
     : this(oidStrategy, req, true)
 {
     populator = () => {
         Representation = HomePageRepresentation.Create(oidStrategy, req, flags);
         SetHeaders();
     };
 }
Example #2
0
        public RestSnapshot(HttpRequestMessage req, RestControlFlags flags)
            : this(req, true)
        {
            logger.DebugFormat("RestSnapshot:Home");

            populator = () => {
                representation = HomePageRepresentation.Create(req, flags);
                SetHeaders();
            };
        }