Exemple #1
0
 public CreatePieceCommand(
     IPieceRepositoryFacade repository,
     IDateService dateService,
     IPieceFactory pieceFactory,
     IArtistFactory artistFactory,
     IMediumFactory mediumFactory,
     IGenreFactory genreFactory,
     ISubgenreFactory subgenreFactory,
     ISubjectMatterFactory subjectMatterFactory,
     IAcquisitionFactory acquisitionFactory,
     IFundingSourceFactory fundingSourceFactory,
     IPieceSourceFactory pieceSourceFactory,
     ILocationFactory locationFactory,
     ICollectionFactory collectionFactory,
     IUnitOfWork unitOfWork)
 {
     this.repository           = repository;
     this.dateService          = dateService;
     this.pieceFactory         = pieceFactory;
     this.artistFactory        = artistFactory;
     this.mediumFactory        = mediumFactory;
     this.genreFactory         = genreFactory;
     this.subgenreFactory      = subgenreFactory;
     this.subjectMatterFactory = subjectMatterFactory;
     this.acquisitionFactory   = acquisitionFactory;
     this.fundingSourceFactory = fundingSourceFactory;
     this.pieceSourceFactory   = pieceSourceFactory;
     this.locationFactory      = locationFactory;
     this.collectionFactory    = collectionFactory;
     this.unitOfWork           = unitOfWork;
 }
Exemple #2
0
        public LineItemMapper(IQuoteMapper quoteMapper, ILineItemToContractMapper lineItemToContractMapper, IFundingSourceFactory fundingSourceFactory)
        {
            this.quoteMapper = quoteMapper;
            this.lineItemToContractMapper = lineItemToContractMapper;
            this.fundingSourceFactory     = fundingSourceFactory;

            RegisterVisitors();
        }
 public LineItemFundingSourceVisitor(IFundingSourceFactory fundingSourceFactory)
 {
     this.fundingSourceFactory = fundingSourceFactory;
 }