Suppose I have two classes and use Mapster to map one to another:
class A
{
public int GetX(){ return 1; }
}
class B
{
public int X { get; set; }
}
Is any way to globally disable map of GetX()
to X
for A
to B
mapping?
This behavior is by default, it is described here, but I've not found any way to change it.