Dominion.IndentedTextWriter.IndentIfNewLine C# (CSharp) Method

IndentIfNewLine() private method

private IndentIfNewLine ( ) : void
return void
        private void IndentIfNewLine()
        {
            if (this.isNewLine)
            {
                for (int i = 0; i < this.indentLevel; ++i)
                {
                    this.textWriter.Write("  ");
                }

                this.isNewLine = false;
            }
        }