Exemplo n.º 1
0
 public ClosedTicketsForLabelResolver(IGetsTicketsWithLabel ticketProvider)
     : base(ticketProvider, (p, l) => p.GetAllClosedTickets(l))
 {
 }
Exemplo n.º 2
0
 protected TicketsForLabelResolver(IGetsTicketsWithLabel ticketProvider,
                                   Func <IGetsTicketsWithLabel, Label, IReadOnlyCollection <Ticket> > ticketFunction)
 {
     this.ticketProvider = ticketProvider ?? throw new ArgumentNullException(nameof(ticketProvider));
     this.ticketFunction = ticketFunction ?? throw new ArgumentNullException(nameof(ticketFunction));
 }