Пример #1
0
        private static void OnAttachedPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            Resx resx = GetInstance(dependencyObject);

            if (resx != null)
            {
                resx.listener.Value = resx.GetValue();
            }
        }
Пример #2
0
 public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
 {
     Value = parent.GetValue();
     return(true);
 }
Пример #3
0
 public ResxListener(Resx parent)
 {
     this.parent = parent;
     Value       = parent.GetValue();
 }