Otter SDK Reference
Version:

CreateView(Inedo.ExecutionEngine.ActionStatement statement) Method

Creates the HTML view that will be bound against the model by Knockout

Syntax

public virtual Inedo.Web.Controls.ISimpleControl CreateView(Inedo.ExecutionEngine.ActionStatement statement)

Parameters

statement
Type: Inedo.ExecutionEngine.ActionStatement

The statement the view is created for.

Remarks

The default implementation enumerates the properties of either the OperationType or its Inedo.Otter.Extensibility.ITemplateContainer<TTemplate>, and then looks for a custom OperationArgumentEditor (or uses the default) for each property, and then returns a HTML view that combines the results of the argument editor's OperationArgumentEditor.GetFormField