Example #1
0
 public Factory(IBillFactory billFactory, 
     IRecipientFactory recipientFactory,
     ILogFactory logFactory)
 {
     BillFactory = billFactory;
     RecipientFactory = recipientFactory;
     LogFactory = logFactory;
 }
 public InstanceRecipientInvoker(
     TypeInspector inspector,
     IRecipientFactory factory,
     CollisionStrategy collisionStrategy)
 {
     _inspector         = inspector;
     _factory           = factory;
     _collisionStrategy = collisionStrategy;
 }
Example #3
0
 public AddRecipientsSelectionsHandler(IUnitOfWork unitOfWork, ISelectionFactory selectionFactory, IRecipientFactory recipientFactory, IRecipientRepository recipientRepository, ISelectionRepository selectionRepository, ISharingRepository sharingRepository, ISharingFactory sharingFactory, IValidator[] validator, ICommandHandlerDispatcher commandHandlerDispatcher)
 {
     _unitOfWork               = unitOfWork;
     _selectionFactory         = selectionFactory;
     _recipientFactory         = recipientFactory;
     _recipientRepository      = recipientRepository;
     _selectionRepository      = selectionRepository;
     _sharingFactory           = sharingFactory;
     _sharingRepository        = sharingRepository;
     _validator                = validator;
     _commandHandlerDispatcher = commandHandlerDispatcher;
 }
Example #4
0
 public AddRecipientHandler(IUnitOfWork unitOfWork, IRecipientFactory recipientFactory)
 {
     _unitOfWork       = unitOfWork;
     _recipientFactory = recipientFactory;
 }
 public RecipientsController(IRecipientService recipientService, IRecipientFactory recipientFactory, IMapping mapping)
 {
     _recipientService = recipientService;
     _recipientFactory = recipientFactory;
     _mapping          = mapping;
 }
 public SingletonRecipientFactory(IRecipientFactory anotherFactory)
 {
     _anotherFactory = anotherFactory;
     _lazyInstance   = new Lazy <object>(anotherFactory.Get);
 }