public void PerformRetrieval(out string outputPath, ProgressDialogWorkingOn dlg)
        {
            CheckDisposed();

            string sPrompt = XmlUtils.GetOptionalAttributeValue(m_retrieverNode, "progressPrompt");

            if (sPrompt != null)
            {
                UpdateProgress(sPrompt, dlg);
            }

            outputPath = Path.Combine(m_outputDirectory, Cache.ProjectId.Name + "RetrieverResult.xml");
            m_retriever.Retrieve(outputPath, Cache.LanguageProject);
        }
        public ActionResult Index()
        {
            var data = _dataRetriever.Retrieve();

            return(View((object)data));
        }
        private IEnumerable <Policy> GetRemotePolicys()
        {
            var context = _dataRetriever.Retrieve();

            return(context.policies.Select(r => _mapper.Map(r)));
        }
Beispiel #4
0
        private IEnumerable <Client> GetRemoteClients()
        {
            var context = _dataRetriever.Retrieve();

            return(context.clients.Select(r => _mapper.Map(r)));
        }