C# Class ArcGISPortalViewer.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Properties

Property Type Description
BlankPageName string
CollectionPageName string
GroupPageName string
ItemPageName string
MainPageName string
MapPageName string
NetworkConnectivityPageName string
SearchPageName string

Private Properties

Property Type Description
App_CommandsRequested void
LaunchMapByID void
OnSuspending void

Public Methods

Method Description
App ( ) : System

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

IsItemInFavorites ( Esri portalItem ) : bool
ShowExceptionDialog ( Exception ex, string messageTitle = "Exception", [ memberName = "" ) : System.Threading.Tasks.Task

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

Private Methods

Method Description
App_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
LaunchMapByID ( Uri uri ) : void
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

Method Details

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : System
return System

IsItemInFavorites() public static method

public static IsItemInFavorites ( Esri portalItem ) : bool
portalItem Esri
return bool

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

ShowExceptionDialog() public static method

public static ShowExceptionDialog ( Exception ex, string messageTitle = "Exception", [ memberName = "" ) : System.Threading.Tasks.Task
ex System.Exception
messageTitle string
memberName [
return System.Threading.Tasks.Task

Property Details

BlankPageName public_oe static_oe property

public static string BlankPageName
return string

CollectionPageName public_oe static_oe property

public static string CollectionPageName
return string

GroupPageName public_oe static_oe property

public static string GroupPageName
return string

ItemPageName public_oe static_oe property

public static string ItemPageName
return string

MainPageName public_oe static_oe property

public static string MainPageName
return string

MapPageName public_oe static_oe property

public static string MapPageName
return string

NetworkConnectivityPageName public_oe static_oe property

public static string NetworkConnectivityPageName
return string

SearchPageName public_oe static_oe property

public static string SearchPageName
return string