PluginService.GetSetting Method

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

Overloads

GetSetting(Guid) Gets a plugin from the repository.
GetSetting() Gets settings objects from the repository.

GetSetting(Guid)

Gets a plugin from the repository.

public static ISettings GetSetting(Guid id)

Parameters

id
System.Guid

Id of the plugin.

Returns

ISettings

Returns an object implementing the ISettings interface.

GetSetting()

Gets settings objects from the repository.

public static TSettings GetSetting<TSettings>()

    where TSettings : class, ISettings

Returns

Returns an object implementing the ISettings interface.