private UserCategoryTreeViewItemViewModel(Authentication authentication, UserCategoryDescriptor descriptor, object owner) : base(authentication, descriptor, owner) { this.DeleteCommand = new DelegateCommand(async item => await this.DeleteAsync(), item => this.CanDelete); }
protected override UserCategoryTreeItemBase CreateInstance(Authentication authentication, UserCategoryDescriptor descriptor, object owner) { return(new UserCategoryTreeViewItemViewModel(authentication, descriptor, owner)); }
internal UserCategoryTreeViewItemViewModel(Authentication authentication, UserCategoryDescriptor descriptor, object owner) : base(authentication, descriptor, owner) { }