Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = new HashCodeCombiner();

            hashCode.AddDictionary(Runtimes);
            hashCode.AddDictionary(Supports);

            return(hashCode.CombinedHash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            var combiner = new HashCodeCombiner();

            combiner.AddObject(Id, StringComparer.OrdinalIgnoreCase);
            combiner.AddDictionary(Dependencies);
            return(combiner.CombinedHash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            var combiner = new HashCodeCombiner();

            combiner.AddObject(Id);
            combiner.AddDictionary(Dependencies);
            return(combiner.CombinedHash);
        }
Пример #4
0
        public override int GetHashCode()
        {
            var combiner = new HashCodeCombiner();

            combiner.AddObject(RuntimeIdentifier);
            combiner.AddSequence(InheritedRuntimes);
            combiner.AddDictionary(RuntimeDependencySets);

            return(combiner.CombinedHash);
        }