/// <summary> /// Initializes a new instance of the TargetDevice type. /// </summary> public TargetDevice(TargetDeviceInfo deviceInfo) { this.deviceInfo = deviceInfo; this.manager = new DatastoreManager(deviceInfo.Locale); }
private TargetDeviceInfo CreateDeviceInfo() { var deviceInfo = new TargetDeviceInfo(); if (!String.IsNullOrEmpty(PlatformId)) { deviceInfo.PlatformId = PlatformId; } if (!String.IsNullOrEmpty(DeviceId)) { deviceInfo.DeviceId = DeviceId; } else { deviceInfo.UseEmulator = UseEmulator; } return deviceInfo; }