Example #1
0
 private void PluginOnPluginDisabled(object sender, EventArgs e)
 {
     Plugin.PluginDisabled -= PluginOnPluginDisabled;
     if (IsInStore)
     {
         DataModelStore.Remove(this);
     }
 }
 private void OnDisabled(object?sender, EventArgs e)
 {
     PluginFeature.Disabled -= OnDisabled;
     if (IsInStore)
     {
         DataModelStore.Remove(this);
     }
 }