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

Provides rendering facilities for script elements in the head element of the page
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static CanScriptsBeMerged ( Subtext.Framework.UI.Skinning.SkinTemplate template ) : bool
template Subtext.Framework.UI.Skinning.SkinTemplate
Résultat bool

GetScriptMergeMode() public méthode

public GetScriptMergeMode ( string skinName ) : ScriptMergeMode
skinName string
Résultat ScriptMergeMode

GetScriptsToBeMerged() public méthode

public GetScriptsToBeMerged ( string skinName ) : IList
skinName string
Résultat IList

RenderScriptElement() public static méthode

public static RenderScriptElement ( string scriptPath ) : string
scriptPath string
Résultat string

RenderScriptElement() public static méthode

public static RenderScriptElement ( string skinPath, Script script ) : string
skinPath string
script Script
Résultat string

RenderScriptElementCollection() public méthode

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

ScriptElementCollectionRenderer() public méthode

public ScriptElementCollectionRenderer ( SkinTemplateCollection templates ) : System
templates SkinTemplateCollection
Résultat System