Esempio n. 1
0
        public object GetService()
        {
            string IntfName     = _service.Trim().Split(",")[0];
            string IntfAssembly = _service.Trim().Split(",")[1];
            Type   intf         = ServiceManager.GetTypeFromAssembly(IntfName, Assembly.Load(IntfAssembly));
            object obj          = DynServerFactory.CreateServer(_url, intf, _type);

            return(obj);
        }
Esempio n. 2
0
        public T GetService <T>()
        {
            T obj = DynServerFactory.CreateServer <T>(_url, _type);

            return(obj);
        }