Ilumnis Authentication

IAuthenticationValidator.ValidateBirthday Method 

Validates birthday and adds custom message to exception, if one is thrown.

DateTime ValidateBirthday(
   DateTime birthday,
   string message
);

Parameters

birthday
Birthday to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated birthday.

Exceptions

Exception Type Condition
InvalidBirthdayException Thrown when invalid birthday is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace