Пример #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)
 {
 }