C# Class Serilog.Policies.SimpleScalarConversionPolicy

Inheritance: IScalarConversionPolicy
Mostra file Open project: serilog/serilog

Public Methods

Method Description
SimpleScalarConversionPolicy ( IEnumerable scalarTypes ) : System
TryConvertToScalar ( object value, ILogEventPropertyValueFactory propertyValueFactory, ScalarValue &result ) : bool

Method Details

SimpleScalarConversionPolicy() public method

public SimpleScalarConversionPolicy ( IEnumerable scalarTypes ) : System
scalarTypes IEnumerable
return System

TryConvertToScalar() public method

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