Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            HashCode hashCode = HashCode.From <T1>(this.Item1);

            hashCode = hashCode.And <T2>(this.Item2);
            return((int)hashCode.And <T3>(this.Item3));
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            HashCode hashCode = HashCode.From <int>(this.ServiceType);

            hashCode = hashCode.And <int>(this.CurrentState);
            hashCode = hashCode.And <int>(this.ControlsAccepted);
            hashCode = hashCode.And <int>(this.Win32ExitCode);
            hashCode = hashCode.And <int>(this.ServiceSpecificExitCode);
            hashCode = hashCode.And <int>(this.CheckPoint);
            return((int)hashCode.And <int>(this.WaitHint));
        }