in MLADS2017/WeatherServiceAzureFunction/WeatherService/Model/WebServiceResult.cs [126:158]
public bool Equals(WebServiceResult other)
{
// credit: http://stackoverflow.com/a/10454552/677735
if (other == null)
return false;
return
(
this.Success == other.Success ||
this.Success != null &&
this.Success.Equals(other.Success)
) &&
(
this.ErrorMessage == other.ErrorMessage ||
this.ErrorMessage != null &&
this.ErrorMessage.Equals(other.ErrorMessage)
) &&
(
this.ConsoleOutput == other.ConsoleOutput ||
this.ConsoleOutput != null &&
this.ConsoleOutput.Equals(other.ConsoleOutput)
) &&
(
this.ChangedFiles == other.ChangedFiles ||
this.ChangedFiles != null &&
this.ChangedFiles.SequenceEqual(other.ChangedFiles)
) &&
(
this.OutputParameters == other.OutputParameters ||
this.OutputParameters != null &&
this.OutputParameters.Equals(other.OutputParameters)
);
}