dundas.controls.CanvasViewModelTransaction Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.Transaction
         dundas.controls.CanvasViewModelTransaction
 

Constructors

 
  Name Description
init Create a new instance of this class. Inherited from dundas.controls.Transaction.
 
 

Properties

 
  Name Description
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
remainingCommits Number of remaining enroll before automatically running. Inherited from dundas.controls.Transaction.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
dispose Dispose of this transaction. Inherited from dundas.EventDisposable.
endTransaction End the transaction and run all enrolled functions, and dispose this transaction. Inherited from dundas.controls.Transaction.
enroll Enroll a viewmodel into the transaction. If total number of enrolled viewmodel has reached expectedCommits, automatically run all enrolled functions.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
revert Revert all view model changes enrolled in this transaction.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.