/// <summary> /// Constructs a new transformable string with specified underlying localisable string and casing. /// </summary> /// <param name="str">The localisable string to apply case transformations on.</param> /// <param name="casing">The casing to use on the localisable string.</param> public CaseTransformableString(LocalisableString str, Casing casing) { String = str; Casing = casing; }
public ILocalisedBindableString GetLocalisedString(LocalisableString original) => new LocalisedBindableString(original, currentStorage, preferUnicode);
/// <summary> /// Creates an <see cref="ILocalisedBindableString"/> which automatically updates its text according to information provided in <see cref="ILocalisedBindableString.Text"/>. /// </summary> /// <returns>The <see cref="ILocalisedBindableString"/>.</returns> public ILocalisedBindableString GetLocalisedBindableString(LocalisableString original) => new LocalisedBindableString(original, this);