Skip to content

Question: Best way to get nullable annotation metadata at runtime #52876

Closed
@JamesNK

Description

@JamesNK

In ASP.NET Core we want to change behavior based on the nullability of a parameter. What is the best way to get that information at runtime?

(I think I remember a first-class API being added for this but I couldn't find it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.ReflectionquestionAnswer questions and provide assistance, not an issue with source code or documentation.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions