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