public override bool Validate() { Errors = new Dictionary <string, string>(); if (!TextValidator.ValidateThatTextCanRepresentIdentity(UserId)) { AddError("", "User identity is invalid."); } ValidateCore(); return(this); }
public override bool Validate() { Errors = new Dictionary <string, string>(); if (!TextValidator.ValidateThatTextCanRepresentIdentity(UserId)) { AddError("", "User identity is invalid."); } ValidateCore(); return(this); }