Stumps.Rules.HeaderRule.InitializeRule C# (CSharp) Méthode

InitializeRule() private méthode

Initializes the rule.
private InitializeRule ( string name, string value ) : void
name string The name of the HTTP header.
value string The value of the HTTP header.
Résultat void
        private void InitializeRule(string name, string value)
        {
            _headerNameValue = name ?? string.Empty;
            _headerValueValue = value ?? string.Empty;

            _nameTextMatch = new TextMatch(_headerNameValue, true);
            _valueTextMatch = new TextMatch(_headerValueValue, true);

            this.IsInitialized = true;
        }