ZPT-Sharp  v1.0.0
Zope Page Templates for .NET
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
CSF.Zpt.Rendering.SourceFileInfo Class Reference

Provides information about the source file from which an ZptElement is derived. More...

Inheritance diagram for CSF.Zpt.Rendering.SourceFileInfo:
Collaboration diagram for CSF.Zpt.Rendering.SourceFileInfo:

Public Member Functions

override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current CSF.Zpt.Rendering.SourceFileInfo. More...
 
virtual bool Equals (ISourceInfo obj)
 Determines whether the specified CSF.Zpt.Rendering.ISourceInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo. More...
 
virtual bool Equals (SourceFileInfo obj)
 Determines whether the specified CSF.Zpt.Rendering.SourceFileInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo. More...
 
override int GetHashCode ()
 Serves as a hash function for a CSF.Zpt.Rendering.SourceFileInfo object. More...
 
object GetContainer ()
 Gets a representation of the current instance which is suitable for use with TALES. More...
 
override string ToString ()
 Returns a System.String that represents the current CSF.Zpt.Rendering.SourceFileInfo. More...
 
string GetRelativeName (string root)
 Gets a name for the current instance, relative to a given root name. The meaning of relative is up to the implementation. More...
 
 SourceFileInfo (FileInfo fileInfo)
 Initializes a new instance of the CSF.Zpt.Rendering.SourceFileInfo class. More...
 
 SourceFileInfo (string filePath)
 Initializes a new instance of the CSF.Zpt.Rendering.SourceFileInfo class. More...
 

Properties

virtual string FullName [get]
 Gets the filename of the current source file. More...
 
virtual FileInfo FileInfo [get]
 Gets a reference to the operating system file represented by the current instance. More...
 
- Properties inherited from CSF.Zpt.Rendering.ISourceInfo
string FullName [get]
 Gets the full name of the source. More...
 

Detailed Description

Provides information about the source file from which an ZptElement is derived.

Constructor & Destructor Documentation

CSF.Zpt.Rendering.SourceFileInfo.SourceFileInfo ( FileInfo  fileInfo)
inline

Initializes a new instance of the CSF.Zpt.Rendering.SourceFileInfo class.

Parameters
fileInfoFile info.
CSF.Zpt.Rendering.SourceFileInfo.SourceFileInfo ( string  filePath)
inline

Initializes a new instance of the CSF.Zpt.Rendering.SourceFileInfo class.

Parameters
filePathFile path.

Member Function Documentation

override bool CSF.Zpt.Rendering.SourceFileInfo.Equals ( object  obj)
inline

Determines whether the specified System.Object is equal to the current CSF.Zpt.Rendering.SourceFileInfo.

Returns
true if the specified System.Object is equal to the current CSF.Zpt.Rendering.SourceFileInfo; otherwise, false.
Parameters
objThe System.Object to compare with the current CSF.Zpt.Rendering.SourceFileInfo.

Implements CSF.Zpt.Rendering.ISourceInfo.

virtual bool CSF.Zpt.Rendering.SourceFileInfo.Equals ( ISourceInfo  obj)
inlinevirtual

Determines whether the specified CSF.Zpt.Rendering.ISourceInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo.

Parameters
objThe CSF.Zpt.Rendering.ISourceInfo to compare with the current CSF.Zpt.Rendering.SourceFileInfo.
Returns
true if the specified CSF.Zpt.Rendering.ISourceInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo; otherwise, false.
virtual bool CSF.Zpt.Rendering.SourceFileInfo.Equals ( SourceFileInfo  obj)
inlinevirtual

Determines whether the specified CSF.Zpt.Rendering.SourceFileInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo.

Returns
true if the specified CSF.Zpt.Rendering.SourceFileInfo is equal to the current CSF.Zpt.Rendering.SourceFileInfo; otherwise, false.
Parameters
objThe CSF.Zpt.Rendering.SourceFileInfo to compare with the current CSF.Zpt.Rendering.SourceFileInfo.
object CSF.Zpt.Rendering.SourceFileInfo.GetContainer ( )
inline

Gets a representation of the current instance which is suitable for use with TALES.

Returns
The TALES representation of the current instance.

Implements CSF.Zpt.Rendering.ISourceInfo.

override int CSF.Zpt.Rendering.SourceFileInfo.GetHashCode ( )
inline

Serves as a hash function for a CSF.Zpt.Rendering.SourceFileInfo object.

Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

Implements CSF.Zpt.Rendering.ISourceInfo.

string CSF.Zpt.Rendering.SourceFileInfo.GetRelativeName ( string  root)
inline

Gets a name for the current instance, relative to a given root name. The meaning of relative is up to the implementation.

This method also normalises directory separators to the forward-slash character: /.

Returns
The relative name.
Parameters
rootThe root name.

Implements CSF.Zpt.Rendering.ISourceInfo.

override string CSF.Zpt.Rendering.SourceFileInfo.ToString ( )
inline

Returns a System.String that represents the current CSF.Zpt.Rendering.SourceFileInfo.

Returns
A System.String that represents the current CSF.Zpt.Rendering.SourceFileInfo.

Implements CSF.Zpt.Rendering.ISourceInfo.

Property Documentation

virtual FileInfo CSF.Zpt.Rendering.SourceFileInfo.FileInfo
get

Gets a reference to the operating system file represented by the current instance.

The file info.

virtual string CSF.Zpt.Rendering.SourceFileInfo.FullName
get

Gets the filename of the current source file.

Returns
The filename.

The documentation for this class was generated from the following file: