• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class JavaScriptLibrary

Inheritance
System.Object
JavaScriptLibrary
Namespace: DotNetNuke.Framework.JavaScriptLibraries
Assembly: DotNetNuke.dll
Syntax
public class JavaScriptLibrary : IXmlSerializable

Properties

| Improve this Doc View Source

CDNPath

Gets or sets location of the content delivery network (CDN) where the script is loaded from when CDN has been enabled in host.

Declaration
public string CDNPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FileName

Gets or sets filename of the script in the filesystem.

Declaration
public string FileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

JavaScriptLibraryID

Gets or sets unique identifier id for a javscript library package.

Declaration
public int JavaScriptLibraryID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LibraryName

Gets or sets name of the javscript library package (used when requesting library).

Declaration
public string LibraryName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ObjectName

Gets or sets 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.

Declaration
public string ObjectName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PackageID

Gets or sets package id associated with the javscript library package.

Declaration
public int PackageID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PreferredScriptLocation

Gets or sets position in the page the script reference is injected.

Declaration
public ScriptLocation PreferredScriptLocation { get; set; }
Property Value
Type Description
ScriptLocation
| Improve this Doc View Source

Version

Gets or sets version of the the javscript library package from the database.

Declaration
public Version Version { get; set; }
Property Value
Type Description
Version

Methods

| Improve this Doc View Source

GetSchema()

Declaration
public XmlSchema GetSchema()
Returns
Type Description
XmlSchema
| Improve this Doc View Source

ReadXml(XmlReader)

Reads a JavaScriptLibrary from an XmlReader.

Declaration
public void ReadXml(XmlReader reader)
Parameters
Type Name Description
XmlReader reader

The XmlReader to use.

| Improve this Doc View Source

WriteXml(XmlWriter)

Writes a JavaScriptLibrary to an XmlWriter.

Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type Name Description
XmlWriter writer

The XmlWriter to use.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS