示例#1
0
        /// <summary>
        /// Raises the <see cref="StatusChanged"/> event with the provided event data.
        /// </summary>
        /// <param name="eventArgs">The event data.</param>
        protected virtual void RaiseStatusChanged(LocationServiceStatusChangedEventArgs eventArgs)
        {
            var eventHandler = StatusChanged;

            if (eventHandler != null)
            {
                eventHandler(this, eventArgs);
            }
        }
        /// <summary>
        /// Raises the <see cref="StatusChanged"/> event with the provided event data.
        /// </summary>
        /// <param name="eventArgs">The event data.</param>
        protected virtual void RaiseStatusChanged(LocationServiceStatusChangedEventArgs eventArgs)
        {
            var eventHandler = StatusChanged;

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