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