With the following mapping I am able to selectively choose which property values to map based on their values.
config
.CreateMap<SourceAddress, DestinationAddress>()
.ForAllMembers(opt => opt.Condition((s, d, sv, dv, rc) => true));
How would I go about making this decision based on the property metadata, like its name or attributes applied to it?
Note that when I break in the implementation of the condition delegate, the ResolutionContext parameter rc has both InstanceCache and Items empty.