Optional Parameters with Message.Attach

Topics: Actions & Coroutines
May 24, 2012 at 5:41 PM

XAML

<SomeControl cal:Message.Attach="MyMethod" .... />

ViewModel

public void MyMethod( bool prompt = true )
{
  // do stuff
} 

When I use optional parameters, "MyMethod" is never found by Caliburn.Micro; "MyMethod" is found when the optional parameter is removed. 

Is it possible to use optional parameters with Message.Attach?