C# 클래스 ArcGISRuntime.Desktop.Viewer.Managers.SampleManager

Single instance class to manage samples.
파일 보기 프로젝트 열기: Esri/arcgis-runtime-samples-dotnet

공개 메소드들

메소드 설명
GetFeaturedSamples ( ) : List

Gets featured samples.

GetSamplesAsTree ( ) : List

Gets all samples as a tree.

InitializeAsync ( System.Language language ) : System.Threading.Tasks.Task
SampleToControl ( SampleModel sampleModel ) : Control

Creates a new control from sample.

비공개 메소드들

메소드 설명
CreateAllAsync ( ) : System.Threading.Tasks.Task

Creates whole sample structure.

DoesSampleTypeExists ( SampleModel sampleModel ) : bool

Check if the sample has a type registered.

RemoveEmptySamples ( ) : void

Remove samples that doesn't have a type registered i.e. cannot be shown.

SampleManager ( ) : ArcGISRuntime.Samples.Models

메소드 상세

GetFeaturedSamples() 공개 메소드

Gets featured samples.
public GetFeaturedSamples ( ) : List
리턴 List

GetSamplesAsTree() 공개 메소드

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

InitializeAsync() 공개 메소드

public InitializeAsync ( System.Language language ) : System.Threading.Tasks.Task
language System.Language
리턴 System.Threading.Tasks.Task

SampleToControl() 공개 메소드

Creates a new control from sample.
public SampleToControl ( SampleModel sampleModel ) : Control
sampleModel ArcGISRuntime.Samples.Models.SampleModel Sample that is transformed into a control
리턴 System.Windows.Controls.Control