Пример #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));
 }
Пример #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);
 }