Class FunctionPattern
- Namespace
- TypedRest.CodeGeneration.Patterns.Rpc
- Assembly
- TypedRest.CodeGeneration.dll
A pattern that generates FunctionEndpoints.
public class FunctionPattern : RpcPatternBase, IPattern
- Inheritance
-
objectFunctionPattern
- Implements
- Inherited Members
Methods
BuildEndpoint(OpenApiOperation)
Builds the endpoint using information from the operation. null if the pattern does not match.
protected override IEndpoint? BuildEndpoint(OpenApiOperation operation)
Parameters
operationOpenApiOperation