示例#1
0
 /// <summary>
 ///     Unregisters the NFC callback.
 /// </summary>
 private void UnregisterNfcCallback()
 {
     if (_monitor != null)
     {
         _monitor.Stop();
         _monitor = null;
     }
 }
示例#2
0
 private void UnregisterNfcCallback()
 {
     if (this.monitor != null)
     {
         this.monitor.Stop();
         this.monitor = null;
     }
 }
示例#3
0
 private void UnregisterNfcCallback()
 {
     if (this.monitor != null)
     {
         this.monitor.Stop();
         this.monitor = null;
     }
 }
示例#4
0
 private void RegisterNfcCallback()
 {
     UnregisterNfcCallback();
     this.monitor = new NfcMonitor(this);
     this.monitor.Start();
 }
示例#5
0
 /// <summary>
 ///     Registers the NFC callback.
 /// </summary>
 private void RegisterNfcCallback()
 {
     UnregisterNfcCallback();
     _monitor = new NfcMonitor(this);
     _monitor.Start();
 }
示例#6
0
		/// <summary>
		///     Unregisters the NFC callback.
		/// </summary>
		private void UnregisterNfcCallback()
		{
			if (_monitor != null)
			{
				_monitor.Stop();
				_monitor = null;
			}
		}