public static void Construct(XmlTransporter transporter, bool exportAll) { if (transporter == null) throw new ArgumentNullException("transporter"); transporter.BuildRootNode(); //transporter.BuildCategories(exportAll); transporter.BuildCategories(true); transporter.BuildArticles(exportAll); transporter.BuildRelationships(exportAll); transporter.BuildItemVersionSettings(exportAll); transporter.BuildModuleSettings(); //TODO: we need to export module settings }
public static void Construct(XmlTransporter transporter, bool exportAll, int portalId) { if (transporter == null) { throw new ArgumentNullException("transporter"); } transporter.BuildRootNode(); //transporter.BuildCategories(exportAll); transporter.BuildCategories(true, portalId); transporter.BuildArticles(exportAll); transporter.BuildRelationships(exportAll); transporter.BuildItemVersionSettings(exportAll); transporter.BuildModuleSettings(); //TODO: we need to export module settings }