Added threaded action to wrap sub-actions a view model can perform (this can either be scheduled individually or on the parent threaded view model); added missing copyright statement; more unit tests
git-svn-id: file:///srv/devel/repo-conversion/nuwi@45 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
9aa64c4dac
commit
14d0ea1371
15 changed files with 961 additions and 68 deletions
|
|
@ -36,11 +36,11 @@ namespace Nuclex.Windows.Forms.Views {
|
|||
this.onViewModelPropertyChangedDelegate = OnViewModelPropertyChanged;
|
||||
}
|
||||
|
||||
/// <summary>Called when the window's data context is changed</summary>
|
||||
/// <param name="sender">Window whose data context was changed</param>
|
||||
/// <param name="oldDataContext">Data context that was previously used</param>
|
||||
/// <param name="newDataContext">Data context that will be used from now on</param>
|
||||
protected virtual void OnDataContextChanged(
|
||||
/// <summary>Called when the window's data context is changed</summary>
|
||||
/// <param name="sender">Window whose data context was changed</param>
|
||||
/// <param name="oldDataContext">Data context that was previously used</param>
|
||||
/// <param name="newDataContext">Data context that will be used from now on</param>
|
||||
protected virtual void OnDataContextChanged(
|
||||
object sender, object oldDataContext, object newDataContext
|
||||
) {
|
||||
var oldViewModel = oldDataContext as INotifyPropertyChanged;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue