protected internal Device(DeviceType type, string udn, string friendlyName, string manufacturer, string modelName) { Type = type; Udn = udn; FriendlyName = friendlyName; Manufacturer = manufacturer; ModelName = modelName; services = new ProtectedCollection <ServiceDescription> (true); devices = new ProtectedCollection <DeviceDescription> (true); icons = new ProtectedCollection <IconDescription> (true); }
protected internal DeviceDescription(Root root, IDisposer disposer) : base(root) { if (disposer == null) { throw new ArgumentNullException("disposer"); } this.disposer = disposer; services = new ProtectedCollection <ServiceDescription> (); devices = new ProtectedCollection <DeviceDescription> (); icons = new ProtectedCollection <IconDescription> (); }