C# Class Sage.Integration.Northwind.Common.XmlConverter

ファイルを表示 Open project: Sage/SData-Contracts

Public Methods

Method Description
GetString ( object value ) : string

Converts the value to a xml string representation.

TryGetString ( object value, string &convertedValue ) : bool

Tries get a xml string representation for a given object.

Private Methods

Method Description
GetString ( string typeName, object value ) : string
TryGetString ( object value, string typeName, string &convertedValue ) : bool

Method Details

GetString() public static method

Converts the value to a xml string representation.
If value type is not supported.
public static GetString ( object value ) : string
value object The value to be converted.
return string

TryGetString() public static method

Tries get a xml string representation for a given object.
public static TryGetString ( object value, string &convertedValue ) : bool
value object The value to be converted.
convertedValue string Contains the converted value.
return bool