TokenFunction Members

Include Protected Members
Include Inherited Members

The TokenFunction type exposes the following members.

Constructors

  Name Description
Protected method TokenFunction(String)
Initializes an instance of a TokenFunction with a start delimiter and the default end delimiter.
Protected method TokenFunction(String, String)
Initializes an instance of a TokenFunction with a start and end delimiter.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Format
Searches for token functions in the message and replace all with formatted values.
Public method FormatToken
Abstract method to process the token value between the start and end delimiter.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetInnerTemplate
Returns the template in between the paratheses for a token function. Expecting tokens in this format: {keyvalue(myKey1)}.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also

TokenFunction Class

Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace