C# Класс Serilog.Parsing.MessageTemplateToken

An element parsed from a message template string.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Render ( LogEventPropertyValue>.IReadOnlyDictionary properties, TextWriter output, IFormatProvider formatProvider = null ) : void

Render the token to the output.

Защищенные методы

Метод Описание
MessageTemplateToken ( int startIndex ) : System

Construct a MessageTemplateToken.

Описание методов

MessageTemplateToken() защищенный Метод

Construct a MessageTemplateToken.
protected MessageTemplateToken ( int startIndex ) : System
startIndex int The token's start index in the template.
Результат System

Render() публичный абстрактный Метод

Render the token to the output.
public abstract Render ( LogEventPropertyValue>.IReadOnlyDictionary properties, TextWriter output, IFormatProvider formatProvider = null ) : void
properties LogEventPropertyValue>.IReadOnlyDictionary Properties that may be represented by the token.
output System.IO.TextWriter Output for the rendered string.
formatProvider IFormatProvider Supplies culture-specific formatting information, or null.
Результат void