SaaS CMS has officially launched! Learn more now.

Class McScriptLoader

Inheritance
System.Object
McScriptLoader
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public class McScriptLoader

Constructors

McScriptLoader()

Declaration
public McScriptLoader()

Properties

Current

Gets or sets the current.

Declaration
public static McScriptLoader Current { get; set; }
Property Value
Type Description
McScriptLoader

The current.

InnerCache

Declaration
protected Dictionary<string, McScriptLoader.CacheItem> InnerCache { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, McScriptLoader.CacheItem>

Methods

GetScriptReferenceUrl(String)

Gets the script reference URL.

Declaration
public string GetScriptReferenceUrl(string path)
Parameters
Type Name Description
System.String path

The path.

Returns
Type Description
System.String

GetScriptUrl(String, Page)

Gets the script URL.

Declaration
public string GetScriptUrl(string path, Page pageInstance)
Parameters
Type Name Description
System.String path

The path.

System.Web.UI.Page pageInstance

The page instance.

Returns
Type Description
System.String

Init()

Inits this instance.

Declaration
public void Init()