title: How to use IMemberValueResolver with constructor argument
body: <p>For instance if I have IMemberValueResolver type:</p>
  
  <pre><code>Mapper.Initialize(cfg =&gt; {
  cfg.CreateMap&lt;Source, Destination&gt;()
      .ForMember(dest =&gt; dest.Total,
          opt =&gt; opt.ResolveUsing&lt;CustomResolver, decimal&gt;(src =&gt; src.SubTotal));
  cfg.CreateMap&lt;OtherSource, OtherDest&gt;()
      .ForMember(dest =&gt; dest.OtherTotal,
          opt =&gt; opt.ResolveUsing&lt;CustomResolver, decimal&gt;(src =&gt; src.OtherSubTotal));
  });
  
  public class CustomResolver : IMemberValueResolver&lt;object, object, decimal, decimal&gt; {
      public decimal Resolve(object source, object destination, decimal sourceMember, decimal destinationMember, ResolutionContext context) {
  // logic here
      }
  }
  </code></pre>
  
  <p>What if my CustomResolver is accepting parameter in constructor like:</p>
  
  <pre><code>public class CustomResolver : IMemberValueResolver&lt;object, object, decimal, decimal&gt; {
      public CustomResolver(string text){
      }
      public decimal Resolve(object source, object destination, decimal sourceMember, decimal destinationMember, ResolutionContext context) {
  // logic here
      }
  }
  </code></pre>
  
  <p>How do I then create map for custom resolver of type IMemberValueResolver?
  We can try and supply instance directly:</p>
  
  <pre><code>Mapper.Initialize(cfg =&gt; cfg.CreateMap&lt;Source, Destination&gt;()
      .ForMember(dest =&gt; dest.Total,
          opt =&gt; opt.ResolveUsing(new CustomResolver("Text"))
      );
  </code></pre>
  
  <p>But how in this case do we pass which source parameter do we want to use for mapping in resolver?</p>