Example #1
0
 internal static string ApplyCaps(StringBuilder sb, StrategyToUpper strategyToUpper)
 {
     strategyToUpper.ApplyStrategy(sb);
     return sb.ToString();
 }
Example #2
0
 internal static string ApplyCaps(StringBuilder sb, StrategyToUpper strategyToUpper)
 {
     strategyToUpper.ApplyStrategy(sb);
     return(sb.ToString());
 }
Example #3
0
 /// <summary>
 /// Возвращает пропись числа.
 /// </summary>
 public static string ConvertToString(uint uintDigit, IUnit unit, StrategyToUpper strategyToUpper)
 {
     return ApplyCaps(ConvertToString(uintDigit, unit, new StringBuilder()), strategyToUpper);
 }
Example #4
0
 /// <summary>
 /// Возвращает пропись числа.
 /// </summary>
 public static string ConvertToString(uint uintDigit, IUnit unit, StrategyToUpper strategyToUpper)
 {
     return(ApplyCaps(ConvertToString(uintDigit, unit, new StringBuilder()), strategyToUpper));
 }