DicomObjects.NET.V8
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 Assembly _
    ) 
    'Usage
     
    Dim Assembly As Assembly
     
    CodecGlobal.AddCodec(Assembly)
    public static void AddCodec( 
       Assembly Assembly
    )
    public:
    static void AddCodec( 
       Assembly^ Assembly
    ) 

    Parameters

    Assembly
    The Assembly to search
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also