C# Class CsQuery.OutputFormatters

Factory for OuputFormatters included with CsQuery.
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
MergeOptions ( DomRenderingOptions &options ) : void

Merge options with defaults when needed

Method Details

Create() public static méthode

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. ///
Résultat IOutputFormatter

Create() public static méthode

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. ///
Résultat IOutputFormatter

Create() public static méthode

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. ///
Résultat IOutputFormatter