title: AutoMapper - how to use custom value resolver inside custom type converter
body: <p>How can I use custom value resolvers inside custom type converter?
  Currently, it seems to me hard to achieve. Do you know a way to how I can use this class?</p>
  
  <hr>
  
  <p><strong>Person converter</strong></p>
  
  <pre><code>class PersonConverter : ITypeConverter&lt;PersonData, Person&gt;
  {
      public Person Convert(ResolutionContext context)
      {
          var personData = context.SourceValue as PersonData;
          if (personData == null)
          {
              return null;
          }
  
          var person = new Person
          {
              Name = personData.Name
          };
          //person.Dic = // use here my DictionaryResolver
  
          return person;
      }
  }
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code>class Person
  {
      public string Name { get; set; }
      public Dictionary Dic { get; set; }
  }
  
  class PersonData
  {
      public string Name { get; set; }
      public int DicId { get; set; }
  }
  
  class Dictionary
  {
      public int Id { get; set; }
      public string Name { get; set; }
  }
  </code></pre>
  
  <p><strong>Value resolver</strong></p>
  
  <pre><code>class DictionaryResolver : ValueResolver&lt;int, Dictionary&gt;
  {
      protected override Dictionary ResolveCore(int source)
      {
          // do something
          return new Dictionary
          {
              Id = source,
              Name = "Name"
          };
      }
  }
  </code></pre>