2017-07-05 11:41:19 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01: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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-07-05 17:21:52 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.I18n.Contracts
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines a text resource, i.e. a source from which text data can be loaded.
|
|
|
|
|
/// </summary>
|
2017-07-06 10:56:03 +02:00
|
|
|
|
public interface ITextResource
|
2017-07-05 11:41:19 +02:00
|
|
|
|
{
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// <summary>
|
2017-10-10 10:17:28 +02:00
|
|
|
|
/// 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.
|
2017-07-12 15:36:30 +02:00
|
|
|
|
/// </summary>
|
2017-08-03 15:35:22 +02:00
|
|
|
|
IDictionary<TextKey, string> LoadText();
|
2017-07-05 11:41:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|