SaaS CMS has officially launched! Learn more now.

Interface IGadgetNotify

Should be implemented if you want to receive gadget event notifications

Namespace: EPiServer.Shell.Gadgets
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public interface IGadgetNotify
Remarks

The instance will be composed in MEF so Imports will be automatically resolved

Methods

OnDeleted(Guid)

Will be called when the gadget is deleted

Declaration
void OnDeleted(Guid gadgetId)
Parameters
Type Name Description
System.Guid gadgetId

Id of the gadget