Skip to content
DocsTry Aspire
DocsTry

HiddenAnnotation Constructors

ClassConstructors1 member
Represents visibility metadata that hides a resource from default resource lists.
Represents visibility metadata that hides a resource from default resource lists.
public sealed class HiddenAnnotation
{
public HiddenAnnotation(
HiddenBehavior behavior)
{
// ...
}
}
behaviorHiddenBehaviorSpecifies when the resource should be hidden.
Hidden resources can still be accessed directly by name or included explicitly by tooling that supports showing hidden resources.