LayoutCssFileProvider class
namespace: Serenity.Web assembly: Serenity.Net.Web
Default implementation of ILayoutCssFileProvider, which discovers LayoutCssFileAttributes from the type source, filters them by the registered IFeatureToggles and an optional filter, and returns them ordered with duplicates removed.
public class LayoutCssFileProvider : ILayoutCssFileProvider
| parameter | description |
|---|---|
| typeSource | The type source. |
| serviceProvider | The service provider, used to resolve the optional IFeatureToggles. |
| options | The layout CSS file options. |
Public Members
| name | description |
|---|---|
| LayoutCssFileProvider(…) | Default implementation of ILayoutCssFileProvider, which discovers LayoutCssFileAttributes from the type source, filters them by the registered IFeatureToggles and an optional filter, and returns them ordered with duplicates removed. |
| GetFiles() |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | One of the required arguments is null. |
Remarks
Initializes a new instance of the LayoutCssFileProvider class.
See Also
- interface ILayoutCssFileProvider
- Source: LayoutCssFileProvider.cs