Beispiel #1
0
        /// <summary>
        /// Determines whether the `<see cref="QueryUri"/>` is a base of the specified `<paramref name="targetUri"/>`.
        /// <para/>
        /// Returns `<see langword="true"/>` if is a base of `<param name="uri"/>`; otherwise, `<see langword="false"/>`.
        /// </summary>
        /// <param name="targetUri">The `<see cref="TargetUri"/>` to test.</param>
        public bool IsBaseOf(TargetUri targetUri)
        {
            if (targetUri == null)
            {
                return(false);
            }

            return(QueryUri.IsBaseOf(targetUri));
        }
Beispiel #2
0
 /// <summary>
 /// Determines whether the `<see cref="QueryUri"/>` is a base of the specified `<see cref="Uri"/>`.
 /// <para/>
 /// Returns `<see langword="true"/>` if is a base of `<param name="uri"/>`; otherwise, `<see langword="false"/>`.
 /// </summary>
 /// <param name="uri">The `<see cref="Uri"/>` to test.</param>
 public bool IsBaseOf(Uri uri)
 {
     return(QueryUri.IsBaseOf(uri));
 }