8 references to GetFormattedPart
dotnet (8)
Commands\Test\MTP\Terminal\HumanReadableDurationFormatter.cs (8)
27terminal.Append(GetFormattedPart(duration.Hours, hasParentValue, "h")); 33terminal.Append(GetFormattedPart(duration.Minutes, hasParentValue, "m")); 39terminal.Append(GetFormattedPart(duration.Seconds, hasParentValue, "s")); 45terminal.Append(GetFormattedPart(duration.Milliseconds, hasParentValue, "ms", paddingWitdh: 3)); 81stringBuilder.Append(GetFormattedPart(duration.Value.Hours, hasParentValue, "h")); 87stringBuilder.Append(GetFormattedPart(duration.Value.Minutes, hasParentValue, "m")); 93stringBuilder.Append(GetFormattedPart(duration.Value.Seconds, hasParentValue, "s")); 101stringBuilder.Append(GetFormattedPart(duration.Value.Milliseconds, hasParentValue, "ms", paddingWitdh: 3));