Example #1
0
        /// <summary>
        /// Initializes a new instance of the TargetDevice type.
        /// </summary>
        public TargetDevice(TargetDeviceInfo deviceInfo)
        {
            this.deviceInfo = deviceInfo;

            this.manager = new DatastoreManager(deviceInfo.Locale);
        }
Example #2
0
        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;
        }
Example #3
0
        /// <summary>
        /// Initializes a new instance of the TargetDevice type.
        /// </summary>
        public TargetDevice(TargetDeviceInfo deviceInfo)
        {
            this.deviceInfo = deviceInfo;

            this.manager = new DatastoreManager(deviceInfo.Locale);
        }