How do I use Condition in CommandProcessor Library?
10 views
Skip to first unread message
Daudi
unread,
Aug 13, 2011, 6:30:47 PM8/13/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontrib-discuss
Hi,
I want to set up some kind of if..then logic within my
MessageDefinition<T>.
I've noticed the following method in CommandConfigurationExpression.cs
public ICommandConfigurationExpression<TMessage, TCommand>
Condition(Func<TMessage, bool> condition)
{
_CommandDefinition.ApplyCondition(condition);