Stumps.Rules.HeaderRule.InitializeRule C# (CSharp) Метод

InitializeRule() приватный Метод

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.
Результат 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;
        }