Example #1
0
        public LoadWebData_v5 <TKey, TData> LoadDocumentFromWeb(RequestWebData_v5 <TKey> request)
        {
            LoadWebData_v5 <TKey, TData> loadWebData = new LoadWebData_v5 <TKey, TData>(request);

            _LoadDocumentFromWeb(loadWebData);
            return(loadWebData);
        }
Example #2
0
        public LoadWebData_v5 <TKey, TData> Load(RequestWebData_v5 <TKey> request)
        {
            LoadWebData_v5 <TKey, TData> loadWebData = new LoadWebData_v5 <TKey, TData>(request);

            if (request.ReloadFromWeb || request.RefreshDocumentStore || !DocumentExists(loadWebData))
            {
                _LoadDocumentFromWeb(loadWebData);
                SaveDocument(loadWebData);
            }
            LoadDocument(loadWebData);
            return(loadWebData);
        }
Example #3
0
 public LoadWebData_v5(RequestWebData_v5 <TKey> request)
 {
     _request = request;
     _key     = request.Key;
 }