Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Episerver Core - PropertyList class - update issue

$
0
0

On updating Episerver core to the latest version v11.13.0.0, the ParseToObject method in the PropertyList<T> class is removed. Kindly suggest an alternate for this method.

Thanks in advance.

public class PropertyListBase<T> : PropertyList<T>
{
public PropertyListBase()
{
objectSerializer = this.objectSerializerFactory.Service.GetSerializer("application/json");
}

private Injected<ObjectSerializerFactory> objectSerializerFactory;
private IObjectSerializer objectSerializer;

protected override T ParseItem(string value)
{
return objectSerializer.Deserialize<T>(value);
}

public override PropertyData ParseToObject(string value)
{
ParseToSelf(value);
return this;
}
}


Viewing all articles
Browse latest Browse all 6894

Trending Articles