Loupe - Log - Monitor - Resolve
Loupe.Extensibility Namespace / IExtensionDefinitionContext Interface / RegisterRepositoryCommand Method
A type that implements the IRepositoryCommand interface.

In This Topic
    RegisterRepositoryCommand Method
    In This Topic
    Registers the specified type to be a repository command for the current extension
    Syntax
    'Declaration
     
    
    Sub RegisterRepositoryCommand( _
       ByVal command As Type _
    ) 
    void RegisterRepositoryCommand( 
       Type command
    )

    Parameters

    command
    A type that implements the IRepositoryCommand interface.
    Remarks

    Types should not be registered more than once, however duplicate registrations will be ignored.

    If the specified type does not implement (directly or through inheritance) the required interface(s) an exception will be thrown.

    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