MiddlewareConfiguration constructor
Initializes a new instance of the MiddlewareConfiguration
class.
public MiddlewareConfiguration(Type type, MiddlewareLifetime lifetime,
Guid? instanceContainerId = default)
parameter | description |
---|---|
type | The middleware type |
lifetime | The middleware instance lifetime |
instanceContainerId | The instance container ID used to get the correct container when creating the instance |
See Also
- class MiddlewareConfiguration
- namespace KafkaFlow.Configuration