CreateInput(IVariableTemplate variableTemplate, VariableTemplateContext context) Method

Creates the Inedo.Web.Editors.VariableTemplateInput control used to input the variable at job, release, build, etc. creation time

Syntax

public virtual Inedo.Web.Editors.VariableTemplateInput CreateInput(IVariableTemplate variableTemplate, VariableTemplateContext context)

Parameters

variableTemplate
Type: IVariableTemplate

instance of the user-created variable template

context
Type: VariableTemplateContext

contextual information about input

Remarks

By default, this will display a Inedo.Web.Controls.AhTextInput wrapped in a Inedo.Web.Controls.SlimFormField