public static void ReplaceSpaces(ITreeNode leftNode, ITreeNode rightNode, IEnumerable <string> wsTexts) { if (wsTexts == null) { return; } FormatterImplHelper.ReplaceSpaces(leftNode, rightNode, wsTexts.CreateWhitespaces().Cast <ITreeNode>().ToArray()); }
private void ReplaceSpaces(ITreeNode leftNode, ITreeNode rightNode, IEnumerable <string> wsTexts) { if (wsTexts == null) { return; } FormatterImplHelper.ReplaceSpaces(leftNode, rightNode, CreateWhitespaces(wsTexts)); }