How to properly use IMapper (dependency injection) with a config fork?? I have the following class:
`public class Example: IExample
{
#region Variables and Properties
public IAppContext Context { get; }
private readonly IMapper _mapper;
#endregion Variables and Properties
#region Constructors
public Example(IAppContext context, IMapper mapper)
{
Context = context;
_mapper = mapper;
}
#endregion Constructors
}`
How to use _mapper with a fork in TypeAdapterConfig?
Thanks.
How to properly use IMapper (dependency injection) with a config fork?? I have the following class:
`public class Example: IExample
{
#region Variables and Properties
}`
How to use _mapper with a fork in TypeAdapterConfig?
Thanks.