C# Class Open.Core.Web.Css

Constants and helpers for working with CSS.
Show file Open project: philcockfield/Open.TestHarness.SL

Public Properties

Property Type Description
CssFolderPath string

Public Methods

Method Description
ToCssLink ( string url, bool ieOnly = false ) : string

Formats the given URL into a CSS link tag.

this ( CssFile cssFile ) : string

Gets the embed tag for the specified script.

Private Methods

Method Description
GetPath ( CssFile cssFile ) : string

Method Details

ToCssLink() public static method

Formats the given URL into a CSS link tag.
public static ToCssLink ( string url, bool ieOnly = false ) : string
url string The path to the style sheet.
ieOnly bool Flag indicating if the link should be wrapped in an IE only conditional statement.
return string

this() public method

Gets the embed tag for the specified script.
public this ( CssFile cssFile ) : string
cssFile CssFile Flag indicating what css file to retrieve the path for.
return string

Property Details

CssFolderPath public static property

public static string CssFolderPath
return string