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

A property associated with a LogEvent.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsValidName ( string name ) : bool

Test name to determine if it is a valid property name.

LogEventProperty ( string name, LogEventPropertyValue value ) : System

Construct a LogEventProperty with the specified name and value.

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

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

Test name to determine if it is a valid property name.
public static IsValidName ( string name ) : bool
name string The name to check.
Результат bool

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

Construct a LogEventProperty with the specified name and value.
public LogEventProperty ( string name, LogEventPropertyValue value ) : System
name string The name of the property.
value LogEventPropertyValue The value of the property.
Результат System