Skip to content

IOptionsMonitor missing generic type constraint "where TOptions : class" #109274

Open
@BernhardNinaus

Description

@BernhardNinaus

Description

Hello.

I've found, that IOptionsMonitor is the only interface which is missing the generic type constraint "where TOptions : class" opposed to the other "IOptions" interfaces.

Reproduction Steps

Missing on IOptionsMonitor
Pressent on:

Expected behavior

Generic Type constraint just like other interfaces.

Actual behavior

No Generic Type constraint.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions