C# Class Netsy.WpfUI.Windows.Main.MainWindowViewModel

View model for the main window
Inheritance: Netsy.UI.ViewModels.BaseViewModel
Show file Open project: AnthonySteele/Netsy Class Usage Examples

Public Methods

Method Description
MainWindowViewModel ( FrontFeaturedListingsViewModel frontFeaturedListingsViewModel, Netsy.UI.ViewModels.Listings.KeywordsListingsViewModel keywordsViewModel, ColorListingsViewModel colorViewModel, ColorKeywordsListingsViewModel colorKeywordsViewModel, MaterialsListingsViewModel materialsListingsViewModel, TagsListingsViewModel tagsListingsViewModel, ShopsByNameViewModel shopsByNameViewModel, FeaturedSellersViewModel featuredSellersViewModel, ShowShopWindowForListingCommand showShopForListingCommand, ShowShopWindowForUserCommand showShopForUserCommand, ShowListingWindowCommand showListingCommand ) : System.Windows.Input

Initializes a new instance of the MainWindowViewModel class

Private Methods

Method Description
SetShowCommands ( ListingsServiceViewModel model ) : void

Set the show commands on the model

Method Details

MainWindowViewModel() public method

Initializes a new instance of the MainWindowViewModel class
public MainWindowViewModel ( FrontFeaturedListingsViewModel frontFeaturedListingsViewModel, Netsy.UI.ViewModels.Listings.KeywordsListingsViewModel keywordsViewModel, ColorListingsViewModel colorViewModel, ColorKeywordsListingsViewModel colorKeywordsViewModel, MaterialsListingsViewModel materialsListingsViewModel, TagsListingsViewModel tagsListingsViewModel, ShopsByNameViewModel shopsByNameViewModel, FeaturedSellersViewModel featuredSellersViewModel, ShowShopWindowForListingCommand showShopForListingCommand, ShowShopWindowForUserCommand showShopForUserCommand, ShowListingWindowCommand showListingCommand ) : System.Windows.Input
frontFeaturedListingsViewModel FrontFeaturedListingsViewModel the view model for front featured listings
keywordsViewModel Netsy.UI.ViewModels.Listings.KeywordsListingsViewModel the view model for listings by keywords
colorViewModel ColorListingsViewModel the view model for listings by color
colorKeywordsViewModel Netsy.UI.ViewModels.Listings.ColorKeywordsListingsViewModel the view model for listings by color and keywords
materialsListingsViewModel Netsy.UI.ViewModels.Listings.MaterialsListingsViewModel the view model for listings by materials
tagsListingsViewModel Netsy.UI.ViewModels.Listings.TagsListingsViewModel the view model for listings by tags
shopsByNameViewModel Netsy.UI.ViewModels.Shops.ShopsByNameViewModel the view model for shops by name
featuredSellersViewModel Netsy.UI.ViewModels.Shops.FeaturedSellersViewModel the view model for featured shops
showShopForListingCommand ShowShopWindowForListingCommand the command to show a shop's details
showShopForUserCommand ShowShopWindowForUserCommand the command to show a shop's details
showListingCommand ShowListingWindowCommand the command to show a listing's details
return System.Windows.Input