示例#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);
 }
示例#2
0
文件: Root.cs 项目: dufoli/Mono.Upnp
        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);
        }