MessageBusSubscriberOptionsTParameter Constructor

Initializes an instance of MessageBusSubscriberOptions.

Definition

Namespace: SecretNest.MessageBus.Options
Assembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
C#
public MessageBusSubscriberOptions(
	int sequence = 0,
	bool isAlwaysExecution = false,
	bool isFinal = true,
	Func<Object?, bool>? conditionCheckingCallback = null,
	Func<Object?, TParameter>? argumentConvertingCallback = null
)

Parameters

sequence  Int32  (Optional)
The sequence number of this subscriber when executing. Default value is 0.
isAlwaysExecution  Boolean  (Optional)
Whether the subscriber should be executed regardless of the result of the subscribers those have been executed by this instance. Default value is .
isFinal  Boolean  (Optional)
Whether message should be returned instead of executing subsequent subscribers. Default value is .
conditionCheckingCallback  FuncObject, Boolean  (Optional)
The callback for condition checking.
argumentConvertingCallback  FuncObject, TParameter  (Optional)
The callback for argument conversion.

See Also