C# 클래스 AppActs.Client.WebSite.Base.GraphConverter

상속: System.Web.Script.Serialization.JavaScriptConverter
파일 보기 프로젝트 열기: Appacts/mobile-analytics-server

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
serializeChart ( Graph graph ) : object>.IDictionary

Serializes the chart.

serializeChartPie ( Graph graph ) : object>.IDictionary

Serializes the chart pie.

메소드 상세

Deserialize() 공개 메소드

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.
리턴 object

Serialize() 공개 메소드

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.
리턴 object>.IDictionary