Interface IGadgetFactory
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
CreateGadgetFromTemplate(Guid)
Declaration
Gadget CreateGadgetFromTemplate(Guid gadgetTemplateId)
Parameters
Type |
Name |
Description |
System.Guid |
gadgetTemplateId |
|
Returns
GetGadgetTemplates()
Declaration
IEnumerable<Gadget> GetGadgetTemplates()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Gadget> |
|
Events
CreatingGadgetDefinition
Declaration
event EventHandler<GadgetDefinitionEventArgs> CreatingGadgetDefinition
Event Type
GettingGadgetTemplates
Declaration
event EventHandler<GadgetTemplatesEventArgs> GettingGadgetTemplates
Event Type
Extension Methods