Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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