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