Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override bool Match(PathSegment other)
        {
            KeySegment otherKeySegment = other as KeySegment;

            if (otherKeySegment == null)
            {
                return(false);
            }

            // Compare the key segment using It's declaring type.
            return(DeclaringType.FullTypeName() == otherKeySegment.DeclaringType.FullTypeName());
        }