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
- bool
trueif 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
Returns
Exceptions
WriteXml(XmlWriter, Failure, XmlQualifiedEntity)
Writes the XML representation of Failure.
public override void WriteXml(XmlWriter writer, Failure value, XmlQualifiedEntity elementName = null)
Parameters
writerXmlWriterThe XmlWriter to write to.
valueFailureThe object to serialize.
elementNameXmlQualifiedEntityThe element name to encapsulate around
value.