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

21 lines
620 B
C#
Raw Normal View History

2017-07-05 11:41:19 +02:00
/*
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
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.Contracts.I18n
2017-07-05 11:41:19 +02:00
{
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
}
}