PackagePathTemplateLocation Members

The PackagePathTemplateLocation type exposes the following members.
Constructors

  NameDescription
Public methodPackagePathTemplateLocation
Construct a template location for a specific package in the file system.
Back to Top
Methods

  NameDescription
Public methodCleanPackageFiles
Destroy the package template folder and all of its contents.
Public methodCreateLocator
Return an encrypted locator string.
(Inherited from TemplateLocation.)
Public methodDuplicate
Returns a new duplicate instance of this object. Overrides Duplicate .
(Overrides TemplateLocation Duplicate .)
Public methodEquals(Object)
Overrides Object.Equals. This should be present wherever GetHashCode is overridden and vice versa.
(Overrides TemplateLocation Equals(Object).)
Public methodEquals(TemplateLocation)
Implements IEquatable<TemplateLocation>.Equals().
(Overrides TemplateLocation Equals(TemplateLocation).)
Public methodExtractPackageFiles
Extract the create the package content folder and extract the package content to it.
Public methodGetFile
Returns a stream for a file at this template location. Overrides TemplateLocation.GetFile.
(Overrides TemplateLocation GetFile(String).)
Public methodGetHashCode
Overrides Object.GetHashCode.
(Overrides TemplateLocation GetHashCode .)
Public methodGetPackageManifest
Returns a TemplatePackageManifest for the package.
(Overrides PackageTemplateLocation GetPackageManifest .)
Public methodGetPackageStream
Returns a read-only stream for the package file.
(Overrides PackageTemplateLocation GetPackageStream .)
Public methodGetTemplateDirectory
Returns the folder that the package content was extracted to. Overrides GetTemplateDirectory .
(Overrides TemplateLocation GetTemplateDirectory .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUpdatedFileName
Get an updated file name for a template. Return true if the file name needed updating. If this method returns true, then fileName contains the updated file name. This method should be overridden for file storage systems where the template is stored in a database such that a file name is created on demand.
(Inherited from TemplateLocation.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyPackageID
Returns the package ID.
(Inherited from PackageTemplateLocation.)
Public propertyPackagePath
Returns the path to the package.
Back to Top
See Also