Resource.GetResourceName

Method
📦 Aspire.Hosting v17.0.0
func (Resource) GetResourceName() (string, error)

Signature

methodGetResourceName
Gets the name of the resource from a builder.
GetResourceName() (string, error)
(string, error)

The resource name.

Returns (string, error).

Defined on

A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.

Applies to

This function applies to the following types: