GridAiServiceSettingsBuilder
Methods
Data(System.Func)
The handler that provides additional parameters sent to the service request.
Parameters
handler - System.Func<Object,Object>
Data(System.String)
The handler that provides additional parameters sent to the service request.
Parameters
handler - System.String
Data(System.Object)
The parameters sent to the service request.
Parameters
data - System.Object
Headers(System.Object)
The headers of the service request.
Parameters
headers - System.Object
Url(System.String,System.String)
Sets the URL for the Grid AI service using action and controller names.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
RETURNS
The builder instance.
Url(System.String,System.String,System.Object)
Sets the URL for the Grid AI service using action and controller names with route values.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
routeValues - System.Object
The route values.
RETURNS
The builder instance.
Url(System.String,System.String,System.Web.Routing.RouteValueDictionary)
Sets the URL for the Grid AI service using action and controller names with route value dictionary.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
routeValues - System.Web.Routing.RouteValueDictionary
The route values dictionary.
RETURNS
The builder instance.
Url(System.String)
The URL of the AI service to use for generating outputs.
Parameters
value - System.String
The value for Url
RETURNS
Returns the current GridAiServiceSettingsBuilder instance.
OutputGetter(System.String)
The function to get the output from the AI service response.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
RETURNS
Returns the current GridAiServiceSettingsBuilder instance.
OutputGetter(System.Func)
The function to get the output from the AI service response.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current GridAiServiceSettingsBuilder instance.