public bool Equals(FeatureCalculator obj) { if (ReferenceEquals(null, obj)) { return(false); } if (ReferenceEquals(this, obj)) { return(true); } return(obj.Type == Type && Equals(obj.Weight, Weight)); }
public bool Equals(FeatureCalculator obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; return obj.Type == Type && Equals(obj.Weight, Weight); }