You should create an instance of this class to be able to access it, like this:
var userValidators : IUserValidators = new UserValidators();
userValidators.EmailValidator(ctrl);
You should create an instance of this class to be able to access it, like this:
var userValidators : IUserValidators = new UserValidators();
userValidators.EmailValidator(ctrl);