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

A property value corresponding to a simple, scalar type.
Наследование: LogEventPropertyValue
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Equals ( object obj ) : bool

Determine if this instance is equal to obj.

GetHashCode ( ) : int

Get a hash code representing the value.

Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void

Render the value to the output.

ScalarValue ( object value ) : System

Construct a ScalarValue with the specified value.

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

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

Determine if this instance is equal to obj.
public Equals ( object obj ) : bool
obj object The instance to compare with.
Результат bool

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

Get a hash code representing the value.
public GetHashCode ( ) : int
Результат int

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

Render the value to the output.
public 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

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

Construct a ScalarValue with the specified value.
public ScalarValue ( object value ) : System
value object The value, which may be null.
Результат System