C# Класс NLog.Layouts.JsonAttribute

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
JsonAttribute ( ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

JsonAttribute ( string name, Layout layout ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

JsonAttribute ( string name, Layout layout, bool encode ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

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

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

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( ) : NLog.Config
Результат NLog.Config

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

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( string name, Layout layout ) : NLog.Config
name string The name of the attribute.
layout Layout The layout of the attribute's value.
Результат NLog.Config

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

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( string name, Layout layout, bool encode ) : NLog.Config
name string The name of the attribute.
layout Layout The layout of the attribute's value.
encode bool Encode value with json-encode
Результат NLog.Config