Пример #1
0
        public string Status()
        {
            var visitor = new RecordedRequestBehaviorVisitor();
            Steps.Each(s => s.Details.AcceptVisitor(visitor));

            return visitor.StatusCode.ToString();
        }
Пример #2
0
        public RecordedRequestBehaviorVisitor GetVisitor()
        {
            var visitor = new RecordedRequestBehaviorVisitor();

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

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

            return(visitor.StatusCode.ToString());
        }
Пример #4
0
 public RecordedRequestBehaviorVisitor GetVisitor()
 {
     var visitor = new RecordedRequestBehaviorVisitor();
     Steps.Each(s => s.Details.AcceptVisitor(visitor));
     return visitor;
 }