SaaS CMS has officially launched! Learn more now.

Class DojoPackage

Defines a package

Inheritance
System.Object
DojoPackage
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: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 7.19.2
Syntax
public class DojoPackage
Examples

Name: "epi-myPackage" Location: "//myServer/epi-myPackage" Main:

Constructors

DojoPackage()

Declaration
public DojoPackage()

Properties

Location

The location of the package, can either be a path relative to baseUrl or an absolute path

Declaration
public string Location { get; set; }
Property Value
Type Description
System.String

Main

Optional parameter for indicating the module to load when package is required; defaults to "main" if not specified

Declaration
public string Main { get; set; }
Property Value
Type Description
System.String

Name

The name of the package

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

PackageMap

References the Name attribute of the DojoPackageMap to use to transparently remap package references

Declaration
public string PackageMap { get; set; }
Property Value
Type Description
System.String

Extension Methods