void ISendPipeSpecificationObserver.MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
        {
            var applicationInsightsSendSpecification =
                new ApplicationInsightsSendSpecification <T>(_telemetryClient, _telemetryHeaderRootKey, _telemetryHeaderParentKey, _configureOperation);

            specification.AddPipeSpecification(applicationInsightsSendSpecification);
        }
        void ISendPipeSpecificationObserver.MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
        {
            var applicationInsightsSendSpecification =
                new DiagnosticsActivityPipeSpecification <T>(_diagnosticSource, _activityIdKey, _activityCorrelationContextKey);

            specification.AddPipeSpecification(applicationInsightsSendSpecification);
        }
Esempio n. 3
0
        void ISendPipeConfigurator.AddPipeSpecification <T>(IPipeSpecification <SendContext <T> > specification)
        {
            IMessageSendPipeSpecification <T> messageSpecification = GetMessageSpecification <T>();

            messageSpecification.AddPipeSpecification(specification);
        }
Esempio n. 4
0
 public void MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
     where T : class
 {
     specification.AddPipeSpecification(new ScopeSendPipeSpecification <T>(_sendScopeProvider));
 }
Esempio n. 5
0
 public void MessageSpecificationCreated <TMessage>(IMessageSendPipeSpecification <TMessage> specification)
     where TMessage : class
 {
     specification.AddPipeSpecification(new MySendMessagePipeSpec <TMessage>());
 }