public ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> WithServerEndpoints(IServiceEndpointProvider <TMessage, TCommand, TEvent, TRequest, TResponse> serviceEndpointProvider)
 {
     _endpoints.Add(serviceEndpointProvider.CreateEndpoint());
     return(this);
 }
Exemple #2
0
 public ICanAddEndpointOrCreate WithEndpoints(IServiceEndpointProvider serviceEndpointProvider)
 {
     _endpointClients.Add(serviceEndpointProvider.CreateEndpointClient());
     _endpoints.Add(serviceEndpointProvider.CreateEndpoint());
     return(this);
 }