ResourceBuilderExtensions.ExcludeFromManifest<T> Method
Definition
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.
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)
Type Parameters
- T
The resource type.
Parameters
- builder
- IResourceBuilder<T>
The resource to exclude.
Returns
The IResourceBuilder<T>.