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

Represents a ZPT namespace, by either or both of its prefix and namespace URI. More...

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

Public Member Functions

bool Equals (ZptNamespace other)
 Determines whether the specified CSF.Zpt.Rendering.ZptNamespace is equal to the current CSF.Zpt.Rendering.ZptNamespace. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current CSF.Zpt.Rendering.ZptNamespace. More...
 
override int GetHashCode ()
 Serves as a hash function for a CSF.Zpt.Rendering.ZptNamespace object. More...
 
override string ToString ()
 Returns a System.String that represents the current CSF.Zpt.Rendering.ZptNamespace. More...
 
 ZptNamespace (string prefix=null, string uri=null)
 Initializes a new instance of the CSF.Zpt.Rendering.ZptNamespace class. More...
 

Static Public Member Functions

static bool operator== (ZptNamespace first, ZptNamespace second)
 Operator overload for testing equality between two ZptNamespace instances. More...
 
static bool operator!= (ZptNamespace first, ZptNamespace second)
 Operator overload for testing inequality between two ZptNamespace instances. More...
 

Properties

string Uri [get]
 Gets the full namespace URI. More...
 
string Prefix [get]
 Gets the namespace prefix. More...
 
static ZptNamespace Default [get]
 Gets an instance representing a document's default namespace (IE: no namespace). More...
 

Detailed Description

Represents a ZPT namespace, by either or both of its prefix and namespace URI.

Constructor & Destructor Documentation

CSF.Zpt.Rendering.ZptNamespace.ZptNamespace ( string  prefix = null,
string  uri = null 
)
inline

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

Parameters
prefixThe namespace prefix.
uriThe full namespace URI.

Member Function Documentation

bool CSF.Zpt.Rendering.ZptNamespace.Equals ( ZptNamespace  other)
inline

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

Parameters
otherThe CSF.Zpt.Rendering.ZptNamespace to compare with the current CSF.Zpt.Rendering.ZptNamespace.
Returns
true if the specified CSF.Zpt.Rendering.ZptNamespace is equal to the current CSF.Zpt.Rendering.ZptNamespace; otherwise, false.
override bool CSF.Zpt.Rendering.ZptNamespace.Equals ( object  obj)
inline

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

Parameters
objThe System.Object to compare with the current CSF.Zpt.Rendering.ZptNamespace.
Returns
true if the specified System.Object is equal to the current CSF.Zpt.Rendering.ZptNamespace; otherwise, false.
override int CSF.Zpt.Rendering.ZptNamespace.GetHashCode ( )
inline

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

Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.
static bool CSF.Zpt.Rendering.ZptNamespace.operator!= ( ZptNamespace  first,
ZptNamespace  second 
)
inlinestatic

Operator overload for testing inequality between two ZptNamespace instances.

Parameters
firstThe first instance.
secondThe second instance.
static bool CSF.Zpt.Rendering.ZptNamespace.operator== ( ZptNamespace  first,
ZptNamespace  second 
)
inlinestatic

Operator overload for testing equality between two ZptNamespace instances.

Parameters
firstThe first instance.
secondThe second instance.
override string CSF.Zpt.Rendering.ZptNamespace.ToString ( )
inline

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

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

Property Documentation

ZptNamespace CSF.Zpt.Rendering.ZptNamespace.Default
staticget

Gets an instance representing a document's default namespace (IE: no namespace).

The default namespace.

string CSF.Zpt.Rendering.ZptNamespace.Prefix
get

Gets the namespace prefix.

The namespace prefix.

string CSF.Zpt.Rendering.ZptNamespace.Uri
get

Gets the full namespace URI.

The namespace URI.


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