/// <summary>
        /// Initializes a new instance of <see cref="ViewLocationCacheResult"/>
        /// for a view that was successfully found at the specified location.
        /// </summary>
        /// <param name="view">The <see cref="ViewLocationCacheItem"/> for the found view.</param>
        /// <param name="viewStarts"><see cref="ViewLocationCacheItem"/>s for applicable _ViewStarts.</param>
        public ViewLocationCacheResult(
            ViewLocationCacheItem view,
            IReadOnlyList<ViewLocationCacheItem> viewStarts)
        {
            if (viewStarts == null)
            {
                throw new ArgumentNullException(nameof(viewStarts));
            }

            ViewEntry = view;
            ViewStartEntries = viewStarts;
            Success = true;
        }
        /// <summary>
        /// Initializes a new instance of <see cref="ViewLocationCacheResult"/>
        /// for a view that was successfully found at the specified location.
        /// </summary>
        /// <param name="view">The <see cref="ViewLocationCacheItem"/> for the found view.</param>
        /// <param name="viewStarts"><see cref="ViewLocationCacheItem"/>s for applicable _ViewStarts.</param>
        public ViewLocationCacheResult(
            ViewLocationCacheItem view,
            IReadOnlyList <ViewLocationCacheItem> viewStarts)
        {
            if (viewStarts == null)
            {
                throw new ArgumentNullException(nameof(viewStarts));
            }

            ViewEntry        = view;
            ViewStartEntries = viewStarts;
            Success          = true;
        }