C# Class Rebel.Cms.Web.IO.DocumentTypeIconFileResolver

Looks up the document type icons and returns a list of Icon objects
This will lookup all icon files and then search for any files with an associated CSS file which is named with the same name as the icon. This indicates that the the image file is a sprite file and the CSS file defines the sprites. If this is found, we will remove the sprite icon file from the list, then parse it's sprite names from the CSS file and add their names to the collection.
Inheritance: SpriteIconFileResolver
Mostra file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
DocumentTypeIconFileResolver ( System.Web.HttpServerUtilityBase server, RebelSettings settings, System.Web.Mvc.UrlHelper url ) : System

Method Details

DocumentTypeIconFileResolver() public method

public DocumentTypeIconFileResolver ( System.Web.HttpServerUtilityBase server, RebelSettings settings, System.Web.Mvc.UrlHelper url ) : System
server System.Web.HttpServerUtilityBase
settings RebelSettings
url System.Web.Mvc.UrlHelper
return System