Browse Source

Fix ImageFormatManager docs

pull/2317/head
James Jackson-South 3 years ago
parent
commit
e35d1e7db5
  1. 4
      src/ImageSharp/Formats/ImageFormatManager.cs

4
src/ImageSharp/Formats/ImageFormatManager.cs

@ -96,7 +96,7 @@ public class ImageFormatManager
/// When this method returns, contains the format that matches the given extension;
/// otherwise, the default value for the type of the <paramref name="format"/> parameter.
/// This parameter is passed uninitialized.
/// .</param>
/// </param>
/// <returns><see langword="true"/> if a match is found; otherwise, <see langword="false"/></returns>
public bool TryFindFormatByFileExtension(string extension, [NotNullWhen(true)] out IImageFormat? format)
{
@ -121,7 +121,7 @@ public class ImageFormatManager
/// When this method returns, contains the format that matches the given mime-type;
/// otherwise, the default value for the type of the <paramref name="format"/> parameter.
/// This parameter is passed uninitialized.
/// .</param>
/// </param>
/// <returns><see langword="true"/> if a match is found; otherwise, <see langword="false"/></returns>
public bool TryFindFormatByMimeType(string mimeType, [NotNullWhen(true)] out IImageFormat? format)
{

Loading…
Cancel
Save