示例#1
0
 public RouteListConverter(ILogger <RouteListConverter> logger,
                           DeliveryPointConverter deliveryPointConverter,
                           RouteListStatusConverter routeListStatusConverter,
                           RouteListAddressStatusConverter routeListAddressStatusConverter,
                           RouteListCompletionStatusConverter routeListCompletionStatusConverter)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _deliveryPointConverter             = deliveryPointConverter ?? throw new ArgumentNullException(nameof(deliveryPointConverter));
     _routeListStatusConverter           = routeListStatusConverter ?? throw new ArgumentNullException(nameof(routeListStatusConverter));
     _routeListAddressStatusConverter    = routeListAddressStatusConverter ?? throw new ArgumentNullException(nameof(routeListAddressStatusConverter));
     _routeListCompletionStatusConverter = routeListCompletionStatusConverter ?? throw new ArgumentNullException(nameof(routeListCompletionStatusConverter));
 }