C# Class Serilog.Parameters.PropertyBinder

Show file Open project: serilog/serilog Class Usage Examples

Public Methods

Method Description
ConstructProperties ( Serilog.Events.MessageTemplate messageTemplate, object messageTemplateParameters ) : IEnumerable

Create properties based on an ordered list of provided values.

PropertyBinder ( PropertyValueConverter valueConverter ) : System

Private Methods

Method Description
ConstructNamedProperties ( Serilog.Events.MessageTemplate template, object messageTemplateParameters ) : IEnumerable
ConstructPositionalProperties ( Serilog.Events.MessageTemplate template, object messageTemplateParameters ) : IEnumerable
ConstructProperty ( PropertyToken propertyToken, object value ) : LogEventProperty

Method Details

ConstructProperties() public method

Create properties based on an ordered list of provided values.
public ConstructProperties ( Serilog.Events.MessageTemplate messageTemplate, object messageTemplateParameters ) : IEnumerable
messageTemplate Serilog.Events.MessageTemplate The template that the parameters apply to.
messageTemplateParameters object Objects corresponding to the properties /// represented in the message template.
return IEnumerable

PropertyBinder() public method

public PropertyBinder ( PropertyValueConverter valueConverter ) : System
valueConverter PropertyValueConverter
return System