Exemplo n.º 1
0
        public void UpdateWebNavigationRecord(string pageName, string callId, string subscript)
        {
            var nav = new WebNavigation(subscript)
            {
                CallId    = callId,
                PageName  = pageName,
                TimeStamp = DateTime.Now.ToString("s")
            };

            Add(nav);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates the web navigation record.
        /// </summary>
        /// <param name="pageName">Name of the page.</param>
        /// <param name="callId">The call id.</param>
        public string CreateWebNavigationRecord(string pageName, string callId)
        {
            var subscript = string.Format("[{0}]", GetWebNavigationCount());
            var nav       = new WebNavigation(subscript)
            {
                CallId         = callId,
                PageName       = pageName,
                TimeStampBegin = DateTime.Now.ToString("s")
            };

            Add(nav);
            return(subscript);
        }