C# 클래스 ArcGISRuntime.Samples.Models.SampleModelExtensions

Extension methods for SampleModel
파일 보기 프로젝트 열기: Esri/arcgis-runtime-samples-dotnet

공개 메소드들

메소드 설명
GetSampleFolderInRelativeSolution ( this model ) : string

Gets the relative path to the solution folder where sample is located.

This assumes that output folder is 3 levels from the repository root folder ie. repositoryRoot\output\desktop\debug

GetSampleName ( this model, System.Language language = Language.CSharp ) : string
GetSamplesCodeBehindFileName ( this model, System.Language language = Language.CSharp ) : string

Gets the name of the C# code behind file.

GetSamplesXamlFileName ( this model, System.Language language = Language.CSharp ) : string

Gets the name of C# the xaml file.

메소드 상세

GetSampleFolderInRelativeSolution() 공개 정적인 메소드

Gets the relative path to the solution folder where sample is located.
This assumes that output folder is 3 levels from the repository root folder ie. repositoryRoot\output\desktop\debug
public static GetSampleFolderInRelativeSolution ( this model ) : string
model this
리턴 string

GetSampleName() 공개 정적인 메소드

public static GetSampleName ( this model, System.Language language = Language.CSharp ) : string
model this
language System.Language
리턴 string

GetSamplesCodeBehindFileName() 공개 정적인 메소드

Gets the name of the C# code behind file.
public static GetSamplesCodeBehindFileName ( this model, System.Language language = Language.CSharp ) : string
model this
language System.Language
리턴 string

GetSamplesXamlFileName() 공개 정적인 메소드

Gets the name of C# the xaml file.
public static GetSamplesXamlFileName ( this model, System.Language language = Language.CSharp ) : string
model this
language System.Language
리턴 string