Interface IAdditionalArgumentResolver
These resolvers are used to try to get a value for the additional parameters (other than the message itself) of the subscribed methods.
Inherited Members
Namespace: Silverback.Messaging.Subscribers.ArgumentResolvers
Assembly: Silverback.Core.dll
Syntax
public interface IAdditionalArgumentResolver : IArgumentResolver
Methods
| Improve this doc View sourceGetValue(Type, IServiceProvider)
Returns a suitable value for the parameter of the specified type.
Declaration
object? GetValue(Type parameterType, IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
Type | parameterType | The type of the parameter to be resolved. |
IServiceProvider | serviceProvider | The IServiceProvider to be used to resolve the necessary services. |
Returns
Type | Description |
---|---|
object | A value to be forwarded to the subscribed method. |