Skip to content

Do we need public setter for Configuration.ImageFormatManager? #1850

@antonfirsov

Description

@antonfirsov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions