Ejemplo n.º 1
0
		/// <summary>
		///     Handles the <see cref="E:ListenerPositionError" /> event.
		/// </summary>
		/// <param name="sender">The sender.</param>
		/// <param name="e">The <see cref="PositionErrorEventArgs" /> instance containing the event data.</param>
		private void OnListenerPositionError(object sender, PositionErrorEventArgs e)
		{
			StopListening();

			var error = PositionError;
			if (error != null)
			{
				error(this, e);
			}
		}
		/// <summary>
		///     Handles the <see cref="E:PositionError" /> event.
		/// </summary>
		/// <param name="e">The <see cref="PositionErrorEventArgs" /> instance containing the event data.</param>
		private void OnPositionError(PositionErrorEventArgs e)
		{
			var error = PositionError;
			if (error != null)
			{
				error(this, e);
			}
		}
Ejemplo n.º 3
0
		/// <summary>
		/// Handles the <see cref="E:PositionError" /> event.
		/// </summary>
		/// <param name="e">The <see cref="PositionErrorEventArgs"/> instance containing the event data.</param>
		private void OnPositionError(PositionErrorEventArgs e)
		{
			StopListening();

			var error = PositionError;
			if (error != null)
			{
				error(this, e);
			}
		}