title: Have FluentValidation call a function with multiple parameters
body: <p>I am using FluentValidation for the server side validation. Now I have had it call a function before with Must validation:</p>
  
  <pre><code>RuleFor(x =&gt; x.UserProfile).Must(ValidateProfile).WithMessage("We are sorry, you have already logged  on " + DateTime.Now + ". Please come again tomorrow.");
  </code></pre>
  
  <p>Now, that works because the only parameter that validateProfile takes is UserProfile. it is all good.</p>
  
  <p>My problem now is that I am trying to have a function with two parameters validate the data.The function which I am trying to use for validation looks like below:</p>
  
  <pre><code>bool IsValid(string promocode, IUserProfile userProfile)
  </code></pre>
  
  <p>Now, I am not sure how to bind IsValid to a fluentValidation. Any ideas?</p>