Table of Contents

Class FolderViewPresenterBase<Setting, Interface>

Namespace
HeBianGu.Systems.WinTool
Assembly
HeBianGu.Systems.WinTool.dll
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

RelayCommand

Collection

[Browsable(false)]
public ObservableCollection<string> Collection { get; set; }

Property Value

ObservableCollection<string>

DeleteCommand

public RelayCommand DeleteCommand { get; }

Property Value

RelayCommand

Dock

[Display(Name = "停靠方向")]
public Dock Dock { get; set; }

Property Value

Dock

Extension

[Display(Name = "扩展类型")]
public string Extension { get; set; }

Property Value

string

FileFilter

public Predicate<string> FileFilter { get; set; }

Property Value

Predicate<string>

Folders

[Browsable(false)]
public ObservableCollection<string> Folders { get; set; }

Property Value

ObservableCollection<string>

OpenCommand

public RelayCommand OpenCommand { get; }

Property Value

RelayCommand

SelectedItem

[Browsable(false)]
public string SelectedItem { get; set; }

Property Value

string

Methods

CreateExtensions()

protected virtual string CreateExtensions()

Returns

string

CreateFiles()

protected virtual IEnumerable<string> CreateFiles()

Returns

IEnumerable<string>

CreateFolders()

protected virtual IEnumerable<string> CreateFolders()

Returns

IEnumerable<string>

Invoke(out string)

public override bool Invoke(out string message)

Parameters

message string

Returns

bool