Click or drag to resize

IPluginApi Interface

Provides methods for interacting with Casewhere plugins.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
public interface IPluginApi

The IPluginApi type exposes the following members.

Methods
  NameDescription
Public methodCode exampleExecute Obsolete.
Execute a plugin method. This method is deprecated and should only be used for legacy plugins.
Public methodCode exampleInvoke
Invoke a plugin method. This method cannot work with legacy plugins.
Top
Examples
var pluginApi = ctx.Use<IPluginApi>();
var pluginResult = pluginApi.Invoke("ExamplePlugin", "SearchCandidates", parameters);
See Also