The factory class that handles the serialization and deserialization by IImageOperation implementations
Definition
Namespace:Telerik.Web.UI.ImageEditor.Serialization
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class ImageOperationSerializer
Inheritance: objectImageOperationSerializer
Inherited Members
Constructors
Initializes the factory with the default(built-in) serializers
C#
public ImageOperationSerializer()
Intializes the factory with the provided serializers. Default serializers are not included.
C#
public ImageOperationSerializer(ImageOperationSerializers serializers)
A collection of image operation serializers.
Methods
Composes an image operation based on the provided serialized value
Composes an image operation based on the provided data
C#
public virtual IImageOperation FromData(Dictionary<string, object> data)
A key/value collection for the operation
Returns:The newly composed image operation
Serializes the provided image operation.
C#
public virtual string Serialize(IImageOperation operation)
The image operation to serialize
Returns:The already serialized operation