Loupe - Log - Monitor - Resolve
Loupe.Extensibility Namespace / IExtensionDefinition Interface / Register Method
A standard interface to the hosting environment for the Extension, provided to all the different extensions that get loaded.
Used to register the various types used by the extension.

In This Topic
    Register Method (IExtensionDefinition)
    In This Topic
    Called to register the extension.
    Syntax

    Parameters

    context
    A standard interface to the hosting environment for the Extension, provided to all the different extensions that get loaded.
    definitionContext
    Used to register the various types used by the extension.
    Remarks

    If any exception is thrown during this call this Extension will not be loaded.

    Register each of the other extension types that should be available to end users through appropriate calls to the definitionContext. These objects will be created and initialized as required and provided the same IExtensionContext object instance provided to this method to enable coordination between all of the components.

    After registration the extension definition object is unloaded and disposed.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also