//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.DurableInstancing { using System.Collections.Generic; using System.Xml.Linq; interface IObjectSerializer { object DeserializeValue(byte[] bytes); Dictionary DeserializePropertyBag(byte[] bytes); ArraySegment SerializeValue(object value); ArraySegment SerializePropertyBag(Dictionary value); } }