8 references to EndpointAnnotationUriScheme
Aspire.Hosting (8)
ApplicationModel\EndpointAnnotation.cs (3)
249
get => _transport ?? (string.Equals(UriScheme, "http", StringComparisons.
EndpointAnnotationUriScheme
) || string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
) ? "http" : Protocol.ToString().ToLowerInvariant());
324
get => _tlsEnabled ?? string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ApplicationModel\EndpointReference.cs (4)
74
public bool IsHttp => string.Equals(Scheme, "http", StringComparisons.
EndpointAnnotationUriScheme
);
79
public bool IsHttps => string.Equals(Scheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
96
public bool IsHttpSchemeNamedEndpoint => string.Equals(EndpointName, "http", StringComparisons.
EndpointAnnotationUriScheme
) ||
97
string.Equals(EndpointName, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ResourceBuilderExtensions.cs (1)
4403
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.
EndpointAnnotationUriScheme
));