Show / Hide Table of Contents

Class XmlObjectTextSerializer

Implementation of IObjectTextSerializer using Xml.

Inheritance
object
XmlObjectTextSerializer
Implements
IObjectTextSerializer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Xml
Assembly: Aruba.Infrastructure.dll
Syntax
public class XmlObjectTextSerializer : IObjectTextSerializer

Methods

View Source

GetDefaultFileExtension()

Get default file extensions.

Declaration
public string GetDefaultFileExtension()
Returns
Type Description
string

The extension string.

View Source

ReadObjectFromText(TextReader, Type)

Read an object from text.

Declaration
public object ReadObjectFromText(TextReader textReader, Type targetType)
Parameters
Type Name Description
TextReader textReader

The text reader to use.

Type targetType

The target type to initialize.

Returns
Type Description
object

The created object.

View Source

WriteObjectToText(object, TextWriter)

Write object to text.

Declaration
public void WriteObjectToText(object objectToWrite, TextWriter textWriter)
Parameters
Type Name Description
object objectToWrite

The object to write out.

TextWriter textWriter

The text writer object to use.

Implements

IObjectTextSerializer
  • View Source
In this article
Back to top Generated by DocFX