C# Class Subtext.Framework.UI.Skinning.ScriptElementCollectionRenderer

Provides rendering facilities for script elements in the head element of the page
ファイルを表示 Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
CanScriptsBeMerged ( Subtext.Framework.UI.Skinning.SkinTemplate template ) : bool
GetScriptMergeMode ( string skinName ) : ScriptMergeMode
GetScriptsToBeMerged ( string skinName ) : IList
RenderScriptElement ( string scriptPath ) : string
RenderScriptElement ( string skinPath, Script script ) : string
RenderScriptElementCollection ( string skinKey ) : string

Renders the script element collection for thes kin key.

ScriptElementCollectionRenderer ( SkinTemplateCollection templates ) : System

Private Methods

Method Description
CreateStylePath ( string skinTemplateFolder ) : string
GetScriptSourcePath ( string skinPath, Script script ) : string
GetSkinPath ( string skinTemplateFolder ) : string

Gets the skin path.

IsScriptRemote ( Script script ) : bool
RenderScriptAttribute ( string attributeName, string attributeValue ) : string

Method Details

CanScriptsBeMerged() public static method

public static CanScriptsBeMerged ( Subtext.Framework.UI.Skinning.SkinTemplate template ) : bool
template Subtext.Framework.UI.Skinning.SkinTemplate
return bool

GetScriptMergeMode() public method

public GetScriptMergeMode ( string skinName ) : ScriptMergeMode
skinName string
return ScriptMergeMode

GetScriptsToBeMerged() public method

public GetScriptsToBeMerged ( string skinName ) : IList
skinName string
return IList

RenderScriptElement() public static method

public static RenderScriptElement ( string scriptPath ) : string
scriptPath string
return string

RenderScriptElement() public static method

public static RenderScriptElement ( string skinPath, Script script ) : string
skinPath string
script Script
return string

RenderScriptElementCollection() public method

Renders the script element collection for thes kin key.
public RenderScriptElementCollection ( string skinKey ) : string
skinKey string The skin key.
return string

ScriptElementCollectionRenderer() public method

public ScriptElementCollectionRenderer ( SkinTemplateCollection templates ) : System
templates SkinTemplateCollection
return System