| LessHelperCheckForMissingVariables Method |
Check the less content files for which variables are being used, and compare it to the list of variables given in the arguments
Namespace:
Dynamicweb.LessCompiler
Assembly:
Dynamicweb.LessCompiler (in Dynamicweb.LessCompiler.dll) Version: 1.1.10.0 (1.1.10)
Syntax public static List<string> CheckForMissingVariables(
List<string> variables,
string lessFileContent
)
Public Shared Function CheckForMissingVariables (
variables As List(Of String),
lessFileContent As String
) As List(Of String)
Parameters
- variables
- Type: System.Collections.GenericListString
The list of variables which the variables from the content files will be compared to - lessFileContent
- Type: SystemString
A string containing the content from all the less content files
Return Value
Type:
ListStringA list of all the variable names, which are used in the content files, but not provided in the 'variables' argument
See Also