[reflection] Coop handles icalls in System.Reflection and System.RuntimeTypeHandle...
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / IWorkflowDesignerStorageService.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4 namespace System.Activities.Presentation
5 {
6     // WorkflowDesignerStorageService is available in the designer's primary host, Visual Studio. Developers can 
7     // store/retrieve data using this service at any time. The data stored is cleared when the designer is closed
8     // and re-opened manually. But if the designer is automatically reloaded by Visual Studio after build is done
9     // or the reference assemblies are updated, the data stored will not be lost.
10     
11     // The data stored must be serialzable, otherwise exception will be thrown by SetData/AddData.
12     public interface IWorkflowDesignerStorageService
13     {
14         void AddData(string key, object value);
15         void RemoveData(string key);
16         object GetData(string key);
17         void SetData(string key, object value);
18         bool ContainsKey(string key);
19     }
20 }