4 references to DataUriParser
Microsoft.Extensions.AI.Abstractions (4)
Contents\DataContent.cs (4)
42
private
DataUriParser
.DataUri? _dataUri;
67
if (uri.StartsWith(
DataUriParser
.Scheme, StringComparison.OrdinalIgnoreCase))
69
_dataUri =
DataUriParser
.Parse(uri.AsMemory());
111
if (!
DataUriParser
.IsValidMediaType(mediaType.AsSpan(), ref mediaType))