C# Class ntest.Utils

Mostra file Open project: bricel/DrutNet

Public Methods

Method Description
GetLocales ( ) : string[]
Parse ( XmlDocument xdoc, Type valueType, MappingAction action, Type &parsedType, Type &parsedArrayType ) : object
Parse ( XmlDocument xdoc, Type valueType, MappingAction action, XmlRpcSerializer serializer, Type &parsedType, Type &parsedArrayType ) : object
Parse ( string xml, Type valueType, MappingAction action, Type &parsedType, Type &parsedArrayType ) : object
Parse ( string xml, Type valueType, MappingAction action, XmlRpcSerializer serializer, Type &parsedType, Type &parsedArrayType ) : object
Serialize ( string testName, object obj, Encoding encoding, MappingAction action ) : XmlDocument
SerializeToString ( string testName, object obj, MappingAction action ) : string

Method Details

GetLocales() public static method

public static GetLocales ( ) : string[]
return string[]

Parse() public static method

public static Parse ( XmlDocument xdoc, Type valueType, MappingAction action, Type &parsedType, Type &parsedArrayType ) : object
xdoc System.Xml.XmlDocument
valueType System.Type
action MappingAction
parsedType System.Type
parsedArrayType System.Type
return object

Parse() public static method

public static Parse ( XmlDocument xdoc, Type valueType, MappingAction action, XmlRpcSerializer serializer, Type &parsedType, Type &parsedArrayType ) : object
xdoc System.Xml.XmlDocument
valueType System.Type
action MappingAction
serializer CookComputing.XmlRpc.XmlRpcSerializer
parsedType System.Type
parsedArrayType System.Type
return object

Parse() public static method

public static Parse ( string xml, Type valueType, MappingAction action, Type &parsedType, Type &parsedArrayType ) : object
xml string
valueType System.Type
action MappingAction
parsedType System.Type
parsedArrayType System.Type
return object

Parse() public static method

public static Parse ( string xml, Type valueType, MappingAction action, XmlRpcSerializer serializer, Type &parsedType, Type &parsedArrayType ) : object
xml string
valueType System.Type
action MappingAction
serializer CookComputing.XmlRpc.XmlRpcSerializer
parsedType System.Type
parsedArrayType System.Type
return object

Serialize() public static method

public static Serialize ( string testName, object obj, Encoding encoding, MappingAction action ) : XmlDocument
testName string
obj object
encoding System.Text.Encoding
action MappingAction
return System.Xml.XmlDocument

SerializeToString() public static method

public static SerializeToString ( string testName, object obj, MappingAction action ) : string
testName string
obj object
action MappingAction
return string