IDynamicScriptManager interface

namespace: Serenity.Web   assemblySerenity.Net.Web

Dynamic script manager abstraction

public interface IDynamicScriptManager

Members

name description
event ScriptChanged Event that is raised when a script changed
Changed(…) Raises script changed event for the script
CheckScriptRights(…) Checks access rights for the dynamic script
GetRegisteredScriptNames() Gets a list of registered script names
GetRegisteredScripts() Gets a dictionary of registered script names and their cached hashes
GetScriptInclude(…) Gets a script include element HTML markup
GetScriptText(…) Gets the dynamic script
IfNotRegistered(…) Executes callback if a script with the name is not already registered
IsRegistered(…) Returns if a script with the name is registered
ReadScriptContent(…) Reads content of a dynamic script
Register(…) Registers a dynamic script, potentially overriding a script with same registration name (2 methods)
Reset() Resets the dynamic script cache

See Also