Example #1
0
 public void ThrowsArgumentNullExceptionForNullInstance()
 {
     ExceptionTester.CallMethodAndExpectException <ArgumentNullException>(() => MessageMediatorHelper.UnsubscribeRecipient(null));
 }
Example #2
0
 public void UnsubscribeViaMessageMediatorHelper(IMessageMediator messageMediator)
 {
     MessageMediatorHelper.UnsubscribeRecipient(this, messageMediator);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindow"/> class.
 /// </summary>
 public MainWindow()
     : base(DataWindowMode.Custom)
 {
     InitializeComponent();
     MessageMediatorHelper.SubscribeRecipient(this);
 }