Exemplo n.º 1
0
 public void Validate()
 {
     RequestValidator.RequiredField("zip code", _zipCode);
     RequestValidator.Match("zip code", _zipCode, @"^\d{5}(?:[-\s]\d{4})?$");
 }