protected internal InstrumentedCDSPluginExecutionContext(IServiceProvider serviceProvider, IIocContainer container, IPluginExecutionContext executionContext, IComponentTelemetryClient telemetryClient) : base(executionContext, container, telemetryClient) { this.ServiceProvider = serviceProvider; }
public InstrumentedWorkflowActivityContext(CodeActivityContext codeActivityContext, IIocContainer container, IWorkflowContext executionContext, IComponentTelemetryClient telemetryClient) : base(executionContext, container, telemetryClient) { this.CodeActivityContext = codeActivityContext; }
internal protected XrmAppInsightsClient(ITelemetryFactory factory, IComponentTelemetryClient client, IEventLogger logger) { this.logger = logger; this.TelemetryFactory = factory; this.TelemetryClient = client; }
protected internal InstrumentedContext(IExecutionContext executionContext, IIocContainer container, IComponentTelemetryClient telemetryClient) : base(executionContext, container) { if (telemetryClient == null) { throw new ArgumentNullException("telemetryClient"); } this.TelemetryClient = telemetryClient; }
public IInstrumentedCDSPluginExecutionContext CreateCDSExecutionContext(IExecutionContext executionContext, IServiceProvider serviceProvider, IIocContainer container, IComponentTelemetryClient telemetryClient) { return(new InstrumentedCDSPluginExecutionContext(serviceProvider, container, executionContext as IPluginExecutionContext, telemetryClient)); }
protected internal InstrumentedCDSExecutionContext(IExecutionContext executionContext, IIocContainer container, IComponentTelemetryClient telemetryClient) : base(executionContext, container) { this.TelemetryClient = telemetryClient ?? throw new ArgumentNullException("telemetryClient is required.");; }
public ILocalWorkflowActivityContext BuildLocalWorkflowActivityContext(IWorkflowContext executionContext, IIocContainer container, CodeActivityContext codeActivityContext, IComponentTelemetryClient telemetryClient = null) { if (telemetryClient == null) { return(new LocalWorkflowActivityContext(codeActivityContext, container, executionContext)); } return(new InstrumentedWorkflowActivityContext(codeActivityContext, container, executionContext, telemetryClient)); }
public ILocalPluginContext BuildLocalPluginContext(IPluginExecutionContext pluginExecutionContext, IServiceProvider serviceProvider, IIocContainer container, IComponentTelemetryClient telemetryClient = null) { if (telemetryClient == null) { return(new LocalPluginContext(serviceProvider, container, pluginExecutionContext)); } return(new InstrumentedPluginContext(serviceProvider, container, pluginExecutionContext, telemetryClient)); }