DicomObjects.NET.8.48 Documentation
DicomObjects.DicomCodecs Namespace / CodecGlobal Class / AddCodec Method / AddCodec(Assembly) Method
The Assembly to search






In This Topic
    AddCodec(Assembly) Method
    In This Topic

    Finds all codec factories in the assembly by finding classes which are derived from the CodecFactory abstract class.

    Once the factories have been identified, their supported combinations of formats/transfer syntaxes and operations are indexed for future use

    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub AddCodec( _
       ByVal Assembly As System.Reflection.Assembly _
    ) 
    'Usage
     
    
    Dim Assembly As System.Reflection.Assembly
     
    CodecGlobal.AddCodec(Assembly)
    public static void AddCodec( 
       System.Reflection.Assembly Assembly
    )
    public procedure AddCodec( 
        Assembly: System.Reflection.Assembly
    ); static; 
    public static function AddCodec( 
       Assembly : System.Reflection.Assembly
    );
    public: static void AddCodec( 
       System.Reflection.Assembly* Assembly
    ) 
    public:
    static void AddCodec( 
       System.Reflection.Assembly^ Assembly
    ) 

    Parameters

    Assembly
    The Assembly to search
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also