C# Class PicklesDoc.Pickles.UserInterface.ViewModel.MainViewModel

This class contains properties that the main View can data bind to.

Use the mvvminpc snippet to add bindable properties to this ViewModel.

You can also use Blend to data bind with the tool's support.

See http://www.galasoft.ch/mvvm

Inheritance: ViewModelBase
Show file Open project: picklesdoc/pickles

Public Methods

Method Description
LoadFromSettings ( ) : void
MainViewModel ( IMainModelSerializer mainModelSerializer, IFileSystem fileSystem ) : System
SaveToSettings ( ) : void

Private Methods

Method Description
CanGenerate ( ) : bool
CanOpenOutputDirectory ( ) : bool
DoBrowseForFeature ( ) : void
DoBrowseForOutputFolder ( ) : void
DoBrowseForTestResultsFile ( ) : void
DoGenerate ( ) : void
DoOpenOutputDirectory ( ) : void
DoWork ( ) : void
DocumentationFormatsOnCollectionChanged ( object sender, EventArgs notifyCollectionChangedEventArgs ) : void
MainWindowViewModelPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

LoadFromSettings() public method

public LoadFromSettings ( ) : void
return void

MainViewModel() public method

public MainViewModel ( IMainModelSerializer mainModelSerializer, IFileSystem fileSystem ) : System
mainModelSerializer IMainModelSerializer
fileSystem IFileSystem
return System

SaveToSettings() public method

public SaveToSettings ( ) : void
return void