예제 #1
0
 public ProductClient(
     IApiClient client,
     IConfigurationProvider configurationProvider,
     IHeadersProvider headersProvider)
     : base(client, configurationProvider, headersProvider)
 {
 }
예제 #2
0
파일: ClientBase.cs 프로젝트: fodmar/Budget
 public ClientBase(
     IApiClient apiClient,
     IConfigurationProvider configurationProvider,
     IHeadersProvider headersProvider)
 {
     this.apiClient       = apiClient;
     this.budgetApiUrl    = configurationProvider.BudgetApiUrl;
     this.headersProvider = headersProvider;
 }
예제 #3
0
 public T CreateChannel(IHeadersProvider headersProvider)
 {
     return(_generator.CreateInterfaceProxyWithoutTarget <T>(new PublishInterceptor(_messageFactory, _publisher, headersProvider)));
 }
예제 #4
0
 public PublishInterceptor(IMessageFactory messageFactory, IPublisher publisher, IHeadersProvider headersProvider)
 {
     _messageFactory  = messageFactory;
     _publisher       = publisher;
     _headersProvider = headersProvider;
 }
예제 #5
0
 public PublishInterceptor(IMessageFactory messageFactory, IPublisher publisher, IHeadersProvider headersProvider)
 {
     _messageFactory = messageFactory;
     _publisher = publisher;
     _headersProvider = headersProvider;
 }