C# Class ArcGISPortalViewer.ViewModel.AppViewModel

Inheritance: ViewModelBase
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Methods

Method 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

Method 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 method

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

AppViewModel() public method

public AppViewModel ( ) : System.Collections.Generic
return System.Collections.Generic

CreatePinTile() public method

public CreatePinTile ( ArcGISPortalItem portalItem, Rect tileProptRect ) : void
portalItem ArcGISPortalItem
tileProptRect Windows.Foundation.Rect
return void

ResetProperties() public method

public ResetProperties ( ) : void
return void

ShowDialogAsync() public static method

public static ShowDialogAsync ( string message, string title ) : System.Threading.Tasks.Task
message string
title string
return System.Threading.Tasks.Task