Beispiel #1
0
        private void OnPasswordPropertyChanged()
        {
            Category category = this;

            while (category != null)
            {
                category.OnPropertyChanged("NestedPasswords");
                category = category.Parent;
            }
        }
Beispiel #2
0
        /// <summary>
        /// Occurs when the list of passwords has changed.
        /// </summary>
        protected void OnPasswordsChanged(object sender, NotifyEventArgs <Password> e)
        {
            OnPropertyChanged("Passwords");

            Category parent = Parent;

            while (parent != null)
            {
                parent.OnPropertyChanged("NestedPasswords");
                parent = parent.Parent;
            }
        }