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.1.0
Syntax
C#
[ObsoleteAttribute("Should only use this method for old plugins")]
Object Execute(
	string pluginName,
	string methodName,
	Dictionary<string, string> parameters
)

Parameters

pluginName
Type: SystemString
Name of the plugin.
methodName
Type: SystemString
Invoked method name.
parameters
Type: System.Collections.GenericDictionaryString, String
Parameters passed to plugin.

Return Value

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