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

Afficher le fichier Open project: Sage/SData-Contracts

Méthodes publiques

Méthode 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

Méthode Description
GetString ( string typeName, object value ) : string
TryGetString ( object value, string typeName, string &convertedValue ) : bool

Method Details

GetString() public static méthode

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.
Résultat string

TryGetString() public static méthode

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.
Résultat bool