ManifestPublishingCallbackAnnotation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>)
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>)
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.