internal void OnDeserializedMethod(StreamingContext context) { AddDirectoryCommand = new AddDirectoryCommand(); AddImageCommand = new AddImageCommand(); AddPasswordsCommand = new AddPasswordsCommand(); RenameCommand = new RenameCommand(); DeleteChildCommand = new DeleteCommand(this.Items); SwitchView = new SwitchViewCommand(); }
public Directory() { Items = new ObservableCollection <ITreeElement>(); AddDirectoryCommand = new AddDirectoryCommand(); AddImageCommand = new AddImageCommand(); AddPasswordsCommand = new AddPasswordsCommand(); RenameCommand = new RenameCommand(); DeleteChildCommand = new DeleteCommand(this.Items); SwitchView = new SwitchViewCommand(); }