public DtoMapper(IFunctionBuilder builder, IFunctionsCache cache) { if (builder == null) { throw new ArgumentNullException("Builder is null"); } if (cache == null) { throw new ArgumentNullException("Cache is null"); } _builder = builder; _cache = cache; }
public DtoMapper() { _builder = new FunctionBuilder(); _cache = new FunctionsCache(); }