<PackageReference Include="Serilog" Version="4.3.2-dev-02433" />

Serilog.Events.EventProperty

struct EventProperty
A property associated with a LogEvent.
public static EventProperty None

No property.

public string Name { get; }

The name of the property.

public LogEventPropertyValue Value { get; }

The value of the property.

public EventProperty(string name, LogEventPropertyValue value)

Construct a LogEventProperty with the specified name and value.

public void Deconstruct(out string name, out LogEventPropertyValue value)

Permit deconstruction of the property into a name/value pair.

public bool Equals(EventProperty other)

Indicates whether this instance and a specified EventProperty are equal.