/// <summary>
        /// <para>Initializes a new instance of the <see cref="WebDeviceSessionLogInfo" />
        /// class.</para>
        /// </summary>
        /// <param name="userAgent">Information on the hosting device.</param>
        /// <param name="os">Information on the hosting operating system.</param>
        /// <param name="browser">Information on the browser used for this web session.</param>
        /// <param name="ipAddress">The IP address of the last activity from this session.
        /// Might be missing due to historical data gap.</param>
        /// <param name="created">The time this session was created. Might be missing due to
        /// historical data gap.</param>
        /// <param name="updated">The time of the last activity from this session. Might be
        /// missing due to historical data gap.</param>
        /// <param name="sessionInfo">Web session unique id. Might be missing due to historical
        /// data gap.</param>
        public WebDeviceSessionLogInfo(string userAgent,
                                       string os,
                                       string browser,
                                       string ipAddress              = null,
                                       sys.DateTime?created          = null,
                                       sys.DateTime?updated          = null,
                                       WebSessionLogInfo sessionInfo = null)
            : base(ipAddress, created, updated)
        {
            if (userAgent == null)
            {
                throw new sys.ArgumentNullException("userAgent");
            }

            if (os == null)
            {
                throw new sys.ArgumentNullException("os");
            }

            if (browser == null)
            {
                throw new sys.ArgumentNullException("browser");
            }

            this.UserAgent   = userAgent;
            this.Os          = os;
            this.Browser     = browser;
            this.SessionInfo = sessionInfo;
        }
Beispiel #2
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="SignInAs" /> class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public SignInAs(WebSessionLogInfo value)
 {
     this.Value = value;
 }
Beispiel #3
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="ContentManager" />
 /// class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public ContentManager(WebSessionLogInfo value)
 {
     this.Value = value;
 }
Beispiel #4
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="EnterpriseConsole" />
 /// class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public EnterpriseConsole(WebSessionLogInfo value)
 {
     this.Value = value;
 }
Beispiel #5
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="AdminConsole" />
 /// class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public AdminConsole(WebSessionLogInfo value)
 {
     this.Value = value;
 }