public bool IsValueOf(ProjectPropertyValue value) { if (value != null && value.ParentProperty.Property == this.Property) { return(true); } return(false); }
public override bool Equals(object obj) { if (obj == null) { return(false); } ProjectPropertyValue projectPropertyValue = obj as ProjectPropertyValue; if (projectPropertyValue == null) { return(this.Equals(obj)); } if (this.Value != projectPropertyValue.Value) { return(false); } return(this.parentProperty.Property == projectPropertyValue.parentProperty.Property); }