Example #1
0
        public LoadWebData_v3 <T> LoadDocumentFromWeb(RequestWebData_v3 request)
        {
            LoadWebData_v3 <T> loadWebData = new LoadWebData_v3 <T>(request);

            _LoadDocumentFromWeb(loadWebData);
            return(loadWebData);
        }
Example #2
0
        public LoadWebData_v3 <T> Load(RequestWebData_v3 request)
        {
            LoadWebData_v3 <T> loadWebData = new LoadWebData_v3 <T>(request);

            if (request.ReloadFromWeb || request.RefreshDocumentStore || !DocumentExists(loadWebData))
            {
                _LoadDocumentFromWeb(loadWebData);
                SaveDocument(loadWebData);
            }
            LoadDocument(loadWebData);
            return(loadWebData);
        }
Example #3
0
 public LoadWebData_v3(RequestWebData_v3 request)
 {
     _request = request;
     _key     = request.Key;
 }