I have method:
public IFluentBuilder<TValue> Setup<TValue>(Expression<Func<TOptions, TValue>> selector)
That I can call with:
Setup(obj => obj.Property).DoSomething()
How can I call DoSomething
, a member of IFluentBuilder
, through reflection when I have a fieldInfo
or propertyInfo
.
Aucun commentaire:
Enregistrer un commentaire