public DynamicDaprClientProxyInterceptor( IDaprClientFactory daprClientFactory, IOptions <AbpDaprClientProxyOptions> clientProxyOptions, IOptionsSnapshot <AbpDaprRemoteServiceOptions> remoteServiceOptions, IDaprApiDescriptionFinder apiDescriptionFinder, IJsonSerializer jsonSerializer, IDynamicProxyHttpClientFactory dynamicProxyHttpClientFactory, IRemoteServiceHttpClientAuthenticator clientAuthenticator, ICancellationTokenProvider cancellationTokenProvider, ICorrelationIdProvider correlationIdProvider, IOptions <AbpCorrelationIdOptions> correlationIdOptions, ICurrentTenant currentTenant) { DaprClientFactory = daprClientFactory; CancellationTokenProvider = cancellationTokenProvider; CorrelationIdProvider = correlationIdProvider; CurrentTenant = currentTenant; HttpClientFactory = dynamicProxyHttpClientFactory; AbpCorrelationIdOptions = correlationIdOptions.Value; ApiDescriptionFinder = apiDescriptionFinder; JsonSerializer = jsonSerializer; ClientAuthenticator = clientAuthenticator; ClientProxyOptions = clientProxyOptions.Value; AbpRemoteServiceOptions = remoteServiceOptions.Value; Logger = NullLogger <DynamicDaprClientProxyInterceptor <TService> > .Instance; }
public DaprApiDescriptionFinder( IDaprClientFactory daprClientFactory, IApiDescriptionCache cache, IOptions <AbpCorrelationIdOptions> abpCorrelationIdOptions, ICorrelationIdProvider correlationIdProvider, ICurrentTenant currentTenant) { DaprClientFactory = daprClientFactory; Cache = cache; AbpCorrelationIdOptions = abpCorrelationIdOptions.Value; CorrelationIdProvider = correlationIdProvider; CurrentTenant = currentTenant; CancellationTokenProvider = NullCancellationTokenProvider.Instance; }