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