예제 #1
0
        //Comparison Methods

        public bool LargerOrEqualThan(ExposureTypeCollection other, bool IsLocCvg = false)
        {
            if (IsLocCvg)
            {
                return(this.collection.First() == other.collection.First());
            }

            return(other.All(expType => this.collection.Contains(expType) ||
                             this.collection.Contains(ExposureTypeCollection.GetMappedType(expType))));
        }
예제 #2
0
        public bool LargerThan(ExposureTypeCollection other, bool IsLocCvg = false)
        {
            if (IsLocCvg)
            {
                return(false);
            }

            return(other.All(expType => this.collection.Contains(expType) ||
                             this.collection.Contains(ExposureTypeCollection.GetMappedType(expType))) &&
                   !this.Equals(other));
        }