C# Class DotSmart.LessCssHandler

Inheritance: ScriptHandlerBase
Afficher le fichier Open project: duncansmart/LessCoffee

Méthodes publiques

Méthode Description
GetDependencies ( string lessFilePath ) : string[]

Returns an array of file names representing all of the dependencies of the specified *.less file (not including itself).

GetLastModified ( string lessFilePath ) : System.DateTime

Gets the most recent modified date of the specified *.less file and all of its dependecies

RenderCss ( string lessFilePath, TextWriter output, bool compress = true, string lessPrologue = null, string lessPostscript = null, string lineNumbers = null ) : void

Méthodes protégées

Méthode Description
GetFileDependencies ( string physicalFileName ) : IEnumerable
Render ( string physicalFileName, TextWriter output ) : void

Private Methods

Méthode Description
LessCssHandler ( ) : System

Initializes a new instance of the LessCssHandler class.

renderStylesheet ( string lessFilePath, TextWriter output ) : bool

Method Details

GetDependencies() public static méthode

Returns an array of file names representing all of the dependencies of the specified *.less file (not including itself).
public static GetDependencies ( string lessFilePath ) : string[]
lessFilePath string
Résultat string[]

GetFileDependencies() protected méthode

protected GetFileDependencies ( string physicalFileName ) : IEnumerable
physicalFileName string
Résultat IEnumerable

GetLastModified() public static méthode

Gets the most recent modified date of the specified *.less file and all of its dependecies
public static GetLastModified ( string lessFilePath ) : System.DateTime
lessFilePath string
Résultat System.DateTime

Render() protected méthode

protected Render ( string physicalFileName, TextWriter output ) : void
physicalFileName string
output System.IO.TextWriter
Résultat void

RenderCss() public static méthode

public static RenderCss ( string lessFilePath, TextWriter output, bool compress = true, string lessPrologue = null, string lessPostscript = null, string lineNumbers = null ) : void
lessFilePath string
output System.IO.TextWriter
compress bool
lessPrologue string
lessPostscript string
lineNumbers string
Résultat void