Show / Hide Table of Contents

Interface IFunctionOptionsBuilder

Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IFunctionOptionsBuilder

Methods

| Improve this Doc View Source

CommandTransformer<TCommandTransformer>()

Allows a command transformer to be specified for a given function

Declaration
IFunctionOptionsBuilder CommandTransformer<TCommandTransformer>()
    where TCommandTransformer : ICommandTransformer
Returns
Type Description
IFunctionOptionsBuilder
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
Type Description
IFunctionOptionsBuilder
| 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 Description
IFunctionOptionsBuilder
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
Type Description
IFunctionOptionsBuilder
| 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 Description
IFunctionOptionsBuilder
Type Parameters
Name Description
TSerializer

The type of the serializer

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall