PluginService.GetTool Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

GetTool(Guid) Gets tool metadata from the repository.
GetTool() Gets tool metadata from the repository.

GetTool(Guid)

Gets tool metadata from the repository.

public static ITool GetTool(Guid id)

Parameters

id
System.Guid

Id of the plugin.

Returns

ITool

Returns an object implementing the ITool interface.

GetTool()

Gets tool metadata from the repository.

public static TTool GetTool<TTool>()

    where TTool : class, ITool

Returns

Returns an object implementing the ITool interface.