Table of Contents

Method DisposePluginContainer

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

DisposePluginContainer(IServiceContainer, Plugin, bool)

Invoked by the plugin manager when unloading an isolated plugin. Disposes/shutdowns plugin services.

void DisposePluginContainer(IServiceContainer container, Plugin plugin, bool immediate)

Parameters

container IServiceContainer

The container to dispose.

plugin Plugin

The plugin owning this container.

immediate bool

If the plugin container should complete dispose immediately (true) or at the end of the current frame (false)