Exemple #1
0
 public LotService(
     IUnitOfWork unitOfWork,
     IHtmlParserProvider htmlParserProvider,
     ILotModelFactory lotModelFactory,
     IFilterModelFactory filterModelFactory) : base(unitOfWork)
 {
     this.htmlParserProvider = htmlParserProvider ?? throw new ArgumentNullException(nameof(htmlParserProvider));;
     this.lotModelFactory    = lotModelFactory ?? throw new ArgumentNullException(nameof(lotModelFactory));;
     this.filterModelFactory = filterModelFactory ?? throw new ArgumentNullException(nameof(filterModelFactory));;
 }
Exemple #2
0
 public HtmlParserProvider(ILotModelFactory lotModelFactory)
 {
     lotFactory = lotModelFactory;
 }