/// <inheritdoc />
        public bool Exists(Type assetType, string assetName, out Assembly assembly)
        {
            if (Path.GetExtension(assetName) == ContentSerializer.DEFAULT_EXTENSION)
            {
                return(EmbeddedResourceStreamResolver.ExistsInternal(assetType, assetName, out assembly));
            }

            assembly = null !;
            return(false);
        }
 /// <inheritdoc />
 public Stream?Resolve(Assembly assembly, string assetName)
 {
     return(EmbeddedResourceStreamResolver.GetManifestResourceStreamInternal(assembly, assetName));
 }
 /// <inheritdoc />
 public Stream?Resolve(Assembly assembly, string assetName)
 {
     using Stream stream = EmbeddedResourceStreamResolver.GetManifestResourceStreamInternal(assembly, assetName);
     return(ContentCompressor.DecompressStream(stream, out Stream stream2) ? stream2 : null);
 }