Ejemplo n.º 1
0
        private static void OnTargetObjectChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CallMethodWithParameterAction CallMethodWithParameterAction = (CallMethodWithParameterAction)sender;

            Type newType = args.NewValue != null?args.NewValue.GetType() : null;

            CallMethodWithParameterAction.UpdateTargetType(newType);
        }
Ejemplo n.º 2
0
        private static void OnMethodNameChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CallMethodWithParameterAction CallMethodWithParameterAction = (CallMethodWithParameterAction)sender;

            CallMethodWithParameterAction.UpdateMethodDescriptors();
        }