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); }
void ISendPipeConfigurator.AddPipeSpecification <T>(IPipeSpecification <SendContext <T> > specification) { IMessageSendPipeSpecification <T> messageSpecification = GetMessageSpecification <T>(); messageSpecification.AddPipeSpecification(specification); }
public void MessageSpecificationCreated <T>(IMessageSendPipeSpecification <T> specification) where T : class { specification.AddPipeSpecification(new ScopeSendPipeSpecification <T>(_sendScopeProvider)); }
public void MessageSpecificationCreated <TMessage>(IMessageSendPipeSpecification <TMessage> specification) where TMessage : class { specification.AddPipeSpecification(new MySendMessagePipeSpec <TMessage>()); }