C# 클래스 AdventureWorks.UILogic.ViewModels.ShoppingCartPageViewModel

상속: ViewModelBase
파일 보기 프로젝트 열기: PrismLibrary/Prism-Samples-Windows 1 사용 예제들

공개 메소드들

메소드 설명
OnNavigatedTo ( NavigatedToEventArgs e, object>.Dictionary viewModelState ) : void
OnNavigatingFrom ( NavigatingFromEventArgs e, object>.Dictionary viewModelState, bool suspending ) : void
ShoppingCartPageViewModel ( IShoppingCartRepository shoppingCartRepository, INavigationService navigationService, IAccountService accountService, ISignInUserControlViewModel signInUserControlViewModel, IResourceLoader resourceLoader, IAlertMessageService alertMessageService, ICheckoutDataRepository checkoutDataRepository, IOrderRepository orderRepository, IEventAggregator eventAggregator ) : AdventureWorks.UILogic.Models
UpdateShoppingCartAsync ( object notUsed ) : void

비공개 메소드들

메소드 설명
CalculateDiscount ( ) : double
CalculateFullPrice ( ) : double
CanCheckout ( ) : bool
CanDecrementCount ( ) : bool
CheckoutAsync ( ) : System.Threading.Tasks.Task
DecrementCount ( ) : System.Threading.Tasks.Task
GoToNextPageAsync ( ) : System.Threading.Tasks.Task
IncrementCount ( ) : System.Threading.Tasks.Task
Remove ( AdventureWorks.UILogic.ViewModels.ShoppingCartItemViewModel item ) : System.Threading.Tasks.Task
ResolveNavigationActionAsync ( ) : Task
ShoppingCartItemViewModel_PropertyChanged ( object sender, System e ) : void
UpdateShoppingCartInfoAsync ( ) : System.Threading.Tasks.Task

메소드 상세

OnNavigatedTo() 공개 메소드

public OnNavigatedTo ( NavigatedToEventArgs e, object>.Dictionary viewModelState ) : void
e NavigatedToEventArgs
viewModelState object>.Dictionary
리턴 void

OnNavigatingFrom() 공개 메소드

public OnNavigatingFrom ( NavigatingFromEventArgs e, object>.Dictionary viewModelState, bool suspending ) : void
e NavigatingFromEventArgs
viewModelState object>.Dictionary
suspending bool
리턴 void

ShoppingCartPageViewModel() 공개 메소드

public ShoppingCartPageViewModel ( IShoppingCartRepository shoppingCartRepository, INavigationService navigationService, IAccountService accountService, ISignInUserControlViewModel signInUserControlViewModel, IResourceLoader resourceLoader, IAlertMessageService alertMessageService, ICheckoutDataRepository checkoutDataRepository, IOrderRepository orderRepository, IEventAggregator eventAggregator ) : AdventureWorks.UILogic.Models
shoppingCartRepository IShoppingCartRepository
navigationService INavigationService
accountService IAccountService
signInUserControlViewModel ISignInUserControlViewModel
resourceLoader IResourceLoader
alertMessageService IAlertMessageService
checkoutDataRepository ICheckoutDataRepository
orderRepository IOrderRepository
eventAggregator IEventAggregator
리턴 AdventureWorks.UILogic.Models

UpdateShoppingCartAsync() 공개 메소드

public UpdateShoppingCartAsync ( object notUsed ) : void
notUsed object
리턴 void