//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)))); }
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)); }