Method AddNatsClient
- Namespace
- NATS.Extensions.Microsoft.DependencyInjection
- Assembly
- NATS.Extensions.Microsoft.DependencyInjection.dll
AddNatsClient(IServiceCollection, Action<NatsBuilder>?)
public static IServiceCollection AddNatsClient(this IServiceCollection services, Action<NatsBuilder>? buildAction = null)
Parameters
services
IServiceCollectionbuildAction
Action<NatsBuilder>