C# Class Nancy.SassAndCoffee.Hooks

Show file Open project: NancyFx/Nancy.SassAndCoffee

Public Methods

Method Description
Enable ( IPipelines pipelines, ICompiledCache cache, IRootPathProvider rootPathProvider ) : void

Enable SassAndCoffee support in the application.

SassAndCoffee supports on the fly compilation and caching of CoffeeScript and Sass, along with concatenation and minification.

Private Methods

Method Description
GetPipelineHook ( ContentCompiler compiler ) : Response>.Func
GetResponse ( CompilationResult content ) : Response

Method Details

Enable() public static method

Enable SassAndCoffee support in the application.

SassAndCoffee supports on the fly compilation and caching of CoffeeScript and Sass, along with concatenation and minification.

public static Enable ( IPipelines pipelines, ICompiledCache cache, IRootPathProvider rootPathProvider ) : void
pipelines IPipelines Application pipelines to hook into
cache ICompiledCache Cache provider to use
rootPathProvider IRootPathProvider Root path provider
return void