C# Class Serilog.Policies.ProjectedDestructuringPolicy

Inheritance: IDestructuringPolicy
Mostra file Open project: serilog/serilog

Public Methods

Method Description
ProjectedDestructuringPolicy ( bool>.Func canApply, object>.Func projection ) : System
TryDestructure ( object value, ILogEventPropertyValueFactory propertyValueFactory, LogEventPropertyValue &result ) : bool

Method Details

ProjectedDestructuringPolicy() public method

public ProjectedDestructuringPolicy ( bool>.Func canApply, object>.Func projection ) : System
canApply bool>.Func
projection object>.Func
return System

TryDestructure() public method

public TryDestructure ( object value, ILogEventPropertyValueFactory propertyValueFactory, LogEventPropertyValue &result ) : bool
value object
propertyValueFactory ILogEventPropertyValueFactory
result Serilog.Events.LogEventPropertyValue
return bool