// Token: 0x06007B89 RID: 31625 RVA: 0x0022B999 File Offset: 0x00229B99 internal AttachedAnnotationChangedEventArgs(AttachedAnnotationAction action, IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) { Invariant.Assert(attachedAnnotation != null); this._action = action; this._attachedAnnotation = attachedAnnotation; this._previousAttachedAnchor = previousAttachedAnchor; this._previousAttachmentLevel = previousAttachmentLevel; }
//------------------------------------------------------ // // Constructors // //------------------------------------------------------ #region Constructors /// <summary> /// internal constructor that creates an AttachedAnnotationChangedEventArgs /// </summary> /// <param name="action">action represented by this instance</param> /// <param name="attachedAnnotation">annotation that was added/deleted/modified</param> /// <param name="previousAttachedAnchor">if action is modified, previous attached anchor</param> /// <param name="previousAttachmentLevel">if action is modified, previous attachment level</param> internal AttachedAnnotationChangedEventArgs(AttachedAnnotationAction action, IAttachedAnnotation attachedAnnotation, object previousAttachedAnchor, AttachmentLevel previousAttachmentLevel) { Invariant.Assert(attachedAnnotation != null); _action = action; _attachedAnnotation = attachedAnnotation; _previousAttachedAnchor = previousAttachedAnchor; _previousAttachmentLevel = previousAttachmentLevel; }