London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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