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

Returns

IHook

Returns an object implementing the interface.

GetHook()

Gets function metadata from the repository.

public static THook GetHook()
    where THook : class, IHook

Returns

IHook

Returns an object implementing the interface.