Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseCacheAttribute.Condition Property

Gets or sets a SpEL expression that should be evaluated in order to determine whether the item should be cached.

[Visual Basic]
Public Property Condition() As String
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public string Condition { public get; public set; }

Property Value

An expression string that should be evaluated in order to determine whether the item should be cached.

See Also

BaseCacheAttribute Class | Spring.Caching Namespace