Пример #1
0
        public override bool Validate()
        {
            Errors = new Dictionary <string, string>();

            if (!TextValidator.ValidateThatTextCanRepresentIdentity(UserId))
            {
                AddError("", "User identity is invalid.");
            }

            ValidateCore();
            return(this);
        }