C# Class OfficialSamplesScript.ShoppingCart.CartViewModel

this is the main view model
Show file Open project: Saltarelle/SaltarelleCompilerSamples

Public Properties

Property Type Description
AddLine System.Action
GrandTotal ComputedObservable
Lines ObservableArray
RemoveLine Action
Save System.Action

Public Methods

Method Description
CartViewModel ( ) : System

Method Details

CartViewModel() public method

public CartViewModel ( ) : System
return System

Property Details

AddLine public property

public Action,System AddLine
return System.Action

GrandTotal public property

public ComputedObservable GrandTotal
return ComputedObservable

Lines public property

public ObservableArray Lines
return ObservableArray

RemoveLine public property

public Action RemoveLine
return Action

Save public property

public Action,System Save
return System.Action