Skip to content

Instantly share code, notes, and snippets.

@JeremySkinner
Created October 3, 2009 17:17
Show Gist options
  • Save JeremySkinner/200758 to your computer and use it in GitHub Desktop.
Save JeremySkinner/200758 to your computer and use it in GitHub Desktop.
//Option 1:
RuleFor(x => x.Surname).Cascade.StopOnFirstFailure.NotNull().....
//Option 2:
RuleFor(x => x.Surname).Cascade(CascadeMode.StopOnFirstFailure).NotNull()....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment