コード例 #1
0
 public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     var command = new DelegateCommandMock((o) => { }, null);
 }
コード例 #2
0
 public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock((o) => { }, null);
     });
 }
コード例 #3
0
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     var command = new DelegateCommandMock(null, null);
 }
コード例 #4
0
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock(null, null);
     });
 }