C# Класс Serilog.Events.LogEventPropertyValue

The value associated with a LogEventProperty. Divided into scalar, sequence and structure values to direct serialization into various formats.
Наследование: IFormattable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void

Render the value to the output.

ToString ( ) : string

Returns a string that represents the current object.

ToString ( string format, IFormatProvider formatProvider ) : string

Formats the value of the current instance using the specified format.

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

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

Render the value to the output.
public abstract Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void
output System.IO.TextWriter The output.
format string A format string applied to the value, or null.
formatProvider IFormatProvider A format provider to apply to the value, or null to use the default.
Результат void

ToString() публичный Метод

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

ToString() публичный Метод

Formats the value of the current instance using the specified format.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string The format to use.-or- A null reference (Nothing in Visual Basic) to use /// the default format defined for the type of the implementation.
formatProvider IFormatProvider The provider to use to format the value.-or- A null reference /// (Nothing in Visual Basic) to obtain the numeric format information from the current locale /// setting of the operating system.
Результат string