示例#1
0
        /// <summary>
        /// Track activity across an additional Jasper application
        /// </summary>
        /// <param name="host"></param>
        /// <returns></returns>
        public TrackedSessionConfiguration AlsoTrack(params IHost[] hosts)
        {
            foreach (var host in hosts)
            {
                _session.WatchOther(host);
            }

            return(this);
        }
        /// <summary>
        /// Track activity across an additional Jasper application
        /// </summary>
        /// <param name="host"></param>
        /// <returns></returns>
        public TrackedSessionConfiguration AlsoTrack(params IHost[] hosts)
        {
            // It's actually important to ignore null here
            foreach (var host in hosts.Where(x => x != null))
            {
                _session.WatchOther(host);
            }

            return(this);
        }