C# Class Nancy.SassAndCoffee.Hooks

Afficher le fichier Open project: NancyFx/Nancy.SassAndCoffee

Méthodes publiques

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

Méthode Description
GetPipelineHook ( ContentCompiler compiler ) : Response>.Func
GetResponse ( CompilationResult content ) : Response

Method Details

Enable() public static méthode

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
Résultat void