Automapper or Otis: Mapping ReadonlyDictionary <name, value> to a DTO's IList<string>
I am trying out Automapper as well as otis. I have a source type that is something list this (only partial code shown here): class Source { ReadOnlyDictionary<string, customtype> items; } My DTO is like so: class ClassDTO { IList<string> pageNames; } Now how do I map the pagenames in my DTO to "items" in the source type, ...