public string Status()
        {
            var visitor = new RecordedRequestBehaviorVisitor();
            Steps.Each(s => s.Details.AcceptVisitor(visitor));

            return visitor.StatusCode.ToString();
        }
Exemple #2
0
        public RecordedRequestBehaviorVisitor GetVisitor()
        {
            var visitor = new RecordedRequestBehaviorVisitor();

            Steps.Each(s => s.Details.AcceptVisitor(visitor));
            return(visitor);
        }
Exemple #3
0
        public string Status()
        {
            var visitor = new RecordedRequestBehaviorVisitor();

            Steps.Each(s => s.Details.AcceptVisitor(visitor));

            return(visitor.StatusCode.ToString());
        }
 public RecordedRequestBehaviorVisitor GetVisitor()
 {
     var visitor = new RecordedRequestBehaviorVisitor();
     Steps.Each(s => s.Details.AcceptVisitor(visitor));
     return visitor;
 }