Interface IFunctionOptionsBuilder
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IFunctionOptionsBuilder
Methods
|
Improve this Doc
View Source
Allows a command transformer to be specified for a given function
Declaration
IFunctionOptionsBuilder CommandTransformer<TCommandTransformer>()
where TCommandTransformer : ICommandTransformer
Returns
Type Parameters
Name |
Description |
TCommandTransformer |
|
|
Improve this Doc
View Source
HasCommandHandler()
Use this to tell Function Monkey to attempt to dispatch a command - this can be useful if you've
globally disabled command handlers with the root option
Declaration
IFunctionOptionsBuilder HasCommandHandler()
Returns
|
Improve this Doc
View Source
JsonNamingStrategies<TDeserializerNamingStrategy, TSerializerNamingStrategy>()
Allows naming strategies for the default ISerializer implementation
Declaration
IFunctionOptionsBuilder JsonNamingStrategies<TDeserializerNamingStrategy, TSerializerNamingStrategy>()
where TDeserializerNamingStrategy : NamingStrategy where TSerializerNamingStrategy : NamingStrategy
Returns
Type Parameters
Name |
Description |
TDeserializerNamingStrategy |
|
TSerializerNamingStrategy |
|
|
Improve this Doc
View Source
NoCommandHandler()
Use this to tell Function Monkey to not attempt to dispatch a command - this can be useful if you
want to, for example, receive a payload on an HTTP API, validate it, then drop it onto a queue
Declaration
IFunctionOptionsBuilder NoCommandHandler()
Returns
|
Improve this Doc
View Source
Serializer<TSerializer>()
Allows an alternative serializer to be provided. If a naming strategy pair is supplied then this
is ignored.
Declaration
IFunctionOptionsBuilder Serializer<TSerializer>()
where TSerializer : ISerializer
Returns
Type Parameters
Name |
Description |
TSerializer |
The type of the serializer
|
Extension Methods