XmlSerializerDeserializeContentSafe(XElement, Object, IEnumerableType) Method
Namespace: KGySoft.Serialization.XmlAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static void DeserializeContentSafe(
XElement content,
Object obj,
IEnumerable<Type>? expectedCustomTypes
)
Public Shared Sub DeserializeContentSafe (
content As XElement,
obj As Object,
expectedCustomTypes As IEnumerable(Of Type)
)
public:
static void DeserializeContentSafe(
XElement^ content,
Object^ obj,
IEnumerable<Type^>^ expectedCustomTypes
)
static member DeserializeContentSafe :
content : XElement *
obj : Object *
expectedCustomTypes : IEnumerable<Type> -> unit
- content XElement
- XML content of the object.
- obj Object
- The already constructed object whose inner state has to be deserialized.
- expectedCustomTypes IEnumerableType
- The natively not supported types that are expected to present in the XML content.
If content does not contain any natively not supported types, then this parameter can be .
The deserialized object.