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); }
public SiqiServer() { Users = new Dictionary<string, Interfaces.IUserAgent>(); Rooms = new List<Interfaces.IRoom>(); LoginHandler = new siqi.Interfaces.Data.LoginHanlder(); AppModel.Initialize(this); mDispatchFactory = new DispatchFactory(this); mDispatchFactory.Initialize(); }
public SiqiServer() { Users = new Dictionary <string, Interfaces.IUserAgent>(); Rooms = new List <Interfaces.IRoom>(); LoginHandler = new siqi.Interfaces.Data.LoginHanlder(); AppModel.Initialize(this); mDispatchFactory = new DispatchFactory(this); mDispatchFactory.Initialize(); }