/// <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; }
/// <summary> /// Reload the <see cref="VersionedItem" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.VersionedItemData" /> /// </summary> /// <param name="versionedItemData"><see cref="T:Tridion.ContentManager.CoreService.Client.VersionedItemData" /></param> protected void Reload(VersionedItemData versionedItemData) { if (versionedItemData == null) throw new ArgumentNullException("versionedItemData"); mVersionedItemData = versionedItemData; base.Reload(versionedItemData); mCheckOutUser = null; mRevisionUser = null; }