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

Inheritance: System.Web.Script.Serialization.JavaScriptConverter
Afficher le fichier Open project: Appacts/mobile-analytics-server

Méthodes publiques

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

Méthode Description
serializeChart ( Graph graph ) : object>.IDictionary

Serializes the chart.

serializeChartPie ( Graph graph ) : object>.IDictionary

Serializes the chart pie.

Method Details

Deserialize() public méthode

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

Serialize() public méthode

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