public void Handle(Ns13_Command ns13Command, Ns01_IInterfaceA dep1, Ns01_IInterfaceB dep2) { if (dep1 != null || dep2 != null) { throw new InvalidOperationException("Something went wrong."); } }
public void Handle(Ns01_IInterfaceA a, Ns01_IInterfaceB b) { Param = a.GetTestValue() + b.GetTestValue(); }