public SimpleLoginService(IUserManager userManager, IDTOBuilder <UserDTO, User> userDTOBuilder,
                           ILoggerManager loggerManager)
 {
     UserManager    = userManager;
     UserDTOBuilder = userDTOBuilder;
     LoggerManager  = loggerManager;
 }
예제 #2
0
        public ILoginService CreateLoginService()
        {
            IUserManager userManager = CreateUserManager();
            IDTOBuilder <UserDTO, User> userDtoBuilder = CreateUserDTOBuilder();
            ILoggerManager loggerManager = CreateLoggerManager();

            return(new SimpleLoginService(userManager, userDtoBuilder, loggerManager));
        }
예제 #3
0
 public LoginService(IUserManager userManager, ICartManager cartManager,
                     IDTOBuilder <PendingReviewDTO, CartItem> pendgingReviewDTOBuilder,
                     IDTOBuilder <CartDTO, Cart> cartDTOBuilder,
                     IDTOBuilder <UserDTO, User> userDTOBuilder,
                     ILoggerManager loggerManager)
 {
     this.UserManager = userManager;
     this.cartManager = cartManager;
     this.pendgingReviewDTOBuilder = pendgingReviewDTOBuilder;
     this.cartDTOBuilder           = cartDTOBuilder;
     this.UserDTOBuilder           = userDTOBuilder;
     this.LoggerManager            = loggerManager;
 }
예제 #4
0
 public ReviewServiceImpl(IReviewManager reviewManager, ICartManager cartManager, IDTOBuilder <ReviewDTO, Review> reviewDTOBuilder)
 {
     this.reviewManager    = reviewManager;
     this.cartManager      = cartManager;
     this.reviewDTOBuilder = reviewDTOBuilder;
 }
예제 #5
0
 public ProductServiceImpl(IProductManager productManager, IDTOBuilder <SimpleProductDTO, Product> simpleProductDTOBuilder, IDTOBuilder <FullProductDTO, Product> fullProductDTOBuilder)
 {
     this.productManager          = productManager;
     this.simpleProductDTOBuilder = simpleProductDTOBuilder;
     this.fullProductDTOBuilder   = fullProductDTOBuilder;
 }
예제 #6
0
 public CartServiceImpl(ICartManager cartManager, IDTOBuilder <CartDTO, Cart> cartBuilder, IDTOBuilder <PendingReviewDTO, CartItem> pendgingReviewDTOBuilder)
 {
     this.cartManager = cartManager;
     cartBuilderDTO   = cartBuilder;
     this.pendgingReviewDTOBuilder = pendgingReviewDTOBuilder;
 }
예제 #7
0
 public CategoryServiceImpl(ICategoryManager categoryManager, IDTOBuilder <CategoryDTO, Category> categoryBuilderDTO)
 {
     this.categoryManager    = categoryManager;
     this.categoryBuilderDTO = categoryBuilderDTO;
 }
예제 #8
0
 public UserServiceImpl(IUserManager userManager, IDTOBuilder <UserDTO, User> dtoBuilder)
 {
     this.userManager = userManager;
     this.dtoBuilder  = dtoBuilder;
 }
예제 #9
0
 public RoleServiceImpl(IRoleManager roleManager, IDTOBuilder <RoleDTO, Role> dtoBuilder)
 {
     this.roleManager = roleManager;
     this.dtoBuilder  = dtoBuilder;
 }
예제 #10
0
 public SimpleProductDTOBuilder(IDTOBuilder <ProductImageDTO, ProductImage> imageDTOBuilder)
 {
     this.imageDTOBuilder = imageDTOBuilder;
 }
 public SimpleCartDTOBuilder(IDTOBuilder <CartItemDTO, CartItem> itemDTOBuilder)
 {
     this.itemDTOBuilder = itemDTOBuilder;
 }
 public SimpleCartDTOBuilder()
 {
     itemDTOBuilder = new SimpleCartItemDTOBuilder();
 }
예제 #13
0
 public FullProductDTOBuilder(IDTOBuilder <FieldDTO, ProductFields> fieldDTOBuilder, IDTOBuilder <ProductImageDTO, ProductImage> imageDTOBuilder)
 {
     this.fieldDTOBuilder = fieldDTOBuilder;
     this.imageDTOBuilder = imageDTOBuilder;
 }
예제 #14
0
 public CategoryBuilderDTO(IDTOBuilder <FullProductDTO, Product> productDTOBuilder)
 {
     this.productDTOBuilder = productDTOBuilder;
 }