Class BulkPostPublishContext<TPublish>
Context for BulkPostPublishContext<TPublish> operations for published content items.
Inheritance
object
BulkPostPublishContext<TPublish>
Namespace: Tableau.Migration.Engine.Hooks.PostPublish
Assembly: Tableau.Migration.dll
Syntax
public class BulkPostPublishContext<TPublish>
Type Parameters
| Name | Description |
|---|---|
| TPublish | The publish type. |
Constructors
BulkPostPublishContext(IEnumerable<TPublish>)
Creates a new BulkPostPublishContext<TPublish> object.
Declaration
public BulkPostPublishContext(IEnumerable<TPublish> sourceItems)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TPublish> | sourceItems | The source content items. |
Properties
PublishedItems
Gets the content item being published.
Declaration
public IImmutableList<TPublish> PublishedItems { get; }
Property Value
| Type | Description |
|---|---|
| IImmutableList<TPublish> |
Methods
ToTask()
Creates a task that's successfully completed from the current context.
Declaration
public Task<BulkPostPublishContext<TPublish>?> ToTask()
Returns
| Type | Description |
|---|---|
| Task<BulkPostPublishContext<TPublish>> | The successfully completed task. |