SaaS CMS has officially launched! Learn more now.

Interface IPlugInDescriptorRepository

Repository that manages PlugInDescriptor

Namespace: EPiServer.PlugIn
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IPlugInDescriptorRepository

Methods

List()

Lists all descriptors

Declaration
IEnumerable<PlugInDescriptor> List()
Returns
Type Description
System.Collections.Generic.IEnumerable<PlugInDescriptor>

A list of all descriptors

List(Type)

Lists all descriptors of specified plugin type

Declaration
IEnumerable<PlugInDescriptor> List(Type pluginType)
Parameters
Type Name Description
System.Type pluginType

The plugin type to list desciptors for

Returns
Type Description
System.Collections.Generic.IEnumerable<PlugInDescriptor>

A list of all descriptors of specified type

Save(PlugInDescriptor)

Saves a descriptor

Declaration
void Save(PlugInDescriptor plugInDescriptor)
Parameters
Type Name Description
PlugInDescriptor plugInDescriptor

The descriptor to save

Events

Saved

Event for when descriptors are saved

Declaration
event EventHandler<PlugInDescritorChangedEventArgs> Saved
Event Type
Type Description
System.EventHandler<PlugInDescritorChangedEventArgs>

Extension Methods