Пример #1
0
        public void RunAction(ServiceGraph graph)
        {
            _registry.As<IServiceRegistration>().Apply(graph);

            graph.As<ITracedModel>().RecordEvents(AddEvent);
        }
Пример #2
0
 public void Apply(ServiceGraph services)
 {
     _registry.As<IServiceRegistration>().Apply(services);
     services.As<ITracedModel>().RecordEvents(AddEvent);
 }
 public void Apply(ServiceGraph services)
 {
     _registry.As <IServiceRegistration>().Apply(services);
     services.As <ITracedModel>().RecordEvents(AddEvent);
 }
        public void RunAction(ServiceGraph graph)
        {
            _registry.As <IServiceRegistration>().Apply(graph);

            graph.As <ITracedModel>().RecordEvents(AddEvent);
        }
        public void SetUp()
        {
            theGraph = new ServiceGraph();

            theTracedNode = theGraph.As <ITracedModel>();
        }