4 references to TryParse
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
78
if (contentType != null && MediaTypeHeaderValue.
TryParse
(contentType, out var mt))
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
130
if (MediaTypeHeaderValue.
TryParse
(contentType, out contentTypeHeaderValue))
Microsoft.Extensions.AI.Abstractions (1)
Contents\DataUriParser.cs (1)
117
return MediaTypeHeaderValue.
TryParse
(mediaType, out _);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\MessageContent.cs (1)
136
if (MediaTypeHeaderValue.
TryParse
(contentType, out contentTypeHeaderValue))