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