C# Class ArcGISRuntimeXamarin.Managers.SampleManager

Single instance class to manage samples.
Exibir arquivo Open project: Esri/arcgis-runtime-samples-dotnet

Public Methods

Method Description
GetFeaturedSamples ( ) : List

Gets featured samples.

GetMetadataManifest ( string path ) : Stream

Returns a Stream based on the individual sample metadata.json file.

GetMetadataManifestAsBytes ( string path ) : byte[]
GetSamplesAsTree ( ) : List

Gets all samples as a tree.

InitializeAsync ( ) : System.Threading.Tasks.Task
InitializeAsync ( Activity context ) : System.Threading.Tasks.Task

Private Methods

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

Creates whole sample structure.

SampleManager ( ) : System

Method Details

GetFeaturedSamples() public method

Gets featured samples.
public GetFeaturedSamples ( ) : List
return List

GetMetadataManifest() public method

Returns a Stream based on the individual sample metadata.json file.
public GetMetadataManifest ( string path ) : Stream
path string String path to the metadata file.
return Stream

GetMetadataManifestAsBytes() public method

public GetMetadataManifestAsBytes ( string path ) : byte[]
path string
return byte[]

GetSamplesAsTree() public method

Gets all samples as a tree.
public GetSamplesAsTree ( ) : List
return List

InitializeAsync() public method

public InitializeAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

InitializeAsync() public method

public InitializeAsync ( Activity context ) : System.Threading.Tasks.Task
context Activity
return System.Threading.Tasks.Task