Beispiel #1
0
 public void AddTracing(ISpecContext context)
 {
     _runtimes.Each((name, runtime) =>
     {
         var provider = new MessageContextualInfoProvider(runtime.Get <IMessagingSession>())
         {
             ShortTitle = name,
             Title      = name + " Messaging"
         };
         context.Reporting.Log(provider);
     });
 }
        public void AddLogs(ISpecContext context)
        {
            _nodes.Each(node =>
            {
                var session = node.Runtime.Get <IMessagingSession>();

                var provider = new MessageContextualInfoProvider(session)
                {
                    Title = node.Id, ShortTitle = node.Id
                };

                context.Reporting.Log(node.Id, provider.ToHtml(), node.Id);
            });
        }