Ignore:
Timestamp:
Aug 5, 2011, 5:00:07 PM (13 years ago)
Author:
bayral
Message:

WPF inprovement

Location:
extensions/PiwigoLib/PiwigoLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoLib/DTO/PwgSession.cs

    r11850 r11911  
    77    public class PwgSession
    88    {
    9         public Boolean IsConnected {
    10             get { return this.Status != PwgSessionStatusEnum.Guest; }
     9        private Boolean _isConnected = false;
     10        public Boolean IsConnected
     11        {
     12            get { return this._isConnected; }
     13            internal set { _isConnected = value; } //Is connected is set by the session service when connecting is done
    1114        }
    1215 
  • extensions/PiwigoLib/PiwigoLib/Service/PwgSessionService.cs

    r11850 r11911  
    4444                    {
    4545                        ConvertProxyResponseToDTO(response, ref PwgSession);
     46                        PwgSession.IsConnected = true;
    4647                    }
    4748                } catch (PwgProxyException ex)
Note: See TracChangeset for help on using the changeset viewer.