/// <summary> /// Disposes all members, cascades the Dispose call. /// </summary> public void Dispose() { PluginInfo = null; if (Plugin != null) { Plugin.Dispose(); Plugin = null; } if (Host != null) { Host.Dispose(); Host = null; } }
/// <summary> /// Disposes all members, cascades the Dispose call. /// </summary> public void Dispose() { Plugin.Dispose(); _host.Dispose(); }