Ejemplo n.º 1
0
        public void LoadAppsIntoView(string srcPath, Action <List <ApplicationInfo> > action = null)
        {
            IsWorking = true;
            var parser = new ApplicationInfoParser();
            var param  = new LoadAppsIntoViewParam();

            param.srcPath   = srcPath;
            param.action    = action;
            param.parser    = parser;
            param.ViewModel = ViewModel;
            _loadAppsThread = new Thread(LoadAppsIntoViewThread);
            _loadAppsThread.Start(param);
        }
Ejemplo n.º 2
0
 public void LoadAppsIntoView(string srcPath, Action<List<ApplicationInfo>> action = null)
 {
     IsWorking = true;
     var parser = new ApplicationInfoParser();
     var param = new LoadAppsIntoViewParam();
     param.srcPath = srcPath;
     param.action = action;
     param.parser = parser;
     param.ViewModel = ViewModel;
     _loadAppsThread = new Thread(LoadAppsIntoViewThread);
     _loadAppsThread.Start(param);
 }