コード例 #1
0
        /// <summary>
        /// Raises the <see cref="PositionChanged"/> event with the provided event data.
        /// </summary>
        /// <param name="eventArgs">The event data.</param>
        protected virtual void RaisePositionChanged(LocationServicePositionChangedEventArgs eventArgs)
        {
            var eventHandler = PositionChanged;

            if (eventHandler != null)
            {
                eventHandler(this, eventArgs);
            }
        }
コード例 #2
0
        /// <summary>
        /// Raises the <see cref="PositionChanged"/> event with the provided event data.
        /// </summary>
        /// <param name="eventArgs">The event data.</param>
        protected virtual void RaisePositionChanged(LocationServicePositionChangedEventArgs eventArgs)
        {
            var eventHandler = PositionChanged;

            if (eventHandler != null)
            {
                eventHandler(this, eventArgs);
            }
        }