mardi 12 juillet 2016

How to update IList property using reflection

I have a model which has a property which is IEnumerable.

public class SomeClass
{
 public IEnumerable<CustomClass> CustomProperty1
}

using reflection i need to add the values to the above property. Any suggestions?





Aucun commentaire:

Enregistrer un commentaire