예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonNetworkServices"/> class.
 /// </summary>
 /// <param name="commonServices">The common services.</param>
 /// <param name="pingService">The ping service.</param>
 /// <param name="arpService">The arp service.</param>
 /// <exception cref="ArgumentNullException">
 /// commonServices
 /// or
 /// pingService
 /// or
 /// arpService
 /// </exception>
 /// <autogeneratedoc />
 public CommonNetworkServices(ICommonServices commonServices, IPingService pingService, IArpService arpService) :
     base(commonServices?.LoggerFactory)
 {
     CommonServices = commonServices ?? throw new ArgumentNullException(nameof(commonServices));
     PingService    = pingService ?? throw new ArgumentNullException(nameof(pingService));
     ArpService     = arpService ?? throw new ArgumentNullException(nameof(arpService));
 }