示例#1
0
 public void ThrowsArgumentNullExceptionForNullInstance()
 {
     ExceptionTester.CallMethodAndExpectException <ArgumentNullException>(() => MessageMediatorHelper.SubscribeRecipient(null));
 }
示例#2
0
 public void SubscribeViaMessageMediatorHelper(IMessageMediator messageMediator)
 {
     MessageMediatorHelper.SubscribeRecipient(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);
 }