Click or drag to resize

IPluginApiExecute Method

Note: This API is now obsolete.

Execute a plugin method. This method is deprecated and should only be used for legacy plugins.

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
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

Object
Response data from plugin.
Example
C#
var parameters = new Dictionary<string, string>();
var parameters.Add("username", "msliteh");
var candidateObj = pluginApi.Execute("ExamplePlugin", "GetCandidateByUsername", parameters);
See Also