Class LazyContentReferenceCacheLoadStrategy<TContent>
Content reference cache load strategy that prefers individual searches, only performing bulk loads when a given individual search type is not supported.
Inheritance
object
LazyContentReferenceCacheLoadStrategy<TContent>
Implements
IContentReferenceCacheLoadStrategy<TContent>
Namespace: Tableau.Migration.Content.Search
Assembly: Tableau.Migration.dll
Syntax
public sealed class LazyContentReferenceCacheLoadStrategy<TContent> : IContentReferenceCacheLoadStrategy<TContent> where TContent : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Methods
LoadAsync(IContentReferenceCacheLoadAttempt<TContent>, CancellationToken)
Loads the content reference cache from the content reference store.
Declaration
public Task LoadAsync(IContentReferenceCacheLoadAttempt<TContent> attempt, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentReferenceCacheLoadAttempt<TContent> | attempt | The cache load attempt to control. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task | The task to await. |