Ejemplo n.º 1
0
 public void PrintTo(object val, string entryName, string file, SerializeFlags DataFlags = SerializeFlags.None)
 {
     currentFlags = DataFlags;
     using (writter = new Writter(file))
     {
         Print(val, entryName);
     }
 }
Ejemplo n.º 2
0
 public string PrintToString(object val, string entryName, SerializeFlags DataFlags = SerializeFlags.None)
 {
     currentFlags = DataFlags;
     using (writter = new Writter())
     {
         Print(val, entryName);
         return(writter.GetString());
     }
 }
Ejemplo n.º 3
0
 public void PrintTo(object val, string entryName, Stream stream, SerializeFlags DataFlags = SerializeFlags.None)
 {
     writter      = new Writter(stream);
     currentFlags = DataFlags;
     Print(val, entryName);
 }