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