/// <summary> /// Reload the <see cref="Repository" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryData" /> /// </summary> /// <param name="repositoryData"><see cref="T:Tridion.ContentManager.CoreService.Client.RepositoryData" /></param> protected void Reload(RepositoryData repositoryData) { if (repositoryData == null) throw new ArgumentNullException("repositoryData"); mRepositoryData = repositoryData; base.Reload(repositoryData); mAccessControlList = null; mDefaultMultimediaSchema = null; mLocation = null; mMetadataSchema = null; mParents = null; mRootFolder = null; mTaskProcess = null; }
/// <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; }