title: How can I validate an enum in FluentValidator C#
body: <p>I am creating a validation class using <code>FluentValidation</code> in C#, to validate that my <code>Type</code> property of <code>Account</code> class is of type <code>AccountType</code> enum.</p>
  
  <p>What would be the correct implementation of this:</p>
  
  <pre><code>RuleFor (account =&gt; account.Type)
               .IsInEnum (....)
  </code></pre>