public override void Initialize() { base.Initialize(); this._Parent = new Folder(); this._Childs = new Folders(); this._CategoryType = FolderCategoryType.OutOfValue; this._Items = new FolderItems(); this._CoUIs = new UserInterfaces(); this._Accessrights = new FolderAccessrights(); }
public FolderCategoryViewModel(FolderCategoryType type) { Type = type; switch (type) { case FolderCategoryType.Password: CategoryName = Application.Current.Resources["NavPasswords"].ToString(); break; case FolderCategoryType.DigitalWallet: CategoryName = Application.Current.Resources["NavDigitalWallet"].ToString(); break; case FolderCategoryType.PersonalInfo: CategoryName = Application.Current.Resources["NavPersonalInfo"].ToString(); break; case FolderCategoryType.SecureNotes: CategoryName = Application.Current.Resources["NavSecureNotes"].ToString(); break; } Items = new List <ISecureItemVM>(); }