6 references to EndpointAnnotationUriScheme
Aspire.Hosting (6)
ApplicationModel\EndpointAnnotation.cs (3)
172
get => _transport ?? (string.Equals(UriScheme, "http", StringComparisons.
EndpointAnnotationUriScheme
) || string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
) ? "http" : Protocol.ToString().ToLowerInvariant());
200
get => _tlsEnabled ?? string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ApplicationModel\EndpointReference.cs (2)
56
public bool IsHttp => string.Equals(Scheme, "http", StringComparisons.
EndpointAnnotationUriScheme
);
61
public bool IsHttps => string.Equals(Scheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ResourceBuilderExtensions.cs (1)
2950
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.
EndpointAnnotationUriScheme
));