C# Class Customers.CustomerDetailViewModel

Inheritance: BaseNavigationViewModel
Show file Open project: xamarin/app-customers

Private Properties

Property Type Description
AddressBeginsWithNumber bool
DisplayGeocodingError void
ExecuteDeleteCustomerCommand void
ExecuteDialNumberCommand void
ExecuteEditCustomerCommand System.Threading.Tasks.Task
ExecuteEmailCommandCommand void
ExecuteGetDirectionsCommand System.Threading.Tasks.Task
ExecuteMessageNumberCommand void
ExecuteSaveCustomerCommand System.Threading.Tasks.Task
GetAddressWithRoundedStreetNumber string
GetEndingIndexOfNumericPortionOfAddress int
SubscribeToCustomerLocationUpdatedMessages void
SubscribeToSaveCustomerMessages void

Public Methods

Method Description
CustomerDetailViewModel ( Customer customer = null ) : System
GetPosition ( ) : Task
SetupMap ( ) : void

Private Methods

Method Description
AddressBeginsWithNumber ( string address ) : bool
DisplayGeocodingError ( ) : void
ExecuteDeleteCustomerCommand ( ) : void
ExecuteDialNumberCommand ( ) : void
ExecuteEditCustomerCommand ( ) : System.Threading.Tasks.Task
ExecuteEmailCommandCommand ( ) : void
ExecuteGetDirectionsCommand ( ) : System.Threading.Tasks.Task
ExecuteMessageNumberCommand ( ) : void
ExecuteSaveCustomerCommand ( ) : System.Threading.Tasks.Task
GetAddressWithRoundedStreetNumber ( string address ) : string
GetEndingIndexOfNumericPortionOfAddress ( string address ) : int
SubscribeToCustomerLocationUpdatedMessages ( ) : void

Subscribes to "CustomerLocationUpdated" messages

SubscribeToSaveCustomerMessages ( ) : void

Subscribes to "SaveCustomer" messages

Method Details

CustomerDetailViewModel() public method

public CustomerDetailViewModel ( Customer customer = null ) : System
customer Customer
return System

GetPosition() public method

public GetPosition ( ) : Task
return Task

SetupMap() public method

public SetupMap ( ) : void
return void