SubscriberTicketTParameter, TDelegate Constructor

Initializes an instance of SubscriberTicket.

Definition

Namespace: SecretNest.MessageBus
Assembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
C#
public SubscriberTicket(
	Guid id,
	bool isAsync,
	MessageBusSubscriberOptions<TParameter>? options,
	TDelegate handler,
	MessageNameMatcherBase messageNameMatcher
)

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.

See Also