<PackageReference Include="Serilog" Version="4.4.1-dev-02447" />

Serilog.Data.LogEventPropertyValueVisitor<TState, TResult>

public abstract class LogEventPropertyValueVisitor<TState, TResult>
An abstract base class for visitors that walk data in the LogEventPropertyValue format. Subclasses, by overriding appropriate methods, may search for, transform, or print the value structures being visited.
namespace Serilog.Data { public abstract class LogEventPropertyValueVisitor<[Nullable(2)] TState, [Nullable(2)] TResult> { protected virtual TResult Visit(TState state, LogEventPropertyValue value); protected abstract TResult VisitScalarValue(TState state, ScalarValue scalar); protected abstract TResult VisitSequenceValue(TState state, SequenceValue sequence); protected abstract TResult VisitStructureValue(TState state, StructureValue structure); protected abstract TResult VisitDictionaryValue(TState state, DictionaryValue dictionary); protected virtual TResult VisitUnsupportedValue(TState state, LogEventPropertyValue value); protected LogEventPropertyValueVisitor(); } }