ResourceBuilderExtensions.ExcludeFromManifest<T> Method
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.
Excludes a resource from being published to the manifest.
C#
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<T> ExcludeFromManifest<T>(this Aspire.Hosting.ApplicationModel.IResourceBuilder<T> builder) where T : Aspire.Hosting.ApplicationModel.IResource;
static member ExcludeFromManifest : Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.ApplicationModel.IResource)> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.ApplicationModel.IResource)> (requires 'T :> Aspire.Hosting.ApplicationModel.IResource)
<Extension()>
Public Function ExcludeFromManifest(Of T As IResource) (builder As IResourceBuilder(Of T)) As IResourceBuilder(Of T)
- T
The resource type.
- builder
- IResourceBuilder<T>
The resource to exclude.
The IResourceBuilder<T>.
Produkt | Versionen |
---|---|
.NET Aspire | 8.0.0, 9.0.0, 9.1.0 |