Partilhar via


ResourceBuilderExtensions.ExcludeFromManifest<T> Method

Definition

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>.

Applies to