I need convert string to Expression<Action>.
var a = $"x => x.Get(It.IsAny<Expression<Func<{typeof(TEntity).ToString()}, bool>>>())";
Is reflection or there a different method?
I will use this code "mock.setup". To be dynamic.
Aucun commentaire:
Enregistrer un commentaire