Helper class for implementers of extension points, which allows easy instantiation of all extensions registered with an extension point identified by a specific type of extension attribute.

Namespace:  Sdl.Core.PluginFramework
Assembly:  Sdl.Core.PluginFramework (in Sdl.Core.PluginFramework.dll) Version: 1.8.0.0 (1.8.2295.0)

Syntax

C#
public class ObjectRegistry<TExtensionAttribute, TExtensionType>
where TExtensionAttribute : ExtensionAttribute
where TExtensionType : class
Visual Basic (Declaration)
Public Class ObjectRegistry(Of TExtensionAttribute As ExtensionAttribute, TExtensionType As Class)
Visual C++
generic<typename TExtensionAttribute, typename TExtensionType>
where TExtensionAttribute : ExtensionAttribute
where TExtensionType : ref class
public ref class ObjectRegistry

Type Parameters

TExtensionAttribute
The type of extension attribute, identifying the extension point.
TExtensionType
The type of the extension implementation classes for the extension point.

Inheritance Hierarchy

System..::.Object
  Sdl.Core.PluginFramework..::.ObjectRegistry<(Of <(TExtensionAttribute, TExtensionType>)>)
    Sdl.Core.PluginFramework.Util..::.SortedObjectRegistry<(Of <(TSortableExtensionAttribute, TExtensionType>)>)

See Also