MessageBusSubscriberOptionsTParameter Constructor
Initializes an instance of MessageBusSubscriberOptions.
Namespace: SecretNest.MessageBus.OptionsAssembly: SecretNest.MessageBus.DirectRelease (in SecretNest.MessageBus.DirectRelease.dll) Version: 1.0.0
public MessageBusSubscriberOptions(
int sequence = 0,
bool isAlwaysExecution = false,
bool isFinal = true,
Func<Object?, bool>? conditionCheckingCallback = null,
Func<Object?, TParameter>? argumentConvertingCallback = null
)
Public Sub New (
Optional sequence As Integer = 0,
Optional isAlwaysExecution As Boolean = false,
Optional isFinal As Boolean = true,
Optional conditionCheckingCallback As Func(Of Object, Boolean) = Nothing,
Optional argumentConvertingCallback As Func(Of Object, TParameter) = Nothing
)
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.