Table of Contents

Class SettingViewPresenter

Namespace
H.Modules.Setting
Assembly
H.Modules.Setting.dll
public class SettingViewPresenter : IocBindable<SettingViewPresenter, ISettingViewPresenter>, INotifyPropertyChanged, ISettingViewPresenter, ITitleable, IIconable
Inheritance
SettingViewPresenter
Implements
Inherited Members
Extension Methods

Constructors

SettingViewPresenter()

public SettingViewPresenter()

Properties

Groups

public ObservableCollection<SettableGroup> Groups { get; set; }

Property Value

ObservableCollection<SettableGroup>

Icon

public string Icon { get; set; }

Property Value

string

SelectedGroup

public SettableGroup SelectedGroup { get; set; }

Property Value

SettableGroup

Title

获取或设置标题。

public string Title { get; set; }

Property Value

string

Methods

Add(params ISettable[])

public void Add(params ISettable[] settings)

Parameters

settings ISettable[]

RefreshSettingData()

public void RefreshSettingData()

Remove(params ISettable[])

public void Remove(params ISettable[] settings)

Parameters

settings ISettable[]

Show(Type)

public Task<bool> Show(Type switchType)

Parameters

switchType Type

Returns

Task<bool>

Show(Type, Action<IDialog>)

public Task<bool> Show(Type switchType, Action<IDialog> builder = null)

Parameters

switchType Type
builder Action<IDialog>

Returns

Task<bool>

SwitchTo(Type)

public void SwitchTo(Type type)

Parameters

type Type

SwitchTo<T>()

public void SwitchTo<T>() where T : ISettable

Type Parameters

T