Skip to content

ILayoutCssFileProvider interface

namespace: Serenity.Web   assembly: Serenity.Net.Web

Abstraction for a provider of layout CSS files declared with LayoutCssFileAttribute.

public interface ILayoutCssFileProvider

Members

name description
GetAllFiles() Gets the list of files like GetFiles, but regardless of the permissions of the current user, e.g. for file watchers.
GetFiles() Gets the list of app relative (~/) CSS 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.
GetPermission(…) Gets the permission required to include the file, see Permission, or "*" (public) for a provider that does not support permissions.

See Also