ILayoutScriptFileProvider interface
namespace: Serenity.Web assembly: Serenity.Net.Web
Abstraction for a provider of layout script files declared with LayoutScriptFileAttribute.
public interface ILayoutScriptFileProvider
Members
| name | description |
|---|---|
| GetAllFiles(…) | Gets the list of files like GetFiles or GetModuleFiles, but regardless of the permissions of the current user, e.g. for file watchers. |
| GetFiles() | Gets the list of app relative (~/) JS file urls to include in the layout, in the order they should be included, with duplicates removed. Files with a permission the current user lacks are left out. These don't include the ES modules, see GetModuleFiles. |
| GetModuleFiles() | Gets the list of app relative (~/) urls of the ES modules to include in the layout, in the order they should be included, with duplicates removed. Files with a permission the current user lacks are left out. |
| GetPermission(…) | Gets the permission required to include the file, see Permission, or "*" (public) for a provider that does not support permissions. |
See Also
- Source: LayoutScriptFileProvider.cs