Class ContentItemPulledContext<TPrepare>
Context for IContentItemPulledHook<TPrepare> operations for pulled content items.
Inheritance
object
ContentItemPulledContext<TPrepare>
Implements
Namespace: Tableau.Migration.Engine.Hooks.Pulled
Assembly: Tableau.Migration.dll
Syntax
public class ContentItemPulledContext<TPrepare> : IContentItemFilterResult where TPrepare : IContentReference
Type Parameters
| Name | Description |
|---|---|
| TPrepare | The content type that has been pulled and will be prepared. |
Constructors
ContentItemPulledContext(IMigrationManifestEntryEditor, TPrepare)
Creates a new ContentItemPulledContext<TPrepare> object.
Declaration
public ContentItemPulledContext(IMigrationManifestEntryEditor manifestEntry, TPrepare pulledItem)
Parameters
| Type | Name | Description |
|---|---|---|
| IMigrationManifestEntryEditor | manifestEntry | The manifest entry for the content item. |
| TPrepare | pulledItem | The content item that was pulled. |
Properties
ManifestEntry
Gets the manifest entry for the content item.
Declaration
public IMigrationManifestEntryEditor ManifestEntry { get; }
Property Value
| Type | Description |
|---|---|
| IMigrationManifestEntryEditor |
PulledItem
Gets the content item that was pulled.
Declaration
public TPrepare PulledItem { get; }
Property Value
| Type | Description |
|---|---|
| TPrepare |
Status
Gets or sets the current filtering status for the pulled content item.
Declaration
public FilterStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterStatus |
Methods
ToTask()
Creates a task that's successfully completed from the current context.
Declaration
public Task<ContentItemPulledContext<TPrepare>?> ToTask()
Returns
| Type | Description |
|---|---|
| Task<ContentItemPulledContext<TPrepare>> | The successfully completed task. |