Beispiel #1
0
        public void ImplicitId()
        {
            var operation = TypeExtensions.GetAllServiceImplmentations <IServiceWithOneMinimalOperation>();
            var ops       = DispatchFactory.CreateOperations(operation);

            Assert.AreEqual(1, ops.Count);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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();
        }
Beispiel #4
0
        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();
        }