Method | Description | |
---|---|---|
Activate ( ) : IDisposable |
This method is called by the framework when the corresponding View is activated. Call this method in unit tests to simulate a ViewModel being activated.
|
|
Deactivate ( bool ignoreRefCount = false ) : void |
This method is called by the framework when the corresponding View is deactivated.
|
|
ViewModelActivator ( ) : System |
Method | Description | |
---|---|---|
addActivationBlock ( Func |
public Deactivate ( bool ignoreRefCount = false ) : void | ||
ignoreRefCount | bool | Force the VM to be deactivated, even /// if more than one person called Activate. |
return | void |