コード例 #1
0
 /// <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;
 }
コード例 #2
0
 public ILocalisedBindableString GetLocalisedString(LocalisableString original) => new LocalisedBindableString(original, currentStorage, preferUnicode);
コード例 #3
0
 /// <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);