Class FolderViewPresenterBase<Setting, Interface>
public abstract class FolderViewPresenterBase<Setting, Interface> : ServiceMvpSettingBase<Setting, Interface>, INotifyPropertyChanged, IDisplayer, ISetting, IInvokePresenter, IViewPresenter where Setting : class, Interface, new() where Interface : IInvokePresenter
Type Parameters
Setting
Interface
- Inheritance
-
ServiceSettingInstance<Setting, Interface>ServiceMvpSettingBase<Setting, Interface>FolderViewPresenterBase<Setting, Interface>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
FolderViewPresenterBase()
public FolderViewPresenterBase()
Properties
AddFileCommand
public RelayCommand AddFileCommand { get; }
Property Value
Collection
[Browsable(false)]
public ObservableCollection<string> Collection { get; set; }
Property Value
DeleteCommand
public RelayCommand DeleteCommand { get; }
Property Value
Dock
[Display(Name = "停靠方向")]
public Dock Dock { get; set; }
Property Value
Extension
[Display(Name = "扩展类型")]
public string Extension { get; set; }
Property Value
FileFilter
public Predicate<string> FileFilter { get; set; }
Property Value
Folders
[Browsable(false)]
public ObservableCollection<string> Folders { get; set; }
Property Value
OpenCommand
public RelayCommand OpenCommand { get; }
Property Value
SelectedItem
[Browsable(false)]
public string SelectedItem { get; set; }
Property Value
Methods
CreateExtensions()
protected virtual string CreateExtensions()
Returns
CreateFiles()
protected virtual IEnumerable<string> CreateFiles()
Returns
CreateFolders()
protected virtual IEnumerable<string> CreateFolders()
Returns
Invoke(out string)
public override bool Invoke(out string message)
Parameters
message
string