C# Class AppActs.Client.WebSite.Base.GraphConverter

Inheritance: System.Web.Script.Serialization.JavaScriptConverter
Datei anzeigen Open project: Appacts/mobile-analytics-server

Public Methods

Method Description
Deserialize ( object>.IDictionary dictionary, Type type, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object

Converts the provided dictionary into an object of the specified type.

Serialize ( object obj, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object>.IDictionary

When overridden in a derived class, builds a dictionary of name/value pairs.

Private Methods

Method Description
serializeChart ( Graph graph ) : object>.IDictionary

Serializes the chart.

serializeChartPie ( Graph graph ) : object>.IDictionary

Serializes the chart pie.

Method Details

Deserialize() public method

Converts the provided dictionary into an object of the specified type.
We only serialize
public Deserialize ( object>.IDictionary dictionary, Type type, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object
dictionary object>.IDictionary An instance of property data stored as name/value pairs.
type System.Type The type of the resulting object.
serializer System.Web.Script.Serialization.JavaScriptSerializer The instance.
return object

Serialize() public method

When overridden in a derived class, builds a dictionary of name/value pairs.
public Serialize ( object obj, System.Web.Script.Serialization.JavaScriptSerializer serializer ) : object>.IDictionary
obj object The object to serialize.
serializer System.Web.Script.Serialization.JavaScriptSerializer The object that is responsible for the serialization.
return object>.IDictionary