Restore SEBPatch
This commit is contained in:
23
SafeExamBrowser.I18n.Contracts/ITextResource.cs
Normal file
23
SafeExamBrowser.I18n.Contracts/ITextResource.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2024 ETH Zürich, IT Services
|
||||
*
|
||||
* 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
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines a text resource, i.e. a source from which text data can be loaded.
|
||||
/// </summary>
|
||||
public interface ITextResource
|
||||
{
|
||||
/// <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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user