Table of Contents

Method GetPluginStoragePath

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

GetPluginStoragePath(Assembly)

Gets the storage path for the specified plugin.

public string GetPluginStoragePath(Assembly pluginAssembly)

Parameters

pluginAssembly Assembly

The assembly of the plugin, e.g. typeof(MyService).Assembly

Returns

string

The storage directory for the specified plugin.

Exceptions

ArgumentException

Thrown if the specified assembly is not a plugin.