Exemple #1
0
 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;
 }
Exemple #2
0
 public DtoMapper()
 {
     _builder = new FunctionBuilder();
     _cache   = new FunctionsCache();
 }