예제 #1
0
        /// <summary>
        /// Raises the TrackerChanged event.
        /// </summary>
        /// <param name="result">The result.</param>
        protected internal virtual void OnTrackerChanged(TrackerHitResult result)
        {
            var handler = this.TrackerChanged;

            if (handler != null)
            {
                var args = new TrackerEventArgs {
                    HitResult = result
                };
                handler(this, args);
            }
        }
예제 #2
0
        /// <summary>
        /// Raises the TrackerChanged event.
        /// </summary>
        /// <param name="result">The result.</param>
        /// <remarks>
        /// This method is public so custom implementations of tracker manipulators can invoke this method.
        /// </remarks>
        public void RaiseTrackerChanged(TrackerHitResult result)
        {
            var handler = this.TrackerChanged;

            if (handler != null)
            {
                var args = new TrackerEventArgs {
                    HitResult = result
                };
                handler(this, args);
            }
        }
예제 #3
0
 /// <summary>
 /// Raises the TrackerChanged event.
 /// </summary>
 /// <param name="result">The result.</param>
 protected internal virtual void OnTrackerChanged(TrackerHitResult result)
 {
     var handler = this.TrackerChanged;
     if (handler != null)
     {
         var args = new TrackerEventArgs { HitResult = result };
         handler(this, args);
     }
 }
예제 #4
0
 /// <summary>
 /// Raises the TrackerChanged event.
 /// </summary>
 /// <param name="result">The result.</param>
 /// <remarks>
 /// This method is public so custom implementations of tracker manipulators can invoke this method.
 /// </remarks>
 public void RaiseTrackerChanged(TrackerHitResult result)
 {
     var handler = this.TrackerChanged;
     if (handler != null)
     {
         var args = new TrackerEventArgs { HitResult = result };
         handler(this, args);
     }
 }