DockerComposeEnvironmentResource.IComputeEnvironmentResource.GetHostAddressExpression 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.
Computes the host URL ReferenceExpression for the given EndpointReference.
Aspire.Hosting.ApplicationModel.ReferenceExpression IComputeEnvironmentResource.GetHostAddressExpression(Aspire.Hosting.ApplicationModel.EndpointReference endpointReference);
abstract member Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource.GetHostAddressExpression : Aspire.Hosting.ApplicationModel.EndpointReference -> Aspire.Hosting.ApplicationModel.ReferenceExpression
override this.Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource.GetHostAddressExpression : Aspire.Hosting.ApplicationModel.EndpointReference -> Aspire.Hosting.ApplicationModel.ReferenceExpression
Function GetHostAddressExpression (endpointReference As EndpointReference) As ReferenceExpression Implements IComputeEnvironmentResource.GetHostAddressExpression
Parameters
- endpointReference
- EndpointReference
The endpoint reference to compute the host address for.
Returns
A ReferenceExpression representing the host address.