VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ImageProcessingCommandFactory Class / RegisterCommand<TSourceCommand,TOverrideCommand>(Type) Method
Syntax Requirements SeeAlso
In This Topic
    RegisterCommand<TSourceCommand,TOverrideCommand>(Type) Method (ImageProcessingCommandFactory)
    In This Topic
    Registers the overridden processing command for processing command of type TSourceCommand.
    Syntax
    'Declaration
    
    Public Shared Sub RegisterCommand<TSourceCommand
    The processing command type that must be overridden.
    ,TOverrideCommand
    The processing command type that overrides the processing command of type .
    >( _
    ByVal decoderType
    The image decoder type for which the processing command must be overridden.
    As System.Type _
    ) (Of TSourceCommand
    The processing command type that must be overridden.
    As ProcessingCommandBase, TOverrideCommand
    The processing command type that overrides the processing command of type TSourceCommand.
    As TSourceCommand, New})
    public static void RegisterCommand<TSourceCommand,TOverrideCommand>(
    System.Type decoderType
    ) where TSourceCommand: ProcessingCommandBase where TOverrideCommand: TSourceCommand, new()
    public: static void RegisterCommand<TSourceCommand,TOverrideCommand>(
    System.Type* decoderType
    ) where TSourceCommand: ProcessingCommandBase* where TOverrideCommand: TSourceCommand, new()
    generic<typename TSourceCommand>
    generic<typename TOverrideCommand>
    public:
    static void RegisterCommand(
    System.Type^ decoderType
    ) where TSourceCommand: ProcessingCommandBase^ where TOverrideCommand: TSourceCommand, gcnew()

    Parameters

    decoderType
    The image decoder type for which the processing command must be overridden.

    Type Parameters

    TSourceCommand
    The processing command type that must be overridden.
    TOverrideCommand
    The processing command type that overrides the processing command of type TSourceCommand.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also