public void Handle(Ns01_CreateUserEvent @event, Ns01_IInterfaceA ns01IInterfaceA2)
 {
     if (Ns01IInterfaceA1 != null && ns01IInterfaceA2 != null)
     {
         @event.HandlersCount++;
     }
 }
Exemple #2
0
 public void Handle(Ns13_Command ns13Command, Ns01_IInterfaceA dep1, Ns01_IInterfaceB dep2)
 {
     if (dep1 != null || dep2 != null)
     {
         throw new InvalidOperationException("Something went wrong.");
     }
 }
Exemple #3
0
 public Ns07_TestCommandHandlers3(Ns01_IInterfaceA dependencyA)
 {
     this.dependencyA = dependencyA;
 }
Exemple #4
0
 public void Handle(Ns01_IInterfaceA a, Ns01_IInterfaceB b)
 {
     Param = a.GetTestValue() + b.GetTestValue();
 }