The JavaScriptLibrary type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| JavaScriptLibrary | DotNetNuke.Framework.JavaScriptLibraries.JavaScriptLibrary |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetSchema | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadXml |
Reads a JavaScriptLibrary from an XmlReader
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteXml |
Writes a JavaScriptLibrary to an XmlWriter
|
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| CDNPath |
location of the content delivery network (CDN) where the script is loaded from when CDN has been enabled in host
| |
| FileName |
filename of the script in the filesystem
| |
| JavaScriptLibraryID |
unique identifier id for a javscript library package
| |
| LibraryName |
name of the javscript library package (used when requesting library)
| |
| ObjectName |
main object (where relevant) of the javscript library package
used to generate the local file fallback code in the case where the CDN file is not available
| |
| PackageID |
package id associated with the javscript library package
| |
| PreferredScriptLocation |
position in the page the script reference is injected
| |
| Version |
version of the the javscript library package from the database
|