ManifestPublishingCallbackAnnotation
Class net10.0
Represents an annotation that provides a callback to be executed during manifest publishing.
namespace Aspire.Hosting.ApplicationModel;
public class ManifestPublishingCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors2
Section titled ConstructorsManifestPublishingCallbackAnnotation(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. Properties2
Section titled PropertiesCallbackgetFunc<ManifestPublishingContext, Task> Gets the callback action for publishing the manifest.
Ignorestaticget Represents a
null -based callback annotation for manifest publishing used in scenarios where it's ignored.