C# Class Sample_App.Data.SampleDataSource

Creates a collection of groups and items with content read from a static json file. SampleDataSource initializes with data read from a static json file included in the project. This provides sample data at both design-time and run-time.
Datei anzeigen Open project: shephertz/App42-WinRT-Samples

Public Methods

Method Description
GetGroupAsync ( string uniqueId ) : Task
GetGroupsAsync ( ) : Task>
GetItemAsync ( string uniqueId ) : Task

Private Methods

Method Description
GetSampleDataAsync ( ) : System.Threading.Tasks.Task

Method Details

GetGroupAsync() public static method

public static GetGroupAsync ( string uniqueId ) : Task
uniqueId string
return Task

GetGroupsAsync() public static method

public static GetGroupsAsync ( ) : Task>
return Task>

GetItemAsync() public static method

public static GetItemAsync ( string uniqueId ) : Task
uniqueId string
return Task