コード例 #1
0
        /// <summary>
        /// Raises the <see cref="Evaluating"/> event.
        /// </summary>
        /// <param name="e">The <see cref="EvaluatingEventArgs{TElement}"/> instance containing the event data.</param>
        private void OnEvaluating(EvaluatingEventArgs <TElement> e)
        {
            AssertDispatcherThread();
            var handler = Evaluating;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #2
0
        /// <summary>
        /// Raises the <see cref="Evaluating"/> event.
        /// </summary>
        /// <param name="e">The <see cref="EvaluatingEventArgs{TElement}"/> instance containing the event data.</param>
        protected virtual void OnEvaluating(EvaluatingEventArgs <TElement> e)
        {
            AssertDispatcherThread();
            var handler = Evaluating;

            if (handler != null)
            {
                handler(this, e);
            }
            OnPropertyChanged(CommonEventArgsCache.Count);
        }
コード例 #3
0
 protected virtual void OnEvaluating(EvaluatingEventArgs <TElement> e)
 {
     AssertDispatcherThread();
     Evaluating?.Invoke(this, e);
     OnPropertyChanged(CommonEventArgsCache.Count);
 }
コード例 #4
0
 private void OnEvaluating(EvaluatingEventArgs <TElement> e)
 {
     AssertDispatcherThread();
     Evaluating?.Invoke(this, e);
 }