Click or drag to resize
CssPreprocessor Class
The object of this class maintains information about CSS preprocessor.
Inheritance Hierarchy
SystemObject
  CMS.PortalEngineCssPreprocessor

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
public class CssPreprocessor

The CssPreprocessor type exposes the following members.

Constructors
  NameDescription
Public methodCssPreprocessor
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyCallback
Callback function that performs CSS processing. The function consumes CssEventArg object and returns the processed CSS as a string.
Public propertyStatic memberCurrentCompiledValue
Gets or sets the current compiled value
Public propertyDisplayName
Name of the preprocessor displayed in the user interface.
Public propertyExtension
File extension associated with the preprocessor.
Public propertyGetErrorDescription
Callback method that returns error description according to preprocessor's nature. String representing error output of JavaScript compiler is passed as the first argument.
Public propertyName
Machine-friendly name of the CSS preprocessor.
Public propertyRegisterClientCompilationScripts
Callback action that renders a script that will be used for client side compilation.
Public propertyUsesClientSideCompilation
Indicates whether preprocessor uses also client-side compilation.
Top
See Also