protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.AddSerializedVersion(GetSerializedVersion(container.ExportVersion)); node.Add(AreasName, Areas.ExportYAML(container)); node.Add(LastAgentTypeIDName, GetLastAgentTypeID(container.Version)); node.Add(SettingsName, GetSettings(container.Version).ExportYAML(container)); node.Add(SettingNamesName, GetSettingNames(container.Version).ExportYAML()); return(node); }