LiquidTechnologies.XmlObjects Namespace / LxSerializer<T> Class / LxSerializer<T> Constructor / LxSerializer<T> Constructor(Serializer)
An existing Serializer

In This Topic
    LxSerializer<T> Constructor(Serializer)
    In This Topic
    Constructor (using an existing Serializer instance)
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal baseSerializer As Serializer _
    )
    public LxSerializer<T>( 
       Serializer baseSerializer
    )

    Parameters

    baseSerializer
    An existing Serializer
    Remarks
    Allows the serializer to be initialized from an existing Serializer instance (i.e. a LxSerializer or LjSerializer instance). The creation of a new serializer can be quite expensive as it needs to scan for LXO generated objects. So for performance reasons it may make sense to only perform this work once. The assembly containing the type T is automatically added to baseSerializer.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also