示例#1
0
        public HSession(string email, string password, HHotel hotel)
        {
            Email = email;
            Hotel = hotel;
            Password = password;

            Requester = new HRequest();
            Triggers = new HTriggers(false);

            _disconnectLock = new object();
            _hotelUri = new Uri(Hotel.ToUrl(true));
        }
示例#2
0
        public HSession(string email, string password, HHotel hotel)
        {
            Email    = email;
            Hotel    = hotel;
            Password = password;

            Requester = new HRequest();
            Triggers  = new HTriggers(false);

            _disconnectLock = new object();
            _hotelUri       = new Uri(Hotel.ToUrl(true));
        }