/// <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); }
/// <summary> /// Initializes a new instance of the ViewModelBase class. /// </summary> public ViewModelBase() { CommandHelper.WireupRelayCommands(this); }