public void Shutdown(PluginShutdownArgs args) { if (args == null) { throw new ArgumentNullException(nameof(args)); } OnShutdown(args); Context = null; Log = null; }
protected virtual void OnShutdown([NotNull] PluginShutdownArgs args) { }
void IPlugin.Shutdown(PluginShutdownArgs args) { Shutdown(); }