using System.Windows; using System.Windows.Data; using System.Windows.Input; namespace Caliburn.Messaging { public class ActionMessage : MessageBase { private string _action; private BindingBase _return; public string Action { get { return _action; } set { _action = value; } } public BindingBase Return { get { return _return; } set { _return = value; } } public override ICommand CreateMessageCommand(DependencyObject source) { return new ActionMessageCommand(source, this, null); } public override void Send(DependencyObject source) { new ActionMessageSender(source, this).Send(); } } }