Show / Hide Table of Contents

Interface IClientResourceController

Namespace: DotNetNuke.Abstractions.ClientResources
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IClientResourceController

Methods

AddFont(IFontResource)

Declaration
void AddFont(IFontResource font)
Parameters
Type Name Description
IFontResource font

AddScript(IScriptResource)

Declaration
void AddScript(IScriptResource script)
Parameters
Type Name Description
IScriptResource script

AddStylesheet(IStylesheetResource)

Declaration
void AddStylesheet(IStylesheetResource stylesheet)
Parameters
Type Name Description
IStylesheetResource stylesheet

CreateFont(string)

Declaration
IFontResource CreateFont(string sourcePath)
Parameters
Type Name Description
string sourcePath
Returns
Type Description
IFontResource

CreateFont(string, string)

Declaration
IFontResource CreateFont(string sourcePath, string pathNameAlias)
Parameters
Type Name Description
string sourcePath
string pathNameAlias
Returns
Type Description
IFontResource

CreateFont(string, string, string)

Declaration
IFontResource CreateFont(string sourcePath, string pathNameAlias, string mimeType)
Parameters
Type Name Description
string sourcePath
string pathNameAlias
string mimeType
Returns
Type Description
IFontResource

CreateScript(string)

Declaration
IScriptResource CreateScript(string sourcePath)
Parameters
Type Name Description
string sourcePath
Returns
Type Description
IScriptResource

CreateScript(string, string)

Declaration
IScriptResource CreateScript(string sourcePath, string pathNameAlias)
Parameters
Type Name Description
string sourcePath
string pathNameAlias
Returns
Type Description
IScriptResource

CreateStylesheet(string)

Declaration
IStylesheetResource CreateStylesheet(string sourcePath)
Parameters
Type Name Description
string sourcePath
Returns
Type Description
IStylesheetResource

CreateStylesheet(string, string)

Declaration
IStylesheetResource CreateStylesheet(string sourcePath, string pathNameAlias)
Parameters
Type Name Description
string sourcePath
string pathNameAlias
Returns
Type Description
IStylesheetResource

RegisterPathNameAlias(string, string)

Declaration
void RegisterPathNameAlias(string pathNameAlias, string resolvedPath)
Parameters
Type Name Description
string pathNameAlias
string resolvedPath

RemoveFontByName(string)

Declaration
void RemoveFontByName(string fontName)
Parameters
Type Name Description
string fontName

RemoveFontByPath(string, string)

Declaration
void RemoveFontByPath(string fontPath, string pathNameAlias)
Parameters
Type Name Description
string fontPath
string pathNameAlias

RemoveScriptByName(string)

Declaration
void RemoveScriptByName(string scriptName)
Parameters
Type Name Description
string scriptName

RemoveScriptByPath(string, string)

Declaration
void RemoveScriptByPath(string scriptPath, string pathNameAlias)
Parameters
Type Name Description
string scriptPath
string pathNameAlias

RemoveStylesheetByName(string)

Declaration
void RemoveStylesheetByName(string stylesheetName)
Parameters
Type Name Description
string stylesheetName

RemoveStylesheetByPath(string, string)

Declaration
void RemoveStylesheetByPath(string stylesheetPath, string pathNameAlias)
Parameters
Type Name Description
string stylesheetPath
string pathNameAlias

RenderDependencies(ResourceType, string, string)

Declaration
string RenderDependencies(ResourceType resourceType, string provider, string applicationPath)
Parameters
Type Name Description
ResourceType resourceType
string provider
string applicationPath
Returns
Type Description
string

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS