A cached value which is updated via delegate on the getter

The following tables list the members exposed by the CachedValue<ItemType> type.

Public Constructors

 

Name

Description

Public constructor Supported by the .NET Compact Framework.

CachedValue<ItemType>

Initializes a new instance of the CachedValue<ItemType> class.

Top

Public Methods

 

Name

Description

Public method

Equals

(Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).

Public method Supported by the .NET Compact Framework.

Get

Gets the specified value and updates the cache with the provided delegate

Public method

GetHashCode

Serves as a hash function for a particular type. (inherited from Object).

Public method

GetType

(Overloaded) Gets the Type of the current instance. (inherited from Object).

Public method Static

ReferenceEquals

Determines whether the specified Object instances are the same instance. (inherited from Object).

Public method

ToString

Returns a string that represents the current object. (inherited from Object).

Top

Protected Methods

 

Name

Description

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).

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (inherited from Object).

Top

Delegates

 

Name

Description

Public delegate Supported by the .NET Compact Framework.

GetCurrentValueDelegate

The get current value delegate.

Top

See Also