C# Class Cruncher.Postprocessors.AutoPrefixer.AutoPrefixerProcessor

The auto prefixer processor. Many thanks here to Taritsyn's
Inheritance: IDisposable
Datei anzeigen Open project: JimBobSquarePants/Cruncher Class Usage Examples

Public Methods

Method Description
AutoPrefixerProcessor ( Func javascriptEngineFactory ) : System

Initializes a new instance of the AutoPrefixerProcessor class.

Dispose ( ) : void

Disposes the object and frees resources for the Garbage Collector.

Process ( string input, AutoPrefixerOptions options ) : string

Gets a string containing the compiled CoffeeScript result.

Private Methods

Method Description
ConvertAutoPrefixerOptionsToJson ( AutoPrefixerOptions options ) : Newtonsoft.Json.Linq.JObject

Converts AutoPrefixerOptions to JSON

Dispose ( bool disposing ) : void

Disposes the object and frees resources for the Garbage Collector.

FormatErrorDetails ( JToken errorDetails ) : string

Generates a detailed error message

Initialize ( ) : void

Initializes CSS autoprefixer

Method Details

AutoPrefixerProcessor() public method

Initializes a new instance of the AutoPrefixerProcessor class.
public AutoPrefixerProcessor ( Func javascriptEngineFactory ) : System
javascriptEngineFactory Func /// The javascript engine factory. ///
return System

Dispose() public method

Disposes the object and frees resources for the Garbage Collector.
public Dispose ( ) : void
return void

Process() public method

Gets a string containing the compiled CoffeeScript result.
public Process ( string input, AutoPrefixerOptions options ) : string
input string /// The input to process. ///
options AutoPrefixerOptions /// The AutoPrefixer options. ///
return string