//------------------------------------------------------
        //
        //  Constructors
        //
        //------------------------------------------------------

        #region Constructors
        
        /// <summary>
        ///     Creates an instance of AnnotationUpdatedEventArgs with the
        ///     specified action and annotation.
        /// </summary>
        /// <param name="action">the action that was performed on an annotation</param>
        /// <param name="annotation">the annotation that was updated</param>
        public StoreContentChangedEventArgs(StoreContentAction action, Annotation annotation)
        {
            if (annotation == null)
                throw new ArgumentNullException("annotation");

            _action = action;
            _annotation = annotation;
        }
Beispiel #2
0
 /// <summary>Initializes a new instance of the <see cref="M:System.Windows.Annotations.Storage.StoreContentChangedEventArgs.#ctor(System.Windows.Annotations.Storage.StoreContentAction,System.Windows.Annotations.Annotation)" /> class.</summary>
 /// <param name="action">The action of the event.</param>
 /// <param name="annotation">The annotation added or removed.</param>
 /// <exception cref="T:System.ArgumentNullException">
 ///         <paramref name="annotation" /> or <paramref name="action" /> is <see langword="null" />.</exception>
 // Token: 0x06006367 RID: 25447 RVA: 0x001BF2F4 File Offset: 0x001BD4F4
 public StoreContentChangedEventArgs(StoreContentAction action, Annotation annotation)
 {
     if (annotation == null)
     {
         throw new ArgumentNullException("annotation");
     }
     this._action     = action;
     this._annotation = annotation;
 }
 public StoreContentChangedEventArgs(StoreContentAction action, System.Windows.Annotations.Annotation annotation)
 {
 }
 public StoreContentChangedEventArgs(StoreContentAction action, System.Windows.Annotations.Annotation annotation)
 {
 }