Exemplo n.º 1
0
 public LabelTicketProvider(IGetsListOfTickets ticketLister)
 {
     if (ticketLister == null)
     {
         throw new ArgumentNullException(nameof(ticketLister));
     }
     this.ticketLister = ticketLister;
 }
Exemplo n.º 2
0
 public TicketListerFromAgiilQueryAdapter(IGetsListOfTickets lister, IGetsSearch searchParser)
 {
     if (searchParser == null)
     {
         throw new ArgumentNullException(nameof(searchParser));
     }
     if (lister == null)
     {
         throw new ArgumentNullException(nameof(lister));
     }
     this.lister       = lister;
     this.searchParser = searchParser;
 }