public void ImplicitId() { var operation = TypeExtensions.GetAllServiceImplmentations <IServiceWithOneMinimalOperation>(); var ops = DispatchFactory.CreateOperations(operation); Assert.AreEqual(1, ops.Count); }
public void ExplicitId() { var operation = TypeExtensions.GetAllServiceImplmentations <IServiceWithOneMinimalInteopOperation>(); var ops = DispatchFactory.CreateOperations(operation); Assert.AreEqual(1, ops.Count); Assert.AreEqual(OperationDispId, ops.Values.First().Identifier); }