Class UserViewPresenter
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
Collection
[Browsable(false)]
public ObservableCollection<IUser> Collection { get; set; }
Property Value
DeleteCommand
[Browsable(false)]
public AuthorityCommand DeleteCommand { get; }
Property Value
EditCommand
[Browsable(false)]
public AuthorityTransactionCommand EditCommand { get; }
Property Value
IsAuthority
[Browsable(false)]
public bool IsAuthority { get; }
Property Value
Repository
[Browsable(false)]
public IUserRespository Repository { get; }
Property Value
Methods
Add(User)
protected virtual Task Add(User u)
Parameters
u
User
Returns
Delete(IUser)
protected virtual Task Delete(IUser u)
Parameters
u
IUser
Returns
GetUsers(Predicate<IUser>)
public IEnumerable<IUser> GetUsers(Predicate<IUser> predicate = null)
Parameters
Returns
Load()
public override void Load()