Ejemplo n.º 1
0
 public void Write(ICozyWriter writer)
 {
     if(Path != null)
     {
         using (Stream stream = new FileStream(Path, FileMode.Create, FileAccess.Write))
         {
             writer.Write(stream);
         }
     }
 }
Ejemplo n.º 2
0
 public void Write(ICozyWriter writer)
 {
     if (Path != null)
     {
         using (Stream stream = new FileStream(Path, FileMode.Create, FileAccess.Write))
         {
             writer.Write(stream);
         }
     }
 }