Class NatsSvcContext
NATS service context.
public class NatsSvcContext : INatsSvcContext- Inheritance
- 
      
      NatsSvcContext
- Implements
- Inherited Members
Constructors
- NatsSvcContext(INatsConnection)
- Creates a new instance of NatsSvcContext. 
Properties
- Connection
- Gets the associated NATS connection. 
Methods
- AddServiceAsync(NatsSvcConfig, CancellationToken)
- Adds a new service. 
- AddServiceAsync(string, string, string, CancellationToken)
- Adds a new service.