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
| Type | Name | 
|---|---|
| <XmlDto> | from | 
Type Parameters
- XmlDto
SerializeToStream(Object, Stream)
View Source
Declaration
public void SerializeToStream(object obj, Stream stream)
Parameters
| Type | Name | 
|---|---|
| System.Object | obj | 
| System.IO.Stream | stream | 
DeserializeFromString<To>(String)
View Source
Declaration
public To DeserializeFromString<To>(string xml)
Returns
<To>
Parameters
| Type | Name | 
|---|---|
| System.String | xml | 
Type Parameters
- To
DeserializeFromString(String, Type)
View Source
Declaration
public object DeserializeFromString(string xml, Type type)
Returns
System.Object
Parameters
| Type | Name | 
|---|---|
| System.String | xml | 
| System.Type | type | 
DeserializeFromStream(Type, Stream)
View Source
Declaration
public object DeserializeFromStream(Type type, Stream stream)
Returns
System.Object
Parameters
| Type | Name | 
|---|---|
| System.Type | type | 
| System.IO.Stream | stream | 
Parse<To>(TextReader)
View Source
Declaration
public To Parse<To>(TextReader from)
Returns
<To>
Parameters
| Type | Name | 
|---|---|
| System.IO.TextReader | from | 
Type Parameters
- To
Parse<To>(Stream)
View Source
Declaration
public To Parse<To>(Stream from)
Returns
<To>
Parameters
| Type | Name | 
|---|---|
| System.IO.Stream | from | 
Type Parameters
- To