The TemplateLocation type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | CreateLocator |
Return an encrypted locator string.
|
![]() | Duplicate |
Returns a copy of this object.
|
![]() | Equals(Object) |
Overrides Object.Equals. Calls into IEquatable<TemplateLocation>.Equals() to
determine if instances of derived types are equal.
(Overrides ![]() |
![]() | Equals(TemplateLocation) |
Implements IEquatable<TemplateLocation>. Used to determine equality/equivalency
between TemplateLocations.
|
![]() | GetFile |
Returns a Stream for a file living at the same location as the template.
|
![]() | GetHashCode | GetHashCode is needed wherever Equals(object) is defined.
(Overrides ![]() |
![]() | GetTemplateDirectory |
Returns the directory for the template.
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetUpdatedFileName |
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.
|
![]() ![]() | Locate |
Create a TemplateLocation object from an encrypted locator string returned by TemplateLocation.CreateLocator.
|
![]() ![]() | RegisterLocation |
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.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
See Also