Ejemplo n.º 1
0
        public bool Equals(VulcanValidationItem validationItem)
        {
            bool propertyNameEquals = PropertyName == validationItem.PropertyName;
            bool severityEquals = Severity == validationItem.Severity;
            bool validationCodeEquals = ValidationCode == validationItem.ValidationCode;
            bool messageEquals = Message == validationItem.Message;
            bool recommendationEquals = Recommendation == validationItem.Recommendation;
            bool invalidItemEquals = InvalidItem == validationItem.InvalidItem;

            return propertyNameEquals && severityEquals && validationCodeEquals && messageEquals && recommendationEquals && invalidItemEquals;
        }
Ejemplo n.º 2
0
        public bool Equals(VulcanValidationItem validationItem)
        {
            bool propertyNameEquals   = PropertyName == validationItem.PropertyName;
            bool severityEquals       = Severity == validationItem.Severity;
            bool validationCodeEquals = ValidationCode == validationItem.ValidationCode;
            bool messageEquals        = Message == validationItem.Message;
            bool recommendationEquals = Recommendation == validationItem.Recommendation;
            bool invalidItemEquals    = InvalidItem == validationItem.InvalidItem;

            return(propertyNameEquals && severityEquals && validationCodeEquals && messageEquals && recommendationEquals && invalidItemEquals);
        }