/* * SoMat.File.cs * * Copyright © 2013 * Diversified Technical Systems, Inc. * All Rights Reserved */ namespace DTS.Serialization.SoMat { /// /// /// File /// /// public partial class File : Serialization.File, IWritable { /// /// /// Initialize an instance of the FtssCsv.File class. /// /// public File() : base("SoMat") { } /// /// Get this file format's extension. /// public static string Extension => ".txt"; /// /// Get the file writer for this file type. /// public IWriter Exporter { get { try { if (_Exporter == null) _Exporter = new Writer(this, DefaultEncoding); return _Exporter; } catch (System.Exception ex) { throw new Exception("encountered problem getting exporter", ex); } } } private IWriter _Exporter = null; } }