예제 #1
0
 internal CommandBinding(ICommand command, CommandTarget target, IValueObject commandParameter)
 {
     _target           = target;
     _command          = command;
     _commandParameter = commandParameter;
     target.DoEvent(OnTargetEventHandle);
     if (commandParameter != null)
     {
         commandParameter.ValueChanged += OnVlaueChanged;
     }
 }