samedi 20 août 2022

How to get nullable properties with reflection using GetType().GetProperties()?

I am not getting nullable properties when using reflection with GetType().GetProperties()

The Property is

public DateTime? StartingFrom { get => _startingFrom; set { _startingFrom = value; OnPropertyChanged(); } }

Is there something I must add to include nullable properties??





Aucun commentaire:

Enregistrer un commentaire