示例#1
0
 public override void Check(string value)
 {
     if (database.Contains(value))
     {
         throw new ValidationErrorExeption("with specified name already exists.");
     }
 }