/// <summary> /// Compares two get configuration responses for equality. /// </summary> /// <param name="GetConfigurationResponse">A get configuration response to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public override Boolean Equals(GetConfigurationResponse GetConfigurationResponse) { if ((Object)GetConfigurationResponse == null) { return(false); } return(ConfigurationKeys.Count().Equals(GetConfigurationResponse.ConfigurationKeys.Count()) && UnknownKeys.Count().Equals(GetConfigurationResponse.UnknownKeys.Count())); }
/// <summary> /// Return a string representation of this object. /// </summary> public override String ToString() => String.Concat(ConfigurationKeys.Count(), " configuration key(s)", " / ", UnknownKeys.Count(), " unknown key(s)");