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)
    Public Function New( _
       ByVal baseSerializer As Serializer _
    public LxSerializer<T>( 
       Serializer baseSerializer


    An existing Serializer
    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.

    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