8 references to EndpointAnnotationUriScheme
Aspire.Hosting (8)
ApplicationModel\EndpointAnnotation.cs (3)
252
get => _transport ?? (string.Equals(UriScheme, "http", StringComparisons.
EndpointAnnotationUriScheme
) || string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
) ? "http" : Protocol.ToString().ToLowerInvariant());
327
get => _tlsEnabled ?? string.Equals(UriScheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ApplicationModel\EndpointReference.cs (4)
107
public bool IsHttp => string.Equals(Scheme, "http", StringComparisons.
EndpointAnnotationUriScheme
);
112
public bool IsHttps => string.Equals(Scheme, "https", StringComparisons.
EndpointAnnotationUriScheme
);
129
public bool IsHttpSchemeNamedEndpoint => string.Equals(EndpointName, "http", StringComparisons.
EndpointAnnotationUriScheme
) ||
130
string.Equals(EndpointName, "https", StringComparisons.
EndpointAnnotationUriScheme
);
ResourceBuilderExtensions.cs (1)
4829
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.
EndpointAnnotationUriScheme
));