Liquid XML Data Binder 2019
LxSerializer<T> Constructor(Assembly[])

LiquidTechnologies.XmlObjects Namespace > LxSerializer<T> Class > LxSerializer<T> Constructor : LxSerializer<T> Constructor(Assembly[])
An optional list of assemblies to search for Liquid XML Objects serialization classes.
If no assemblies are provided all loaded assemblies are included.
The assembly containing the type T is always included.

NOTE: On .Net Standard 1.6 and below, you must explicitly supply a list any additional assemblies (it only automatically adds the assembly containing T).
Constructor (creates a new LxSerializer instance internally)
Syntax
'Declaration
 
Public Function New( _
   ByVal ParamArray assembliesToScan() As System.Reflection.Assembly _
)
public LxSerializer<T>( 
   params System.Reflection.Assembly[] assembliesToScan
)

Parameters

assembliesToScan
An optional list of assemblies to search for Liquid XML Objects serialization classes.
If no assemblies are provided all loaded assemblies are included.
The assembly containing the type T is always included.

NOTE: On .Net Standard 1.6 and below, you must explicitly supply a list any additional assemblies (it only automatically adds the assembly containing T).
Remarks
The creation of the internal LxSerializer class is quite expensive, if multiple LxSerializer<T> classes need to be constructed then for performance reasons it may be advantageous to explicitly create an instance of LxSerializer and use the constructor LxSerializer<T> Constructor(LxSerializer).
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

Reference

LxSerializer<T> Class
LxSerializer<T> Members
Overload List