C# Class ServiceStack.Serialization.XmlSerializerWrapper

Inheritance: System.Runtime.Serialization.XmlObjectSerializer
Mostra file Open project: nustack/ServiceStack Class Usage Examples

Public Methods

Method Description
GetNamespace ( Type type ) : string

Gets the namespace from an attribute marked on the type's definition

IsStartObject ( XmlDictionaryReader reader ) : bool
ReadObject ( XmlDictionaryReader reader ) : object
ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
WriteEndObject ( XmlDictionaryWriter writer ) : void
WriteObject ( XmlDictionaryWriter writer, object graph ) : void
WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
XmlSerializerWrapper ( Type type ) : System
XmlSerializerWrapper ( Type type, string name, string ns ) : System

Method Details

GetNamespace() public static method

Gets the namespace from an attribute marked on the type's definition
public static GetNamespace ( Type type ) : string
type System.Type
return string

IsStartObject() public method

public IsStartObject ( XmlDictionaryReader reader ) : bool
reader System.Xml.XmlDictionaryReader
return bool

ReadObject() public method

public ReadObject ( XmlDictionaryReader reader ) : object
reader System.Xml.XmlDictionaryReader
return object

ReadObject() public method

public ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
reader System.Xml.XmlDictionaryReader
verifyObjectName bool
return object

WriteEndObject() public method

public WriteEndObject ( XmlDictionaryWriter writer ) : void
writer System.Xml.XmlDictionaryWriter
return void

WriteObject() public method

public WriteObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
return void

WriteObjectContent() public method

public WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
return void

WriteStartObject() public method

public WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
return void

XmlSerializerWrapper() public method

public XmlSerializerWrapper ( Type type ) : System
type System.Type
return System

XmlSerializerWrapper() public method

public XmlSerializerWrapper ( Type type, string name, string ns ) : System
type System.Type
name string
ns string
return System