Skip to main content

XmlSerializableSerializer

Assembly: ServiceStack.Client.dll
View Source
Declaration
public class XmlSerializableSerializer : IStringSerializer

Properties

XmlWriterSettings

View Source
Declaration
public static XmlWriterSettings XmlWriterSettings { get; set; }

Fields

Instance

View Source
Declaration
public static XmlSerializableSerializer Instance

Methods

SerializeToString<XmlDto>(XmlDto)

View Source
Declaration
public string SerializeToString<XmlDto>(XmlDto from)
Returns

System.String

Parameters
TypeName
<XmlDto>from
Type Parameters
  • XmlDto

SerializeToStream(Object, Stream)

View Source
Declaration
public void SerializeToStream(object obj, Stream stream)
Parameters
TypeName
System.Objectobj
System.IO.Streamstream

DeserializeFromString<To>(String)

View Source
Declaration
public To DeserializeFromString<To>(string xml)
Returns

<To>

Parameters
TypeName
System.Stringxml
Type Parameters
  • To

DeserializeFromString(String, Type)

View Source
Declaration
public object DeserializeFromString(string xml, Type type)
Returns

System.Object

Parameters
TypeName
System.Stringxml
System.Typetype

DeserializeFromStream(Type, Stream)

View Source
Declaration
public object DeserializeFromStream(Type type, Stream stream)
Returns

System.Object

Parameters
TypeName
System.Typetype
System.IO.Streamstream

Parse<To>(TextReader)

View Source
Declaration
public To Parse<To>(TextReader from)
Returns

<To>

Parameters
TypeName
System.IO.TextReaderfrom
Type Parameters
  • To

Parse<To>(Stream)

View Source
Declaration
public To Parse<To>(Stream from)
Returns

<To>

Parameters
TypeName
System.IO.Streamfrom
Type Parameters
  • To

Implements