PluginService.GetHook Method

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

Overloads

GetHook(Guid) Gets a plugin from the repository.
GetHook() Gets function metadata from the repository.

GetHook(Guid)

Gets a plugin from the repository.

public static IHook GetHook(Guid id)

Parameters

id
System.Guid

Id of the plugin.

Returns

IHook

Returns an object implementing the IHook interface.

GetHook()

Gets function metadata from the repository.

public static THook GetHook<THook>()

    where THook : class, IHook

Returns

Returns an object implementing the IFunction interface.