public CustomerApi(LocalApiContext context) { _context = context; }
public MappingContext(LocalApiContext apiContext, IncludeCollection includes) { ApiContext = apiContext; Includes = includes ?? new IncludeCollection(); VisitedObjects = new HashSet<ObjectReference>(); }
public static TTarget Map <TSource, TTarget>(TSource source, LocalApiContext apiContext, IncludeCollection includes) { return(Map <TSource, TTarget>(source, (TTarget)Activator.CreateInstance(typeof(TTarget)), apiContext, includes)); }
public static object Map(object source, Type sourceType, Type targetType, LocalApiContext apiContext, IncludeCollection includes) { return(Map(source, Activator.CreateInstance(targetType), sourceType, targetType, apiContext, includes)); }
public PaymentMethodQueryExecutor(LocalApiContext context) : base(context) { }
public ProductQueryExecutor(LocalApiContext context) : base(context) { }
public CountryQueryExecutor(LocalApiContext context) : base(context) { }
public PaymentMethodApi(LocalApiContext context) { _context = context; }
public MappingContext(LocalApiContext apiContext, IncludeCollection includes) { ApiContext = apiContext; Includes = includes ?? new IncludeCollection(); VisitedObjects = new HashSet <ObjectReference>(); }
public ShoppingCartApi(LocalApiContext context, ICustomerApi customerApi) { _customerApi = customerApi; _context = context; }
public MappingContext(LocalApiContext apiContext) : this(apiContext, null) { }
public OrderApi(LocalApiContext context, Core.IPaymentProcessorProvider paymentProcessorProvider) { _context = context; _paymentProcessorProvider = paymentProcessorProvider; }
public ShoppingCartApi(LocalApiContext context, ICustomerApi customerApi) { _customerApi = customerApi; _context = context; }
public CategoryQueryExecutor(LocalApiContext apiContext) : base(apiContext) { }
public CustomerApi(LocalApiContext context) { _context = context; }
public BrandQueryExecutor(LocalApiContext apiContext) : base(apiContext) { }
public BrandApi(LocalApiContext context) { _context = context; }
public ShippingMethodApi(LocalApiContext context) { _context = context; }
public CountryApi(LocalApiContext context) { _context = context; }
public ShippingMethodQueryExecutor(LocalApiContext context) : base(context) { }
public ProductApi(LocalApiContext context) { _context = context; }
public OrderApi(LocalApiContext context, Core.IPaymentProcessorProvider paymentProcessorProvider) { _context = context; _paymentProcessorProvider = paymentProcessorProvider; }
public CustomerQueryExecutor(LocalApiContext context) : base(context) { }
public static TTarget Map <TSource, TTarget>(TSource source, TTarget target, LocalApiContext apiContext, IncludeCollection includes) { return((TTarget)Map(source, target, typeof(TSource), typeof(TTarget), apiContext, includes)); }
public CategoryApi(LocalApiContext context) { _context = context; }
public static object Map(object source, object target, Type sourceType, Type targetType, LocalApiContext apiContext, IncludeCollection includes) { var mapper = GetMapper(sourceType, targetType); return(mapper.Map(source, target, sourceType, targetType, null, new MappingContext(apiContext, includes))); }
public CountryApi(LocalApiContext context) { _context = context; }
public MappingContext(LocalApiContext apiContext) : this(apiContext, null) { }
public CategoryApi(LocalApiContext context) { _context = context; }
public PaymentMethodApi(LocalApiContext context) { _context = context; }
public OrderQueryExecutor(LocalApiContext context) : base(context) { }
public ProductApi(LocalApiContext context) { _context = context; }
public ShippingMethodApi(LocalApiContext context) { _context = context; }
public BrandApi(LocalApiContext context) { _context = context; }
public ShoppingCartQueryExecutor(LocalApiContext apiContext) : base(apiContext) { }