IPlugin ApiExecute Method
Execute a plugin method. This method is deprecated and should only be used for legacy plugins.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
Response data from plugin.
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
[ObsoleteAttribute("Should only use this method for old plugins")]
Object Execute(
string pluginName,
string methodName,
Dictionary<string, string> parameters
)Parameters
- pluginName String
- Name of the plugin.
- methodName String
- Invoked method name.
- parameters DictionaryString, String
- Parameters passed to plugin.
Return Value
ObjectResponse data from plugin.
Example
C#
var parameters = new Dictionary<string, string>();
var parameters.Add("username", "msliteh");
var candidateObj = pluginApi.Execute("ExamplePlugin", "GetCandidateByUsername", parameters);