Example #1
0
        public override bool Equals(object obj)
        {
            RolloutVersion other = obj as RolloutVersion;

            return((other != null) &&
                   (other.MajorVersion == this.MajorVersion) &&
                   (other.MinorVersion == this.MinorVersion));
        }
Example #2
0
        public override bool Equals(object obj)
        {
            RolloutVersion rolloutVersion = obj as RolloutVersion;

            if (rolloutVersion != null && rolloutVersion.MajorVersion == this.MajorVersion)
            {
                return(rolloutVersion.MinorVersion == this.MinorVersion);
            }
            return(false);
        }