seb-win-refactoring/SafeExamBrowser.I18n.Contracts/IText.cs

27 lines
765 B
C#
Raw Normal View History

2017-07-05 11:41:19 +02:00
/*
* Copyright (c) 2024 ETH Zürich, IT Services
2017-07-05 11:41:19 +02:00
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
namespace SafeExamBrowser.I18n.Contracts
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Provides access to text data.
/// </summary>
public interface IText
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Initializes the text module, i.e. loads text data according to the currently active UI culture.
/// </summary>
void Initialize();
/// <summary>
/// Gets the text associated with the specified key. If the key was not found, an error message indicating the missing key will be returned.
/// </summary>
string Get(TextKey key);
2017-07-05 11:41:19 +02:00
}
}