Пример #1
0
 public void Write(ICozyWriter writer)
 {
     if(Path != null)
     {
         using (Stream stream = new FileStream(Path, FileMode.Create, FileAccess.Write))
         {
             writer.Write(stream);
         }
     }
 }
Пример #2
0
 public void Write(ICozyWriter writer)
 {
     if (Path != null)
     {
         using (Stream stream = new FileStream(Path, FileMode.Create, FileAccess.Write))
         {
             writer.Write(stream);
         }
     }
 }