Table of Contents

Class UserViewPresenter

Namespace
HeBianGu.Systems.Identity
Assembly
HeBianGu.Systems.Identity.dll
public class UserViewPresenter : WindowComponentViewPresenter<UserViewPresenter, IUserViewPresenter>, INotifyPropertyChanged, IDisplayer, ISetting, ITreeViewItemPresenter, IUserViewPresenter, IWindowComponentViewPresenter, ITreeViewPresenter, IUserViewPresenterOption, IWindowComponentViewPresenterOption, ITreeViewItemPresenterOption, IInvokePresenter, IViewPresenter, IAuthority
Inheritance
UserViewPresenter
Implements
Inherited Members
Extension Methods

Constructors

UserViewPresenter()

public UserViewPresenter()

Properties

AddCommand

[Browsable(false)]
public AuthorityCommand AddCommand { get; }

Property Value

AuthorityCommand

Collection

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

Property Value

ObservableCollection<IUser>

DeleteCommand

[Browsable(false)]
public AuthorityCommand DeleteCommand { get; }

Property Value

AuthorityCommand

EditCommand

[Browsable(false)]
public AuthorityTransactionCommand EditCommand { get; }

Property Value

AuthorityTransactionCommand

IsAuthority

[Browsable(false)]
public bool IsAuthority { get; }

Property Value

bool

Repository

[Browsable(false)]
public IUserRespository Repository { get; }

Property Value

IUserRespository

Methods

Add(User)

protected virtual Task Add(User u)

Parameters

u User

Returns

Task

Delete(IUser)

protected virtual Task Delete(IUser u)

Parameters

u IUser

Returns

Task

GetUsers(Predicate<IUser>)

public IEnumerable<IUser> GetUsers(Predicate<IUser> predicate = null)

Parameters

predicate Predicate<IUser>

Returns

IEnumerable<IUser>

Load()

public override void Load()