Table of Contents

Constructor NatsBuilder

Namespace
NATS.Extensions.Microsoft.DependencyInjection
Assembly
NATS.Extensions.Microsoft.DependencyInjection.dll

NatsBuilder(IServiceCollection)

Initializes a new instance of the NatsBuilder class.

public NatsBuilder(IServiceCollection services)

Parameters

services IServiceCollection

The service collection the client is registered on.