title: Multiple custom validation attributes on a class mvc
body: <p>I am creating a example for better understanding.</p>
  
  <pre><code>[CustomValidator("Property1","Property2", ErrorMessage= "Error1")]
  [CustomValidator("Property3","Property4", ErrorMessage= "Error1")]
  public class MyViewModel
  {
      public string Property1 {get; set;}
      public string Property2 {get; set;}
      public string Property3 {get; set;}
      public string Property4 {get; set;}
  }
  
  [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
  public class CustomValidator : ValidationAttribute
  {
      All the required stuff is written.
  }
  </code></pre>
  
  <p>Only the second validator (or the last one in the list) gets fired and ignores the first one.
  I am not sure if this is the right approach for this scenario.
  Any suggestions?</p>