Adf.Business.ValueObject.Html.Html C# (CSharp) Method

Html() public method

Initializes a new instance of the Email class.
If the e-mail address could not be validated, a FormatException exception is thrown.
public Html ( string newvalue ) : System
newvalue string The e-mail address to use.
return System
        public Html(string newvalue)
        {
            //initialize
            _value = string.Empty;

            if (string.IsNullOrEmpty(newvalue)) return;

            _value = newvalue;
        }