Interface IManifestUpdateSourceContentReferenceCache<TContent>
Interface for an object that can update the manifest dynamically by searching for source items.
Namespace: Tableau.Migration.Engine.Endpoints.Caching
Assembly: Tableau.Migration.dll
Syntax
public interface IManifestUpdateSourceContentReferenceCache<TContent> where TContent : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TContent | The content type. |
Methods
UpdateManifestByContentUrlAsync(string, CancellationToken)
Attempts to update the manifest for a missing source content URL.
Declaration
Task<IMigrationManifestEntryEditor?> UpdateManifestByContentUrlAsync(string contentUrl, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| string | contentUrl | The source content URL to search for. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IMigrationManifestEntryEditor> | A task to await with the manifest entry for the source information, or null if the source item could not be found. |
UpdateManifestByIdAsync(Guid, CancellationToken)
Attempts to update the manifest for a missing source ID.
Declaration
Task<IMigrationManifestEntryEditor?> UpdateManifestByIdAsync(Guid id, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | The source ID to search for. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IMigrationManifestEntryEditor> | A task to await with the manifest entry for the source information, or null if the source item could not be found. |
UpdateManifestByLocationAsync(ContentLocation, CancellationToken)
Attempts to update the manifest for a missing source location.
Declaration
Task<IMigrationManifestEntryEditor?> UpdateManifestByLocationAsync(ContentLocation location, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentLocation | location | The source location to search for. |
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IMigrationManifestEntryEditor> | A task to await with the manifest entry for the source information, or null if the source item could not be found. |