Esempio n. 1
0
 public Request(XElement element, bool visible)
 {
     Verb       = RequestParamParser.ParseRequestVerb(element.Attribute("Text").Value);
     Parameters = RequestParamParser.ParseRequestParamters(element.Attribute("Text").Value);
     Visible    = visible;
     Matched    = false;
     MatchingId = -1;
 }
Esempio n. 2
0
 public Request(XElement httpHeaderElement, XElement nodeScriptElement, bool visible)
 {
     Verb          = RequestParamParser.ParseRequestVerb(httpHeaderElement.Attribute("Text").Value);
     Parameters    = RequestParamParser.ParseRequestParamters(httpHeaderElement.Attribute("Text").Value);
     Visible       = visible;
     _correlations = CorrelationFactory.GetCorrelations(nodeScriptElement);
     Matched       = false;
     MatchingId    = -1;
 }