C# Класс CsQuery.OutputFormatters

Factory for OuputFormatters included with CsQuery.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Create ( DomRenderingOptions options ) : IOutputFormatter

Creates an instance of the default OutputFormatter using the options passed and the default encoder.

Create ( DomRenderingOptions options, IHtmlEncoder encoder ) : IOutputFormatter

Creates an instance of the default OutputFormatter using the options passed.

Create ( IHtmlEncoder encoder ) : IOutputFormatter

Creates an instance of the default OutputFormatter using the default options and the encoder passed.

Приватные методы

Метод Описание
MergeOptions ( DomRenderingOptions &options ) : void

Merge options with defaults when needed

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

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

Creates an instance of the default OutputFormatter using the options passed and the default encoder.
public static Create ( DomRenderingOptions options ) : IOutputFormatter
options DomRenderingOptions /// (optional) options for controlling the operation. ///
Результат IOutputFormatter

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

Creates an instance of the default OutputFormatter using the options passed.
public static Create ( DomRenderingOptions options, IHtmlEncoder encoder ) : IOutputFormatter
options DomRenderingOptions /// (optional) options for controlling the operation. ///
encoder IHtmlEncoder /// (optional) the encoder. ///
Результат IOutputFormatter

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

Creates an instance of the default OutputFormatter using the default options and the encoder passed.
public static Create ( IHtmlEncoder encoder ) : IOutputFormatter
encoder IHtmlEncoder /// (optional) the encoder. ///
Результат IOutputFormatter