Liquid XML Data Binder 2021
LiquidTechnologies.XmlObjects Namespace / LxDeserializerTypeResolver Delegate
All the types that are candidates for representing the XML element
The qualified name of an element
The qualified name of an elements xsi:type (can be null)
The returned type must be assignable to this type

In This Topic
    LxDeserializerTypeResolver Delegate
    In This Topic
    A function that will resolve any ambiguity if there are multiple types that could be used to de-serialize a give XML Element
    Syntax
    'Declaration
     
    
    Public Delegate Function LxDeserializerTypeResolver( _
       ByVal candidateTypes As System.Collections.Generic.IEnumerable(Of Type), _
       ByVal elementQName As System.Xml.XmlQualifiedName, _
       ByVal complexTypeQName As System.Xml.XmlQualifiedName, _
       ByVal assignableType As System.Type _
    ) As System.Type
    public delegate System.Type LxDeserializerTypeResolver( 
       System.Collections.Generic.IEnumerable<Type> candidateTypes,
       System.Xml.XmlQualifiedName elementQName,
       System.Xml.XmlQualifiedName complexTypeQName,
       System.Type assignableType
    )

    Parameters

    candidateTypes
    All the types that are candidates for representing the XML element
    elementQName
    The qualified name of an element
    complexTypeQName
    The qualified name of an elements xsi:type (can be null)
    assignableType
    The returned type must be assignable to this type
    Remarks
    The handler should either return one of the types in candidateTypes or throw an exception to halt the de-serialization process.
    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