CommonAppenders..::..CacheAllItems<(Of <(<'TItem>)>)> Method (ILink<(Of <(<'ImmutableList<(Of <(<'TItem>)>)>>)>)>, Func<(Of <(<'TItem, String>)>)>, Nullable<(Of <(<'CachePolicy>)>)>)
Caches all items in the result set.
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public static ICacheLink<ImmutableList<TItem>> CacheAllItems<TItem>( this ILink<ImmutableList<TItem>> previousLink, Func<TItem, string> cacheKeyFunction, Nullable<CachePolicy> policy )
<ExtensionAttribute> _ Public Shared Function CacheAllItems(Of TItem) ( _ previousLink As ILink(Of ImmutableList(Of TItem)), _ cacheKeyFunction As Func(Of TItem, String), _ policy As Nullable(Of CachePolicy) _ ) As ICacheLink(Of ImmutableList(Of TItem))
[ExtensionAttribute] public: generic<typename TItem> static ICacheLink<ImmutableList<TItem>^>^ CacheAllItems( ILink<ImmutableList<TItem>^>^ previousLink, Func<TItem, String^>^ cacheKeyFunction, Nullable<CachePolicy^> policy )
Type Parameters
- TItem
- The type of the t item.
Parameters
- previousLink
- Type: Tortuga.Chain..::..ILink<(Of <(<'ImmutableList<(Of <(<'TItem>)>)>>)>)>
The previous link.
- cacheKeyFunction
- Type: Func<(Of <(<'TItem, String>)>)>
Function to generate cache keys.
- policy
- Type: Nullable<(Of <(<'CachePolicy>)>)>
Optional cache policy.

