Files
osu-framework/osu.Framework/Localisation/ILocalisableStringData.cs
2022-06-13 21:57:05 +09:00

20 lines
718 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Localisation
{
/// <summary>
/// An interface for <see cref="LocalisableString"/>'s data.
/// </summary>
public interface ILocalisableStringData : IEquatable<ILocalisableStringData>
{
/// <summary>
/// Gets a localised <see cref="string"/> using the given localisation store and other required data.
/// </summary>
/// <param name="parameters">Any parameters that control the localisation method.</param>
string GetLocalised(LocalisationParameters parameters);
}
}