コード例 #1
0
        void ISendPipeSpecificationObserver.MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
        {
            var applicationInsightsSendSpecification =
                new ApplicationInsightsSendSpecification <T>(_telemetryClient, _telemetryHeaderRootKey, _telemetryHeaderParentKey, _configureOperation);

            specification.AddPipeSpecification(applicationInsightsSendSpecification);
        }
コード例 #2
0
        void ISendPipeSpecificationObserver.MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
        {
            var applicationInsightsSendSpecification =
                new DiagnosticsActivityPipeSpecification <T>(_diagnosticSource, _activityIdKey, _activityCorrelationContextKey);

            specification.AddPipeSpecification(applicationInsightsSendSpecification);
        }
コード例 #3
0
        void ISendPipeConfigurator.AddPipeSpecification <T>(IPipeSpecification <SendContext <T> > specification)
        {
            IMessageSendPipeSpecification <T> messageSpecification = GetMessageSpecification <T>();

            messageSpecification.AddPipeSpecification(specification);
        }
コード例 #4
0
 public void MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification)
     where T : class
 {
     specification.AddPipeSpecification(new ScopeSendPipeSpecification <T>(_sendScopeProvider));
 }
コード例 #5
0
 public void MessageSpecificationCreated <TMessage>(IMessageSendPipeSpecification <TMessage> specification)
     where TMessage : class
 {
     specification.AddPipeSpecification(new MySendMessagePipeSpec <TMessage>());
 }