Use this method to register custom CSS dynamic language and its parser.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- name
- Type: System String
Dynamic language name
- extension
- Type: System String
File extension associated with the dynamic language
- displayName
- Type: System String
Dynamic language name used for displaying in the user interface
- callback
- Type: System Func CssEventArgs, String
Callback function which the source CSS code is passed to process
- registerClientCompilationScripts (Optional)
- Type: System Action Page
Method that ensures registration of client scripts required for client-side compilation
- getErrorDescription (Optional)
- Type: System Func String, String
Method used to get formatted error message
See Also