次の方法で共有


ResourceBuilderExtensions.WithExternalHttpEndpoints<T> Method

Definition

Marks existing http or https endpoints on a resource as external.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<T> WithExternalHttpEndpoints<T> (this Aspire.Hosting.ApplicationModel.IResourceBuilder<T> builder) where T : Aspire.Hosting.ApplicationModel.IResourceWithEndpoints;
static member WithExternalHttpEndpoints : Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.ApplicationModel.IResourceWithEndpoints)> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<'T (requires 'T :> Aspire.Hosting.ApplicationModel.IResourceWithEndpoints)> (requires 'T :> Aspire.Hosting.ApplicationModel.IResourceWithEndpoints)
<Extension()>
Public Function WithExternalHttpEndpoints(Of T As IResourceWithEndpoints) (builder As IResourceBuilder(Of T)) As IResourceBuilder(Of T)

Type Parameters

T

The resource type.

Parameters

builder
IResourceBuilder<T>

The resource builder.

Returns

Applies to