<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-preview.2.26159.112" />

System.Diagnostics.Eventing.Reader.EventLogPropertySelector

Contains an array of strings that represent XPath queries for elements in the XML representation of an event, which is based on the Event Schema. The queries in this object are used to extract values from the event.
namespace System.Diagnostics.Eventing.Reader { public class EventLogPropertySelector : IDisposable { public EventLogPropertySelector(IEnumerable<string> propertyQueries); public void Dispose(); protected virtual void Dispose(bool disposing); } }