public ArcGISOnline()
    {
      Group = new AGOLGroup(this);
      Content = new AGOLContent(this);
      User = new AGOLUser(this);

      // re-initialize portal if user signs in or out
      User.SignedInOut += (o, e) =>
        {
            if (IsInitialized && !m_ignoreSignInOut)
                Initialize(Url, UrlSecure);
        };
    }
        public ArcGISOnline()
        {
            Group   = new AGOLGroup(this);
            Content = new AGOLContent(this);
            User    = new AGOLUser(this);

            // re-initialize portal if user signs in or out
            User.SignedInOut += (o, e) =>
            {
                if (IsInitialized && !m_ignoreSignInOut)
                {
                    Initialize(Url, UrlSecure);
                }
            };
        }