Indent() public méthode

public Indent ( ) : void
Résultat void
 public void Write(IndentedTextWriter textWriter, PlayerState[] players)
 {
     foreach (PlayerState player in players)
     {
         textWriter.WriteLine("{0} GainSequence was:", player.actions.PlayerName);
         textWriter.Indent();
         int count = 0;
         foreach (Card card in this.gainSequenceByPlayer[player.PlayerIndex])
         {
             textWriter.Write("{0}, ", card.name);
             if (++count == 5)
             {
                 count = 0;
                 textWriter.WriteLine();
             };
         }
         textWriter.Unindent();
         textWriter.WriteLine();
         textWriter.WriteLine();
     }
 }
 public void Write(IndentedTextWriter textWriter, PlayerState[] players)
 {
     foreach (PlayerState player in players)
     {
         textWriter.WriteLine("{0} GainSequence was:", player.actions.PlayerName);
         textWriter.Indent();
         int count = 0;
         foreach (Card card in this.gainSequenceByPlayer[player.PlayerIndex])
         {
             textWriter.Write("{0}, ", card.name);
             if (++count == 5)
             {
                 count = 0;
                 textWriter.WriteLine();
             }
             ;
         }
         textWriter.Unindent();
         textWriter.WriteLine();
         textWriter.WriteLine();
     }
 }