/// <summary> /// Initializes a new instance of the <see cref="UPnPDevicesDiscovery{TDevice}"/> class. /// </summary> /// <param name="targetDevices"> /// The type of the devices to discover. /// </param> /// <param name="logManager"> /// The <see cref="ILogManager"/> to use for logging the debug information. /// </param> /// <exception cref="ArgumentNullException"> /// <paramref name="targetDevices"/> is <c>null</c> or <see cref="string.Empty"/> -OR- /// <paramref name="logManager"/> is <c>null</c>. /// </exception> protected UPnPDevicesDiscovery(string targetDevices, ILogManager logManager) : this(targetDevices, SSDPServer.GetInstance(logManager), logManager) { }
/// <summary> /// Initializes a new instance of the <see cref="UPnPDevicesDiscovery{TDevice}"/> class. /// </summary> /// <param name="targetDevices"> /// The type of the devices to discover. /// </param> /// <exception cref="ArgumentNullException"> /// <paramref name="targetDevices"/> is <c>null</c> or <see cref="string.Empty"/>. /// </exception> protected UPnPDevicesDiscovery(string targetDevices) : this(targetDevices, SSDPServer.GetInstance()) { }