Esempio n. 1
0
        /// <summary>
        /// Reload the <see cref="Publication" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" />
        /// </summary>
        /// <param name="publicationData"><see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" /></param>
        protected void Reload(PublicationData publicationData)
        {
            if (publicationData == null)
            {
                throw new ArgumentNullException("publicationData");
            }

            mPublicationData = publicationData;
            base.Reload(publicationData);

            mComponentSnapshotTemplate    = null;
            mComponentTemplateProcess     = null;
            mDefaultComponentTemplate     = null;
            mDefaultPageTemplate          = null;
            mDefaultTemplateBuildingBlock = null;
            mPageSnapshotTemplate         = null;
            mPageTemplateProcess          = null;
            mTemplateBundleProcess        = null;
            mRootStructureGroup           = null;
        }
        /// <summary>
        /// Reload the <see cref="Publication" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" />
        /// </summary>
        /// <param name="publicationData"><see cref="T:Tridion.ContentManager.CoreService.Client.PublicationData" /></param>
        protected void Reload(PublicationData publicationData)
        {
            if (publicationData == null)
                throw new ArgumentNullException("publicationData");

            mPublicationData = publicationData;
            base.Reload(publicationData);

            mComponentSnapshotTemplate = null;
            mComponentTemplateProcess = null;
            mDefaultComponentTemplate = null;
            mDefaultPageTemplate = null;
            mDefaultTemplateBuildingBlock = null;
            mPageSnapshotTemplate = null;
            mPageTemplateProcess = null;
            mTemplateBundleProcess = null;
            mRootStructureGroup = null;
        }