SubscriberTicketTParameter, TDelegate Constructor
Initializes an instance of SubscriberTicket.
Namespace: SecretNest.MessageBusAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public SubscriberTicket(
Guid id,
bool isAsync,
MessageBusSubscriberOptions<TParameter>? options,
TDelegate handler,
MessageNameMatcherBase messageNameMatcher
)
Public Sub New (
id As Guid,
isAsync As Boolean,
options As MessageBusSubscriberOptions(Of TParameter),
handler As TDelegate,
messageNameMatcher As MessageNameMatcherBase
)
Parameters
- id Guid
- The id of this subscriber.
- isAsync Boolean
- Whether the delegate is async version.
- options MessageBusSubscriberOptionsTParameter
- The instance of subscriber options. Default is .
- handler TDelegate
- The instance of the delegate.
- messageNameMatcher MessageNameMatcherBase
- The instance of message name matcher.