Exemplo n.º 1
0
        public override bool Equals(object?obj)
        {
            if (this == obj)
            {
                return(true);
            }

            return(obj is ImmutableDictionary <string, object> that && _values.Equals(that));
        }
Exemplo n.º 2
0
        /// <inheritdoc/>
        public override bool Equals(object obj)
        {
            var other = obj as Reachability;

            if (other == null)
            {
                return(false);
            }
            return(_records.Count == other._records.Count &&
                   _versions.Equals(other._versions) &&
                   _cache.Value.ObserverRowMap.Equals(other._cache.Value.ObserverRowMap));
        }