C# Класс DotSmart.LessCssHandler

Наследование: ScriptHandlerBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetFileDependencies ( string physicalFileName ) : IEnumerable
Render ( string physicalFileName, TextWriter output ) : void

Приватные методы

Метод Описание
LessCssHandler ( ) : System

Initializes a new instance of the LessCssHandler class.

renderStylesheet ( string lessFilePath, TextWriter output ) : bool

Описание методов

GetDependencies() публичный статический Метод

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
Результат string[]

GetFileDependencies() защищенный Метод

protected GetFileDependencies ( string physicalFileName ) : IEnumerable
physicalFileName string
Результат IEnumerable

GetLastModified() публичный статический Метод

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
Результат System.DateTime

Render() защищенный Метод

protected Render ( string physicalFileName, TextWriter output ) : void
physicalFileName string
output System.IO.TextWriter
Результат void

RenderCss() публичный статический Метод

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
Результат void