Can I apply the condition worldwide with automapper?

A simple question, but I can not find the answer. Can I apply .ForAllMembers(options => options.Condition(c => !c.IsSourceValueNull)); globally in configuration, so I don’t need to apply it to all my objects?

Thanks!

+5
source share

Source: https://habr.com/ru/post/1202257/


All Articles