Ejemplo n.º 1
0
 /// <summary>
 /// Called when this viewmodel shall perform cleanup work prior to it being disposed.
 /// </summary>
 /// <exception cref="System.ObjectDisposedException">Thrown if the model was already disposed.</exception>
 protected override void DisposeCore()
 {
     CommandHelper.UnwireRelayCommands(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ViewModelBase class.
 /// </summary>
 public ViewModelBase()
 {
     CommandHelper.WireupRelayCommands(this);
 }