We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d4a98d + ab58668 commit 92a47a7Copy full SHA for 92a47a7
src/Caliburn.Micro.Platform/ActionMessage.cs
@@ -416,7 +416,7 @@ protected override void Invoke(object eventArgs)
416
417
_context.EventArgs = eventArgs;
418
419
- if (EnforceGuardsDuringInvocation && (_context?.CanExecute() != true))
+ if (EnforceGuardsDuringInvocation && _context.CanExecute != null && !_context.CanExecute())
420
{
421
return;
422
}
0 commit comments