Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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);
 }