Table of Contents

Method ResolveVariable

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

ResolveVariable(string, string, string)

Resolves a variable reference with optional fallback value

public string ResolveVariable(string variableName, string fallbackValue = null, string scopeName = null)

Parameters

variableName string

The variable name

fallbackValue string

Optional fallback value if variable is not defined

scopeName string

Optional scope name for scoped lookup

Returns

string

Resolved value or fallback, or null if not found