public MainWindow()
        {
            InitializeComponent();

            _unistaller = UninstallerFactory.Create();

            _uninstallItems  = _unistaller.GetInstalledSoftware().OrderBy(x => x.Name).ToList();
            _filteredResults = new List <Software>();
            _lookup          = GetDictionary(_uninstallItems);
            _lookupKeyNames  = _lookup.Keys.ToArray();

            ListViewSoftware.ItemsSource = _uninstallItems;
        }
 private IUninstaller Factory()
 {
     return(UninstallerFactory.Create(UninstallEngine.Registry));
 }
Ejemplo n.º 3
0
 IUninstaller Factory()
 {
     return(UninstallerFactory.Create(UninstallEngine.Win32_Product));
 }