Ejemplo n.º 1
0
        public MethodEditingViewModel(MethodViewModel method)
        {
            _realMethod = method;   // link
            _method     = (MethodViewModel)method.Clone();

            OkCommand     = new RelayCommand(OkCommand_OnExecute);
            CancelCommand = new RelayCommand(CancelCommand_OnExecute);
            ResetCommand  = new RelayCommand(ResetCommand_OnExecute);
        }