Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseCacheAdvice.GetCache Method

Returns an ICache instance based on the cache name.

[Visual Basic]
Public Sub GetCache( _
   ByVal name As String _
)
[C#]
public ICache GetCache(
   string name
);

Parameters

name
The name of the cache.

Return Value

Cache instance for the specified name if one is registered in the application context, or null if it isn't.

See Also

BaseCacheAdvice Class | Spring.Aspects.Cache Namespace