private void EnsureInvokeCommand()
{
if (_InvokeCommand == null)
{
_InvokeCommand = ViewModelFactory.CreateViewModel<SimpleCommandViewModel.Factory>().Invoke(
DataContext,
this,
ValueInputTaskViewModelResources.InvokeCommand_Name,
ValueInputTaskViewModelResources.InvokeCommand_Tooltip,
Invoke,
null, null);
_InvokeCommand.IsDefault = true;
}
}