Defines the fluent API for configuring GridAiServiceSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridAiServiceSettingsBuilder<T> where T : class
Inheritance: objectGridAiServiceSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the GridAiServiceSettingsBuilder<T> class.
public GridAiServiceSettingsBuilder(GridAiServiceSettings<T> container)
Properties
Gets or sets the Container.
protected GridAiServiceSettings<T> Container { get; }
Methods
The parameters sent to the service request.
The handler that provides additional parameters sent to the service request.
The headers of the service request.
The function to get the output from the AI service response.
public GridAiServiceSettingsBuilder<T> OutputGetter(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.
The function to get the output from the AI service response.
public GridAiServiceSettingsBuilder<T> OutputGetter(string handler)
The name of the JavaScript function that will be evaluated.
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.
The URL of the AI service to use for generating outputs.
public GridAiServiceSettingsBuilder<T> Url(string actionName, string controllerName, object routeValues)
The name of the action method.
controllerNamestringThe name of the controller.
routeValuesobjectThe route values for the URL.
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.
The URL of the AI service to use for generating outputs.
public GridAiServiceSettingsBuilder<T> Url(string actionName, string controllerName, RouteValueDictionary routeValues)
The name of the action method.
controllerNamestringThe name of the controller.
routeValuesRouteValueDictionaryThe route values for the URL.
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.
The URL of the AI service to use for generating outputs.
public GridAiServiceSettingsBuilder<T> Url(string actionName, string controllerName)
The name of the action method.
controllerNamestringThe name of the controller.
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.
The URL of the AI service to use for generating outputs.
public GridAiServiceSettingsBuilder<T> Url(string value)
The value for Url
Returns:GridAiServiceSettingsBuilder<T>
Returns the current GridAiServiceSettingsBuilder<T> instance.