HiddenAnnotation
Classsealednet10.0
Represents visibility metadata that hides a resource from default resource lists.
namespace Aspire.Hosting.ApplicationModel;
public sealed class HiddenAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Remarks
Section titled Remarks Hidden resources can still be accessed directly by name or included explicitly by tooling that supports showing hidden resources.
Constructors1
Section titled ConstructorsView all constructors
Properties2
Section titled PropertiesBehaviorget Gets when the resource should be hidden from default resource lists.
SuccessfulExitCodesget; initIReadOnlyList<int> Gets the exit codes that are treated as successful completion when
HiddenAnnotation.Behavior is HiddenBehavior.OnCompletion.