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

24 lines
698 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/.
*/
using System.Collections.Generic;
namespace SafeExamBrowser.I18n.Contracts
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Defines a text resource, i.e. a source from which text data can be loaded.
/// </summary>
public interface ITextResource
2017-07-05 11:41:19 +02:00
{
/// <summary>
/// Loads all text data from a resource. Throws an exception if the data could not be loaded, e.g. due to a data format error.
/// </summary>
IDictionary<TextKey, string> LoadText();
2017-07-05 11:41:19 +02:00
}
}