Beispiel #1
0
        public string this[string name]
        {
            get
            {
                string result = null;

                switch (name)
                {
                case "Email":
                    IsInputValid = IsEmailAddressValid(out string errorMessage);
                    result       = errorMessage;
                    InvalidEmail?.Invoke(this, new EventArgs());
                    break;
                }
                return(result);
            }
        }