ManifestPublishingCallbackAnnotation Constructors
ClassConstructors2 members
Represents an annotation that provides a callback to be executed during manifest publishing.
Constructor(Action<ManifestPublishingContext>)Section titled Constructor(Action<ManifestPublishingContext>) Initializes a new instance of the
ManifestPublishingCallbackAnnotation class with the specified callback. public class ManifestPublishingCallbackAnnotation{ public ManifestPublishingCallbackAnnotation( Action<ManifestPublishingContext>? callback) { // ... }}Parameters
callbackAction<ManifestPublishingContext>A callback which provides access to ManifestPublishingContext which can be used for controlling JSON output into the manifest.Constructor(Func<ManifestPublishingContext, Task>)Section titled Constructor(Func<ManifestPublishingContext, Task>) Initializes a new instance of the
ManifestPublishingCallbackAnnotation class with the specified callback. public class ManifestPublishingCallbackAnnotation{ public ManifestPublishingCallbackAnnotation( Func<ManifestPublishingContext, Task>? callback) { // ... }}Parameters
callbackFunc<ManifestPublishingContext, Task>A callback which provides access to ManifestPublishingContext which can be used for controlling JSON output into the manifest.