The base for all the image operation serializers.
Definition
Namespace:Telerik.Web.UI.ImageEditor.Serialization
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class ImageOperationSerializerBase
Inheritance: objectImageOperationSerializerBase
Derived Classes:
Inherited Members
Constructors
The default constructor for any image operation serializer.
public ImageOperationSerializerBase()
Properties
Methods
Constructs an image operation from the serialized input
public IImageOperation Deserialize(string value)
The serialized input
Returns:The image operation represented by the serialized input
Constructs an image operation from the provided data input
public abstract IImageOperation FromData(Dictionary<string, object> data)
The data content representing an image operation
Returns:An image operation represented by the provided data
Checks if the provided data is relevant to the current serializer
protected bool NameInDataIsCorrect(Dictionary<string, object> data)
The provided data
Returns:True if the provided data is relevant to the current image operation. False otherwise.
Serializes the image operation
public string Serialize(IImageOperation operation)
The operation that should be serialized
Returns:The string representation of the serialized image operation
Constructs a key/value pair collection from the image operation.
public abstract Dictionary<string, object> ToData(IImageOperation operation)
The image operation, from which the data is contructed
Returns:The constructed data from the image operation