PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Compiles LESS CSS to CSS.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "{0}.CompileLess")]
public static string CompileLessToCss(
	 context,
	string source,
	bool isEncoded
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "{0}.CompileLess")> _
Public Shared Function CompileLessToCss ( _
	context As , _
	source As , _
	isEncoded As  _
) As 

Parameters

context
IRenderContext
The context.
source
String
The LESS css source (http://lesscss.org)
isEncoded
Boolean
Set to false if the data is not encoded (data is mostly encoded when stored in a database field). Default: true

Return Value

Compiled CSS.

See Also

Advanced