C# Класс ArcGISRuntime.Samples.Models.SampleModelExtensions

Extension methods for SampleModel
Показать файл Открыть проект

Открытые методы

Метод Описание
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