Optional Parameters with Message.Attach

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


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


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?