public void OnReadStartElementEvent(object sender, ReadElementEventArgs e) { Stopwatch.Start(); ReadStartElementEvent(sender, e); Stopwatch.Stop(); }
protected abstract void ReadAttributeEvent(object sender, ReadElementEventArgs eventArgs);
protected abstract void ReadElementValueEvent(object sender, ReadElementEventArgs eventArgs);
private void RaiseReadEndElementEvent(ReadElementEventArgs readElementEventArgs) { var handler = ReadEndElementEvent; handler?.Invoke(this, readElementEventArgs); }