Share via


ManifestPublishingCallbackAnnotation Constructors

Definition

Overloads

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.

ManifestPublishingCallbackAnnotation(Action<ManifestPublishingContext>)

Source:
ManifestPublishingCallbackAnnotation.cs
Source:
ManifestPublishingCallbackAnnotation.cs

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

public ManifestPublishingCallbackAnnotation (Action<Aspire.Hosting.Publishing.ManifestPublishingContext>? callback);
new Aspire.Hosting.ApplicationModel.ManifestPublishingCallbackAnnotation : Action<Aspire.Hosting.Publishing.ManifestPublishingContext> -> Aspire.Hosting.ApplicationModel.ManifestPublishingCallbackAnnotation
Public Sub New (callback As Action(Of ManifestPublishingContext))

Parameters

callback
Action<ManifestPublishingContext>

A callback which provides access to ManifestPublishingContext which can be used for controlling JSON output into the manifest.

Applies to

ManifestPublishingCallbackAnnotation(Func<ManifestPublishingContext,Task>)

Source:
ManifestPublishingCallbackAnnotation.cs
Source:
ManifestPublishingCallbackAnnotation.cs

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

public ManifestPublishingCallbackAnnotation (Func<Aspire.Hosting.Publishing.ManifestPublishingContext,System.Threading.Tasks.Task>? callback);
new Aspire.Hosting.ApplicationModel.ManifestPublishingCallbackAnnotation : Func<Aspire.Hosting.Publishing.ManifestPublishingContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.ManifestPublishingCallbackAnnotation
Public Sub New (callback As Func(Of ManifestPublishingContext, Task))

Parameters

callback
Func<ManifestPublishingContext,Task>

A callback which provides access to ManifestPublishingContext which can be used for controlling JSON output into the manifest.

Applies to