Esempio n. 1
0
 public TranslationWriter(ITranslationSettings settings, ITranslatable translatable)
     : this(
         settings.Formatter,
         settings.Indent,
         translatable.TranslationSize +
         translatable.FormattingSize +
         translatable.GetIndentSize())
 {
     translatable.WriteTo(this);
 }
Esempio n. 2
0
 public int GetIndentSize() => _baseTranslatable.GetIndentSize();
Esempio n. 3
0
 public int GetIndentSize() => _labelValueTranslation?.GetIndentSize() ?? 0;
 public int GetIndentSize() => _typeNameTranslatable.GetIndentSize();
Esempio n. 5
0
 public int GetIndentSize() => _parametersTranslation.GetIndentSize();