C# Class Open.Core.Web.IconExtensions

Extensions for working with icons.
显示文件 Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
IconUrl ( this helper, IconImage icon, bool greyscale = false ) : string

Retrieves the path to the specified icon.

Method Details

IconUrl() public static method

Retrieves the path to the specified icon.
public static IconUrl ( this helper, IconImage icon, bool greyscale = false ) : string
helper this The HTML helper to extend.
icon IconImage The icon.
greyscale bool Flag indicating if the greyscale version should be retrieved.
return string