Пример #1
0
 public bool Equals(NBehaveExampleParentTask task)
 {
     return(task != null &&
            FeatureFile == task.FeatureFile &&
            Scenario == task.Scenario &&
            Examples.AsString() == task.Examples.AsString());
 }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = FeatureFile.GetHashCode();
         result = (result * 397) ^ Scenario.GetHashCode();
         result = (result * 397) ^ Examples.AsString().GetHashCode();
         return(result);
     }
 }