C# Class Sage.Integration.Northwind.Etag.PayloadEtagSerializer

Inheritance: IEtagSerializer
ファイルを表示 Open project: Sage/SData-Contracts Class Usage Examples

Public Methods

Method Description
Serialize ( object obj ) : string

Protected Methods

Method Description
GetPayloadObject ( object obj ) : object
GetSerializedValue ( object value ) : string

Serializes a simple type value. If the object cannot be serialized an empty string is returned.

SerializeCompositeObject ( object compositeObj ) : string

Private Methods

Method Description
SerializeProperties ( PropertyInfo propertyInfos, object obj ) : string

Method Details

GetPayloadObject() protected method

protected GetPayloadObject ( object obj ) : object
obj object
return object

GetSerializedValue() protected method

Serializes a simple type value. If the object cannot be serialized an empty string is returned.
protected GetSerializedValue ( object value ) : string
value object
return string

Serialize() public method

public Serialize ( object obj ) : string
obj object must be of type .
return string

SerializeCompositeObject() protected method

protected SerializeCompositeObject ( object compositeObj ) : string
compositeObj object
return string