Share via


HandlebarsPromptTemplateOptions.RegisterHelperCallback Delegate

Definition

Delegate for registering custom Handlebars helpers with conflict resolution.

public delegate void HandlebarsPromptTemplateOptions.RegisterHelperCallback(string name, HandlebarsReturnHelper helper);
type HandlebarsPromptTemplateOptions.RegisterHelperCallback = delegate of string * HandlebarsReturnHelper -> unit
Public Delegate Sub HandlebarsPromptTemplateOptions.RegisterHelperCallback(name As String, helper As HandlebarsReturnHelper)

Parameters

name
String

The name of the helper.

helper
HandlebarsDotNet.HandlebarsReturnHelper

The helper to register.

Applies to