コード例 #1
0
        public bool LastnameWasInput(string lastname)
        {
            if (lastname == null)
            {
                throw new ArgumentNullException(nameof(lastname));
            }

            var result = _validation.CheckName(lastname);

            ValidationFieldResponse?.Invoke(EEditProfileFields.LastName, result);
            return(result);
        }
コード例 #2
0
        public bool StatusWasInput(string status)
        {
            if (status == null)
            {
                throw new ArgumentNullException(nameof(status));
            }

            var result = _validation.CheckStatus(status);

            ValidationFieldResponse?.Invoke(EEditProfileFields.Status, result);
            return(result);
        }