예제 #1
0
 public static string Create <T1, T2, T3, T4>(this ILocalizationCache cache, LocalizationFormattedValueDefinition <T1, T2, T3, T4> valueDefinition, T1 formatValue1, T2 formatValue2, T3 formatValue3, T4 formatValue4)
 {
     return(cache[valueDefinition.Key, new object[] { formatValue1, formatValue2, formatValue3, formatValue4 }]);
 }
예제 #2
0
 public static string Create <T1, T2, T3, T4, T5, T6, T7, T8>(this ILocalizationCache cache, LocalizationFormattedValueDefinition <T1, T2, T3, T4, T5, T6, T7, T8> valueDefinition, T1 formatValue1, T2 formatValue2, T3 formatValue3, T4 formatValue4, T5 formatValue5, T6 formatValue6, T7 formatValue7, T8 formatValue8)
 {
     return(cache[valueDefinition.Key, new object[] { formatValue1, formatValue2, formatValue3, formatValue4, formatValue5, formatValue6, formatValue7, formatValue8 }]);
 }
예제 #3
0
 public static string Create <T>(this ILocalizationCache cache, LocalizationFormattedValueDefinition <T> valueDefinition, T formatValue)
 {
     return(cache[valueDefinition.Key, new object[] { formatValue }]);
 }