e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
39 lines
1.3 KiB
C#
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);
|
|
}
|
|
}
|
|
|