C# Class ArcGISPortalViewer.ViewModel.MainViewModel

This class contains properties that the main View can databind to.

it implements MVVM pattern by adopting MVVM light - see http://www.galasoft.ch/mvvm

Inheritance: ViewModelBase
显示文件 Open project: Esri/arcgis-portalviewer-dotnet

Public Methods

Method Description
MainViewModel ( INavigationService navigationService ) : Esri.ArcGISRuntime.Portal

Private Methods

Method Description
ClearAllCollections ( ) : void
CreateDesignTimeData ( ) : void
ExecuteSignInCommand ( ) : void
ExecuteSignOutCommand ( ) : void
FeaturedQueryAsync ( uint count ) : Task>
GetFeaturedItemsAsync ( SearchParameters searchParameters ) : Task>
GetMyMapsAsync ( ) : Task>
GetPortalGroupsAsync ( ) : Task>
GetPortalItemsAsync ( SearchParameters sp ) : Task>
HighestRatedQueryAsync ( uint count ) : Task>
Initialize ( ) : System.Threading.Tasks.Task
InitializeCommandAndMessages ( ) : void
PopulateDataAsync ( ) : Task
PopulatePortalItemCollection ( ObservableCollection portalCollection, PortalQuery portalQuery ) : void
PortalQueryAsync ( uint count ) : Task>
RecentQueryAsync ( uint count ) : Task>

Method Details

MainViewModel() public method

public MainViewModel ( INavigationService navigationService ) : Esri.ArcGISRuntime.Portal
navigationService INavigationService
return Esri.ArcGISRuntime.Portal