public OperationVm(IOperation operation, IOperationController controller) { Name = operation.Message; GotoCommand = new ViewModelCommand(() => controller.MoveTo(operation)); IsRedo = controller.Operations.All(x => x != operation); }
public OperationVm(IOperation operation, IOperationController controller) { Name = operation.Message; GotoCommand = new ViewModelCommand(() => controller.MoveTo(operation)); IsRedo = controller.Operations.All(x => x != operation); }