C# Class WorkshopDemo.MainViewModel

Inheritance: INotifyPropertyChanged
Show file Open project: Slesa/Playground

Public Methods

Method Description
Add ( object o ) : void
Edit ( object o ) : void
MainViewModel ( ) : System.Collections.ObjectModel
Remove ( object o ) : void

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
CanAdd ( object o ) : bool
CanEdit ( object o ) : bool
CanRemove ( object o ) : bool

Method Details

Add() public method

public Add ( object o ) : void
o object
return void

Edit() public method

public Edit ( object o ) : void
o object
return void

MainViewModel() public method

public MainViewModel ( ) : System.Collections.ObjectModel
return System.Collections.ObjectModel

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

Remove() public method

public Remove ( object o ) : void
o object
return void