Write() public static method

public static Write ( string s ) : void
s string
return void
Exemplo n.º 1
0
 /// <summary>Print the key and rank only, not the rest.</summary>
 /// <remarks>Print the key and rank only, not the rest.</remarks>
 public virtual void PrintKey(int indent)
 {
     for (int i = 0; i < indent; i++)
     {
         ConsoleSurrogate.Write(" ");
     }
     ConsoleSurrogate.WriteLine("key: " + key + " " + rank);
 }
Exemplo n.º 2
0
 /// <summary>Print a word list on one line.</summary>
 /// <remarks>Print a word list on one line.</remarks>
 public virtual void Print(int indent)
 {
     for (int i = 0; i < Count; i++)
     {
         string s = (string)this [i];
         ConsoleSurrogate.Write(s + "  ");
     }
     ConsoleSurrogate.WriteLine();
 }
Exemplo n.º 3
0
        /// <summary>Print out the decomp rule.</summary>
        /// <remarks>Print out the decomp rule.</remarks>
        public virtual void Print(int indent)
        {
            string m = mem ? "true" : "false";

            for (int i = 0; i < indent; i++)
            {
                ConsoleSurrogate.Write(" ");
            }
            ConsoleSurrogate.WriteLine("decomp: " + pattern + " " + m);
            reasemb.Print(indent + 2);
        }
Exemplo n.º 4
0
 /// <summary>Print the reassembly list.</summary>
 /// <remarks>Print the reassembly list.</remarks>
 public virtual void Print(int indent)
 {
     for (int i = 0; i < Count; i++)
     {
         for (int j = 0; j < indent; j++)
         {
             ConsoleSurrogate.Write(" ");
         }
         string s = (string)this[i];
         ConsoleSurrogate.WriteLine("reasemb: " + s);
     }
 }
Exemplo n.º 5
0
 /// <summary>Prnt the synonym lists.</summary>
 /// <remarks>Prnt the synonym lists.</remarks>
 public virtual void Print(int indent)
 {
     for (int i = 0; i < Count; i++)
     {
         for (int j = 0; j < indent; j++)
         {
             ConsoleSurrogate.Write(" ");
         }
         ConsoleSurrogate.Write("synon: ");
         WordList w = (WordList)this[i];
         w.Print(indent);
     }
 }