Пример #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);
        }
Пример #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;
        }
Пример #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);
        }