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

39 lines
1.3 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IResourceService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System.Globalization;
using System.Resources;
/// <devdoc>
/// <para>
/// Provides designers a way to
/// access a resource for the current design-time
/// object.</para>
/// </devdoc>
public interface IResourceService {
/// <devdoc>
/// <para>
/// Locates the resource reader for the specified culture and
/// returns it.</para>
/// </devdoc>
IResourceReader GetResourceReader(CultureInfo info);
/// <devdoc>
/// <para>Locates the resource writer for the specified culture
/// and returns it. This will create a new resource for
/// the specified culture and destroy any existing resource,
/// should it exist.</para>
/// </devdoc>
IResourceWriter GetResourceWriter(CultureInfo info);
}
}