TemplateLocation Members

The TemplateLocation type exposes the following members.
Methods

  NameDescription
Public methodCreateLocator
Return an encrypted locator string.
Public methodDuplicate
Returns a copy of this object.
Public methodEquals(Object)
Overrides Object.Equals. Calls into IEquatable<TemplateLocation>.Equals() to determine if instances of derived types are equal.
(Overrides OnlineObject Equals(Object).)
Public methodEquals(TemplateLocation)
Implements IEquatable<TemplateLocation>. Used to determine equality/equivalency between TemplateLocations.
Public methodGetFile
Returns a Stream for a file living at the same location as the template.
Public methodGetHashCode
GetHashCode is needed wherever Equals(object) is defined.
(Overrides OnlineObject GetHashCode .)
Public methodGetTemplateDirectory
Returns the directory for the template.
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.
Public methodStatic memberLocate
Create a TemplateLocation object from an encrypted locator string returned by TemplateLocation.CreateLocator.
Public methodStatic memberRegisterLocation
Call this method to register a type derived from TemplateLocation. All concrete TemplateLocation derivatives must be registered before use in order for Template.Locate and TemplateLocation.Locate reconstitute template location information. This method should only be called at application start-up.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
See Also