Exemple #1
0
        public WebRule(Uri uri)
        {
            this.Uri          = uri;
            this.RuleName     = GetRuleFormUrl(uri);
            this.ParamStates  = this.GetSegments(this.Uri.Query);
            this.isUrlDynamic = !string.IsNullOrEmpty(this.Uri.Query);

            RuleState             = WebRuleState.New;
            ExtractRuleCollection = new ExtractRuleCollection();
        }
Exemple #2
0
 public WebRule()
 {
     ExtractRuleCollection = new ExtractRuleCollection();
 }