예제 #1
0
파일: LogicalWriter.cs 프로젝트: rmc00/gsf
 /// <summary>
 /// Creates a new instance of the <see cref="LogicalWriter"/> class.
 /// </summary>
 /// <param name="stream">The stream to write the PQDIF data to.</param>
 /// <param name="leaveOpen">Indicates whether to leave the stream open when disposing of the writer.</param>
 public LogicalWriter(Stream stream, bool leaveOpen = false)
 {
     m_physicalWriter = new PhysicalWriter(stream, leaveOpen);
     m_missingTags = new List<MissingTag>();
 }
예제 #2
0
파일: LogicalWriter.cs 프로젝트: rmc00/gsf
 /// <summary>
 /// Creates a new instance of the <see cref="LogicalWriter"/> class.
 /// </summary>
 /// <param name="filePath">The path to the file where the PQDIF data is to be written.</param>
 public LogicalWriter(string filePath)
 {
     m_physicalWriter = new PhysicalWriter(filePath);
     m_missingTags = new List<MissingTag>();
 }