Which type should you use at line CE07?

###BeginCaseStudy###
Case Study: 2
Scenario Geese
Background
You are developing a Windows Store app. The app will allow ornithologists to photograph
migrating geese, taking note of the location, heading, and weather conditions at the time each
photo is taken.
BusinessRequirements
The app must adhere to the following requirements:
• Create and store photographs of migrating geese.
• Record the location and weather conditions where the photograph was taken.

• Record the heading and time that the photograph was taken.
• Allow the user to display the information on any device that supports the
PlayTo feature.
TechnicalRequirements
General:
The app must meet the following technical requirements:
• The app must store images and image metadata in the Pictures Library.
• The metadata logic must be encapsulated within a reusable component named
LogicComponent1.
• The metadata logic must be available to Windows Store apps written in Visual
Basic, C#, JavaScript, and C++.
Hardware:
• The app requires a device with camera, compass, and GPS features.
• The app requires a device with Internet capabilities.

###EndCaseStudy###

You need to modify the existing GetCurrentEnvironmentAsync() method in the Environment WinMD
component to accept parameters.
Which type should you use at line CE07?

###BeginCaseStudy###
Case Study: 2
Scenario Geese
Background
You are developing a Windows Store app. The app will allow ornithologists to photograph
migrating geese, taking note of the location, heading, and weather conditions at the time each
photo is taken.
BusinessRequirements
The app must adhere to the following requirements:
• Create and store photographs of migrating geese.
• Record the location and weather conditions where the photograph was taken.

• Record the heading and time that the photograph was taken.
• Allow the user to display the information on any device that supports the
PlayTo feature.
TechnicalRequirements
General:
The app must meet the following technical requirements:
• The app must store images and image metadata in the Pictures Library.
• The metadata logic must be encapsulated within a reusable component named
LogicComponent1.
• The metadata logic must be available to Windows Store apps written in Visual
Basic, C#, JavaScript, and C++.
Hardware:
• The app requires a device with camera, compass, and GPS features.
• The app requires a device with Internet capabilities.

###EndCaseStudy###

You need to modify the existing GetCurrentEnvironmentAsync() method in the Environment WinMD
component to accept parameters.
Which type should you use at line CE07?

A.
Dynamic

B.
List<string>

C.
Task<EnvironmentalStatus>

D.
IList<string>

Explanation:
http://msdn.microsoft.com/en-us/library/5y536ey6(v=vs.110).aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *