Table of Contents

Class FailureConverter

Namespace
Cuemon.Xml.Serialization.Converters
Assembly
Cuemon.Xml.dll

Converts a Failure object to XML.

public class FailureConverter : XmlConverter<Failure>
Inheritance
FailureConverter
Inherited Members

Properties

CanRead

Gets a value indicating whether this XmlConverter can read XML.

public override bool CanRead { get; }

Property Value

Boolean

true if this XmlConverter can read XML; otherwise, false.

Methods

ReadXml(Type, XmlReader)

Reads the XML representation of the objectType.

public override Failure ReadXml(Type objectType, XmlReader reader)

Parameters

objectType Type

The Type of the object.

reader XmlReader

The XmlReader to read from.

Returns

Failure

An object of Failure.

Exceptions

NotImplementedException

WriteXml(XmlWriter, Failure, XmlQualifiedEntity)

Writes the XML representation of Failure.

public override void WriteXml(XmlWriter writer, Failure value, XmlQualifiedEntity elementName = null)

Parameters

writer XmlWriter

The XmlWriter to write to.

value Failure

The object to serialize.

elementName XmlQualifiedEntity

The element name to encapsulate around value.