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