Пример #1
0
        public static Service StartService(string ip, string portstr)
        {
            CafeAuthJPNVersionService cafeAuthJPNVersionService = new CafeAuthJPNVersionService();

            ServiceInvoker.StartService(ip, portstr, cafeAuthJPNVersionService);
            return(cafeAuthJPNVersionService);
        }
Пример #2
0
 public CafeAuth(CafeAuthJPNVersionService service, IEntity entity)
 {
     this.Service        = service;
     this.Entity         = entity;
     this.Entity.Closed += this.Entity_Closed;
 }