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