public bool Equals(NBehaveExampleParentTask task) { return(task != null && FeatureFile == task.FeatureFile && Scenario == task.Scenario && Examples.AsString() == task.Examples.AsString()); }
public override int GetHashCode() { unchecked { int result = FeatureFile.GetHashCode(); result = (result * 397) ^ Scenario.GetHashCode(); result = (result * 397) ^ Examples.AsString().GetHashCode(); return(result); } }