Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

25 lignes
415 B

  1. using System;
  2. namespace CIG.Translation
  3. {
  4. public class RawIntegerString : ILocalizedString
  5. {
  6. public RawIntegerString(int i)
  7. {
  8. this._int = i;
  9. }
  10. public override string ToString()
  11. {
  12. return "[IntegerString=" + this._int.ToString() + "]";
  13. }
  14. public string Translate()
  15. {
  16. return this._int.ToString("N0", Localization.CurrentCulture.Info);
  17. }
  18. private int _int;
  19. }
  20. }