November Happy Hour will be moved to Thursday December 5th.

Interface IGadgetFactory

Namespace: EPiServer.Shell.Gadgets
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[Obsolete("The Episerver gadget framework has been deprecated and was replaced by the Episerver Components.")]
public interface IGadgetFactory

Methods

Create(String)

Declaration
GadgetDefinition Create(string gadgetName)
Parameters
Type Name Description
System.String gadgetName
Returns
Type Description
GadgetDefinition

CreateGadgetFromTemplate(Guid)

Declaration
Gadget CreateGadgetFromTemplate(Guid gadgetTemplateId)
Parameters
Type Name Description
System.Guid gadgetTemplateId
Returns
Type Description
Gadget

GetGadgetTemplates()

Declaration
IEnumerable<Gadget> GetGadgetTemplates()
Returns
Type Description
System.Collections.Generic.IEnumerable<Gadget>

Events

CreatingGadgetDefinition

Declaration
event EventHandler<GadgetDefinitionEventArgs> CreatingGadgetDefinition
Event Type
Type Description
System.EventHandler<GadgetDefinitionEventArgs>

GettingGadgetTemplates

Declaration
event EventHandler<GadgetTemplatesEventArgs> GettingGadgetTemplates
Event Type
Type Description
System.EventHandler<GadgetTemplatesEventArgs>

Extension Methods