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