// Token: 0x060067C4 RID: 26564 RVA: 0x001D15FC File Offset: 0x001CF7FC internal override void Update(EmbeddedObject newObject) { InlineObject inlineObject = newObject as InlineObject; ErrorHandler.Assert(inlineObject != null, ErrorHandler.EmbeddedObjectTypeMismatch); ErrorHandler.Assert(inlineObject._uiElementIsland == this._uiElementIsland, ErrorHandler.EmbeddedObjectOwnerMismatch); inlineObject._uiElementIsland = null; }
// Token: 0x060067C0 RID: 26560 RVA: 0x001D1538 File Offset: 0x001CF738 internal override void Update(EmbeddedObject newObject) { AttachedObject attachedObject = newObject as AttachedObject; ErrorHandler.Assert(attachedObject != null, ErrorHandler.EmbeddedObjectTypeMismatch); ErrorHandler.Assert(attachedObject.Element.Equals(this.Element), ErrorHandler.EmbeddedObjectOwnerMismatch); this.Dcp = attachedObject.Dcp; this.Para.SetUpdateInfo(PTS.FSKCHANGE.fskchInside, false); }
/// <summary> /// Update object using date from another embedded object of the same /// type. /// </summary> /// <param name="newObject"> /// Source of updated data. /// </param> internal override void Update(EmbeddedObject newObject) { // These should definitely be the same InlineObject newInline = newObject as InlineObject; ErrorHandler.Assert(newInline != null, ErrorHandler.EmbeddedObjectTypeMismatch); ErrorHandler.Assert(newInline._uiElementIsland == _uiElementIsland, ErrorHandler.EmbeddedObjectOwnerMismatch); // We've ensured ownership is still with the old InlineObject, so we now null this out to prevent dispose from disconnecting. newInline._uiElementIsland = null; }
/// <summary> /// Update object using date from another embedded object of the same /// type. /// </summary> /// <param name="newObject"> /// Source of updated data. /// </param> internal abstract void Update(EmbeddedObject newObject);
/// <summary> /// Update object using date from another attached object of the same /// type. /// </summary> /// <param name="newObject"> /// Source of updated data. /// </param> internal override void Update(EmbeddedObject newObject) { AttachedObject newAttachedObject = newObject as AttachedObject; ErrorHandler.Assert(newAttachedObject != null, ErrorHandler.EmbeddedObjectTypeMismatch); ErrorHandler.Assert(newAttachedObject.Element.Equals(Element), ErrorHandler.EmbeddedObjectOwnerMismatch); Dcp = newAttachedObject.Dcp; Para.SetUpdateInfo(PTS.FSKCHANGE.fskchInside, false); }