November Happy Hour will be moved to Thursday December 5th.

Class McToolbarJsonConvertor

Class for custom JSON serialization Supports only class McToolbarItem

Inheritance
System.Object
McToolbarJsonConvertor
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
Syntax
public class McToolbarJsonConvertor : JavaScriptConverter

Constructors

McToolbarJsonConvertor()

Declaration
public McToolbarJsonConvertor()

Properties

SupportedTypes

Declaration
public override IEnumerable<Type> SupportedTypes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

Methods

Deserialize(IDictionary<String, Object>, Type, JavaScriptSerializer)

Declaration
public override object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> dictionary
System.Type type
System.Web.Script.Serialization.JavaScriptSerializer serializer
Returns
Type Description
System.Object

Serialize(Object, JavaScriptSerializer)

Declaration
public override IDictionary<string, object> Serialize(object obj, JavaScriptSerializer serializer)
Parameters
Type Name Description
System.Object obj
System.Web.Script.Serialization.JavaScriptSerializer serializer
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>