Exemplo n.º 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));
        }
Exemplo n.º 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));
        }