Esempio n. 1
0
 public Root(DeviceType type,
             string udn,
             string friendlyName,
             string manufacturer,
             string modelName,
             DeviceOptions options)
 {
     // The device knows how to handle embedded devices itself so don't pass them in
     RootDevice  = new Device(type, udn, friendlyName, manufacturer, modelName, options, null);
     SpecVersion = new SpecVersion(1, 1);
 }
Esempio n. 2
0
        public Root(DeviceType type,
                    string udn,
                    string friendlyName,
                    string manufacturer,
                    string modelName,
                    RootDeviceOptions options)
        {
            var embedded_devices = options != null ? options.EmbeddedDevices : null;

            RootDevice  = new Device(type, udn, friendlyName, manufacturer, modelName, options, embedded_devices);
            SpecVersion = new SpecVersion(1, 1);
        }