C# Class FirstPrismModule.ModuleView_ViewModel

Inheritance: Microsoft.Practices.Prism.ViewModel.NotificationObject
Show file Open project: jeffras/Prism-4-with-WinForms Class Usage Examples

Public Methods

Method Description
CreateProduct ( Product p ) : void
ModuleView_ViewModel ( IEventAggregator evtAggregator, Common.CommandProxy commandProxy ) : Common.System
SaveSelection ( Product product ) : void

Private Methods

Method Description
CanSave ( object arg ) : bool
OnSaved ( DataEventArgs e ) : void
Save ( object obj ) : void

Method Details

CreateProduct() public method

public CreateProduct ( Product p ) : void
p Product
return void

ModuleView_ViewModel() public method

public ModuleView_ViewModel ( IEventAggregator evtAggregator, Common.CommandProxy commandProxy ) : Common.System
evtAggregator IEventAggregator
commandProxy Common.CommandProxy
return Common.System

SaveSelection() public method

public SaveSelection ( Product product ) : void
product Product
return void