IExtensionsSettings
- Last UpdatedDec 16, 2016
- 1 minute read
This API sets the extensions settings.
Properties
-
NumberOfParameters : Sets the number of parameters for the extension.
Type: String
Example:
IExtensionSettings. NumberOfParameters = 1 -
DisplayName : Displays the name of the extension.
Type: String
Example:
IExtensionSettings. DisplayName = “GetAsset”
Methods
-
SetReturnType(ReturnType): Sets the return type of the extension.
Parameter : String
Supported Types: (“Double”,”Int”,”Float” ,”String”,”Char,””Bool”,”Null”)
Example:
IExtensionSettings. SetReturnType(“Double”) -
SetParameterDefinitions(ListofParameterDefinitions): Method to set input Parameter definitions.
Parameter : Array of string
Example:
SetParameterDefinitions({“Definition1”,”Definition2”,”Definition3”}) -
SetInputTypes(ListofInputTypes): Method to set Input Types for extensions.
Parameter : Array of string
Example:
IExtensionSettings. SetInputTypes ({“Double”,”String” })