Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ListmonkResource.WithReference

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
type ListmonkResource interface {
// ... omitted for brevity
WithReference(database PostgresDatabaseResource) ListmonkResource
}

Signature

methodWithReferencebuilder
References a PostgresDatabaseResource as the PostgreSQL database for the listmonk resource.
WithReference(database PostgresDatabaseResource) ListmonkResource
databasePostgresDatabaseResourceThe PostgreSQL database resource builder.
ListmonkResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: