Exemple #1
0
 public static void Append(this ILocaleCache cache, StringToken token, string value)
 {
     cache.Append(token.ToLocalizationKey(), value);
 }
Exemple #2
0
 public static void Append <T>(this ILocaleCache cache, Expression <Func <T, object> > property, string value)
 {
     cache.Append(new LocalizationKey(PropertyToken.For(property).StringTokenKey), value);
 }