Currently it's not guarded against setting it to null:
|
/// <summary> |
|
/// Gets or sets the <see cref="ImageFormatManager"/> that is currently in use. |
|
/// </summary> |
|
public ImageFormatManager ImageFormatsManager { get; set; } = new ImageFormatManager(); |
I'm wondering if we need the public setter at all? No test cases exercise it, every call site seems to modify the existing collection.
Currently it's not guarded against setting it to
null:ImageSharp/src/ImageSharp/Configuration.cs
Lines 114 to 117 in e11f318
I'm wondering if we need the public setter at all? No test cases exercise it, every call site seems to modify the existing collection.