C# Class ArcGISPortalViewer.ViewModel.AppViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: Esri/arcgis-portalviewer-dotnet

Méthodes publiques

Méthode Description
AppInit ( Frame rootFrame, LaunchActivatedEventArgs args ) : System.Threading.Tasks.Task
AppViewModel ( ) : System.Collections.Generic
CreatePinTile ( ArcGISPortalItem portalItem, Rect tileProptRect ) : void
ResetProperties ( ) : void
ShowDialogAsync ( string message, string title ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
CanExecuteOpenMapCommand ( ArcGISPortalItem portalItem ) : bool
CanExecuteWebMapsQuerySubmittedCommand ( object obj ) : bool
CheckNetworkAvailability ( NetworkConnectivityLevel minimumLevelRequired = NetworkConnectivityLevel.InternetAccess ) : bool
ExecuteAddToFavoritesCommand ( ) : void
ExecuteHyperlinkNavigation ( object obj ) : void
ExecuteOpenMapCommand ( ArcGISPortalItem portalItem ) : void
ExecutePinToStartCommand ( object sender ) : void
ExecuteWebMapsQuerySubmittedCommand ( object obj ) : void
GetKeyValueFromResources ( string keyName ) : string
NetworkInformation_NetworkStatusChanged ( object sender ) : void

Method Details

AppInit() public méthode

public AppInit ( Frame rootFrame, LaunchActivatedEventArgs args ) : System.Threading.Tasks.Task
rootFrame Windows.UI.Xaml.Controls.Frame
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs
Résultat System.Threading.Tasks.Task

AppViewModel() public méthode

public AppViewModel ( ) : System.Collections.Generic
Résultat System.Collections.Generic

CreatePinTile() public méthode

public CreatePinTile ( ArcGISPortalItem portalItem, Rect tileProptRect ) : void
portalItem ArcGISPortalItem
tileProptRect Windows.Foundation.Rect
Résultat void

ResetProperties() public méthode

public ResetProperties ( ) : void
Résultat void

ShowDialogAsync() public static méthode

public static ShowDialogAsync ( string message, string title ) : System.Threading.Tasks.Task
message string
title string
Résultat System.Threading.Tasks.Task