/*
* Chapter10.File.cs
*
* Copyright © 2020
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Serialization.IRIGCH10
{
///
/// implementation of the Serialization.File class for Chapter10
///
public partial class File
: Serialization.File, IWritable
{
///
/// constructor
///
public File()
: base("Chapter10")
{
}
///
/// Get the file writer for this file type.
///
public IWriter Exporter
{
get
{
try
{
if (_exporter == null)
{
var writer = new Writer(this, DefaultEncoding);
_exporter = writer;
}
return _exporter;
}
catch (System.Exception ex)
{
throw new Exception("encountered problem getting exporter", ex);
}
}
}
private IWriter _exporter;
}
}