protected virtual void OnReaderDataChanged(ReaderDataEventArgs e) { ReaderDataHandler copyReaderDataChanged = ReaderDataChanged; if (copyReaderDataChanged != null) { copyReaderDataChanged(this, e); } }
/// <summary> /// This function is called to notify any attached listeners about /// new reader data. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void OnReaderDataChanged(object sender, ReaderDataEventArgs e) { ReaderDataHandler localDataChanged = ReaderDataChanged; if (localDataChanged != null) { localDataChanged(sender, e); } }