HandlebarsPromptTemplateOptions.RegisterHelperCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.