void SelectDllFromUsingAssemblyName() { if (_selectedDll != null) { return; } if (_assemblyName == null) { return; } if (!_assemblyName.StartsWith("GAC") && !File.Exists(_assemblyName)) { return; } var dll = new FileInfo(_assemblyName); if (dll.Extension != ".dll") { return; } var fileListing = new FileListing { Name = dll.Name, FullName = dll.FullName }; _selectedDll = new DllListingModel(_updateManager, fileListing); }
public DllListing(IDllListingModel selectedDll) { Name = selectedDll.Name; FullName = selectedDll.FullName; IsDirectory = selectedDll.IsDirectory; ClsId = selectedDll?.ClsId; Is32Bit = selectedDll?.Is32Bit ?? false; }