File: cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewStateService.cs
Project: ndp\System.Data.csproj (System.Data)
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//----------------------------------------------------------------
 
namespace System.Activities.Presentation.View
{
    using System.Activities.Presentation.Model;
    using System.Collections.Generic;
 
    public abstract class ViewStateService
    {
        public abstract event ViewStateChangedEventHandler ViewStateChanged;
        public abstract event ViewStateChangedEventHandler UndoableViewStateChanged;
        public abstract object RetrieveViewState(ModelItem modelItem, string key);
        public abstract void StoreViewState(ModelItem modelItem, string key, object value);
        public abstract void StoreViewStateWithUndo(ModelItem modelItem, string key, object value);
        public abstract Dictionary<string, object> RetrieveAllViewState(ModelItem modelItem);
        public abstract bool RemoveViewState(ModelItem modelItem, string key);
    }
}