NullPublishingActivityReporter Methods
Class Methods 2 members
A no-op implementation of
IPipelineActivityReporter for testing purposes. CompletePublishAsync(string?, CompletionState?, CancellationToken) Section titled CompletePublishAsync(string?, CompletionState?, CancellationToken) Task Signals that the entire publishing process has completed.
public sealed class NullPublishingActivityReporter{ public Task CompletePublishAsync( string? completionMessage = null, CompletionState? completionState = null, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
completionMessage string? optional The completion message of the publishing process. completionState CompletionState? optional The completion state of the publishing process. When null, the state is automatically aggregated from all steps. cancellationToken CancellationToken optional The cancellation token. CreateStepAsync(string, CancellationToken) Section titled CreateStepAsync(string, CancellationToken) Task<IReportingStep> Creates a new publishing step with the specified title.
public sealed class NullPublishingActivityReporter{ public Task<IReportingStep> CreateStepAsync( string title, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
title string The title of the publishing step. cancellationToken CancellationToken optional The cancellation token. Returns
Task<IReportingStep> The publishing step