Méthode | Description | |
---|---|---|
ContentFilesManager ( IAppSettings appSettings ) : System |
Initializes a new instance of the ContentFilesManager class.
|
|
GetFiles ( ContentFilesType filesType, int id ) : ICollection |
Get either the css or javascript files. Content will be filter based on the browser requesting the content if the browser attributes are set within the configuration file.
|
Méthode | Description | |
---|---|---|
FilterContent ( |
Filters the content based on the browser requesting the content. If the browser attribute is set then the other browser attributes must be set in order to work for that particular item. If they are not set then the file is added to the collection. If the browser attributes are set then the requesting browser must match or be in between the major and minor versions set in the configuration file.
|
public ContentFilesManager ( IAppSettings appSettings ) : System | ||
appSettings | IAppSettings | The app settings. |
Résultat | System |
public GetFiles ( ContentFilesType filesType, int id ) : ICollection |
||
filesType | ContentFilesType | Type of the files. |
id | int | The id. |
Résultat | ICollection |