Share via


KernelFunctionFromMethodOptions Class

Definition

Optional options that can be provided when creating a KernelFunction from a method.

public sealed class KernelFunctionFromMethodOptions
type KernelFunctionFromMethodOptions = class
Public NotInheritable Class KernelFunctionFromMethodOptions
Inheritance
KernelFunctionFromMethodOptions

Constructors

KernelFunctionFromMethodOptions()

Properties

AdditionalMetadata

Optional metadata in addition to the named values already provided in other arguments.

Description

The description to use for the function. If null, it will default to one derived from the passed Delegate or MethodInfo, if possible (e.g. via a DescriptionAttribute on the method).

FunctionName

The name to use for the function. If null, it will default to one derived from the method represented by the passed Delegate or MethodInfo.

LoggerFactory

The ILoggerFactory to use for logging. If null, no logging will be performed.

Parameters

Optional parameter descriptions. If null, it will default to one derived from the passed Delegate or MethodInfo.

ReturnParameter

Optional return parameter description. If null, it will default to one derived from the passed Delegate or MethodInfo.

Applies to