C# Class Serilog.Policies.SimpleScalarConversionPolicy

Inheritance: IScalarConversionPolicy
Afficher le fichier Open project: serilog/serilog

Méthodes publiques

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

Method Details

SimpleScalarConversionPolicy() public méthode

public SimpleScalarConversionPolicy ( IEnumerable scalarTypes ) : System
scalarTypes IEnumerable
Résultat System

TryConvertToScalar() public méthode

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