Exemplo n.º 1
0
        private static Uri CreateAccentResourceUri(Accent accent)
        {
            var param = new Dictionary <string, string>
            {
                { "accent", accent.ToString() },
            };

            return(accentTemplate.BindByName(templateBaseUri, param));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Method to translate <see cref="Accent"/>.
 /// </summary>
 /// <param name="accent"><see cref="Accent"/>.</param>
 /// <returns>Translated <see cref="Accent"/>.</returns>
 public string Translate(Accent accent)
 {
     return(Translate(accent.ToString()));
 }
Exemplo n.º 3
0
 private static Uri CreateAccentResourceUri(Accent accent)
 {
     var param = new Dictionary<string, string>
     {
         { "accent", accent.ToString() },
     };
     return accentTemplate.BindByName(templateBaseUri, param);
 }