public LocalRootFolder() : base(string.Empty, null) { using (DataSourceShell shellItem = LocalExplorerFactory.GetPCRootShellItem()) { this.Name = shellItem.DisplayName; this.Icon = shellItem.Icon; } this.IsCheckVisible = false; this.IsExpanded = true; this.IsSelected = true; this.Parent = this; }
public CDRomRootFolder(string jsonPath) : base() { if (jsonPath.IsNullOrEmpty()) { throw new ArgumentNullException(); } using (DataSourceShell shellItem = LocalExplorerFactory.GetPCRootShellItem()) { this.Name = shellItem.DisplayName; this.Icon = shellItem.Icon; } this.JsonPath = jsonPath; this.IsExpanded = true; this.IsSelected = true; this.IsChecked = true; this.Parent = this; }
public CopyBackupRootFolder(string rootFolder, string displayName) : base(string.Empty, null, null) { if (rootFolder.IsNullOrEmpty()) { throw new ArgumentNullException(); } RootFolder = rootFolder; using (DataSourceShell shellItem = LocalExplorerFactory.GetPCRootShellItem()) { this.Name = displayName; this.Icon = shellItem.Icon; } this.IsCheckVisible = false; this.IsExpanded = true; this.IsSelected = true; this.Parent = this; }