IDynamicScriptManager interface
namespace: Serenity.Web assembly: Serenity.Net.Web
Dynamic script manager abstraction.
public interface IDynamicScriptManager
Members
| name | description |
|---|---|
| event ScriptChanged | Raised when a script changes. |
| Changed(…) | Raises the 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 text. |
| IfNotRegistered(…) | Executes the callback if a script with the name is not already registered. |
| IsRegistered(…) | Returns whether a script with the name is registered. |
| ReadScriptContent(…) | Reads the content of a dynamic script. |
| Register(…) | Registers a dynamic script, potentially overriding a script with the same registration name. (2 methods) |
| Reset() | Resets the dynamic script cache. |
See Also
- Source: IDynamicScriptManager.cs