/// <summary> /// Determines whether the specified <see cref="System.Object"/> is equal to this instance. /// </summary> /// <param name="obj">The <see cref="System.Object"/> to compare with this instance.</param> /// <returns> /// <c>true</c> if the specified <see cref="System.Object"/> is equal to this instance; otherwise, <c>false</c>. /// </returns> public override bool Equals(object obj) { IOSpecDefinition other = obj as IOSpecDefinition; if (other == null) { return(false); } bool isEqual = true; isEqual &= CollectionsHelper.DictionaryContentEquals <string, IOItemDefinition>(Output, other.Output); isEqual &= CollectionsHelper.DictionaryContentEquals <string, IOItemDefinition>(Input, other.Input); return(isEqual); }