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