protected override void Dispose(bool disposing)
{
try
{
if (disposing)
{
this.accountPickerViewModel.PropertyChanged -= this.AccountPickerViewModel_PropertyChanged;
this.accountPickerViewModel.AuthenticationChanged -= this.AccountPickerViewModel_AuthenticationChanged;
this.accountPickerViewModel.Dispose();
((AccountPicker)this.View).Dispose();
}
}
finally
{
base.Dispose(disposing);
}
}