Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseCacheAttribute Members

BaseCacheAttribute overview

Protected Static (Shared) Fields

TimeSpanConverter The TimeSpanConverter instance used to parse TimeSpan values.

Public Instance Constructors

BaseCacheAttribute Overloaded. Initializes a new instance of the BaseCacheAttribute class.

Public Instance Properties

CacheName Gets or sets the name of the cache to use.
Condition Gets or sets a SpEL expression that should be evaluated in order to determine whether the item should be cached.
ConditionExpression Gets an expression instance that should be evaluated in order to determine whether the item should be cached.
Key Gets or sets a SpEL expression that should be evaluated in order to determine the cache key for the item.
KeyExpression Gets an expression instance that should be evaluated in order to determine the cache key for the item.
TimeToLive The amount of time an object should remain in the cache.
TimeToLiveTimeSpan The amount of time an object should remain in the cache (in seconds).
TypeId (inherited from Attribute)When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute)Returns a value that indicates whether this instance is equal to a specified object.
GetHashCode (inherited from Attribute)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute)When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute)When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

BaseCacheAttribute Class | Spring.Caching Namespace