Akka.Cluster.Reachability.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool
        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);
        }

Usage Example

Пример #1
0
            public override bool Equals(object obj)
            {
                var other = obj as ReachabilityChanged;

                if (other == null)
                {
                    return(false);
                }
                return(_reachability.Equals(other._reachability));
            }
All Usage Examples Of Akka.Cluster.Reachability::Equals