Show / Hide Table of Contents

Class UnknownTypeEventArgs

Event args for the event that the serializer encounters an unknown type

Inheritance
object
EventArgs
UnknownTypeEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
public class UnknownTypeEventArgs : EventArgs

Constructors

| Edit this page View Source

UnknownTypeEventArgs(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 Source

LocalName

The local name of the element

Declaration
public string LocalName { get; }
Property Value
Type Description
string
| Edit this page View Source

Namespace

The namespace of the element

Declaration
public string Namespace { get; }
Property Value
Type Description
string
| Edit this page View Source

Property

The property for which the type is needed

Declaration
public IPropertySerializationInfo Property { get; }
Property Value
Type Description
IPropertySerializationInfo
| Edit this page View Source

Type

Gets or sets the resolved type

Declaration
public ITypeSerializationInfo Type { get; set; }
Property Value
Type Description
ITypeSerializationInfo
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX