Class ApiContentReferenceCacheBase<TContent>
Abstract base class for IContentReferenceCache implementations that load items from API clients.
Implements
Inherited Members
Namespace: Tableau.Migration.Api.Search
Assembly: Tableau.Migration.dll
Syntax
public abstract class ApiContentReferenceCacheBase<TContent> : ContentReferenceCacheBase<TContent>, IContentReferenceCache where TContent : class, IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Constructors
ApiContentReferenceCacheBase(IContentReferenceCacheLoadStrategy<TContent>, ISitesApiClient?, IConfigReader, ILogger<ApiContentReferenceCacheBase<TContent>>)
Creates a new ApiContentReferenceCacheBase<TContent> object.
Declaration
public ApiContentReferenceCacheBase(IContentReferenceCacheLoadStrategy<TContent> loadStrategy, ISitesApiClient? apiClient, IConfigReader configReader, ILogger<ApiContentReferenceCacheBase<TContent>> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentReferenceCacheLoadStrategy<TContent> | loadStrategy | |
| ISitesApiClient | apiClient | An API client. |
| IConfigReader | configReader | A config reader. |
| ILogger<ApiContentReferenceCacheBase<TContent>> | logger |