Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

43 lines
1.3 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IDictionaryService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System.ComponentModel;
using System.Diagnostics;
using System;
/// <devdoc>
/// <para>Provides a generic dictionary service that a designer can use
/// to store user-defined data on the site.</para>
/// </devdoc>
public interface IDictionaryService {
/// <devdoc>
/// <para>
/// Gets the key corresponding to the specified value.
/// </para>
/// </devdoc>
object GetKey(object value);
/// <devdoc>
/// <para>
/// Gets the value corresponding to the specified key.
/// </para>
/// </devdoc>
object GetValue(object key);
/// <devdoc>
/// <para>
/// Sets the specified key-value pair.</para>
/// </devdoc>
void SetValue(object key, object value);
}
}