コード例 #1
0
        /// <summary>
        /// Reload the <see cref="RepositoryLocalObject" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" />
        /// </summary>
        /// <param name="repositoryLocalObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" /></param>
        protected void Reload(RepositoryLocalObjectData repositoryLocalObjectData)
        {
            if (repositoryLocalObjectData == null)
            {
                throw new ArgumentNullException("repositoryLocalObjectData");
            }

            mRepositoryLocalObjectData = repositoryLocalObjectData;
            base.Reload(repositoryLocalObjectData);

            mLocation  = null;
            mLockInfo  = null;
            mBluePrint = null;

            mMetadataSchema = null;
            mCreator        = null;
        }
コード例 #2
0
        /// <summary>
        /// Reload the <see cref="RepositoryLocalObject" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" />
        /// </summary>
        /// <param name="repositoryLocalObjectData"><see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryLocalObjectData" /></param>
        protected void Reload(RepositoryLocalObjectData repositoryLocalObjectData)
        {
            if (repositoryLocalObjectData == null)
                throw new ArgumentNullException("repositoryLocalObjectData");

            mRepositoryLocalObjectData = repositoryLocalObjectData;
            base.Reload(repositoryLocalObjectData);

            mLocation = null;
            mLockInfo = null;
            mBluePrint = null;

            mMetadataSchema = null;
            mCreator = null;
        }