public StyleCheckValidator(HtmlElementLocator locator = null, string value = null, Regex valueRegex = null, ValueValidateDelegate checkDelegate = null) { this.Locator = locator; this.Value = value; this.ValueRegex = valueRegex; this.CheckDelegate = checkDelegate; }