Ejemplo n.º 1
0
        /// <inheritdoc />
        public bool Equals(LazyLink <TLink> other)
        {
            if (other == null)
            {
                return(false);
            }

            if (!IsLinkCreated && !other.IsLinkCreated)
            {
                return(true); // No better way to spare performance...
            }

            return(Path.Equals(Path, StringComparison.OrdinalIgnoreCase));
        }
Ejemplo n.º 2
0
        /// <inheritdoc />
        public bool Equals(LazyLink <TLink> other)
        {
            if (other == null)
            {
                return(false);
            }

            if (!IsLinkCreated && !other.IsLinkCreated)
            {
                return(true); // No better way to spare performance...
            }

            return(Path.Equals(Path));
        }