Class UnknownTypeEventArgs
- Namespace
- NMF.Serialization
- Assembly
- NMF.Serialization.dll
Event args for the event that the serializer encounters an unknown type
public class UnknownTypeEventArgs : EventArgs
- Inheritance
-
UnknownTypeEventArgs
- Inherited Members
Constructors
UnknownTypeEventArgs(IPropertySerializationInfo, string, string)
Creates a new instance
public UnknownTypeEventArgs(IPropertySerializationInfo property, string ns, string localName)
Parameters
propertyIPropertySerializationInfoThe property for which the type is needed
nsstringThe namespace of the element
localNamestringThe local name of the element
Exceptions
- ArgumentNullException
Thrown if local name is null
Properties
LocalName
The local name of the element
public string LocalName { get; }
Property Value
Namespace
The namespace of the element
public string Namespace { get; }
Property Value
Property
The property for which the type is needed
public IPropertySerializationInfo Property { get; }
Property Value
Type
Gets or sets the resolved type
public ITypeSerializationInfo Type { get; set; }