public void FromXml(XmlNode node) { if (node == null || node.NodeType != XmlNodeType.Element) { settings = ExporterSettings.Default; } else { XmlNode settingsNode = node.SelectSingleNode("Settings"); if (settingsNode != null) { settings = ExporterSettings.ReadXml(settingsNode); } } }
static ExporterSettings() { Default = new ExporterSettings(); }