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