Partilhar via


ManifestPublishingCallbackAnnotation Class

Definition

Represents an annotation that provides a callback to be executed during manifest publishing.

public class ManifestPublishingCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ManifestPublishingCallbackAnnotation = class
    interface IResourceAnnotation
Public Class ManifestPublishingCallbackAnnotation
Implements IResourceAnnotation
Inheritance
ManifestPublishingCallbackAnnotation
Implements

Constructors

ManifestPublishingCallbackAnnotation(Action<ManifestPublishingContext>)

Initializes a new instance of the ManifestPublishingCallbackAnnotation class with the specified callback.

ManifestPublishingCallbackAnnotation(Func<ManifestPublishingContext,Task>)

Initializes a new instance of the ManifestPublishingCallbackAnnotation class with the specified callback.

Properties

Callback

Gets the callback action for publishing the manifest.

Ignore

Represents a null-based callback annotation for manifest publishing used in scenarios where it's ignored.

Applies to